Skip to content

Commit

Permalink
opt
Browse files Browse the repository at this point in the history
  • Loading branch information
berkingurcan committed Jul 2, 2024
1 parent 0132e10 commit 102d93c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/tools/demoSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ const VECTOR_TYPE = 'demoSearch'
const functionDescription: ChatCompletionCreateParams.Function = {
name: 'demo_search_for_thread',
description:
'Search for context about discord threads',
'Search for context in discord threads',
parameters: {
type: 'object',
properties: {
query: {
type: 'string',
description:
'The query to search for. 1-3 sentences are enough. English only.'
'The query to search for. 1-3 sentences or words are enough. English only.'
}
},
required: ['query']
Expand Down Expand Up @@ -103,14 +103,14 @@ export const demoSearchToolRunnable: RunnableToolFunction<{ query: string }> = {
function: runTool,
parse: JSON.parse,
description:
'Search for context about discord threads',
'Search for context in discord threads',
parameters: {
type: 'object',
properties: {
query: {
type: 'string',
description:
'The query to search for. 1-3 sentences are enough. English only.'
'The query to search for. 1-3 sentences or words are enough. English only.'
}
}
}
Expand Down

0 comments on commit 102d93c

Please sign in to comment.