Search Results for

    Show / Hide Table of Contents

    Enum ContentType

    Identifies the content part type used across AI APIs (ChatCompletions, Responses, Assistants, and third-party providers).

    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    [JsonConverter(typeof(ContentTypeConverter))]
    public enum ContentType : byte

    Fields

    Name Description
    DocumentUrl

    Document specified by URL (Mistral).

    File

    Generic file content.

    ImageFile

    Image uploaded as a file.

    ImageUrl

    Image specified by URL.

    InputAudio

    Input audio content.

    InputFile

    Input file (Responses API).

    InputImage

    Input image (Responses API).

    InputText

    Input text (Responses API).

    InputVideo

    Input video content. (OpenRouter)

    OutputText

    Output text (Responses API).

    Reference

    Reference object (Mistral).

    Refusal

    Refusal or rejection response.

    Text

    Standard text content.

    Thinking

    Thinking / reasoning trace (Cohere, Mistral).

    VideoUrl

    Output video content. (OpenRouter)

    Extension Methods

    TrTaskExtensions.TrDeferred<ContentType>(ContentType, Action<TrStringTask>)
    TrTaskExtensions.Tr<ContentType>(ContentType)
    EnumExtensions.HasAnyFlag<ContentType>(ContentType, ContentType?)
    EnumExtensions.ToFlagList<ContentType>(ContentType)
    EnumExtensions.ToFlagSet<ContentType>(ContentType)
    EnumExtensions.ToJoinedString<ContentType>(ContentType, char, char)
    EnumExtensions.ToLowerInvariantString<ContentType>(ContentType)
    EventExtensions.ToDelta<ContentType>(ContentType, string, int, string, bool)
    EventExtensions.ToDone<ContentType>(ContentType, string, int, string)
    EventExtensions.ToEvent<ContentType>(ContentType)
    EventExtensions.UpcastDelta<ContentType, T2>(ContentType, string, int, string, bool)
    ExperimentalAttributeExtensions.IsExperimental<ContentType>(ContentType)
    FallbackExtensions.IsOr<ContentType, TChild>(ContentType, TChild)
    ResponseCastingExtensions.GetResult<ContentType>(ContentType)
    LogMessageExtensions.GetDisplayedMessage<ContentType>(ContentType)
    LogMessageExtensions.GetLogMessage<ContentType>(ContentType)
    SystemExtensions.GetHashCodeOrDefault<ContentType>(ContentType)
    RESTEnum.GetRESTEnum(Enum)
    InspectorNameUtils.GetInspectorName(Enum, string)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation