From 69f69dcc0f030bb7e7f680822745abf3e655d520 Mon Sep 17 00:00:00 2001 From: "gary.y" Date: Thu, 8 Aug 2024 17:24:13 +0800 Subject: [PATCH 1/2] fix(catalog): update topk to topK --- artifact/artifact/v1alpha/qa.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artifact/artifact/v1alpha/qa.proto b/artifact/artifact/v1alpha/qa.proto index f9f0abb2..4e2f5b80 100644 --- a/artifact/artifact/v1alpha/qa.proto +++ b/artifact/artifact/v1alpha/qa.proto @@ -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 From 7a33df08afbd2545f9c6587e9361fac12b4f65b6 Mon Sep 17 00:00:00 2001 From: droplet-bot Date: Thu, 8 Aug 2024 09:26:16 +0000 Subject: [PATCH 2/2] chore: auto-gen by protobufs triggered by commit: https://github.com/instill-ai/protobufs/commit/96452880c93aa8a5224b0cd5e53cfe42af293f0c --- openapiv2/artifact/service.swagger.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapiv2/artifact/service.swagger.yaml b/openapiv2/artifact/service.swagger.yaml index d3dd9665..d24b54c9 100644 --- a/openapiv2/artifact/service.swagger.yaml +++ b/openapiv2/artifact/service.swagger.yaml @@ -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