Skip to content

Commit fd83a5e

Browse files
cdxkerskeptrunedev
authored andcommitted
bugfix(component): modify tool function prompt to be "slightly like" a product name
instead. Yielded better results
1 parent 8eb62dc commit fd83a5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clients/search-component/src/utils/hooks/chat-context.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ function ChatProvider({ children }: { children: React.ReactNode }) {
437437
tool_function: {
438438
name: "get_filters",
439439
description:
440-
"Decide on which filters to apply to available catalog being used within the knowledge base to respond. If the question is about a specific product, respond with no filters (all false).",
440+
"Decide on which filters to apply to available catalog being used within the knowledge base to respond. If the question is slightly like a product name, respond with no filters (all false).",
441441
parameters:
442442
props.tags?.map((tag) => {
443443
return {

0 commit comments

Comments
 (0)