mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 05:03:51 +00:00
Restrict the changes to the new preprocessing API only.
This commit is contained in:
parent
2008cd7921
commit
863f87aa15
90 changed files with 104 additions and 1138 deletions
|
|
@ -7,28 +7,9 @@
|
|||
from typing import List
|
||||
|
||||
from llama_stack.providers.datatypes import (
|
||||
Api,
|
||||
InlineProviderSpec,
|
||||
ProviderSpec,
|
||||
)
|
||||
|
||||
|
||||
def available_providers() -> List[ProviderSpec]:
|
||||
return [
|
||||
InlineProviderSpec(
|
||||
api=Api.preprocessing,
|
||||
provider_type="inline::basic",
|
||||
pip_packages=["httpx", "pypdf"],
|
||||
module="llama_stack.providers.inline.preprocessing.basic",
|
||||
config_class="llama_stack.providers.inline.preprocessing.basic.InlineBasicPreprocessorConfig",
|
||||
api_dependencies=[],
|
||||
),
|
||||
InlineProviderSpec(
|
||||
api=Api.preprocessing,
|
||||
provider_type="inline::simple_chunking",
|
||||
pip_packages=[],
|
||||
module="llama_stack.providers.inline.preprocessing.simple_chunking",
|
||||
config_class="llama_stack.providers.inline.preprocessing.simple_chunking.InclineSimpleChunkingConfig",
|
||||
api_dependencies=[],
|
||||
),
|
||||
]
|
||||
return []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue