LangChain Chat Models
Overview
Model Recommendations
Supported Models
from langchain_openai import ChatOpenAI
from swift_web import Agent
# Initialize the model
llm = ChatOpenAI(
model="gpt-4o",
temperature=0.0,
)
# Create agent with the model
agent = Agent(
task="Your task here",
llm=llm
)Coming soon
Last updated