forked from phoenix-oss/llama-stack-mirror
fix: make vision and embedding tests pass with openai, anthropic and gemini
NOTE - Anthropic embeddings do not work due to LiteLLM not supporting them.
This commit is contained in:
parent
abfc4b3bce
commit
4cf95475e5
4 changed files with 10 additions and 5 deletions
|
@ -20,11 +20,11 @@ MODEL_ENTRIES = [ProviderModelEntry(provider_model_id=m) for m in LLM_MODEL_IDS]
|
|||
ProviderModelEntry(
|
||||
provider_model_id="openai/text-embedding-3-small",
|
||||
model_type=ModelType.embedding,
|
||||
metadata={"embedding_dimension": 1536},
|
||||
metadata={"embedding_dimension": 1536, "context_length": 8192},
|
||||
),
|
||||
ProviderModelEntry(
|
||||
provider_model_id="openai/text-embedding-3-large",
|
||||
model_type=ModelType.embedding,
|
||||
metadata={"embedding_dimension": 3072},
|
||||
metadata={"embedding_dimension": 3072, "context_length": 8192},
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue