mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 20:16:52 +00:00
@@ -203,13 +203,13 @@ class Instruction(BaseModel):
|
||||
|
||||
|
||||
agent_executor = (
|
||||
get_agent_executor(ChatOpenAI(model_name="gpt-4-1106-preview", temperature=0.0))
|
||||
get_agent_executor(ChatOpenAI(model="gpt-4-1106-preview", temperature=0.0))
|
||||
.configurable_alternatives(
|
||||
ConfigurableField("model_name"),
|
||||
default_key="gpt4turbo",
|
||||
gpt4=get_agent_executor(ChatOpenAI(model_name="gpt-4", temperature=0.0)),
|
||||
gpt4=get_agent_executor(ChatOpenAI(model="gpt-4", temperature=0.0)),
|
||||
gpt35t=get_agent_executor(
|
||||
ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0.0),
|
||||
ChatOpenAI(model="gpt-3.5-turbo", temperature=0.0),
|
||||
),
|
||||
)
|
||||
.with_types(input_type=Instruction, output_type=str)
|
||||
|
Reference in New Issue
Block a user