| 15 | * The configuration for a code index. |
| 16 | */ |
| 17 | export interface CodeIndexConfig { |
| 18 | /** |
| 19 | * The model to use when generating embeddings. |
| 20 | */ |
| 21 | model: string; |
| 22 | |
| 23 | /** |
| 24 | * The maximum number of tokens to use when generating embeddings. |
| 25 | */ |
| 26 | max_input_tokens: number; |
| 27 | |
| 28 | /** |
| 29 | * The maximum number of tokens to use when generating completions. |
| 30 | */ |
| 31 | max_tokens: number; |
| 32 | |
| 33 | /** |
| 34 | * The sources to index. |
| 35 | */ |
| 36 | sources: string[]; |
| 37 | |
| 38 | /** |
| 39 | * The temperature to use when generating completions. |
| 40 | */ |
| 41 | temperature: number; |
| 42 | |
| 43 | /** |
| 44 | * Optional. The extensions to index. |
| 45 | */ |
| 46 | extensions?: string[]; |
| 47 | } |
| 48 | |
| 49 | // LLM-REGION |
| 50 |
nothing calls this directly
no outgoing calls
no test coverage detected