Initial commit for postgresql dataset provider

Core implementation of postgresql dataset for llama stack

Signed-off-by: Josh Salomon <jsalomon@redhat.com>
This commit is contained in:
Josh Salomon 2025-03-26 12:15:40 +02:00
parent bdfe7fee92
commit 8e3b579df2
8 changed files with 512 additions and 0 deletions

View file

@ -430,6 +430,8 @@ class DatasetsRoutingTable(CommonRoutingTableImpl, Datasets):
# infer provider from uri
if source.uri.startswith("huggingface"):
provider_id = "huggingface"
elif source.uri.startswith("postgresql"):
provider_id = "postgresql"
else:
provider_id = "localfs"
else: