Skip to content

Commit

Permalink
Added minRelevance
Browse files Browse the repository at this point in the history
  • Loading branch information
PederHP committed Jan 18, 2025
1 parent 33db598 commit 06c7fdc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@
"properties": {
"arguments": {
"additionalProperties": {},
"description": "Additional parameters for the augmentation.",
"description": "Additional parameters for the augmentation.\nmaxResult and minRelevance are common parameters for augmentations that return multiple results, but the exact parameters are server-specific.",
"properties": {
"maxResults": {
"type": "integer"
},
"minRelevance": {
"type": "integer"
}
},
"type": "object"
Expand Down
2 changes: 2 additions & 0 deletions schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,11 @@ export interface AugmentRequest {
context: (TextContent | ImageContent | EmbeddedResource | VectorContent)[];
/**
* Additional parameters for the augmentation.
* maxResult and minRelevance are common parameters for augmentations that return multiple results, but the exact parameters are server-specific.
*/
arguments?: {
maxResults?: number;
minRelevance?: number;
[key: string]: unknown;
};
};
Expand Down

0 comments on commit 06c7fdc

Please sign in to comment.