Skip to content
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

fix(catalog): update topk to topK #415

Merged
merged 2 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions artifact/artifact/v1alpha/qa.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ message QuestionAnsweringRequest {
string catalog_id = 2;
// question to be answered
string question = 3;
// topk default to 5
int32 topk = 4;
// top k default to 5
int32 top_k = 4;
}

// QuestionAnsweringResponse
Expand Down
4 changes: 2 additions & 2 deletions openapiv2/artifact/service.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,10 @@ definitions:
question:
type: string
title: question to be answered
topk:
topK:
type: integer
format: int32
title: topk default to 5
title: top k default to 5
title: QuestionAnsweringRequest
ArtifactPublicServiceSimilarityChunksSearchBody:
type: object
Expand Down