Skip to content

Enable cloud LLMs to be used by preprocessors #973

Description

@jeffbl

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:

  1. Can use larger models than we can fit on our local GPUs
  2. Can run server without a GPU at all (or with wimpy GPUs like on our test server)
  3. Have a backup in case our production server goes down
  4. Have the ability to use local GPU until load increases, then start using cloud to keep query latency low

Note:

  1. 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
  2. This cannot go to production until our TOS is updated to allow data to be sent to cloud
  3. Documenting what is tested, with examples for different cloud services, would be useful to others setting up IMAGE servers
  4. 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

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions