Skip to content

Commit

Permalink
docs: update library.mdx (#1406)
Browse files Browse the repository at this point in the history
Add 's' in the end of keyword "clarification_question"

agent.clarification_question('What is the GDP of the United States?')
  • Loading branch information
Muhammad-Adam1 authored Oct 22, 2024
1 parent 48664d7 commit c4478b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/library.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ agent.chat('And which one has the most deals?')
An agent will also be able to ask clarification questions if it does not have enough information to answer the query. For example:

```python
agent.clarification_question('What is the GDP of the United States?')
agent.clarification_questions('What is the GDP of the United States?')
```

this will return up to 3 clarification questions that the agent can ask the user to get more information to answer the query.
Expand Down

0 comments on commit c4478b5

Please sign in to comment.