forked from phoenix-oss/llama-stack-mirror
# What does this PR do? Adds the sentence transformer provider and the `all-MiniLM-L6-v2` embedding model to the default models to register in the run.yaml for all providers. ## Test Plan llama stack build --template together --image-type conda llama stack run ~/.llama/distributions/llamastack-together/together-run.yaml
16 lines
404 B
Python
16 lines
404 B
Python
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the terms described in the LICENSE file in
|
|
# the root directory of this source tree.
|
|
|
|
from typing import Any, Dict
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class SentenceTransformersInferenceConfig(BaseModel):
|
|
|
|
@classmethod
|
|
def sample_run_config(cls) -> Dict[str, Any]:
|
|
return {}
|