DocuQA-Chat / config.py
reab5555's picture
Upload 2 files
7ba5af2 verified
raw
history blame
270 Bytes
# config.py
from langchain_anthropic import ChatAnthropic
# Get the API key
API_KEY = os.getenv('CLAUDE_API_KEY')
# Initialize the Anthropic Chat Model
llm = ChatAnthropic(model="claude-3-5-sonnet-20240620", temperature=0.1, max_tokens=8192, anthropic_api_key=API_KEY)