-
Notifications
You must be signed in to change notification settings - Fork 138
add rerank configs in controlplane #1158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1602,6 +1602,8 @@ apiCreateKnowledgeBaseInputPublic: | |
| description: The datacenter region to deploy the knowledge base in. | ||
| example: '"tor1"' | ||
| type: string | ||
| reranking_config: | ||
| $ref: '#/apiRerankingConfiguration' | ||
| tags: | ||
| description: Tags to organize your knowledge base. | ||
| example: | ||
|
|
@@ -3267,6 +3269,8 @@ apiKnowledgeBase: | |
| description: Region code | ||
| example: example string | ||
| type: string | ||
| reranking_config: | ||
| $ref: '#/apiRerankingConfiguration' | ||
| tags: | ||
| description: Tags to organize related resources | ||
| example: | ||
|
|
@@ -4585,6 +4589,18 @@ apiReleaseStatus: | |
| - RELEASE_STATUS_BUILDING | ||
| example: RELEASE_STATUS_UNKNOWN | ||
| type: string | ||
| apiRerankingConfiguration: | ||
| description: Configuration for cross-encoder reranking during retrieval. | ||
| properties: | ||
| enabled: | ||
| description: Whether reranking is enabled for retrieval | ||
| example: true | ||
| type: boolean | ||
| model: | ||
| description: Reranker model internal name | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we re-phrase this ? not sure what internal refers to here
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we require the internal name of model. Users can view the internal names of all models in the model catalog UI page. Model catalog shows internal name of models. I've also given example of internal name (currently we only have one reranker model) |
||
| example: '"bge-reranker-v2-m3"' | ||
| type: string | ||
| type: object | ||
| apiResourceUsage: | ||
| description: Resource Usage Description | ||
| properties: | ||
|
|
@@ -5296,6 +5312,8 @@ apiUpdateKnowledgeBaseInputPublic: | |
| to | ||
| example: '"12345678-1234-1234-1234-123456789012"' | ||
| type: string | ||
| reranking_config: | ||
| $ref: '#/apiRerankingConfiguration' | ||
| tags: | ||
| description: Tags to organize your knowledge base. | ||
| example: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just to validate - there are no required fields?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no