Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ class APIResponse:
|
|
37 |
class CalendarService:
|
38 |
def __init__(self):
|
39 |
self.toolset = ComposioToolSet(api_key=os.getenv('COMPOSIO_API_KEY'))
|
40 |
-
self.llm =
|
41 |
self.connections: Dict[str, Dict[str, Any]] = {}
|
42 |
|
43 |
def initiate_connection(self, entity_id: str, redirect_url: Optional[str] = None) -> APIResponse:
|
@@ -125,6 +125,7 @@ class CalendarService:
|
|
125 |
|
126 |
Be entertaining and witty with the analysis. Conclude by assigning
|
127 |
a Greek god persona based on their meeting patterns.
|
|
|
128 |
"""
|
129 |
)
|
130 |
],
|
|
|
37 |
class CalendarService:
|
38 |
def __init__(self):
|
39 |
self.toolset = ComposioToolSet(api_key=os.getenv('COMPOSIO_API_KEY'))
|
40 |
+
self.llm = OpenAI(model="gpt-4o", api_key=os.getenv('OPENAI_API_KEY'))
|
41 |
self.connections: Dict[str, Dict[str, Any]] = {}
|
42 |
|
43 |
def initiate_connection(self, entity_id: str, redirect_url: Optional[str] = None) -> APIResponse:
|
|
|
125 |
|
126 |
Be entertaining and witty with the analysis. Conclude by assigning
|
127 |
a Greek god persona based on their meeting patterns.
|
128 |
+
Search data from last 6 months instead of a year
|
129 |
"""
|
130 |
)
|
131 |
],
|