@microsoft/teams.ai package
Classes
| AudioPrompt |
a prompt that can interface with an audio model |
| ChatPrompt |
a prompt that can interface with a chat model that provides utility like streaming and function calling |
| LocalMemory | |
| StringTemplate |
a component that can render text content |
Interfaces
| IAudioModel |
a model that can convert text to audio or audio to text |
| IAudioPrompt |
a prompt that can interface with an audio model |
| IChatModel |
a conversational model for sending and receiving messages |
| IChatPrompt |
a prompt that can interface with a chat model that provides utility like streaming and function calling |
| IImageModel |
a model that can generate an image from text |
| IMemory | |
| ITemplate |
a component that can render text content |
Type Aliases
| AnySchema | |
| ArraySchema | |
| AudioPromptOptions | |
| AudioToTextParams | |
| BooleanSchema | |
| ChatPromptOptions | |
| ChatPromptPlugin | |
| ChatPromptSendOptions | |
| ChatSendOptions | |
| Citation |
A single instance of additional context information available when Azure OpenAI chat extensions are involved in the generation of a corresponding chat completions response. This context information is only populated when using an Azure OpenAI request configured to use a matching extension. |
| ContentPart | |
| Function | |
| FunctionCall | |
| FunctionHandler | |
| FunctionMessage | |
| ImageContentPart | |
| LocalMemoryOptions | |
| Message | |
| MessageAudio |
If the audio output modality is requested, this object contains data about the audio response from the model. |
| MessageContext |
A representation of the additional context information available when Azure OpenAI chat extensions are involved in the generation of a corresponding chat completions response. This context information is only populated when using an Azure OpenAI request configured to use a matching extension. |
| Model | |
| ModelMessage | |
| NullSchema | |
| NumberSchema | |
| ObjectSchema | |
| Prompt | |
| Schema | |
| StringSchema | |
| SystemMessage | |
| TextChunkHandler | |
| TextContentPart | |
| TextToAudioParams | |
| TextToImageParams | |
| UserMessage | |