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