CoolFace
Apppublic

Faniyi/Apextech-knowledge-base

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
llm.py13 linesDownload Raw Back to llm
1from dotenv import load_dotenv2from langchain.chat_models import init_chat_model3 4load_dotenv()5 6llm = init_chat_model(7    model="gpt-4.1-mini",8    model_provider="openai",9    temperature=0.2,10    max_tokens=4096,11    timeout=30,       12    max_retries=3,    13)