Skip to content

Commit

Permalink
Some changes based on testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ajosh0504 committed Jun 15, 2024
1 parent 3e6131a commit c68d455
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/50-agent-tools/5-create-agent-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ retrieve = {
"question": RunnablePassthrough(),
}
# Defining the chat prompt
template = """Answer the question based only on the following context. If no context is provided, say I do not know: \
template = """Answer the question based only on the following context. IF NO CONTEXT IS PROVIDED, SAY I DO NOT KNOW: \
{context}
Question: {question}
Expand Down Expand Up @@ -124,7 +124,7 @@ get_paper_summary_from_arxiv.invoke("808.09236")
<summary>Answer</summary>
<div>
```python
answer_questions_about_topics.invoke("What are partial cubes?")
answer_questions_about_topics.invoke("Partial cubes")
```
</div>
</details>
Expand All @@ -135,7 +135,7 @@ answer_questions_about_topics.invoke("What are partial cubes?")
<summary>Answer</summary>
<div>
```python
answer_questions_about_topics.invoke("What is Tree of Thought prompting?")
answer_questions_about_topics.invoke("Tree of Thoughts")
```
</div>
</details>
2 changes: 1 addition & 1 deletion docs/60-create-agents/4-cot-prompting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

Try out chain of thought prompting with the basic tool-calling agent.

Uncomment the CoT system prompt under the **🦸 CoT prompting** sub-section of **Step 7: Create a basic tool-calling agent** and run all the cells that follow in the section to try our CoT prompting.
Uncomment the CoT system prompt under **🦸 CoT prompting** in the section **Step 7: Create a basic tool-calling agent**. Run all the cells that follow in the section to try our CoT prompting.

Notice whether or not this affects the agent's behavior and response.

0 comments on commit c68d455

Please sign in to comment.