Skip to content

Add DeepInfra as provider#2

Open
lars20070 wants to merge 11 commits into
mainfrom
lars20070/deepinfra
Open

Add DeepInfra as provider#2
lars20070 wants to merge 11 commits into
mainfrom
lars20070/deepinfra

Conversation

@lars20070

Copy link
Copy Markdown
Owner

By default, lat.md supports OpenAI (sk-...) and Vercel AI Gateway (vck_...) API keys for the vector database search. This pull request adds support for DeepInfra (di_...) API keys.

export LAT_LLM_KEY=di_MYDEEPINFRAAPIKEY
alias lat="node /path/to/repo/lat.md/dist/src/cli/index.js"
  • Add the prefix di_ to the LAT_LLM_KEY environment variable.
  • Recreate the ./lat.md/cache/vectors.db database. DeepInfra is using the Qwen/Qwen3-Embedding-0.6B model with 1024 dimensions. By default, OpenAI and Vercel are using the text-embedding-3-small model with 1536 dimensions.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant