MAIDR Documentation - v3.65.0
    Preparing search index...

    Class ChatService

    Service for managing chat interactions with different LLM providers.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Sends a message to the specified LLM model and returns the response.

      Parameters

      • model: Llm

        The LLM provider to use

      • request: LlmRequest

        The request containing the message and configuration

      Returns Promise<LlmResponse>

      The response from the LLM

    • Toggles the focus to the chat scope.

      Returns void