Skip to content

Commit

Permalink
feat: add embeddingModel field to KnowledgeBaseSettings (COR-2162) (
Browse files Browse the repository at this point in the history
#526)

### Brief description. What is this change?

Add _**embeddingModel**_ field to _**KnowledgeBaseSettings**_ interface

### Related PRs:

* [KnowledgeLake](voiceflow/KnowledgeLake#296)
* [creator-app](voiceflow/creator-app#8210)
  • Loading branch information
abuyak-vf committed Jun 4, 2024
1 parent 225755d commit 367d751
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/base-types/src/models/project/knowledgeBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,19 @@ export interface RecursiveTextSplitter {
overlap?: number;
}

export interface EmbeddingModel {
model: string;
size: number;
}

export interface KnowledgeBaseSettings {
chunkStrategy: RecursiveTextSplitter;
summarization: AIModelParams & AIKnowledgeContextParams;
search: {
limit: number;
metric: string;
};
embeddingModel?: EmbeddingModel;
}

export interface FAQ {
Expand Down

0 comments on commit 367d751

Please sign in to comment.