mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 17:29:01 +00:00
portkey integration v3
This commit is contained in:
parent
71f27f6676
commit
418e0efc5a
1 changed files with 9 additions and 6 deletions
|
@ -44,6 +44,9 @@ model_aliases = [
|
||||||
"llama-3.3-70b",
|
"llama-3.3-70b",
|
||||||
CoreModelId.llama3_3_70b_instruct.value,
|
CoreModelId.llama3_3_70b_instruct.value,
|
||||||
),
|
),
|
||||||
|
build_model_alias(
|
||||||
|
"llama"
|
||||||
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -182,9 +185,9 @@ class PortkeyInferenceAdapter(ModelRegistryHelper, Inference):
|
||||||
**get_sampling_options(request.sampling_params),
|
**get_sampling_options(request.sampling_params),
|
||||||
}
|
}
|
||||||
|
|
||||||
async def embeddings(
|
# async def embeddings(
|
||||||
self,
|
# self,
|
||||||
model_id: str,
|
# model_id: str,
|
||||||
contents: List[InterleavedContent],
|
# contents: List[InterleavedContent],
|
||||||
) -> EmbeddingsResponse:
|
# ) -> EmbeddingsResponse:
|
||||||
raise NotImplementedError()
|
# raise NotImplementedError()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue