浏览代码

Adding an example of ReAct using Llama 2

Short explanation of ReAct
Setup and configuration to use Amazon Bedrock
Example of using the Bedrock api via langchain
Setup for use of DuckDuckGoSearchRun, WikipediaAPIWrapper, and PythonREPL.
Created a pattern for the model to follow in order to use the tools and do reasoning similar to CoT.
Cleaned up and formatted the generated text before giving it to the corresponding tool.
Eissa Jamil 11 月之前
父节点
当前提交
e68aede0cd
共有 1 个文件被更改,包括 570 次插入0 次删除
  1. 570 0
      examples/examples_with_aws/ReAct_Llama_2_Bedrock-WK.ipynb

文件差异内容过多而无法显示
+ 570 - 0
examples/examples_with_aws/ReAct_Llama_2_Bedrock-WK.ipynb