Skip to content

Add Custom API Endpoint for Ollama #54

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

Closed
wants to merge 1 commit into from

Conversation

hhyqhh
Copy link

@hhyqhh hhyqhh commented Jul 23, 2024

I have added a custom endpoint for Ollama:

Endpoint = "http://xxxx/api/chat";
chat = ollamaChat("qwen2:72b",systemPrompt,Endpoint = Endpoint);
txt = generate(chat,"what is your name")

@ccreutzi
Copy link
Member

Thank you for the proposed change. Since we have the same effect for the end user in #53 already, I hope you don't mind if I close it anyway. (The other PR also contains tests and doc changes.)

@ccreutzi ccreutzi closed this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants