OpenGlass icon indicating copy to clipboard operation
OpenGlass copied to clipboard

Added a python flask api for ollama

Open Bentlybro opened this issue 1 year ago • 3 comments

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

Bentlybro avatar May 15 '24 19:05 Bentlybro

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.

iamsk avatar May 16 '24 03:05 iamsk

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 😕

Bentlybro avatar May 16 '24 21:05 Bentlybro

Fastapi do it

RitinaADM avatar Jun 09 '24 07:06 RitinaADM