/* Options:
Date: 2025-05-12 18:04:18
Version: 8.53
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://test.servicestack.net
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: SpeechToText.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Test.ServiceModel;
namespace Test.ServiceModel
{
public partial interface IGeneration
{
string RefId { get; set; }
string Tag { get; set; }
}
///
///Convert speech to text
///
[Api(Description="Convert speech to text")]
public partial class SpeechToText
: IReturn, IGeneration
{
///
///The audio stream containing the speech to be transcribed
///
[ApiMember(Description="The audio stream containing the speech to be transcribed")]
[Required]
public virtual string Audio { get; set; }
///
///Optional client-provided identifier for the request
///
[ApiMember(Description="Optional client-provided identifier for the request")]
public virtual string RefId { get; set; }
///
///Tag to identify the request
///
[ApiMember(Description="Tag to identify the request")]
public virtual string Tag { get; set; }
}
///
///Response object for text generation requests
///
[Api(Description="Response object for text generation requests")]
public partial class TextGenerationResponse
{
///
///List of generated text outputs
///
[ApiMember(Description="List of generated text outputs")]
public virtual List Results { get; set; }
///
///Detailed response status information
///
[ApiMember(Description="Detailed response status information")]
public virtual ResponseStatus ResponseStatus { get; set; }
}
///
///Output object for generated text
///
public partial class TextOutput
{
///
///The generated text
///
[ApiMember(Description="The generated text")]
public virtual string Text { get; set; }
}
}