Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Added a python flask api for ollama#11

Open
Bentlybro wants to merge 1 commit intomain from
Add-ollama-api
Open

Added a python flask api for ollama #11
Bentlybro wants to merge 1 commit intomain from
Add-ollama-api

Conversation

@Bentlybro
Copy link
Contributor

@Bentlybro Bentlybro commented May 15, 2024

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

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.

Copy link
Contributor Author

Bentlybro commented May 16, 2024
edited
Loading

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 😕

iamsk reacted with thumbs up emoji

Copy link

Fastapi do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@galaxycores galaxycores galaxycores approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /