File size: 354 Bytes
c8e458d
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# from dotenv import load_dotenv
# from langchain_anthropic import ChatAnthropic
from langchain_openai import ChatOpenAI
import erp_core.config as cfg
import os


# load_dotenv(override=True)
api_key = os.getenv('OPENAI_API_KEY')

# llm = ChatAnthropic(model=cfg.anthropic_model_name, temperature=1)
llm = ChatOpenAI(model=cfg.model_name, temperature=0)