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

Any easy way to use Ollama endpoints? #32

Open
sesa507703 opened this issue Apr 14, 2024 · 2 comments
Open

Any easy way to use Ollama endpoints? #32

sesa507703 opened this issue Apr 14, 2024 · 2 comments

Comments

@sesa507703
Copy link

sesa507703 commented Apr 14, 2024

Hello. Our VMs are already supporting Ollama server and I want to reuse with this projects. I tried a few things but no luck. Any suggestions will be appreciated.

model = OpenAIEndpointSettings(completions_endpoint_url="http://localhost:11434/v1/chat/completions")
No luck here.

@Maximilian-Winter
Copy link
Owner

Maximilian-Winter commented Apr 15, 2024

Ollama doesn't support grammar guided generation as far as I know. So my framework won't work.

@Maximilian-Winter
Copy link
Owner

Maximilian-Winter commented May 8, 2024

@sesa507703 I think Ollama merged support for JSON schema, I'm currently adding support for this.

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

No branches or pull requests

2 participants