File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 169169 "overrideSearchType" : {
170170 "type" : "string" ,
171171 "description" : (
172- "Override the search type for the knowledge base query. Supported values: 'HYBRID', 'SEMANTIC'. "
173- "Default behavior uses the knowledge base's configured search type."
172+ "Override the search type for the knowledge base query. Supported values: 'HYBRID', "
173+ "'SEMANTIC'. Default behavior uses the knowledge base's configured search type."
174174 ),
175175 "enum" : ["HYBRID" , "SEMANTIC" ],
176176 },
@@ -321,7 +321,8 @@ def retrieve(tool: ToolUse, **kwargs: Any) -> ToolResult:
321321 return {
322322 "toolUseId" : tool_use_id ,
323323 "status" : "error" ,
324- "content" : [{"text" : f"Invalid overrideSearchType: { override_search_type } . Supported values: HYBRID, SEMANTIC" }],
324+ "content" : [{"text" : f"Invalid overrideSearchType: { override_search_type } . "
325+ f"Supported values: HYBRID, SEMANTIC" }],
325326 }
326327
327328 # Initialize Bedrock client with optional profile name
You can’t perform that action at this time.
0 commit comments