Madras1 commited on
Commit
bfb7ade
·
verified ·
1 Parent(s): 900effc

Upload 45 files

Browse files
Files changed (1) hide show
  1. app/api/routes/analyze.py +1 -1
app/api/routes/analyze.py CHANGED
@@ -185,7 +185,7 @@ async def analyze_text(request: AnalyzeRequest):
185
  new_event = Event(
186
  title=event.description[:100] if len(event.description) > 100 else event.description,
187
  description=event.description,
188
- event_type=event.event_type or "general",
189
  source="llm_extraction"
190
  )
191
  db.add(new_event)
 
185
  new_event = Event(
186
  title=event.description[:100] if len(event.description) > 100 else event.description,
187
  description=event.description,
188
+ type=event.event_type or "general",
189
  source="llm_extraction"
190
  )
191
  db.add(new_event)