Spaces:
Sleeping
Sleeping
File size: 220 Bytes
86166ac |
1 2 3 4 5 6 |
from langchain_openai import ChatOpenAI
# gpt-4.1-nano (cheaper for debugging) with temperature 0 for less randomness
# for benchmarking use gpt-4.1-mini or 04-mini
llm = ChatOpenAI(model="gpt-4.1-nano", temperature=0) |