|
12325 | 12325 | "title": "BYOK RAG configuration", |
12326 | 12326 | "description": "BYOK RAG configuration. This configuration can be used to reconfigure Llama Stack through its run.yaml configuration file" |
12327 | 12327 | }, |
| 12328 | + "vector_store": { |
| 12329 | + "$ref": "#/components/schemas/VectorStoreConfiguration", |
| 12330 | + "title": "Vector store configuration", |
| 12331 | + "description": "Dynamic vector-store provider capacity for runtime POST /v1/vector-stores creates. Not the same as byok_rag (static registered corpora). When providers is non-empty, default_provider is required and must match one of providers[].id. Applied in unified synthesis only." |
| 12332 | + }, |
12328 | 12333 | "a2a_state": { |
12329 | 12334 | "$ref": "#/components/schemas/A2AStateConfiguration", |
12330 | 12335 | "title": "A2A state configuration", |
|
13239 | 13244 | "title": "DetailModel", |
13240 | 13245 | "description": "Nested detail model for error responses." |
13241 | 13246 | }, |
| 13247 | + "FaissVectorStoreProvider": { |
| 13248 | + "properties": { |
| 13249 | + "id": { |
| 13250 | + "type": "string", |
| 13251 | + "minLength": 1, |
| 13252 | + "title": "Provider ID", |
| 13253 | + "description": "Llama Stack vector_io provider_id. Surrounding whitespace is stripped before validation and emission." |
| 13254 | + }, |
| 13255 | + "embedding_model": { |
| 13256 | + "type": "string", |
| 13257 | + "minLength": 1, |
| 13258 | + "title": "Embedding model", |
| 13259 | + "description": "Embedding model identification used for stores created against this provider." |
| 13260 | + }, |
| 13261 | + "embedding_dimension": { |
| 13262 | + "type": "integer", |
| 13263 | + "exclusiveMinimum": 0.0, |
| 13264 | + "title": "Embedding dimension", |
| 13265 | + "description": "Dimensionality of embedding vectors for this provider." |
| 13266 | + }, |
| 13267 | + "type": { |
| 13268 | + "type": "string", |
| 13269 | + "const": "faiss", |
| 13270 | + "title": "Provider type", |
| 13271 | + "description": "Product type for this dynamic vector-store provider.", |
| 13272 | + "default": "faiss" |
| 13273 | + }, |
| 13274 | + "config": { |
| 13275 | + "$ref": "#/components/schemas/FaissVectorStoreProviderConfig", |
| 13276 | + "title": "Storage config", |
| 13277 | + "description": "FAISS storage settings for this provider." |
| 13278 | + } |
| 13279 | + }, |
| 13280 | + "additionalProperties": false, |
| 13281 | + "type": "object", |
| 13282 | + "required": [ |
| 13283 | + "id", |
| 13284 | + "embedding_model", |
| 13285 | + "embedding_dimension", |
| 13286 | + "config" |
| 13287 | + ], |
| 13288 | + "title": "FaissVectorStoreProvider", |
| 13289 | + "description": "Dynamic FAISS vector-store provider (runtime create capacity)." |
| 13290 | + }, |
| 13291 | + "FaissVectorStoreProviderConfig": { |
| 13292 | + "properties": { |
| 13293 | + "path": { |
| 13294 | + "type": "string", |
| 13295 | + "minLength": 1, |
| 13296 | + "title": "DB path", |
| 13297 | + "description": "On-disk FAISS/SQLite path for this provider." |
| 13298 | + } |
| 13299 | + }, |
| 13300 | + "additionalProperties": false, |
| 13301 | + "type": "object", |
| 13302 | + "required": [ |
| 13303 | + "path" |
| 13304 | + ], |
| 13305 | + "title": "FaissVectorStoreProviderConfig", |
| 13306 | + "description": "Storage config for a FAISS dynamic vector-store provider." |
| 13307 | + }, |
13242 | 13308 | "FeedbackCategory": { |
13243 | 13309 | "type": "string", |
13244 | 13310 | "enum": [ |
@@ -16688,6 +16754,120 @@ |
16688 | 16754 | "title": "PasswordOAuthFlow", |
16689 | 16755 | "description": "Defines configuration details for the OAuth 2.0 Resource Owner Password flow." |
16690 | 16756 | }, |
| 16757 | + "PgvectorVectorStoreProvider": { |
| 16758 | + "properties": { |
| 16759 | + "id": { |
| 16760 | + "type": "string", |
| 16761 | + "minLength": 1, |
| 16762 | + "title": "Provider ID", |
| 16763 | + "description": "Llama Stack vector_io provider_id. Surrounding whitespace is stripped before validation and emission." |
| 16764 | + }, |
| 16765 | + "embedding_model": { |
| 16766 | + "type": "string", |
| 16767 | + "minLength": 1, |
| 16768 | + "title": "Embedding model", |
| 16769 | + "description": "Embedding model identification used for stores created against this provider." |
| 16770 | + }, |
| 16771 | + "embedding_dimension": { |
| 16772 | + "type": "integer", |
| 16773 | + "exclusiveMinimum": 0.0, |
| 16774 | + "title": "Embedding dimension", |
| 16775 | + "description": "Dimensionality of embedding vectors for this provider." |
| 16776 | + }, |
| 16777 | + "type": { |
| 16778 | + "type": "string", |
| 16779 | + "const": "pgvector", |
| 16780 | + "title": "Provider type", |
| 16781 | + "description": "Product type for this dynamic vector-store provider.", |
| 16782 | + "default": "pgvector" |
| 16783 | + }, |
| 16784 | + "config": { |
| 16785 | + "$ref": "#/components/schemas/PgvectorVectorStoreProviderConfig", |
| 16786 | + "title": "Storage config", |
| 16787 | + "description": "pgvector connection settings for this provider." |
| 16788 | + } |
| 16789 | + }, |
| 16790 | + "additionalProperties": false, |
| 16791 | + "type": "object", |
| 16792 | + "required": [ |
| 16793 | + "id", |
| 16794 | + "embedding_model", |
| 16795 | + "embedding_dimension", |
| 16796 | + "config" |
| 16797 | + ], |
| 16798 | + "title": "PgvectorVectorStoreProvider", |
| 16799 | + "description": "Dynamic pgvector vector-store provider (runtime create capacity)." |
| 16800 | + }, |
| 16801 | + "PgvectorVectorStoreProviderConfig": { |
| 16802 | + "properties": { |
| 16803 | + "host": { |
| 16804 | + "anyOf": [ |
| 16805 | + { |
| 16806 | + "type": "string" |
| 16807 | + }, |
| 16808 | + { |
| 16809 | + "type": "null" |
| 16810 | + } |
| 16811 | + ], |
| 16812 | + "title": "PostgreSQL host", |
| 16813 | + "description": "PostgreSQL host. Defaults to ${env.POSTGRES_HOST}." |
| 16814 | + }, |
| 16815 | + "port": { |
| 16816 | + "anyOf": [ |
| 16817 | + { |
| 16818 | + "type": "string" |
| 16819 | + }, |
| 16820 | + { |
| 16821 | + "type": "null" |
| 16822 | + } |
| 16823 | + ], |
| 16824 | + "title": "PostgreSQL port", |
| 16825 | + "description": "PostgreSQL port. Defaults to ${env.POSTGRES_PORT}." |
| 16826 | + }, |
| 16827 | + "db": { |
| 16828 | + "anyOf": [ |
| 16829 | + { |
| 16830 | + "type": "string" |
| 16831 | + }, |
| 16832 | + { |
| 16833 | + "type": "null" |
| 16834 | + } |
| 16835 | + ], |
| 16836 | + "title": "PostgreSQL database", |
| 16837 | + "description": "PostgreSQL database name. Defaults to ${env.POSTGRES_DATABASE}." |
| 16838 | + }, |
| 16839 | + "user": { |
| 16840 | + "anyOf": [ |
| 16841 | + { |
| 16842 | + "type": "string" |
| 16843 | + }, |
| 16844 | + { |
| 16845 | + "type": "null" |
| 16846 | + } |
| 16847 | + ], |
| 16848 | + "title": "PostgreSQL user", |
| 16849 | + "description": "PostgreSQL user. Defaults to ${env.POSTGRES_USER}." |
| 16850 | + }, |
| 16851 | + "password": { |
| 16852 | + "anyOf": [ |
| 16853 | + { |
| 16854 | + "type": "string", |
| 16855 | + "format": "password", |
| 16856 | + "writeOnly": true |
| 16857 | + }, |
| 16858 | + { |
| 16859 | + "type": "null" |
| 16860 | + } |
| 16861 | + ], |
| 16862 | + "title": "PostgreSQL password", |
| 16863 | + "description": "PostgreSQL password. Defaults to ${env.POSTGRES_PASSWORD}." |
| 16864 | + } |
| 16865 | + }, |
| 16866 | + "additionalProperties": false, |
| 16867 | + "type": "object", |
| 16868 | + "title": "PgvectorVectorStoreProviderConfig", |
| 16869 | + "description": "Storage config for a pgvector dynamic vector-store provider." |
| 16870 | + }, |
16691 | 16871 | "PostgreSQLDatabaseConfiguration": { |
16692 | 16872 | "properties": { |
16693 | 16873 | "host": { |
|
20580 | 20760 | ], |
20581 | 20761 | "title": "ValidationError" |
20582 | 20762 | }, |
| 20763 | + "VectorStoreConfiguration": { |
| 20764 | + "properties": { |
| 20765 | + "default_provider": { |
| 20766 | + "anyOf": [ |
| 20767 | + { |
| 20768 | + "type": "string" |
| 20769 | + }, |
| 20770 | + { |
| 20771 | + "type": "null" |
| 20772 | + } |
| 20773 | + ], |
| 20774 | + "title": "Default provider", |
| 20775 | + "description": "Provider id used for vector_stores.default_* in the synthesized Llama Stack config. Required when providers is non-empty; must match one of providers[].id." |
| 20776 | + }, |
| 20777 | + "providers": { |
| 20778 | + "items": { |
| 20779 | + "oneOf": [ |
| 20780 | + { |
| 20781 | + "$ref": "#/components/schemas/FaissVectorStoreProvider" |
| 20782 | + }, |
| 20783 | + { |
| 20784 | + "$ref": "#/components/schemas/PgvectorVectorStoreProvider" |
| 20785 | + } |
| 20786 | + ], |
| 20787 | + "discriminator": { |
| 20788 | + "propertyName": "type", |
| 20789 | + "mapping": { |
| 20790 | + "faiss": "#/components/schemas/FaissVectorStoreProvider", |
| 20791 | + "pgvector": "#/components/schemas/PgvectorVectorStoreProvider" |
| 20792 | + } |
| 20793 | + } |
| 20794 | + }, |
| 20795 | + "type": "array", |
| 20796 | + "title": "Vector store providers", |
| 20797 | + "description": "Dynamic vector-store provider capacity for runtime POST /v1/vector-stores creates. Not the same as byok_rag (static registered corpora)." |
| 20798 | + } |
| 20799 | + }, |
| 20800 | + "additionalProperties": false, |
| 20801 | + "type": "object", |
| 20802 | + "title": "VectorStoreConfiguration", |
| 20803 | + "description": "Configuration for dynamic vector-store providers.\n\nMirrors ``InferenceConfiguration``: a providers list plus a sibling\n``default_provider`` pointer, rather than a per-entry default flag.\n\nAttributes:\n default_provider: Provider id used for vector_stores.default_* in the\n synthesized Llama Stack config. Required when providers is\n non-empty; must match one of providers[].id. Must be omitted when\n providers is empty.\n providers: Dynamic vector-store provider capacity for runtime\n POST /v1/vector-stores creates. Not the same as byok_rag (static\n registered corpora)." |
| 20804 | + }, |
20583 | 20805 | "VectorStoreCreateRequest": { |
20584 | 20806 | "properties": { |
20585 | 20807 | "name": { |
|
0 commit comments