Created
January 27, 2024 02:02
-
-
Save wfjt/9da621435385c23e3afbf86438f4382f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"$id": "https://github.com/getzep/zep/config/config", | |
"$ref": "#/$defs/Config", | |
"$defs": { | |
"AuthConfig": { | |
"properties": { | |
"Secret": { | |
"type": "string" | |
}, | |
"Required": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Secret", | |
"Required" | |
] | |
}, | |
"AvailableIndexes": { | |
"properties": { | |
"IVFFLAT": { | |
"type": "boolean" | |
}, | |
"HSNW": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"IVFFLAT", | |
"HSNW" | |
] | |
}, | |
"AzureOpenAIConfig": { | |
"properties": { | |
"LLMDeployment": { | |
"type": "string" | |
}, | |
"EmbeddingDeployment": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"LLMDeployment", | |
"EmbeddingDeployment" | |
] | |
}, | |
"Config": { | |
"properties": { | |
"LLM": { | |
"$ref": "#/$defs/LLM" | |
}, | |
"NLP": { | |
"$ref": "#/$defs/NLP" | |
}, | |
"Memory": { | |
"$ref": "#/$defs/MemoryConfig" | |
}, | |
"Extractors": { | |
"$ref": "#/$defs/ExtractorsConfig" | |
}, | |
"Store": { | |
"$ref": "#/$defs/StoreConfig" | |
}, | |
"Server": { | |
"$ref": "#/$defs/ServerConfig" | |
}, | |
"Log": { | |
"$ref": "#/$defs/LogConfig" | |
}, | |
"Auth": { | |
"$ref": "#/$defs/AuthConfig" | |
}, | |
"OpenTelemetry": { | |
"$ref": "#/$defs/OpenTelemetryConfig" | |
}, | |
"DataConfig": { | |
"$ref": "#/$defs/DataConfig" | |
}, | |
"Development": { | |
"type": "boolean" | |
}, | |
"CustomPrompts": { | |
"$ref": "#/$defs/CustomPromptsConfig" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"LLM", | |
"NLP", | |
"Memory", | |
"Extractors", | |
"Store", | |
"Server", | |
"Log", | |
"Auth", | |
"OpenTelemetry", | |
"DataConfig", | |
"Development", | |
"CustomPrompts" | |
] | |
}, | |
"CustomPromptsConfig": { | |
"properties": { | |
"SummarizerPrompts": { | |
"$ref": "#/$defs/ExtractorPromptsConfig" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"SummarizerPrompts" | |
] | |
}, | |
"DataConfig": { | |
"properties": { | |
"PurgeEvery": { | |
"type": "integer" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"PurgeEvery" | |
] | |
}, | |
"DocumentExtractorsConfig": { | |
"properties": { | |
"Embeddings": { | |
"$ref": "#/$defs/EmbeddingsConfig" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Embeddings" | |
] | |
}, | |
"EmbeddingsConfig": { | |
"properties": { | |
"Enabled": { | |
"type": "boolean" | |
}, | |
"Dimensions": { | |
"type": "integer" | |
}, | |
"Service": { | |
"type": "string" | |
}, | |
"ChunkSize": { | |
"type": "integer" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Enabled", | |
"Dimensions", | |
"Service", | |
"ChunkSize" | |
] | |
}, | |
"EntityExtractorConfig": { | |
"properties": { | |
"Enabled": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Enabled" | |
] | |
}, | |
"ExtractorPromptsConfig": { | |
"properties": { | |
"OpenAI": { | |
"type": "string" | |
}, | |
"Anthropic": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"OpenAI", | |
"Anthropic" | |
] | |
}, | |
"ExtractorsConfig": { | |
"properties": { | |
"Messages": { | |
"$ref": "#/$defs/MessageExtractorsConfig" | |
}, | |
"Documents": { | |
"$ref": "#/$defs/DocumentExtractorsConfig" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Messages", | |
"Documents" | |
] | |
}, | |
"IntentExtractorConfig": { | |
"properties": { | |
"Enabled": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Enabled" | |
] | |
}, | |
"LLM": { | |
"properties": { | |
"Service": { | |
"type": "string" | |
}, | |
"Model": { | |
"type": "string" | |
}, | |
"AnthropicAPIKey": { | |
"type": "string" | |
}, | |
"OpenAIAPIKey": { | |
"type": "string" | |
}, | |
"AzureOpenAIEndpoint": { | |
"type": "string" | |
}, | |
"AzureOpenAIModel": { | |
"$ref": "#/$defs/AzureOpenAIConfig" | |
}, | |
"OpenAIEndpoint": { | |
"type": "string" | |
}, | |
"OpenAIOrgID": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Service", | |
"Model", | |
"AnthropicAPIKey", | |
"OpenAIAPIKey", | |
"AzureOpenAIEndpoint", | |
"AzureOpenAIModel", | |
"OpenAIEndpoint", | |
"OpenAIOrgID" | |
] | |
}, | |
"LogConfig": { | |
"properties": { | |
"Level": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Level" | |
] | |
}, | |
"MemoryConfig": { | |
"properties": { | |
"MessageWindow": { | |
"type": "integer" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"MessageWindow" | |
] | |
}, | |
"MessageExtractorsConfig": { | |
"properties": { | |
"Summarizer": { | |
"$ref": "#/$defs/SummarizerConfig" | |
}, | |
"Embeddings": { | |
"$ref": "#/$defs/EmbeddingsConfig" | |
}, | |
"Entities": { | |
"$ref": "#/$defs/EntityExtractorConfig" | |
}, | |
"Intent": { | |
"$ref": "#/$defs/IntentExtractorConfig" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Summarizer", | |
"Embeddings", | |
"Entities", | |
"Intent" | |
] | |
}, | |
"NLP": { | |
"properties": { | |
"ServerURL": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"ServerURL" | |
] | |
}, | |
"OpenTelemetryConfig": { | |
"properties": { | |
"Enabled": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Enabled" | |
] | |
}, | |
"PostgresConfig": { | |
"properties": { | |
"DSN": { | |
"type": "string" | |
}, | |
"AvailableIndexes": { | |
"$ref": "#/$defs/AvailableIndexes" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"DSN", | |
"AvailableIndexes" | |
] | |
}, | |
"ServerConfig": { | |
"properties": { | |
"Host": { | |
"type": "string" | |
}, | |
"Port": { | |
"type": "integer" | |
}, | |
"WebEnabled": { | |
"type": "boolean" | |
}, | |
"MaxRequestSize": { | |
"type": "integer" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Host", | |
"Port", | |
"WebEnabled", | |
"MaxRequestSize" | |
] | |
}, | |
"StoreConfig": { | |
"properties": { | |
"Type": { | |
"type": "string" | |
}, | |
"Postgres": { | |
"$ref": "#/$defs/PostgresConfig" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Type", | |
"Postgres" | |
] | |
}, | |
"SummarizerConfig": { | |
"properties": { | |
"Enabled": { | |
"type": "boolean" | |
}, | |
"Embeddings": { | |
"$ref": "#/$defs/EmbeddingsConfig" | |
}, | |
"Entities": { | |
"$ref": "#/$defs/EntityExtractorConfig" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object", | |
"required": [ | |
"Enabled", | |
"Embeddings", | |
"Entities" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment