yera.cli.commands.profile

Profile field commands — operate on fields within a Yera profile.

Symbols

def embedding — Set the default embedding model on a Yera profile.
def llm — Set the default LLM model on a Yera profile.
def reranker — Set the default reranker model on a Yera profile.
def stt — Set the default STT model on a Yera profile.
def tts — Set the default TTS model on a Yera profile.

embedding

embedding(
    model_id: Annotated[str, Parameter(help='Yera model id to set as default embedding.')],
    profile: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None,
    ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → None

Set the default embedding model on a Yera profile.

Parameters

model_id
type: Annotated[str, Parameter(help='Yera model id to set as default embedding.')]

Yera model id to set as the default embedding model.

profile
type: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None

Profile to update. Defaults to the active profile when omitted.

llm

llm(
    model_id: Annotated[str, Parameter(help='Yera model id to set as default LLM.')],
    profile: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None,
    ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → None

Set the default LLM model on a Yera profile.

Parameters

model_id
type: Annotated[str, Parameter(help='Yera model id to set as default LLM.')]

Yera model id to set as the default LLM.

profile
type: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None

Profile to update. Defaults to the active profile when omitted.

reranker

reranker(
    model_id: Annotated[str, Parameter(help='Yera model id to set as default reranker.')],
    profile: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None,
    ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → None

Set the default reranker model on a Yera profile.

Parameters

model_id
type: Annotated[str, Parameter(help='Yera model id to set as default reranker.')]

Yera model id to set as the default reranker model.

profile
type: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None

Profile to update. Defaults to the active profile when omitted.

stt

stt(
    model_id: Annotated[str, Parameter(help='Yera model id to set as default STT.')],
    profile: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None,
    ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → None

Set the default STT model on a Yera profile.

Parameters

model_id
type: Annotated[str, Parameter(help='Yera model id to set as default STT.')]

Yera model id to set as the default STT model.

profile
type: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None

Profile to update. Defaults to the active profile when omitted.

tts

tts(
    model_id: Annotated[str, Parameter(help='Yera model id to set as default TTS.')],
    profile: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None,
    ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → None

Set the default TTS model on a Yera profile.

Parameters

model_id
type: Annotated[str, Parameter(help='Yera model id to set as default TTS.')]

Yera model id to set as the default TTS model.

profile
type: Annotated[str | None, Parameter(help='Profile to update. Defaults to the active profile.')] = None

Profile to update. Defaults to the active profile when omitted.