BroBro87 commited on
Commit
01018c6
·
verified ·
1 Parent(s): 54a277d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 = Gemini(model="gemini-2.0-flash-exp", api_key=os.getenv('GOOGLE_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,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
  ],