-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
[Enhancement]: Ollama module #1097
Comments
The output from a non-initial run:
|
Hi 👋, thanks for creating the request.
This sounds like you are running a pretty nice machine 😄. Since you are interested in contributing the Ollama module, which is great, I would like to share some additional information. You will find a basic guide about implementing a module here. All of our existing modules can be used as a blueprint too. All of them follow our best practices, which are necessary for a smoothly working module across various systems, etc. If you have any further questions, do not hesitate to reach out to me or the other developers in our Testcontainers community on Slack. |
So i spent the day, (in the few moments between my dayjob's demands for attention), got it pretty nice, then when I was going to go through the best practices, and there's a stumbling block for. I might not need Volume to be statically named, but a default and configurable one would save on time as the there are resources downloaded. From the best practices:
I will make the PR, and link this issue and we can discuss when actually looking at the |
This commit updates the Ollama configuration to allow more customization options and removes unnecessary test helpers. The OllamaConfiguration class was refactored to provide more configurable parameters such as the VolumePath and VolumeName. Additionally, the TestOutputHelperExtensions and TestOutputLogger classes were deleted as they were not providing any significant value.
Is there any update on this? |
We had some technical limitations adding more modules to the repository. We have partially addressed this issue (#1136). Right now, I have a couple of days off, so I might find some time to do reviews, but I am not prioritizing it and plan to spend the time with family. Module PRs are not critical in my opinion; developers can always fall back to the generic container builder and use the configurations from |
Problem
Its not having an Ollama module.
I realize that my POC here needs to have a discussion of design and features, but its a fun litte thing
Solution
Make a module, here's a prototype of Ollama working with Testcontainers in LinqPad 8:
Deps the nugets Testcontainers and OllamaSharp
Benefit
Its really cool
Alternatives
To be less cool
Would you like to help contributing this enhancement?
Yes
The text was updated successfully, but these errors were encountered: