Letta · Schema

File

Learn about [file inputs](https://platform.openai.com/docs/guides/text) for text generation.

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
file object
type string
View JSON Schema on GitHub

JSON Schema

letta-file-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/File",
  "title": "File",
  "properties": {
    "file": {
      "$ref": "#/components/schemas/FileFile"
    },
    "type": {
      "type": "string",
      "const": "file",
      "title": "Type"
    }
  },
  "type": "object",
  "required": [
    "file",
    "type"
  ],
  "description": "Learn about [file inputs](https://platform.openai.com/docs/guides/text) for text generation."
}