Ingest documents into your Senso.ai knowledge base through Edith smart glasses. Triggers when user wants to add content to their knowledge base.
npx @senso-ai/shipables install samdickson22/edith-senso-ingestIngest documents and content into the user's Senso.ai knowledge base so it becomes searchable through Edith smart glasses.
Activate this skill when the user wants to add, upload, or ingest content into their knowledge base. Examples:
Do NOT use this skill for simple note-taking or reminders. This is for ingesting substantial content that should be searchable later.
The user must have a Senso.ai API key configured. If not, tell them:
The API key should be stored in OpenClaw's memory/config as SENSO_API_KEY.
Use the exec tool to call the Senso.ai content ingestion endpoint:
curl -s -X POST "https://sdk.senso.ai/api/v1/content/raw" \
-H "Content-Type: application/json" \
-H "X-API-Key: ${SENSO_API_KEY}" \
-d '{"content": "<text content to ingest>", "metadata": {"title": "<optional title>", "source": "<optional source>"}}'
If the user provides a file path, read it first and then send the content:
curl -s -X POST "https://sdk.senso.ai/api/v1/content/raw" \
-H "Content-Type: application/json" \
-H "X-API-Key: ${SENSO_API_KEY}" \
-d @- <<'BODY'
{
"content": "<file contents>",
"metadata": {
"title": "<filename>",
"source": "file"
}
}
BODY
For large files, consider chunking the content into logical sections before ingesting.
Edith speaks responses through smart glasses speakers. Keep confirmations brief:
User: "Hey Edith, add this meeting summary to my knowledge base: We decided to launch the new product line in Q3 and increase the marketing budget by 20 percent."
Good response: "Done, I've added your meeting summary to your knowledge base."
Bad response: "I have successfully ingested 1 document containing 147 characters into your Senso.ai knowledge base. The document ID is doc_abc123 and it was chunked into 1 segment."