Semantic Kernel JavaScript
    Preparing search index...

    Abstract class representing a chat client that can interact with a chat service.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • Asks the chat client to provide a service of a specific type.

      Type Parameters

      • T

      Parameters

      • serviceType: T

        The type of service to retrieve, which is typically a class or interface.

      • OptionalserviceKey: string

        An optional key to identify a specific service instance.

      Returns undefined | OpenAI | OpenAIChatClient