Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ class GetEmployees(BaseModel):
|
|
79 |
duration_hours: int = Field(..., description="Required duration of the availability in hours")
|
80 |
|
81 |
# llm = ChatOpenAI(temperature=1.0, model_name="gpt-3.5-turbo", openai_api_key=OPENAI_API_KEY)
|
82 |
-
llm = LangChainLLMs(ChatOpenAI(temperature=1.0, model_name="gpt-3.5-turbo", openai_api_key=OPENAI_API_KEY))
|
83 |
|
84 |
tools = [
|
85 |
StructuredTool.from_function(
|
|
|
79 |
duration_hours: int = Field(..., description="Required duration of the availability in hours")
|
80 |
|
81 |
# llm = ChatOpenAI(temperature=1.0, model_name="gpt-3.5-turbo", openai_api_key=OPENAI_API_KEY)
|
82 |
+
llm = LangChainLLMs(llm=ChatOpenAI(temperature=1.0, model_name="gpt-3.5-turbo", openai_api_key=OPENAI_API_KEY))
|
83 |
|
84 |
tools = [
|
85 |
StructuredTool.from_function(
|