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

Added a python flask api for ollama #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Bentlybro
Copy link
Member

This is a simply api that you can host and it will pass everything directly to ollama as is

@iamsk
Copy link

iamsk commented May 16, 2024

It looks like a proxy for ollama post format, why not change this in 'sources/modules/ollama.ts'. so we don't need another server.

@Bentlybro
Copy link
Member Author

Bentlybro commented May 16, 2024

yeah it is just a proxy to pass the ollama call to a ollama client, i added it so people can host there own instance of ollama with this + i was asked in discord to add this @iamsk

also the original ollama setup seems to not work, with this it does 😕

@RitinaADM
Copy link

Fastapi do it

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.

3 participants