Skip to content

Commit

Permalink
fix: adds instruction to kb summarization settings (CT-000) (#491)
Browse files Browse the repository at this point in the history
<!-- You can erase any parts of this template not applicable to your Pull Request. -->

**Fixes or implements VF-XXX**

### Brief description. What is this change?

<!-- Build up some context for your teammates on the changes made here and potential tradeoffs made and/or highlight any topics for discussion -->



Co-authored-by: Matheus Poleza <[email protected]>
  • Loading branch information
matheuspoleza and matheuspoleza committed Jan 5, 2024
1 parent fff8ced commit a347d9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/base-types/src/models/project/knowledgeBase.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AIContextParams, AIModelParams } from '@base-types/utils/ai';
import { AIKnowledgeContextParams, AIModelParams } from '@base-types/utils/ai';

export enum KnowledgeBaseDocumentType {
PDF = 'pdf',
Expand Down Expand Up @@ -98,7 +98,7 @@ export interface RecursiveTextSplitter {

export interface KnowledgeBaseSettings {
chunkStrategy: RecursiveTextSplitter;
summarization: AIModelParams & AIContextParams;
summarization: AIModelParams & AIKnowledgeContextParams;
search: {
limit: number;
metric: string;
Expand Down

0 comments on commit a347d9b

Please sign in to comment.