Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/content/docs/extensions/llm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ the arguments associated with each provider:
| `amazon-bedrock` | - | Required | - |
| `google-vertex` | Optional | Required | - |
| `google-gemini` | - | - | - |
| `open-ai` | Optional | - | - |
| `voyage-ai` | Optional | - | - |
| `openai` | Optional | - | - |
| `voyageai` | Optional | - | - |
| `ollama` | - | - | Optional |

:::note[Note]
Expand All @@ -93,8 +93,8 @@ To allow API calls to the providers, you must set the appropriate environment va
| `amazon-bedrock` | `AWS_ACCESS_KEY`, `AWS_SECRET_ACCESS_KEY` |
| `google-vertex` | `GOOGLE_CLOUD_PROJECT_ID`, `GOOGLE_VERTEX_ACCESS_KEY` |
| `google-gemini` | `GOOGLE_GEMINI_API_KEY` |
| `open-ai` | `OPENAI_API_KEY` |
| `voyage-ai` | `VOYAGE_API_KEY` |
| `openai` | `OPENAI_API_KEY` |
| `voyageai` | `VOYAGE_API_KEY` |
| `ollama` | `OLLAMA_URL` |

:::note[Note]
Expand All @@ -120,13 +120,13 @@ RETURN CREATE_EMBEDDING("Hello world", "ollama", "nomic-embed-text");
// Optional ENDPOINT
RETURN CREATE_EMBEDDING("Hello world", "ollama", "nomic-embed-text", "http://endpoint.example.com:8000");

RETURN CREATE_EMBEDDING( "Hello world", "open-ai", "text-embedding-3-small");
RETURN CREATE_EMBEDDING( "Hello world", "openai", "text-embedding-3-small");
// Optional DIMENSIONS
RETURN CREATE_EMBEDDING( "Hello world", "open-ai", "text-embedding-3-small", 512);
RETURN CREATE_EMBEDDING( "Hello world", "openai", "text-embedding-3-small", 512);

RETURN CREATE_EMBEDDING( "Hello world", "voyage-ai", "voyage-3-large");
RETURN CREATE_EMBEDDING( "Hello world", "voyageai", "voyage-3-large");
// Optional DIMENSIONS
RETURN CREATE_EMBEDDING( "Hello world", "voyage-ai", "voyage-3-large", 512);
RETURN CREATE_EMBEDDING( "Hello world", "voyageai", "voyage-3-large", 512);
```

### Storing embeddings in a vector index
Expand Down