mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 23:58:00 +00:00
Improved which models are offered for chatting (#943)
This commit is contained in:
1 parent
5966f0f6a5
commit
a7228c7782
5 files changed
+100
-32
No files matched your search
@@ -47,16 +47,35 @@ public enum ModelKind
|
||||
/// </summary>
|
||||
IMAGE_GENERATION,
|
||||
|
||||
/// <summary>
|
||||
/// The model generates or edits videos.
|
||||
/// </summary>
|
||||
VIDEO_GENERATION,
|
||||
|
||||
/// <summary>
|
||||
/// The model transcribes audio into text.
|
||||
/// </summary>
|
||||
TRANSCRIPTION,
|
||||
|
||||
/// <summary>
|
||||
/// The model synthesizes speech from text.
|
||||
/// The model speaks: it synthesizes speech from text, or answers in audio itself.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This covers the pure text-to-speech models as well as those which hold a conversation in
|
||||
/// audio, such as the audio models of OpenAI. The latter do accept text, but they are made for
|
||||
/// spoken input and output, so they do not belong among the chat models.
|
||||
/// </remarks>
|
||||
SPEECH_SYNTHESIS,
|
||||
|
||||
/// <summary>
|
||||
/// The model holds a spoken conversation over a live connection.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// These models expect a streaming connection of their own, usually a WebSocket, instead of the
|
||||
/// chat completion API. They cannot be used for a normal chat.
|
||||
/// </remarks>
|
||||
REALTIME,
|
||||
|
||||
/// <summary>
|
||||
/// The model extracts text from images or scanned documents.
|
||||
/// </summary>
|
||||
@@ -66,4 +85,14 @@ public enum ModelKind
|
||||
/// The model classifies content for policy violations.
|
||||
/// </summary>
|
||||
MODERATION,
|
||||
|
||||
/// <summary>
|
||||
/// Not a model at all.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Some providers list entries in their models endpoint which are no models, such as OpenAI's
|
||||
/// 'container' resource for its code interpreter. A provider talking to such an entry gets an
|
||||
/// error, so they must not appear in any of the model lists we show.
|
||||
/// </remarks>
|
||||
OTHER,
|
||||
}
|
||||
Reference in new issue
Block a user