Skip to content

Latest commit

 

History

History
97 lines (54 loc) · 2.04 KB

README.md

File metadata and controls

97 lines (54 loc) · 2.04 KB

langchain-python

Langchain examples in Python using AWS Bedrock LLM

Basic Examples
  1. [langchain](demo_bedrock_langchain.py)
  2. [langchain_chat](demo_bedrock_langchain_chat.py)
Document Retrievers
Vector Store
  1. [vector_store](demo_bedrock_langchain_vector_store.py)
Document Transformation
LLM Chains
  1. [langchain_chain](demo_bedrock_langchain_chain.py)

Freeze

pip freeze > requirements.txt

Python Package Installation

pip install --upgrade

pip install --upgrade langchain

Pydantic

pip list | grep langchain pip list | grep pydantic

Document Loader / Retriever

pip install pypdf pip install wikipedia pip install tiktoken

Vector DB

pip install chromadb

Agents - SerpApi

pip install google-search-results

OpenSearch

pip install opensearch-py pip install boto3 pip install botocore pip install requests-aws4auth


Links
Errors
  • opensearchpy.exceptions.AuthorizationException: AuthorizationException(403, 'Forbidden')
Blogs
Repost