メモリのKG抽出をプレビュー
Preview knowledge graph extraction for a memory.
This endpoint extracts entities and relationships from a memory's content using the local LLM, providing a preview without saving to the database.
パスパラメータ
リクエストボディ
application/json
TypeScript定義
TypeScriptでrequest body型を使用します。
Request for knowledge graph extraction from a memory.
Note: memory_id is provided in the URL path, not in the request body.
レスポンスボディ
application/json
application/json
curl -X POST "https://example.com/memories/string/extract-kg/preview" \ -H "Content-Type: application/json" \ -d '{}'{ "can_extract": true, "entities": [ {} ], "entities_count": 0, "extraction_confidence": 0, "kg_already_extracted": true, "memory_content": "string", "memory_id": "string", "memory_title": "string", "relationships": [ {} ], "relationships_count": 0, "write_plan": {}}