Updated default embedder
All checks were successful
Publish Library / Build NPM Project (push) Successful in 39s
Publish Library / Tag Version (push) Successful in 8s

This commit is contained in:
2026-02-11 20:23:50 -05:00
parent cda7db4f45
commit f2c66b0cb8
4 changed files with 8 additions and 6 deletions

View File

@@ -10,6 +10,8 @@ export type AbortablePromise<T> = Promise<T> & {
export type AiOptions = {
/** Path to models */
path?: string;
/** Embedding model */
embedder?: string; // all-MiniLM-L6-v2, bge-small-en-v1.5, bge-large-en-v1.5
/** Large language models, first is default */
llm?: Omit<LLMRequest, 'model'> & {
models: {[model: string]: AnthropicConfig | OllamaConfig | OpenAiConfig};