Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ollama module #2265

Merged
merged 24 commits into from Mar 5, 2024
Merged

Conversation

mdelapenya
Copy link
Collaborator

@mdelapenya mdelapenya commented Feb 23, 2024

What does this PR do?

This PR adds a Go module for Ollama, using the module generator to bootstrap the module.

We present examples on how to use it with an HTTP client and with Langchaingo.

To improve the performance, the module will automatically request GPUs if the docker host supports it, and will allow to Commit the container after the module in order to speed the following containers using that image as base.

Why is it important?

A module for Ollama!

@mdelapenya mdelapenya requested a review from a team as a code owner February 23, 2024 17:19
@mdelapenya mdelapenya added the enhancement New feature or request label Feb 23, 2024
@mdelapenya mdelapenya self-assigned this Feb 23, 2024
Copy link

netlify bot commented Feb 23, 2024

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 3431940
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/65e65b9f7d35220008aec436
😎 Deploy Preview https://deploy-preview-2265--testcontainers-go.netlify.app/modules/ollama
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

* main:
  chore(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0 in /modules/gcloud, google.golang.org/api from 0.165.0 to 0.167.0 in /modules/gcloud, cloud.google.com/go/pubsub from 1.36.1 to 1.36.2 in /modules/gcloud (testcontainers#2293)
  chore(deps): bump github.com/nats-io/nats.go in /modules/nats (testcontainers#2253)
* main:
  chore(deps): bump github.com/amikos-tech/chroma-go in /modules/chroma (testcontainers#2275)
mdelapenya and others added 7 commits March 4, 2024 12:29
* main:
  chore(deps): bump github.com/docker/docker from 25.0.2+incompatible to 25.0.3+incompatible (testcontainers#2296)
  chore(deps): bump github.com/couchbase/gocb/v2 from 2.7.1 to 2.7.2 in /modules/couchbase, github.com/tidwall/gjson from 1.17.0 to 1.17.1 in /modules/couchbase (testcontainers#2297)
  chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (testcontainers#2295)
  chore(deps): bump github.com/microsoft/go-mssqldb in /modules/mssql (testcontainers#2288)
@mdelapenya mdelapenya merged commit bbb4382 into testcontainers:main Mar 5, 2024
96 checks passed
mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request Mar 5, 2024
* main:
  chore: simplify commit method
  feat: add ollama module (testcontainers#2265)
  chore(deps): bump github.com/stretchr/testify in /modulegen (testcontainers#2298)
@mdelapenya mdelapenya deleted the ollama-module branch March 5, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants