You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/features/experimental/codebase-indexing.mdx
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,12 @@ Choose one of these options for generating embeddings:
50
50
- Supports any Ollama-compatible embedding model
51
51
- Requires Ollama base URL configuration
52
52
53
+
**OpenAI Compatible**
54
+
- Works with any OpenAI-compatible API endpoint
55
+
- Supports providers like Google Gemini, Azure OpenAI, and others
56
+
- Requires base URL and API key configuration
57
+
- Uses OpenAI-style request/response format
58
+
53
59
### Setting Up Ollama for Embeddings
54
60
55
61
1.**Install Ollama**
@@ -79,6 +85,28 @@ Choose one of these options for generating embeddings:
79
85
- Set Ollama Base URL: `http://localhost:11434`
80
86
- Select Model: `nomic-embed-text`
81
87
88
+
### Setting Up OpenAI Compatible Providers
89
+
90
+
OpenAI Compatible providers use the same API format as OpenAI but with different endpoints. This includes Google Gemini, Azure OpenAI, and other compatible services.
91
+
92
+
**Example: Google Gemini**
93
+
94
+
1.**Get API Key**
95
+
- Visit [Google AI Studio](https://aistudio.google.com/)
0 commit comments