Search Results for

    Show / Hide Table of Contents

    Class ResponseService

    Currently in Beta - Subject to change without notice. https://console.groq.com/docs/api-reference#responses

    Inheritance
    object
    CrudServiceBase<GroqCloudClient>
    ResponseService
    Implements
    ICrudService
    Inherited Members
    CrudServiceBase<GroqCloudClient>.client
    CrudServiceBase<GroqCloudClient>.ApiKey
    CrudServiceBase<GroqCloudClient>.GetUrl(params string[])
    CrudServiceBase<GroqCloudClient>.GetChildUrl(string, params string[])
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.GroqCloud
    Assembly: Glitch9.AIDevKit.Provider.GroqCloud.dll
    Syntax
    public class ResponseService : CrudServiceBase<GroqCloudClient>, ICrudService

    Constructors

    | Edit this page View Source

    ResponseService(GroqCloudClient)

    Declaration
    public ResponseService(GroqCloudClient client)
    Parameters
    Type Name Description
    GroqCloudClient client

    Methods

    | Edit this page View Source

    CancelAsync(string, RequestOptions)

    Declaration
    public UniTask<Response> CancelAsync(string responseId, RequestOptions options = null)
    Parameters
    Type Name Description
    string responseId
    RequestOptions options
    Returns
    Type Description
    UniTask<Response>
    | Edit this page View Source

    CreateAsync(ResponseRequest, RequestOptions)

    Declaration
    public UniTask<Response> CreateAsync(ResponseRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    ResponseRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<Response>
    | Edit this page View Source

    DeleteAsync(string, RequestOptions)

    Declaration
    public UniTask<Response> DeleteAsync(string responseId, RequestOptions options = null)
    Parameters
    Type Name Description
    string responseId
    RequestOptions options
    Returns
    Type Description
    UniTask<Response>
    | Edit this page View Source

    ListInputItemsAsync(string, CursorQuery, RequestOptions)

    Declaration
    public UniTask<Queried<ConversationItem>> ListInputItemsAsync(string responseId, CursorQuery query = null, RequestOptions options = null)
    Parameters
    Type Name Description
    string responseId
    CursorQuery query
    RequestOptions options
    Returns
    Type Description
    UniTask<Queried<ConversationItem>>
    | Edit this page View Source

    RetrieveAsync(string, ResponseQuery, RequestOptions)

    Declaration
    public UniTask<Response> RetrieveAsync(string responseId, ResponseQuery query = null, RequestOptions options = null)
    Parameters
    Type Name Description
    string responseId
    ResponseQuery query
    RequestOptions options
    Returns
    Type Description
    UniTask<Response>
    | Edit this page View Source

    StreamAsync(ResponseRequest, RequestOptions)

    Declaration
    public IGenerativeStream<ResponseEventBase, ConversationItem> StreamAsync(ResponseRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    ResponseRequest request
    RequestOptions options
    Returns
    Type Description
    IGenerativeStream<ResponseEventBase, ConversationItem>

    Implements

    ICrudService

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation