the ollama.env file allows you to specify the local ollama / open-webui URL for making LLM queries. Goal of this work item is to test and document, and make code changes if necessary, to allow the use of cloud services as well, for a few reasons:
- Can use larger models than we can fit on our local GPUs
- Can run server without a GPU at all (or with wimpy GPUs like on our test server)
- Have a backup in case our production server goes down
- Have the ability to use local GPU until load increases, then start using cloud to keep query latency low
Note:
- A single variable for all preprocessors (as currently implemented) probably doesn't make sense, since we would likely want to run smaller models locally, and larger ones in the cloud
- This cannot go to production until our TOS is updated to allow data to be sent to cloud
- Documenting what is tested, with examples for different cloud services, would be useful to others setting up IMAGE servers
- Suggest that @shahdyousefak documentation for bringing up a new IMAGE server default to this, since it would mean a faster path to getting something working
the ollama.env file allows you to specify the local ollama / open-webui URL for making LLM queries. Goal of this work item is to test and document, and make code changes if necessary, to allow the use of cloud services as well, for a few reasons:
Note: