Skip to main content

Jan.ai

Jan.ai is a desktop application that is similar to the OpenAI desktop application but you can use it with any local or online model.

/openai/v1/chat/completions

If you leave the <vector_name> blank, then the proxy will attempt to look in the config for the "model" name

e.g. if calling /openai/v1/chat/completions/ then in the config you will need a VAC called "gpt-4o"

...
gpt-4o:
llm: openai
model: gpt-4o
agent: langserve
...

Custom VAC configuration

Otherwise you can use /openai/v1/chat/completions/<vector_name> to tailor the request to the VAC.

When proxying or using online, you can use this as the OpenAI endpoint configuration:

Configuring JAN to use the local VAC URL

Below is an example of calling Gemini using VAC personal_llama with Google Search.

calling a VAC via an OpenAI endpoint

Image models

If you specify a vision multimodal model, then the OpenAI request will be parsed to upload to Google Cloud Storage:

specify a vision model and upload an image

Sunholo Multivac

Get in touch to see if we can help with your GenAI project.

Contact us

Other Links

Sunholo Multivac - GenAIOps

Copyright ©

Holosun ApS 2024