Skip to content

Commit

Permalink
fix grammars
Browse files Browse the repository at this point in the history
  • Loading branch information
henomis committed May 23, 2024
1 parent a8eb5e5 commit a8459c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/llm/openai/tools/python/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func main() {

t := thread.New().AddMessage(
thread.NewUserMessage().AddContent(
thread.NewTextContent("calculate reverse string of 'ailatiditalia', don't try to guess, let's use appropriate tools"),
thread.NewTextContent("calculate reverse string of 'ailatiditalia', don't try to guess, let's use appropriate tool"),
),
)

Expand Down
4 changes: 2 additions & 2 deletions examples/llm/openai/tools/rag/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ func main() {

topics := []string{
"how many covid vaccine doses US has donated to other countries",
"apple stock price",
"who's the lingoose github project author",
}

for _, topic := range topics {
t := thread.New().AddMessage(
thread.NewUserMessage().AddContent(
thread.NewTextContent("I would like to know something about " + topic + "."),
thread.NewTextContent("Please tell me " + topic + "."),
),
)

Expand Down
2 changes: 1 addition & 1 deletion tools/duckduckgo/duckduckgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (t *Tool) Name() string {
}

func (t *Tool) Description() string {
return "A tool that searches on duckduckgo internet search engine for a query."
return "A tool that uses the DuckDuckGo internet search engine for a query."
}

func (t *Tool) Fn() any {
Expand Down
2 changes: 1 addition & 1 deletion tools/tool_router/tool_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (t *Tool) Name() string {
}

func (t *Tool) Description() string {
return "A tool that select the right tool to answer to an user query."
return "A tool that select the right tool to answer to user queries."
}

func (t *Tool) Fn() any {
Expand Down

0 comments on commit a8459c0

Please sign in to comment.