mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 20:14:13 +00:00
faiss provider implementation
This commit is contained in:
parent
14637bea66
commit
a08958c000
9 changed files with 401 additions and 3 deletions
|
@ -32,6 +32,7 @@ def available_distribution_specs() -> List[DistributionSpec]:
|
|||
description="Use code from `llama_toolchain` itself to serve all llama stack APIs",
|
||||
provider_specs={
|
||||
Api.inference: providers[Api.inference]["meta-reference"],
|
||||
Api.memory: providers[Api.memory]["meta-reference-faiss"],
|
||||
Api.safety: providers[Api.safety]["meta-reference"],
|
||||
Api.agentic_system: providers[Api.agentic_system]["meta-reference"],
|
||||
},
|
||||
|
@ -50,6 +51,12 @@ def available_distribution_specs() -> List[DistributionSpec]:
|
|||
Api.agentic_system: providers[Api.agentic_system]["meta-reference"],
|
||||
},
|
||||
),
|
||||
DistributionSpec(
|
||||
spec_id="test-memory",
|
||||
provider_specs={
|
||||
Api.memory: providers[Api.memory]["meta-reference-faiss"],
|
||||
},
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue