Updated the Bedrock rag template (#12462)

Updates the bedrock rag template.
- Removes pinecone and replaces with FAISS as the vector store
- Fixes the environment variables, setting defaults
- Adds a `main.py` test file quick sanity testing
- Updates README.md with correct instructions
This commit is contained in:
Piyush Jain
2023-10-27 17:02:28 -07:00
committed by GitHub
parent 5c2243ee91
commit 5545de0466
5 changed files with 294 additions and 1030 deletions

View File

@@ -0,0 +1,6 @@
from rag_aws_bedrock.chain import chain
if __name__ == "__main__":
query = "What is this data about?"
print(chain.invoke(query))