echo "Meeting Notes - January 15, 2025Attendees: Sarah, Mike, JenniferWe discussed the Q1 roadmap today. Sarah presented the new authenticationfeature timeline - targeting end of February for beta. Mike raised concernsabout the current API response times, suggesting we prioritize performanceoptimization before the launch.Action items:- Sarah: Finalize auth feature specs by Friday- Mike: Run performance benchmarks this week- Jennifer: Schedule follow-up for next Tuesday" > meeting-notes.txt
Wait ~15 seconds for processing, then ask a question:
Copy
curl -X POST https://memorymachines-core-api-mvp-gateway-6v1lw71z.uc.gateway.dev/v1/memories/ask \ -H "x-api-key: YOUR_API_KEY" \ -F "text=What were the action items from the meeting?"
You’ll get an LMM-generated response:
Copy
{ "response": "Based on your meeting notes from January 15th, there were three action items: Sarah needs to finalize the auth feature specs by Friday, Mike will run performance benchmarks this week, and Jennifer will schedule a follow-up meeting for next Tuesday."}
{ "memories": [ { "custom_id": "abc123_memory_0", "item_id": "abc123", "score": 0.94, "content": { "narrative": "I attended a meeting with Sarah, Mike, and Jennifer to discuss the Q1 roadmap. Sarah presented the authentication feature timeline targeting end of February. Mike raised concerns about API response times.", "participants": ["Sarah", "Mike", "Jennifer"], "when": "January 15, 2025", "where": null, "tags": ["meeting", "Q1", "roadmap", "authentication"] } } ], "qa": [], "chunks": []}
Your API key is invalid or missing. Make sure you’re including the x-api-key header with your request.
No memories returned
Processing takes 10-15 seconds. Wait a moment and try again. You can also check if the document was uploaded successfully by looking at the response from /v1/memorize.
400 Bad Request
Check that your file is UTF-8 encoded text and under 10MB. Binary files (PDF, images) are not yet supported.