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

Open
64bit opened this issue Feb 10, 2024 · 3 comments
Open

Ollama AI Chat Completion Example / OpenAI Compatibility #191

64bit opened this issue Feb 10, 2024 · 3 comments
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!

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

No branches or pull requests

2 participants