Letta · Schema

PassageSearchResult

Result from a passage search operation with scoring details.

Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source

Properties

Name Type Description
passage object The passage object
score number Relevance score
metadata object Additional metadata about the search result
View JSON Schema on GitHub

JSON Schema

letta-passagesearchresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PassageSearchResult",
  "title": "PassageSearchResult",
  "properties": {
    "passage": {
      "$ref": "#/components/schemas/Passage",
      "description": "The passage object"
    },
    "score": {
      "type": "number",
      "title": "Score",
      "description": "Relevance score"
    },
    "metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Metadata",
      "description": "Additional metadata about the search result"
    }
  },
  "type": "object",
  "required": [
    "passage",
    "score"
  ],
  "description": "Result from a passage search operation with scoring details."
}