File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -38,3 +38,4 @@ You can see an overview of the APIs and Providers the image ships with in the ta
3838| vector_io | inline::faiss | No | ❌ | Set the ` ENABLE_FAISS ` environment variable |
3939| vector_io | inline::milvus | No | ✅ | N/A |
4040| vector_io | remote::milvus | No | ❌ | Set the ` MILVUS_ENDPOINT ` environment variable |
41+ | vector_io | remote::pgvector | No | ❌ | Set the ` PGVECTOR_DB ` environment variable |
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ distribution_spec:
1414 - provider_type : inline::milvus
1515 - provider_type : remote::milvus
1616 - provider_type : inline::faiss
17+ - provider_type : remote::pgvector
1718 safety :
1819 - provider_type : remote::trustyai_fms
1920 module : llama_stack_provider_trustyai_fms==0.3.1
Original file line number Diff line number Diff line change @@ -93,6 +93,17 @@ providers:
9393 persistence :
9494 backend : kv_milvus_remote
9595 namespace : vector_io::milvus_remote
96+ - provider_id : ${env.PGVECTOR_DB:+pgvector}
97+ provider_type : remote::pgvector
98+ config :
99+ host : ${env.PGVECTOR_HOST:=localhost}
100+ port : ${env.PGVECTOR_PORT:=5432}
101+ db : ${env.PGVECTOR_DB:=}
102+ user : ${env.PGVECTOR_USER:=}
103+ password : ${env.PGVECTOR_PASSWORD:=}
104+ persistence :
105+ backend : kv_pgvector
106+ namespace : vector_io::pgvector
96107 safety :
97108 - provider_id : trustyai_fms
98109 provider_type : remote::trustyai_fms
@@ -224,6 +235,9 @@ storage:
224235 kv_milvus_remote :
225236 type : kv_sqlite
226237 db_path : /opt/app-root/src/.llama/distributions/rh/milvus_remote_registry.db
238+ kv_pgvector :
239+ type : kv_sqlite
240+ db_path : /opt/app-root/src/.llama/distributions/rh/pgvector_registry.db
227241 kv_datasetio_huggingface :
228242 type : kv_sqlite
229243 db_path : /opt/app-root/src/.llama/distributions/rh/huggingface_datasetio.db
You can’t perform that action at this time.
0 commit comments