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

Ollama AI Chat Completion Example / OpenAI Compatibility #191

Closed
64bit opened this issue Feb 10, 2024 · 3 comments · Fixed by #336
Closed

Ollama AI Chat Completion Example / OpenAI Compatibility #191

64bit opened this issue Feb 10, 2024 · 3 comments · Fixed by #336
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@64bit
Copy link
Owner

64bit commented Feb 10, 2024

Given that officially Chat completion API is compatibale - this library should work without any changes. Hence it would be great to have a fully self contained example which works with local ollama using this crate

https://ollama.com/blog/openai-compatibility

@64bit 64bit added help wanted Extra attention is needed good first issue Good for newcomers labels Feb 10, 2024
@jacksongoode
Copy link

This would be great, is it just a matter of switching the endpoint?

@64bit
Copy link
Owner Author

64bit commented Mar 2, 2024

I do not know :) hence this example calls for self contained - so that it works out of the box and answer(s) the question(s) like that :)

@jacksongoode
Copy link

I'll give it a shot!

64bit pushed a commit that referenced this issue Mar 9, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@64bit 64bit closed this as completed in #336 Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants