Spaces:
Runtime error
Runtime error
# 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) |