소스 검색

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