From 9d2b2a0a5e265c1cabf3a9582d7ca1ecfee366cd Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Tue, 6 May 2025 08:27:23 +0200 Subject: [PATCH] Add Capability enum to represent AI model capabilities --- app/MindWork AI Studio/Provider/Capability.cs | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 app/MindWork AI Studio/Provider/Capability.cs diff --git a/app/MindWork AI Studio/Provider/Capability.cs b/app/MindWork AI Studio/Provider/Capability.cs new file mode 100644 index 00000000..ea27f977 --- /dev/null +++ b/app/MindWork AI Studio/Provider/Capability.cs @@ -0,0 +1,87 @@ +namespace AIStudio.Provider; + +/// +/// Represents the capabilities of an AI model. +/// +public enum Capability +{ + /// + /// No capabilities specified. + /// + NONE, + + /// + /// We don't know what the AI model can do. + /// + UNKNOWN, + + /// + /// The AI model can perform text input. + /// + TEXT_INPUT, + + /// + /// The AI model can perform audio input, such as music or sound. + /// + AUDIO_INPUT, + + /// + /// The AI model can perform image input, such as photos or drawings. + /// + IMAGE_INPUT, + + /// + /// The AI model can perform speech input. + /// + SPEECH_INPUT, + + /// + /// The AI model can perform video input, such as video files or streams. + /// + VIDEO_INPUT, + + /// + /// The AI model can generate text output. + /// + TEXT_OUTPUT, + + /// + /// The AI model can generate audio output, such as music or sound. + /// + AUDIO_OUTPUT, + + /// + /// The AI model can generate image output, such as photos or drawings. + /// + IMAGE_OUTPUT, + + /// + /// The AI model can generate speech output. + /// + SPEECH_OUTPUT, + + /// + /// The AI model can generate video output. + /// + VIDEO_OUTPUT, + + /// + /// The AI model can perform reasoning tasks. + /// + REASONING, + + /// + /// The AI model can embed information or data. + /// + EMBEDDING, + + /// + /// The AI model can perform in real-time. + /// + REALTIME, + + /// + /// The AI model can perform function calling, such as invoking APIs or executing functions. + /// + FUNCTION_CALLING, +} \ No newline at end of file