Skip to content

Commit

Permalink
fix(catalog): update topk to topK (#414)
Browse files Browse the repository at this point in the history
Because

topK is more precise

This commit

change the parameter name

---------

Co-authored-by: droplet-bot <[email protected]>
  • Loading branch information
Yougigun and droplet-bot authored Aug 6, 2024
1 parent 055bbd0 commit 1a56fdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions artifact/artifact/v1alpha/chunk.proto
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ message SimilarityChunksSearchRequest {
string catalog_id = 2;
// text prompt
string text_prompt = 3;
// topk
uint32 topk = 4;
// top k
uint32 top_k = 4;
}

// Similar chunnk search response
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 @@ -500,10 +500,10 @@ definitions:
textPrompt:
type: string
title: text prompt
topk:
topK:
type: integer
format: int64
title: topk
title: top k
title: Similar chunnk search request
ArtifactPublicServiceUpdateCatalogBody:
type: object
Expand Down

0 comments on commit 1a56fdf

Please sign in to comment.