modelsvc

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChatReq_OpenaiReq_DEFAULT *openai.ChatCompletionRequest
View Source
var ChatResp_OpenaiResp_DEFAULT *openai.ChatCompletionStreamResponse
View Source
var GenTokenReq_PluginId_DEFAULT int64
View Source
var GenTokenResp_ExpiredAt_DEFAULT *base.Time
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var ListModelReq_Name_DEFAULT string
View Source
var ListModelReq_Pagination_DEFAULT *base.PaginationReq
View Source
var ListModelReq_Source_DEFAULT string
View Source
var ListModelResp_Pagination_DEFAULT *base.PaginationResp
View Source
var ModelServiceCreateModelResult_Success_DEFAULT *base.Empty
View Source
var ModelServiceDeleteModelArgs_Req_DEFAULT *base.IDReq
View Source
var ModelServiceDeleteModelResult_Success_DEFAULT *base.Empty
View Source
var ModelServiceGetModelByIDArgs_Req_DEFAULT *base.IDReq
View Source
var ModelServiceUpdateModelResult_Success_DEFAULT *base.Empty
View Source
var UpdateModelReq_Description_DEFAULT string
View Source
var UpdateModelReq_InputPrice_DEFAULT string
View Source
var UpdateModelReq_Logo_DEFAULT string
View Source
var UpdateModelReq_MaxToken_DEFAULT int64
View Source
var UpdateModelReq_ModelKey_DEFAULT string
View Source
var UpdateModelReq_Name_DEFAULT string
View Source
var UpdateModelReq_OutputPrice_DEFAULT string
View Source
var UpdateModelReq_Source_DEFAULT string
View Source
var UpdateModelReq_Tags_DEFAULT []string

Functions

This section is empty.

Types

type ChatReq

type ChatReq struct {
	Token     string                        `thrift:"token,1,required" frugal:"1,required,string" json:"token"`
	ModelId   int64                         `thrift:"model_id,2,required" frugal:"2,required,i64" json:"model_id"`
	OpenaiReq *openai.ChatCompletionRequest `thrift:"openai_req,3,required" frugal:"3,required,openai.ChatCompletionRequest" json:"openai_req"`
}
var ModelServiceChatArgs_Req_DEFAULT *ChatReq

func NewChatReq

func NewChatReq() *ChatReq

func (*ChatReq) BLength

func (p *ChatReq) BLength() int

func (*ChatReq) DeepEqual

func (p *ChatReq) DeepEqual(ano *ChatReq) bool

func (*ChatReq) FastRead

func (p *ChatReq) FastRead(buf []byte) (int, error)

func (*ChatReq) FastReadField1

func (p *ChatReq) FastReadField1(buf []byte) (int, error)

func (*ChatReq) FastReadField2

func (p *ChatReq) FastReadField2(buf []byte) (int, error)

func (*ChatReq) FastReadField3

func (p *ChatReq) FastReadField3(buf []byte) (int, error)

func (*ChatReq) FastWrite

func (p *ChatReq) FastWrite(buf []byte) int

for compatibility

func (*ChatReq) FastWriteNocopy

func (p *ChatReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ChatReq) Field1DeepEqual

func (p *ChatReq) Field1DeepEqual(src string) bool

func (*ChatReq) Field2DeepEqual

func (p *ChatReq) Field2DeepEqual(src int64) bool

func (*ChatReq) Field3DeepEqual

func (p *ChatReq) Field3DeepEqual(src *openai.ChatCompletionRequest) bool

func (*ChatReq) GetModelId

func (p *ChatReq) GetModelId() (v int64)

func (*ChatReq) GetOpenaiReq

func (p *ChatReq) GetOpenaiReq() (v *openai.ChatCompletionRequest)

func (*ChatReq) GetToken

func (p *ChatReq) GetToken() (v string)

func (*ChatReq) InitDefault

func (p *ChatReq) InitDefault()

func (*ChatReq) IsSetOpenaiReq

func (p *ChatReq) IsSetOpenaiReq() bool

func (*ChatReq) Read

func (p *ChatReq) Read(iprot thrift.TProtocol) (err error)

func (*ChatReq) ReadField1

func (p *ChatReq) ReadField1(iprot thrift.TProtocol) error

func (*ChatReq) ReadField2

func (p *ChatReq) ReadField2(iprot thrift.TProtocol) error

func (*ChatReq) ReadField3

func (p *ChatReq) ReadField3(iprot thrift.TProtocol) error

func (*ChatReq) SetModelId

func (p *ChatReq) SetModelId(val int64)

func (*ChatReq) SetOpenaiReq

func (p *ChatReq) SetOpenaiReq(val *openai.ChatCompletionRequest)

func (*ChatReq) SetToken

func (p *ChatReq) SetToken(val string)

func (*ChatReq) String

func (p *ChatReq) String() string

func (*ChatReq) Write

func (p *ChatReq) Write(oprot thrift.TProtocol) (err error)

type ChatResp

type ChatResp struct {
	OpenaiResp *openai.ChatCompletionStreamResponse `thrift:"openai_resp,1,required" frugal:"1,required,openai.ChatCompletionStreamResponse" json:"openai_resp"`
}
var ModelServiceChatResult_Success_DEFAULT *ChatResp

func NewChatResp

func NewChatResp() *ChatResp

func (*ChatResp) BLength

func (p *ChatResp) BLength() int

func (*ChatResp) DeepEqual

func (p *ChatResp) DeepEqual(ano *ChatResp) bool

func (*ChatResp) FastRead

func (p *ChatResp) FastRead(buf []byte) (int, error)

func (*ChatResp) FastReadField1

func (p *ChatResp) FastReadField1(buf []byte) (int, error)

func (*ChatResp) FastWrite

func (p *ChatResp) FastWrite(buf []byte) int

for compatibility

func (*ChatResp) FastWriteNocopy

func (p *ChatResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ChatResp) Field1DeepEqual

func (p *ChatResp) Field1DeepEqual(src *openai.ChatCompletionStreamResponse) bool

func (*ChatResp) GetOpenaiResp

func (p *ChatResp) GetOpenaiResp() (v *openai.ChatCompletionStreamResponse)

func (*ChatResp) InitDefault

func (p *ChatResp) InitDefault()

func (*ChatResp) IsSetOpenaiResp

func (p *ChatResp) IsSetOpenaiResp() bool

func (*ChatResp) Read

func (p *ChatResp) Read(iprot thrift.TProtocol) (err error)

func (*ChatResp) ReadField1

func (p *ChatResp) ReadField1(iprot thrift.TProtocol) error

func (*ChatResp) SetOpenaiResp

func (p *ChatResp) SetOpenaiResp(val *openai.ChatCompletionStreamResponse)

func (*ChatResp) String

func (p *ChatResp) String() string

func (*ChatResp) Write

func (p *ChatResp) Write(oprot thrift.TProtocol) (err error)

type CreateModelReq

type CreateModelReq struct {
	Name        string   `thrift:"name,1,required" frugal:"1,required,string" json:"name"`
	Description string   `thrift:"description,2,required" frugal:"2,required,string" json:"description"`
	Source      string   `thrift:"source,3,required" frugal:"3,required,string" json:"source"`
	ModelKey    string   `thrift:"model_key,4,required" frugal:"4,required,string" json:"model_key"`
	InputPrice  string   `thrift:"input_price,6,required" frugal:"6,required,string" json:"input_price"`
	OutputPrice string   `thrift:"output_price,7,required" frugal:"7,required,string" json:"output_price"`
	MaxToken    int64    `thrift:"max_token,8,required" frugal:"8,required,i64" json:"max_token"`
	Tags        []string `thrift:"tags,9,required" frugal:"9,required,list<string>" json:"tags"`
}
var ModelServiceCreateModelArgs_Req_DEFAULT *CreateModelReq

func NewCreateModelReq

func NewCreateModelReq() *CreateModelReq

func (*CreateModelReq) BLength

func (p *CreateModelReq) BLength() int

func (*CreateModelReq) DeepEqual

func (p *CreateModelReq) DeepEqual(ano *CreateModelReq) bool

func (*CreateModelReq) FastRead

func (p *CreateModelReq) FastRead(buf []byte) (int, error)

func (*CreateModelReq) FastReadField1

func (p *CreateModelReq) FastReadField1(buf []byte) (int, error)

func (*CreateModelReq) FastReadField2

func (p *CreateModelReq) FastReadField2(buf []byte) (int, error)

func (*CreateModelReq) FastReadField3

func (p *CreateModelReq) FastReadField3(buf []byte) (int, error)

func (*CreateModelReq) FastReadField4

func (p *CreateModelReq) FastReadField4(buf []byte) (int, error)

func (*CreateModelReq) FastReadField5

func (p *CreateModelReq) FastReadField5(buf []byte) (int, error)

func (*CreateModelReq) FastReadField6

func (p *CreateModelReq) FastReadField6(buf []byte) (int, error)

func (*CreateModelReq) FastReadField7

func (p *CreateModelReq) FastReadField7(buf []byte) (int, error)

func (*CreateModelReq) FastReadField8 added in v0.1.7

func (p *CreateModelReq) FastReadField8(buf []byte) (int, error)

func (*CreateModelReq) FastReadField9 added in v0.1.7

func (p *CreateModelReq) FastReadField9(buf []byte) (int, error)

func (*CreateModelReq) FastWrite

func (p *CreateModelReq) FastWrite(buf []byte) int

for compatibility

func (*CreateModelReq) FastWriteNocopy

func (p *CreateModelReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CreateModelReq) Field1DeepEqual

func (p *CreateModelReq) Field1DeepEqual(src string) bool

func (*CreateModelReq) Field2DeepEqual

func (p *CreateModelReq) Field2DeepEqual(src string) bool

func (*CreateModelReq) Field3DeepEqual

func (p *CreateModelReq) Field3DeepEqual(src string) bool

func (*CreateModelReq) Field4DeepEqual

func (p *CreateModelReq) Field4DeepEqual(src string) bool

func (*CreateModelReq) Field5DeepEqual

func (p *CreateModelReq) Field5DeepEqual(src string) bool

func (*CreateModelReq) Field6DeepEqual

func (p *CreateModelReq) Field6DeepEqual(src string) bool

func (*CreateModelReq) Field7DeepEqual

func (p *CreateModelReq) Field7DeepEqual(src string) bool

func (*CreateModelReq) Field8DeepEqual added in v0.1.7

func (p *CreateModelReq) Field8DeepEqual(src int64) bool

func (*CreateModelReq) Field9DeepEqual added in v0.1.7

func (p *CreateModelReq) Field9DeepEqual(src []string) bool

func (*CreateModelReq) GetDescription

func (p *CreateModelReq) GetDescription() (v string)

func (*CreateModelReq) GetInputPrice

func (p *CreateModelReq) GetInputPrice() (v string)
func (p *CreateModelReq) GetLogo() (v string)

func (*CreateModelReq) GetMaxToken added in v0.1.7

func (p *CreateModelReq) GetMaxToken() (v int64)

func (*CreateModelReq) GetModelKey

func (p *CreateModelReq) GetModelKey() (v string)

func (*CreateModelReq) GetName

func (p *CreateModelReq) GetName() (v string)

func (*CreateModelReq) GetOutputPrice

func (p *CreateModelReq) GetOutputPrice() (v string)

func (*CreateModelReq) GetSource

func (p *CreateModelReq) GetSource() (v string)

func (*CreateModelReq) GetTags added in v0.1.7

func (p *CreateModelReq) GetTags() (v []string)

func (*CreateModelReq) InitDefault

func (p *CreateModelReq) InitDefault()

func (*CreateModelReq) Read

func (p *CreateModelReq) Read(iprot thrift.TProtocol) (err error)

func (*CreateModelReq) ReadField1

func (p *CreateModelReq) ReadField1(iprot thrift.TProtocol) error

func (*CreateModelReq) ReadField2

func (p *CreateModelReq) ReadField2(iprot thrift.TProtocol) error

func (*CreateModelReq) ReadField3

func (p *CreateModelReq) ReadField3(iprot thrift.TProtocol) error

func (*CreateModelReq) ReadField4

func (p *CreateModelReq) ReadField4(iprot thrift.TProtocol) error

func (*CreateModelReq) ReadField5

func (p *CreateModelReq) ReadField5(iprot thrift.TProtocol) error

func (*CreateModelReq) ReadField6

func (p *CreateModelReq) ReadField6(iprot thrift.TProtocol) error

func (*CreateModelReq) ReadField7

func (p *CreateModelReq) ReadField7(iprot thrift.TProtocol) error

func (*CreateModelReq) ReadField8 added in v0.1.7

func (p *CreateModelReq) ReadField8(iprot thrift.TProtocol) error

func (*CreateModelReq) ReadField9 added in v0.1.7

func (p *CreateModelReq) ReadField9(iprot thrift.TProtocol) error

func (*CreateModelReq) SetDescription

func (p *CreateModelReq) SetDescription(val string)

func (*CreateModelReq) SetInputPrice

func (p *CreateModelReq) SetInputPrice(val string)
func (p *CreateModelReq) SetLogo(val string)

func (*CreateModelReq) SetMaxToken added in v0.1.7

func (p *CreateModelReq) SetMaxToken(val int64)

func (*CreateModelReq) SetModelKey

func (p *CreateModelReq) SetModelKey(val string)

func (*CreateModelReq) SetName

func (p *CreateModelReq) SetName(val string)

func (*CreateModelReq) SetOutputPrice

func (p *CreateModelReq) SetOutputPrice(val string)

func (*CreateModelReq) SetSource

func (p *CreateModelReq) SetSource(val string)

func (*CreateModelReq) SetTags added in v0.1.7

func (p *CreateModelReq) SetTags(val []string)

func (*CreateModelReq) String

func (p *CreateModelReq) String() string

func (*CreateModelReq) Write

func (p *CreateModelReq) Write(oprot thrift.TProtocol) (err error)

type GenTokenReq

type GenTokenReq struct {
	AppId          int64  `thrift:"app_id,1,required" frugal:"1,required,i64" json:"app_id"`
	PluginId       *int64 `thrift:"plugin_id,2,optional" frugal:"2,optional,i64" json:"plugin_id,omitempty"`
	ConversationId int64  `thrift:"conversation_id,3,required" frugal:"3,required,i64" json:"conversation_id"`
	CallLimit      int32  `thrift:"call_limit,4,required" frugal:"4,required,i32" json:"call_limit"`
}
var ModelServiceGenTokenArgs_Req_DEFAULT *GenTokenReq

func NewGenTokenReq

func NewGenTokenReq() *GenTokenReq

func (*GenTokenReq) BLength

func (p *GenTokenReq) BLength() int

func (*GenTokenReq) DeepEqual

func (p *GenTokenReq) DeepEqual(ano *GenTokenReq) bool

func (*GenTokenReq) FastRead

func (p *GenTokenReq) FastRead(buf []byte) (int, error)

func (*GenTokenReq) FastReadField1

func (p *GenTokenReq) FastReadField1(buf []byte) (int, error)

func (*GenTokenReq) FastReadField2

func (p *GenTokenReq) FastReadField2(buf []byte) (int, error)

func (*GenTokenReq) FastReadField3

func (p *GenTokenReq) FastReadField3(buf []byte) (int, error)

func (*GenTokenReq) FastReadField4

func (p *GenTokenReq) FastReadField4(buf []byte) (int, error)

func (*GenTokenReq) FastWrite

func (p *GenTokenReq) FastWrite(buf []byte) int

for compatibility

func (*GenTokenReq) FastWriteNocopy

func (p *GenTokenReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GenTokenReq) Field1DeepEqual

func (p *GenTokenReq) Field1DeepEqual(src int64) bool

func (*GenTokenReq) Field2DeepEqual

func (p *GenTokenReq) Field2DeepEqual(src *int64) bool

func (*GenTokenReq) Field3DeepEqual

func (p *GenTokenReq) Field3DeepEqual(src int64) bool

func (*GenTokenReq) Field4DeepEqual

func (p *GenTokenReq) Field4DeepEqual(src int32) bool

func (*GenTokenReq) GetAppId

func (p *GenTokenReq) GetAppId() (v int64)

func (*GenTokenReq) GetCallLimit

func (p *GenTokenReq) GetCallLimit() (v int32)

func (*GenTokenReq) GetConversationId

func (p *GenTokenReq) GetConversationId() (v int64)

func (*GenTokenReq) GetPluginId

func (p *GenTokenReq) GetPluginId() (v int64)

func (*GenTokenReq) InitDefault

func (p *GenTokenReq) InitDefault()

func (*GenTokenReq) IsSetPluginId

func (p *GenTokenReq) IsSetPluginId() bool

func (*GenTokenReq) Read

func (p *GenTokenReq) Read(iprot thrift.TProtocol) (err error)

func (*GenTokenReq) ReadField1

func (p *GenTokenReq) ReadField1(iprot thrift.TProtocol) error

func (*GenTokenReq) ReadField2

func (p *GenTokenReq) ReadField2(iprot thrift.TProtocol) error

func (*GenTokenReq) ReadField3

func (p *GenTokenReq) ReadField3(iprot thrift.TProtocol) error

func (*GenTokenReq) ReadField4

func (p *GenTokenReq) ReadField4(iprot thrift.TProtocol) error

func (*GenTokenReq) SetAppId

func (p *GenTokenReq) SetAppId(val int64)

func (*GenTokenReq) SetCallLimit

func (p *GenTokenReq) SetCallLimit(val int32)

func (*GenTokenReq) SetConversationId

func (p *GenTokenReq) SetConversationId(val int64)

func (*GenTokenReq) SetPluginId

func (p *GenTokenReq) SetPluginId(val *int64)

func (*GenTokenReq) String

func (p *GenTokenReq) String() string

func (*GenTokenReq) Write

func (p *GenTokenReq) Write(oprot thrift.TProtocol) (err error)

type GenTokenResp

type GenTokenResp struct {
	Token     string     `thrift:"token,1,required" frugal:"1,required,string" json:"token"`
	ExpiredAt *base.Time `thrift:"expired_at,2,required" frugal:"2,required,base.Time" json:"expired_at"`
}
var ModelServiceGenTokenResult_Success_DEFAULT *GenTokenResp

func NewGenTokenResp

func NewGenTokenResp() *GenTokenResp

func (*GenTokenResp) BLength

func (p *GenTokenResp) BLength() int

func (*GenTokenResp) DeepEqual

func (p *GenTokenResp) DeepEqual(ano *GenTokenResp) bool

func (*GenTokenResp) FastRead

func (p *GenTokenResp) FastRead(buf []byte) (int, error)

func (*GenTokenResp) FastReadField1

func (p *GenTokenResp) FastReadField1(buf []byte) (int, error)

func (*GenTokenResp) FastReadField2

func (p *GenTokenResp) FastReadField2(buf []byte) (int, error)

func (*GenTokenResp) FastWrite

func (p *GenTokenResp) FastWrite(buf []byte) int

for compatibility

func (*GenTokenResp) FastWriteNocopy

func (p *GenTokenResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GenTokenResp) Field1DeepEqual

func (p *GenTokenResp) Field1DeepEqual(src string) bool

func (*GenTokenResp) Field2DeepEqual

func (p *GenTokenResp) Field2DeepEqual(src *base.Time) bool

func (*GenTokenResp) GetExpiredAt

func (p *GenTokenResp) GetExpiredAt() (v *base.Time)

func (*GenTokenResp) GetToken

func (p *GenTokenResp) GetToken() (v string)

func (*GenTokenResp) InitDefault

func (p *GenTokenResp) InitDefault()

func (*GenTokenResp) IsSetExpiredAt

func (p *GenTokenResp) IsSetExpiredAt() bool

func (*GenTokenResp) Read

func (p *GenTokenResp) Read(iprot thrift.TProtocol) (err error)

func (*GenTokenResp) ReadField1

func (p *GenTokenResp) ReadField1(iprot thrift.TProtocol) error

func (*GenTokenResp) ReadField2

func (p *GenTokenResp) ReadField2(iprot thrift.TProtocol) error

func (*GenTokenResp) SetExpiredAt

func (p *GenTokenResp) SetExpiredAt(val *base.Time)

func (*GenTokenResp) SetToken

func (p *GenTokenResp) SetToken(val string)

func (*GenTokenResp) String

func (p *GenTokenResp) String() string

func (*GenTokenResp) Write

func (p *GenTokenResp) Write(oprot thrift.TProtocol) (err error)

type ListModelReq

type ListModelReq struct {
	Pagination *base.PaginationReq `thrift:"pagination,1,required" frugal:"1,required,base.PaginationReq" json:"pagination"`
	Name       *string             `thrift:"name,2,optional" frugal:"2,optional,string" query:"name"`
	Source     *string             `thrift:"source,3,optional" frugal:"3,optional,string" query:"source"`
}
var ModelServiceListModelArgs_Req_DEFAULT *ListModelReq

func NewListModelReq

func NewListModelReq() *ListModelReq

func (*ListModelReq) BLength

func (p *ListModelReq) BLength() int

func (*ListModelReq) DeepEqual

func (p *ListModelReq) DeepEqual(ano *ListModelReq) bool

func (*ListModelReq) FastRead

func (p *ListModelReq) FastRead(buf []byte) (int, error)

func (*ListModelReq) FastReadField1

func (p *ListModelReq) FastReadField1(buf []byte) (int, error)

func (*ListModelReq) FastReadField2

func (p *ListModelReq) FastReadField2(buf []byte) (int, error)

func (*ListModelReq) FastReadField3

func (p *ListModelReq) FastReadField3(buf []byte) (int, error)

func (*ListModelReq) FastWrite

func (p *ListModelReq) FastWrite(buf []byte) int

for compatibility

func (*ListModelReq) FastWriteNocopy

func (p *ListModelReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ListModelReq) Field1DeepEqual

func (p *ListModelReq) Field1DeepEqual(src *base.PaginationReq) bool

func (*ListModelReq) Field2DeepEqual

func (p *ListModelReq) Field2DeepEqual(src *string) bool

func (*ListModelReq) Field3DeepEqual

func (p *ListModelReq) Field3DeepEqual(src *string) bool

func (*ListModelReq) GetName

func (p *ListModelReq) GetName() (v string)

func (*ListModelReq) GetPagination

func (p *ListModelReq) GetPagination() (v *base.PaginationReq)

func (*ListModelReq) GetSource

func (p *ListModelReq) GetSource() (v string)

func (*ListModelReq) InitDefault

func (p *ListModelReq) InitDefault()

func (*ListModelReq) IsSetName

func (p *ListModelReq) IsSetName() bool

func (*ListModelReq) IsSetPagination

func (p *ListModelReq) IsSetPagination() bool

func (*ListModelReq) IsSetSource

func (p *ListModelReq) IsSetSource() bool

func (*ListModelReq) Read

func (p *ListModelReq) Read(iprot thrift.TProtocol) (err error)

func (*ListModelReq) ReadField1

func (p *ListModelReq) ReadField1(iprot thrift.TProtocol) error

func (*ListModelReq) ReadField2

func (p *ListModelReq) ReadField2(iprot thrift.TProtocol) error

func (*ListModelReq) ReadField3

func (p *ListModelReq) ReadField3(iprot thrift.TProtocol) error

func (*ListModelReq) SetName

func (p *ListModelReq) SetName(val *string)

func (*ListModelReq) SetPagination

func (p *ListModelReq) SetPagination(val *base.PaginationReq)

func (*ListModelReq) SetSource

func (p *ListModelReq) SetSource(val *string)

func (*ListModelReq) String

func (p *ListModelReq) String() string

func (*ListModelReq) Write

func (p *ListModelReq) Write(oprot thrift.TProtocol) (err error)

type ListModelResp

type ListModelResp struct {
	Pagination *base.PaginationResp `thrift:"pagination,1,required" frugal:"1,required,base.PaginationResp" json:"pagination"`
	Models     []*Model             `thrift:"models,2,required" frugal:"2,required,list<Model>" json:"models"`
}
var ModelServiceListModelResult_Success_DEFAULT *ListModelResp

func NewListModelResp

func NewListModelResp() *ListModelResp

func (*ListModelResp) BLength

func (p *ListModelResp) BLength() int

func (*ListModelResp) DeepEqual

func (p *ListModelResp) DeepEqual(ano *ListModelResp) bool

func (*ListModelResp) FastRead

func (p *ListModelResp) FastRead(buf []byte) (int, error)

func (*ListModelResp) FastReadField1

func (p *ListModelResp) FastReadField1(buf []byte) (int, error)

func (*ListModelResp) FastReadField2

func (p *ListModelResp) FastReadField2(buf []byte) (int, error)

func (*ListModelResp) FastWrite

func (p *ListModelResp) FastWrite(buf []byte) int

for compatibility

func (*ListModelResp) FastWriteNocopy

func (p *ListModelResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ListModelResp) Field1DeepEqual

func (p *ListModelResp) Field1DeepEqual(src *base.PaginationResp) bool

func (*ListModelResp) Field2DeepEqual

func (p *ListModelResp) Field2DeepEqual(src []*Model) bool

func (*ListModelResp) GetModels

func (p *ListModelResp) GetModels() (v []*Model)

func (*ListModelResp) GetPagination

func (p *ListModelResp) GetPagination() (v *base.PaginationResp)

func (*ListModelResp) InitDefault

func (p *ListModelResp) InitDefault()

func (*ListModelResp) IsSetPagination

func (p *ListModelResp) IsSetPagination() bool

func (*ListModelResp) Read

func (p *ListModelResp) Read(iprot thrift.TProtocol) (err error)

func (*ListModelResp) ReadField1

func (p *ListModelResp) ReadField1(iprot thrift.TProtocol) error

func (*ListModelResp) ReadField2

func (p *ListModelResp) ReadField2(iprot thrift.TProtocol) error

func (*ListModelResp) SetModels

func (p *ListModelResp) SetModels(val []*Model)

func (*ListModelResp) SetPagination

func (p *ListModelResp) SetPagination(val *base.PaginationResp)

func (*ListModelResp) String

func (p *ListModelResp) String() string

func (*ListModelResp) Write

func (p *ListModelResp) Write(oprot thrift.TProtocol) (err error)

type Model

type Model struct {
	Id          int64    `thrift:"id,1,required" frugal:"1,required,i64" json:"id"`
	Name        string   `thrift:"name,2,required" frugal:"2,required,string" json:"name"`
	Description string   `thrift:"description,3,required" frugal:"3,required,string" json:"description"`
	Source      string   `thrift:"source,4,required" frugal:"4,required,string" json:"source"`
	ModelKey    string   `thrift:"model_key,5,required" frugal:"5,required,string" json:"model_key"`
	InputPrice  string   `thrift:"input_price,7,required" frugal:"7,required,string" json:"input_price"`
	OutputPrice string   `thrift:"output_price,8,required" frugal:"8,required,string" json:"output_price"`
	MaxToken    int64    `thrift:"max_token,9,required" frugal:"9,required,i64" json:"max_token"`
	Tags        []string `thrift:"tags,10,required" frugal:"10,required,list<string>" json:"tags"`
}
var ModelServiceGetModelByIDResult_Success_DEFAULT *Model

func NewModel

func NewModel() *Model

func (*Model) BLength

func (p *Model) BLength() int

func (*Model) DeepEqual

func (p *Model) DeepEqual(ano *Model) bool

func (*Model) FastRead

func (p *Model) FastRead(buf []byte) (int, error)

func (*Model) FastReadField1

func (p *Model) FastReadField1(buf []byte) (int, error)

func (*Model) FastReadField10 added in v0.1.7

func (p *Model) FastReadField10(buf []byte) (int, error)

func (*Model) FastReadField2

func (p *Model) FastReadField2(buf []byte) (int, error)

func (*Model) FastReadField3

func (p *Model) FastReadField3(buf []byte) (int, error)

func (*Model) FastReadField4

func (p *Model) FastReadField4(buf []byte) (int, error)

func (*Model) FastReadField5

func (p *Model) FastReadField5(buf []byte) (int, error)

func (*Model) FastReadField6

func (p *Model) FastReadField6(buf []byte) (int, error)

func (*Model) FastReadField7

func (p *Model) FastReadField7(buf []byte) (int, error)

func (*Model) FastReadField8

func (p *Model) FastReadField8(buf []byte) (int, error)

func (*Model) FastReadField9 added in v0.1.7

func (p *Model) FastReadField9(buf []byte) (int, error)

func (*Model) FastWrite

func (p *Model) FastWrite(buf []byte) int

for compatibility

func (*Model) FastWriteNocopy

func (p *Model) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Model) Field10DeepEqual added in v0.1.7

func (p *Model) Field10DeepEqual(src []string) bool

func (*Model) Field1DeepEqual

func (p *Model) Field1DeepEqual(src int64) bool

func (*Model) Field2DeepEqual

func (p *Model) Field2DeepEqual(src string) bool

func (*Model) Field3DeepEqual

func (p *Model) Field3DeepEqual(src string) bool

func (*Model) Field4DeepEqual

func (p *Model) Field4DeepEqual(src string) bool

func (*Model) Field5DeepEqual

func (p *Model) Field5DeepEqual(src string) bool

func (*Model) Field6DeepEqual

func (p *Model) Field6DeepEqual(src string) bool

func (*Model) Field7DeepEqual

func (p *Model) Field7DeepEqual(src string) bool

func (*Model) Field8DeepEqual

func (p *Model) Field8DeepEqual(src string) bool

func (*Model) Field9DeepEqual added in v0.1.7

func (p *Model) Field9DeepEqual(src int64) bool

func (*Model) GetDescription

func (p *Model) GetDescription() (v string)

func (*Model) GetId

func (p *Model) GetId() (v int64)

func (*Model) GetInputPrice

func (p *Model) GetInputPrice() (v string)
func (p *Model) GetLogo() (v string)

func (*Model) GetMaxToken added in v0.1.7

func (p *Model) GetMaxToken() (v int64)

func (*Model) GetModelKey

func (p *Model) GetModelKey() (v string)

func (*Model) GetName

func (p *Model) GetName() (v string)

func (*Model) GetOutputPrice

func (p *Model) GetOutputPrice() (v string)

func (*Model) GetSource

func (p *Model) GetSource() (v string)

func (*Model) GetTags added in v0.1.7

func (p *Model) GetTags() (v []string)

func (*Model) InitDefault

func (p *Model) InitDefault()

func (*Model) Read

func (p *Model) Read(iprot thrift.TProtocol) (err error)

func (*Model) ReadField1

func (p *Model) ReadField1(iprot thrift.TProtocol) error

func (*Model) ReadField10 added in v0.1.7

func (p *Model) ReadField10(iprot thrift.TProtocol) error

func (*Model) ReadField2

func (p *Model) ReadField2(iprot thrift.TProtocol) error

func (*Model) ReadField3

func (p *Model) ReadField3(iprot thrift.TProtocol) error

func (*Model) ReadField4

func (p *Model) ReadField4(iprot thrift.TProtocol) error

func (*Model) ReadField5

func (p *Model) ReadField5(iprot thrift.TProtocol) error

func (*Model) ReadField6

func (p *Model) ReadField6(iprot thrift.TProtocol) error

func (*Model) ReadField7

func (p *Model) ReadField7(iprot thrift.TProtocol) error

func (*Model) ReadField8

func (p *Model) ReadField8(iprot thrift.TProtocol) error

func (*Model) ReadField9 added in v0.1.7

func (p *Model) ReadField9(iprot thrift.TProtocol) error

func (*Model) SetDescription

func (p *Model) SetDescription(val string)

func (*Model) SetId

func (p *Model) SetId(val int64)

func (*Model) SetInputPrice

func (p *Model) SetInputPrice(val string)
func (p *Model) SetLogo(val string)

func (*Model) SetMaxToken added in v0.1.7

func (p *Model) SetMaxToken(val int64)

func (*Model) SetModelKey

func (p *Model) SetModelKey(val string)

func (*Model) SetName

func (p *Model) SetName(val string)

func (*Model) SetOutputPrice

func (p *Model) SetOutputPrice(val string)

func (*Model) SetSource

func (p *Model) SetSource(val string)

func (*Model) SetTags added in v0.1.7

func (p *Model) SetTags(val []string)

func (*Model) String

func (p *Model) String() string

func (*Model) Write

func (p *Model) Write(oprot thrift.TProtocol) (err error)

type ModelService

type ModelService interface {
	GenToken(ctx context.Context, req *GenTokenReq) (r *GenTokenResp, err error)

	Chat(req *ChatReq, stream ModelService_ChatServer) (err error)

	CreateModel(ctx context.Context, req *CreateModelReq) (r *base.Empty, err error)

	UpdateModel(ctx context.Context, req *UpdateModelReq) (r *base.Empty, err error)

	DeleteModel(ctx context.Context, req *base.IDReq) (r *base.Empty, err error)

	GetModelByID(ctx context.Context, req *base.IDReq) (r *Model, err error)

	ListModel(ctx context.Context, req *ListModelReq) (r *ListModelResp, err error)
}

type ModelServiceChatArgs

type ModelServiceChatArgs struct {
	Req *ChatReq `thrift:"req,1" frugal:"1,default,ChatReq" json:"req"`
}

func NewModelServiceChatArgs

func NewModelServiceChatArgs() *ModelServiceChatArgs

func (*ModelServiceChatArgs) BLength

func (p *ModelServiceChatArgs) BLength() int

func (*ModelServiceChatArgs) DeepEqual

func (p *ModelServiceChatArgs) DeepEqual(ano *ModelServiceChatArgs) bool

func (*ModelServiceChatArgs) FastRead

func (p *ModelServiceChatArgs) FastRead(buf []byte) (int, error)

func (*ModelServiceChatArgs) FastReadField1

func (p *ModelServiceChatArgs) FastReadField1(buf []byte) (int, error)

func (*ModelServiceChatArgs) FastWrite

func (p *ModelServiceChatArgs) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceChatArgs) FastWriteNocopy

func (p *ModelServiceChatArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceChatArgs) Field1DeepEqual

func (p *ModelServiceChatArgs) Field1DeepEqual(src *ChatReq) bool

func (*ModelServiceChatArgs) GetFirstArgument

func (p *ModelServiceChatArgs) GetFirstArgument() interface{}

func (*ModelServiceChatArgs) GetReq

func (p *ModelServiceChatArgs) GetReq() (v *ChatReq)

func (*ModelServiceChatArgs) InitDefault

func (p *ModelServiceChatArgs) InitDefault()

func (*ModelServiceChatArgs) IsSetReq

func (p *ModelServiceChatArgs) IsSetReq() bool

func (*ModelServiceChatArgs) Read

func (p *ModelServiceChatArgs) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceChatArgs) ReadField1

func (p *ModelServiceChatArgs) ReadField1(iprot thrift.TProtocol) error

func (*ModelServiceChatArgs) SetReq

func (p *ModelServiceChatArgs) SetReq(val *ChatReq)

func (*ModelServiceChatArgs) String

func (p *ModelServiceChatArgs) String() string

func (*ModelServiceChatArgs) Write

func (p *ModelServiceChatArgs) Write(oprot thrift.TProtocol) (err error)

type ModelServiceChatResult

type ModelServiceChatResult struct {
	Success *ChatResp `thrift:"success,0,optional" frugal:"0,optional,ChatResp" json:"success,omitempty"`
}

func NewModelServiceChatResult

func NewModelServiceChatResult() *ModelServiceChatResult

func (*ModelServiceChatResult) BLength

func (p *ModelServiceChatResult) BLength() int

func (*ModelServiceChatResult) DeepEqual

func (*ModelServiceChatResult) FastRead

func (p *ModelServiceChatResult) FastRead(buf []byte) (int, error)

func (*ModelServiceChatResult) FastReadField0

func (p *ModelServiceChatResult) FastReadField0(buf []byte) (int, error)

func (*ModelServiceChatResult) FastWrite

func (p *ModelServiceChatResult) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceChatResult) FastWriteNocopy

func (p *ModelServiceChatResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceChatResult) Field0DeepEqual

func (p *ModelServiceChatResult) Field0DeepEqual(src *ChatResp) bool

func (*ModelServiceChatResult) GetResult

func (p *ModelServiceChatResult) GetResult() interface{}

func (*ModelServiceChatResult) GetSuccess

func (p *ModelServiceChatResult) GetSuccess() (v *ChatResp)

func (*ModelServiceChatResult) InitDefault

func (p *ModelServiceChatResult) InitDefault()

func (*ModelServiceChatResult) IsSetSuccess

func (p *ModelServiceChatResult) IsSetSuccess() bool

func (*ModelServiceChatResult) Read

func (p *ModelServiceChatResult) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceChatResult) ReadField0

func (p *ModelServiceChatResult) ReadField0(iprot thrift.TProtocol) error

func (*ModelServiceChatResult) SetSuccess

func (p *ModelServiceChatResult) SetSuccess(x interface{})

func (*ModelServiceChatResult) String

func (p *ModelServiceChatResult) String() string

func (*ModelServiceChatResult) Write

func (p *ModelServiceChatResult) Write(oprot thrift.TProtocol) (err error)

type ModelServiceCreateModelArgs

type ModelServiceCreateModelArgs struct {
	Req *CreateModelReq `thrift:"req,1" frugal:"1,default,CreateModelReq" json:"req"`
}

func NewModelServiceCreateModelArgs

func NewModelServiceCreateModelArgs() *ModelServiceCreateModelArgs

func (*ModelServiceCreateModelArgs) BLength

func (p *ModelServiceCreateModelArgs) BLength() int

func (*ModelServiceCreateModelArgs) DeepEqual

func (*ModelServiceCreateModelArgs) FastRead

func (p *ModelServiceCreateModelArgs) FastRead(buf []byte) (int, error)

func (*ModelServiceCreateModelArgs) FastReadField1

func (p *ModelServiceCreateModelArgs) FastReadField1(buf []byte) (int, error)

func (*ModelServiceCreateModelArgs) FastWrite

func (p *ModelServiceCreateModelArgs) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceCreateModelArgs) FastWriteNocopy

func (p *ModelServiceCreateModelArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceCreateModelArgs) Field1DeepEqual

func (p *ModelServiceCreateModelArgs) Field1DeepEqual(src *CreateModelReq) bool

func (*ModelServiceCreateModelArgs) GetFirstArgument

func (p *ModelServiceCreateModelArgs) GetFirstArgument() interface{}

func (*ModelServiceCreateModelArgs) GetReq

func (*ModelServiceCreateModelArgs) InitDefault

func (p *ModelServiceCreateModelArgs) InitDefault()

func (*ModelServiceCreateModelArgs) IsSetReq

func (p *ModelServiceCreateModelArgs) IsSetReq() bool

func (*ModelServiceCreateModelArgs) Read

func (p *ModelServiceCreateModelArgs) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceCreateModelArgs) ReadField1

func (p *ModelServiceCreateModelArgs) ReadField1(iprot thrift.TProtocol) error

func (*ModelServiceCreateModelArgs) SetReq

func (*ModelServiceCreateModelArgs) String

func (p *ModelServiceCreateModelArgs) String() string

func (*ModelServiceCreateModelArgs) Write

func (p *ModelServiceCreateModelArgs) Write(oprot thrift.TProtocol) (err error)

type ModelServiceCreateModelResult

type ModelServiceCreateModelResult struct {
	Success *base.Empty `thrift:"success,0,optional" frugal:"0,optional,base.Empty" json:"success,omitempty"`
}

func NewModelServiceCreateModelResult

func NewModelServiceCreateModelResult() *ModelServiceCreateModelResult

func (*ModelServiceCreateModelResult) BLength

func (p *ModelServiceCreateModelResult) BLength() int

func (*ModelServiceCreateModelResult) DeepEqual

func (*ModelServiceCreateModelResult) FastRead

func (p *ModelServiceCreateModelResult) FastRead(buf []byte) (int, error)

func (*ModelServiceCreateModelResult) FastReadField0

func (p *ModelServiceCreateModelResult) FastReadField0(buf []byte) (int, error)

func (*ModelServiceCreateModelResult) FastWrite

func (p *ModelServiceCreateModelResult) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceCreateModelResult) FastWriteNocopy

func (p *ModelServiceCreateModelResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceCreateModelResult) Field0DeepEqual

func (p *ModelServiceCreateModelResult) Field0DeepEqual(src *base.Empty) bool

func (*ModelServiceCreateModelResult) GetResult

func (p *ModelServiceCreateModelResult) GetResult() interface{}

func (*ModelServiceCreateModelResult) GetSuccess

func (p *ModelServiceCreateModelResult) GetSuccess() (v *base.Empty)

func (*ModelServiceCreateModelResult) InitDefault

func (p *ModelServiceCreateModelResult) InitDefault()

func (*ModelServiceCreateModelResult) IsSetSuccess

func (p *ModelServiceCreateModelResult) IsSetSuccess() bool

func (*ModelServiceCreateModelResult) Read

func (p *ModelServiceCreateModelResult) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceCreateModelResult) ReadField0

func (p *ModelServiceCreateModelResult) ReadField0(iprot thrift.TProtocol) error

func (*ModelServiceCreateModelResult) SetSuccess

func (p *ModelServiceCreateModelResult) SetSuccess(x interface{})

func (*ModelServiceCreateModelResult) String

func (*ModelServiceCreateModelResult) Write

func (p *ModelServiceCreateModelResult) Write(oprot thrift.TProtocol) (err error)

type ModelServiceDeleteModelArgs

type ModelServiceDeleteModelArgs struct {
	Req *base.IDReq `thrift:"req,1" frugal:"1,default,base.IDReq" json:"req"`
}

func NewModelServiceDeleteModelArgs

func NewModelServiceDeleteModelArgs() *ModelServiceDeleteModelArgs

func (*ModelServiceDeleteModelArgs) BLength

func (p *ModelServiceDeleteModelArgs) BLength() int

func (*ModelServiceDeleteModelArgs) DeepEqual

func (*ModelServiceDeleteModelArgs) FastRead

func (p *ModelServiceDeleteModelArgs) FastRead(buf []byte) (int, error)

func (*ModelServiceDeleteModelArgs) FastReadField1

func (p *ModelServiceDeleteModelArgs) FastReadField1(buf []byte) (int, error)

func (*ModelServiceDeleteModelArgs) FastWrite

func (p *ModelServiceDeleteModelArgs) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceDeleteModelArgs) FastWriteNocopy

func (p *ModelServiceDeleteModelArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceDeleteModelArgs) Field1DeepEqual

func (p *ModelServiceDeleteModelArgs) Field1DeepEqual(src *base.IDReq) bool

func (*ModelServiceDeleteModelArgs) GetFirstArgument

func (p *ModelServiceDeleteModelArgs) GetFirstArgument() interface{}

func (*ModelServiceDeleteModelArgs) GetReq

func (p *ModelServiceDeleteModelArgs) GetReq() (v *base.IDReq)

func (*ModelServiceDeleteModelArgs) InitDefault

func (p *ModelServiceDeleteModelArgs) InitDefault()

func (*ModelServiceDeleteModelArgs) IsSetReq

func (p *ModelServiceDeleteModelArgs) IsSetReq() bool

func (*ModelServiceDeleteModelArgs) Read

func (p *ModelServiceDeleteModelArgs) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceDeleteModelArgs) ReadField1

func (p *ModelServiceDeleteModelArgs) ReadField1(iprot thrift.TProtocol) error

func (*ModelServiceDeleteModelArgs) SetReq

func (p *ModelServiceDeleteModelArgs) SetReq(val *base.IDReq)

func (*ModelServiceDeleteModelArgs) String

func (p *ModelServiceDeleteModelArgs) String() string

func (*ModelServiceDeleteModelArgs) Write

func (p *ModelServiceDeleteModelArgs) Write(oprot thrift.TProtocol) (err error)

type ModelServiceDeleteModelResult

type ModelServiceDeleteModelResult struct {
	Success *base.Empty `thrift:"success,0,optional" frugal:"0,optional,base.Empty" json:"success,omitempty"`
}

func NewModelServiceDeleteModelResult

func NewModelServiceDeleteModelResult() *ModelServiceDeleteModelResult

func (*ModelServiceDeleteModelResult) BLength

func (p *ModelServiceDeleteModelResult) BLength() int

func (*ModelServiceDeleteModelResult) DeepEqual

func (*ModelServiceDeleteModelResult) FastRead

func (p *ModelServiceDeleteModelResult) FastRead(buf []byte) (int, error)

func (*ModelServiceDeleteModelResult) FastReadField0

func (p *ModelServiceDeleteModelResult) FastReadField0(buf []byte) (int, error)

func (*ModelServiceDeleteModelResult) FastWrite

func (p *ModelServiceDeleteModelResult) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceDeleteModelResult) FastWriteNocopy

func (p *ModelServiceDeleteModelResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceDeleteModelResult) Field0DeepEqual

func (p *ModelServiceDeleteModelResult) Field0DeepEqual(src *base.Empty) bool

func (*ModelServiceDeleteModelResult) GetResult

func (p *ModelServiceDeleteModelResult) GetResult() interface{}

func (*ModelServiceDeleteModelResult) GetSuccess

func (p *ModelServiceDeleteModelResult) GetSuccess() (v *base.Empty)

func (*ModelServiceDeleteModelResult) InitDefault

func (p *ModelServiceDeleteModelResult) InitDefault()

func (*ModelServiceDeleteModelResult) IsSetSuccess

func (p *ModelServiceDeleteModelResult) IsSetSuccess() bool

func (*ModelServiceDeleteModelResult) Read

func (p *ModelServiceDeleteModelResult) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceDeleteModelResult) ReadField0

func (p *ModelServiceDeleteModelResult) ReadField0(iprot thrift.TProtocol) error

func (*ModelServiceDeleteModelResult) SetSuccess

func (p *ModelServiceDeleteModelResult) SetSuccess(x interface{})

func (*ModelServiceDeleteModelResult) String

func (*ModelServiceDeleteModelResult) Write

func (p *ModelServiceDeleteModelResult) Write(oprot thrift.TProtocol) (err error)

type ModelServiceGenTokenArgs

type ModelServiceGenTokenArgs struct {
	Req *GenTokenReq `thrift:"req,1" frugal:"1,default,GenTokenReq" json:"req"`
}

func NewModelServiceGenTokenArgs

func NewModelServiceGenTokenArgs() *ModelServiceGenTokenArgs

func (*ModelServiceGenTokenArgs) BLength

func (p *ModelServiceGenTokenArgs) BLength() int

func (*ModelServiceGenTokenArgs) DeepEqual

func (*ModelServiceGenTokenArgs) FastRead

func (p *ModelServiceGenTokenArgs) FastRead(buf []byte) (int, error)

func (*ModelServiceGenTokenArgs) FastReadField1

func (p *ModelServiceGenTokenArgs) FastReadField1(buf []byte) (int, error)

func (*ModelServiceGenTokenArgs) FastWrite

func (p *ModelServiceGenTokenArgs) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceGenTokenArgs) FastWriteNocopy

func (p *ModelServiceGenTokenArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceGenTokenArgs) Field1DeepEqual

func (p *ModelServiceGenTokenArgs) Field1DeepEqual(src *GenTokenReq) bool

func (*ModelServiceGenTokenArgs) GetFirstArgument

func (p *ModelServiceGenTokenArgs) GetFirstArgument() interface{}

func (*ModelServiceGenTokenArgs) GetReq

func (p *ModelServiceGenTokenArgs) GetReq() (v *GenTokenReq)

func (*ModelServiceGenTokenArgs) InitDefault

func (p *ModelServiceGenTokenArgs) InitDefault()

func (*ModelServiceGenTokenArgs) IsSetReq

func (p *ModelServiceGenTokenArgs) IsSetReq() bool

func (*ModelServiceGenTokenArgs) Read

func (p *ModelServiceGenTokenArgs) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceGenTokenArgs) ReadField1

func (p *ModelServiceGenTokenArgs) ReadField1(iprot thrift.TProtocol) error

func (*ModelServiceGenTokenArgs) SetReq

func (p *ModelServiceGenTokenArgs) SetReq(val *GenTokenReq)

func (*ModelServiceGenTokenArgs) String

func (p *ModelServiceGenTokenArgs) String() string

func (*ModelServiceGenTokenArgs) Write

func (p *ModelServiceGenTokenArgs) Write(oprot thrift.TProtocol) (err error)

type ModelServiceGenTokenResult

type ModelServiceGenTokenResult struct {
	Success *GenTokenResp `thrift:"success,0,optional" frugal:"0,optional,GenTokenResp" json:"success,omitempty"`
}

func NewModelServiceGenTokenResult

func NewModelServiceGenTokenResult() *ModelServiceGenTokenResult

func (*ModelServiceGenTokenResult) BLength

func (p *ModelServiceGenTokenResult) BLength() int

func (*ModelServiceGenTokenResult) DeepEqual

func (*ModelServiceGenTokenResult) FastRead

func (p *ModelServiceGenTokenResult) FastRead(buf []byte) (int, error)

func (*ModelServiceGenTokenResult) FastReadField0

func (p *ModelServiceGenTokenResult) FastReadField0(buf []byte) (int, error)

func (*ModelServiceGenTokenResult) FastWrite

func (p *ModelServiceGenTokenResult) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceGenTokenResult) FastWriteNocopy

func (p *ModelServiceGenTokenResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceGenTokenResult) Field0DeepEqual

func (p *ModelServiceGenTokenResult) Field0DeepEqual(src *GenTokenResp) bool

func (*ModelServiceGenTokenResult) GetResult

func (p *ModelServiceGenTokenResult) GetResult() interface{}

func (*ModelServiceGenTokenResult) GetSuccess

func (p *ModelServiceGenTokenResult) GetSuccess() (v *GenTokenResp)

func (*ModelServiceGenTokenResult) InitDefault

func (p *ModelServiceGenTokenResult) InitDefault()

func (*ModelServiceGenTokenResult) IsSetSuccess

func (p *ModelServiceGenTokenResult) IsSetSuccess() bool

func (*ModelServiceGenTokenResult) Read

func (p *ModelServiceGenTokenResult) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceGenTokenResult) ReadField0

func (p *ModelServiceGenTokenResult) ReadField0(iprot thrift.TProtocol) error

func (*ModelServiceGenTokenResult) SetSuccess

func (p *ModelServiceGenTokenResult) SetSuccess(x interface{})

func (*ModelServiceGenTokenResult) String

func (p *ModelServiceGenTokenResult) String() string

func (*ModelServiceGenTokenResult) Write

func (p *ModelServiceGenTokenResult) Write(oprot thrift.TProtocol) (err error)

type ModelServiceGetModelByIDArgs

type ModelServiceGetModelByIDArgs struct {
	Req *base.IDReq `thrift:"req,1" frugal:"1,default,base.IDReq" json:"req"`
}

func NewModelServiceGetModelByIDArgs

func NewModelServiceGetModelByIDArgs() *ModelServiceGetModelByIDArgs

func (*ModelServiceGetModelByIDArgs) BLength

func (p *ModelServiceGetModelByIDArgs) BLength() int

func (*ModelServiceGetModelByIDArgs) DeepEqual

func (*ModelServiceGetModelByIDArgs) FastRead

func (p *ModelServiceGetModelByIDArgs) FastRead(buf []byte) (int, error)

func (*ModelServiceGetModelByIDArgs) FastReadField1

func (p *ModelServiceGetModelByIDArgs) FastReadField1(buf []byte) (int, error)

func (*ModelServiceGetModelByIDArgs) FastWrite

func (p *ModelServiceGetModelByIDArgs) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceGetModelByIDArgs) FastWriteNocopy

func (p *ModelServiceGetModelByIDArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceGetModelByIDArgs) Field1DeepEqual

func (p *ModelServiceGetModelByIDArgs) Field1DeepEqual(src *base.IDReq) bool

func (*ModelServiceGetModelByIDArgs) GetFirstArgument

func (p *ModelServiceGetModelByIDArgs) GetFirstArgument() interface{}

func (*ModelServiceGetModelByIDArgs) GetReq

func (p *ModelServiceGetModelByIDArgs) GetReq() (v *base.IDReq)

func (*ModelServiceGetModelByIDArgs) InitDefault

func (p *ModelServiceGetModelByIDArgs) InitDefault()

func (*ModelServiceGetModelByIDArgs) IsSetReq

func (p *ModelServiceGetModelByIDArgs) IsSetReq() bool

func (*ModelServiceGetModelByIDArgs) Read

func (p *ModelServiceGetModelByIDArgs) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceGetModelByIDArgs) ReadField1

func (p *ModelServiceGetModelByIDArgs) ReadField1(iprot thrift.TProtocol) error

func (*ModelServiceGetModelByIDArgs) SetReq

func (p *ModelServiceGetModelByIDArgs) SetReq(val *base.IDReq)

func (*ModelServiceGetModelByIDArgs) String

func (*ModelServiceGetModelByIDArgs) Write

func (p *ModelServiceGetModelByIDArgs) Write(oprot thrift.TProtocol) (err error)

type ModelServiceGetModelByIDResult

type ModelServiceGetModelByIDResult struct {
	Success *Model `thrift:"success,0,optional" frugal:"0,optional,Model" json:"success,omitempty"`
}

func NewModelServiceGetModelByIDResult

func NewModelServiceGetModelByIDResult() *ModelServiceGetModelByIDResult

func (*ModelServiceGetModelByIDResult) BLength

func (p *ModelServiceGetModelByIDResult) BLength() int

func (*ModelServiceGetModelByIDResult) DeepEqual

func (*ModelServiceGetModelByIDResult) FastRead

func (p *ModelServiceGetModelByIDResult) FastRead(buf []byte) (int, error)

func (*ModelServiceGetModelByIDResult) FastReadField0

func (p *ModelServiceGetModelByIDResult) FastReadField0(buf []byte) (int, error)

func (*ModelServiceGetModelByIDResult) FastWrite

func (p *ModelServiceGetModelByIDResult) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceGetModelByIDResult) FastWriteNocopy

func (p *ModelServiceGetModelByIDResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceGetModelByIDResult) Field0DeepEqual

func (p *ModelServiceGetModelByIDResult) Field0DeepEqual(src *Model) bool

func (*ModelServiceGetModelByIDResult) GetResult

func (p *ModelServiceGetModelByIDResult) GetResult() interface{}

func (*ModelServiceGetModelByIDResult) GetSuccess

func (p *ModelServiceGetModelByIDResult) GetSuccess() (v *Model)

func (*ModelServiceGetModelByIDResult) InitDefault

func (p *ModelServiceGetModelByIDResult) InitDefault()

func (*ModelServiceGetModelByIDResult) IsSetSuccess

func (p *ModelServiceGetModelByIDResult) IsSetSuccess() bool

func (*ModelServiceGetModelByIDResult) Read

func (*ModelServiceGetModelByIDResult) ReadField0

func (*ModelServiceGetModelByIDResult) SetSuccess

func (p *ModelServiceGetModelByIDResult) SetSuccess(x interface{})

func (*ModelServiceGetModelByIDResult) String

func (*ModelServiceGetModelByIDResult) Write

func (p *ModelServiceGetModelByIDResult) Write(oprot thrift.TProtocol) (err error)

type ModelServiceListModelArgs

type ModelServiceListModelArgs struct {
	Req *ListModelReq `thrift:"req,1" frugal:"1,default,ListModelReq" json:"req"`
}

func NewModelServiceListModelArgs

func NewModelServiceListModelArgs() *ModelServiceListModelArgs

func (*ModelServiceListModelArgs) BLength

func (p *ModelServiceListModelArgs) BLength() int

func (*ModelServiceListModelArgs) DeepEqual

func (*ModelServiceListModelArgs) FastRead

func (p *ModelServiceListModelArgs) FastRead(buf []byte) (int, error)

func (*ModelServiceListModelArgs) FastReadField1

func (p *ModelServiceListModelArgs) FastReadField1(buf []byte) (int, error)

func (*ModelServiceListModelArgs) FastWrite

func (p *ModelServiceListModelArgs) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceListModelArgs) FastWriteNocopy

func (p *ModelServiceListModelArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceListModelArgs) Field1DeepEqual

func (p *ModelServiceListModelArgs) Field1DeepEqual(src *ListModelReq) bool

func (*ModelServiceListModelArgs) GetFirstArgument

func (p *ModelServiceListModelArgs) GetFirstArgument() interface{}

func (*ModelServiceListModelArgs) GetReq

func (p *ModelServiceListModelArgs) GetReq() (v *ListModelReq)

func (*ModelServiceListModelArgs) InitDefault

func (p *ModelServiceListModelArgs) InitDefault()

func (*ModelServiceListModelArgs) IsSetReq

func (p *ModelServiceListModelArgs) IsSetReq() bool

func (*ModelServiceListModelArgs) Read

func (p *ModelServiceListModelArgs) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceListModelArgs) ReadField1

func (p *ModelServiceListModelArgs) ReadField1(iprot thrift.TProtocol) error

func (*ModelServiceListModelArgs) SetReq

func (p *ModelServiceListModelArgs) SetReq(val *ListModelReq)

func (*ModelServiceListModelArgs) String

func (p *ModelServiceListModelArgs) String() string

func (*ModelServiceListModelArgs) Write

func (p *ModelServiceListModelArgs) Write(oprot thrift.TProtocol) (err error)

type ModelServiceListModelResult

type ModelServiceListModelResult struct {
	Success *ListModelResp `thrift:"success,0,optional" frugal:"0,optional,ListModelResp" json:"success,omitempty"`
}

func NewModelServiceListModelResult

func NewModelServiceListModelResult() *ModelServiceListModelResult

func (*ModelServiceListModelResult) BLength

func (p *ModelServiceListModelResult) BLength() int

func (*ModelServiceListModelResult) DeepEqual

func (*ModelServiceListModelResult) FastRead

func (p *ModelServiceListModelResult) FastRead(buf []byte) (int, error)

func (*ModelServiceListModelResult) FastReadField0

func (p *ModelServiceListModelResult) FastReadField0(buf []byte) (int, error)

func (*ModelServiceListModelResult) FastWrite

func (p *ModelServiceListModelResult) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceListModelResult) FastWriteNocopy

func (p *ModelServiceListModelResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceListModelResult) Field0DeepEqual

func (p *ModelServiceListModelResult) Field0DeepEqual(src *ListModelResp) bool

func (*ModelServiceListModelResult) GetResult

func (p *ModelServiceListModelResult) GetResult() interface{}

func (*ModelServiceListModelResult) GetSuccess

func (p *ModelServiceListModelResult) GetSuccess() (v *ListModelResp)

func (*ModelServiceListModelResult) InitDefault

func (p *ModelServiceListModelResult) InitDefault()

func (*ModelServiceListModelResult) IsSetSuccess

func (p *ModelServiceListModelResult) IsSetSuccess() bool

func (*ModelServiceListModelResult) Read

func (p *ModelServiceListModelResult) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceListModelResult) ReadField0

func (p *ModelServiceListModelResult) ReadField0(iprot thrift.TProtocol) error

func (*ModelServiceListModelResult) SetSuccess

func (p *ModelServiceListModelResult) SetSuccess(x interface{})

func (*ModelServiceListModelResult) String

func (p *ModelServiceListModelResult) String() string

func (*ModelServiceListModelResult) Write

func (p *ModelServiceListModelResult) Write(oprot thrift.TProtocol) (err error)

type ModelServiceUpdateModelArgs

type ModelServiceUpdateModelArgs struct {
	Req *UpdateModelReq `thrift:"req,1" frugal:"1,default,UpdateModelReq" json:"req"`
}

func NewModelServiceUpdateModelArgs

func NewModelServiceUpdateModelArgs() *ModelServiceUpdateModelArgs

func (*ModelServiceUpdateModelArgs) BLength

func (p *ModelServiceUpdateModelArgs) BLength() int

func (*ModelServiceUpdateModelArgs) DeepEqual

func (*ModelServiceUpdateModelArgs) FastRead

func (p *ModelServiceUpdateModelArgs) FastRead(buf []byte) (int, error)

func (*ModelServiceUpdateModelArgs) FastReadField1

func (p *ModelServiceUpdateModelArgs) FastReadField1(buf []byte) (int, error)

func (*ModelServiceUpdateModelArgs) FastWrite

func (p *ModelServiceUpdateModelArgs) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceUpdateModelArgs) FastWriteNocopy

func (p *ModelServiceUpdateModelArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceUpdateModelArgs) Field1DeepEqual

func (p *ModelServiceUpdateModelArgs) Field1DeepEqual(src *UpdateModelReq) bool

func (*ModelServiceUpdateModelArgs) GetFirstArgument

func (p *ModelServiceUpdateModelArgs) GetFirstArgument() interface{}

func (*ModelServiceUpdateModelArgs) GetReq

func (*ModelServiceUpdateModelArgs) InitDefault

func (p *ModelServiceUpdateModelArgs) InitDefault()

func (*ModelServiceUpdateModelArgs) IsSetReq

func (p *ModelServiceUpdateModelArgs) IsSetReq() bool

func (*ModelServiceUpdateModelArgs) Read

func (p *ModelServiceUpdateModelArgs) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceUpdateModelArgs) ReadField1

func (p *ModelServiceUpdateModelArgs) ReadField1(iprot thrift.TProtocol) error

func (*ModelServiceUpdateModelArgs) SetReq

func (*ModelServiceUpdateModelArgs) String

func (p *ModelServiceUpdateModelArgs) String() string

func (*ModelServiceUpdateModelArgs) Write

func (p *ModelServiceUpdateModelArgs) Write(oprot thrift.TProtocol) (err error)

type ModelServiceUpdateModelResult

type ModelServiceUpdateModelResult struct {
	Success *base.Empty `thrift:"success,0,optional" frugal:"0,optional,base.Empty" json:"success,omitempty"`
}

func NewModelServiceUpdateModelResult

func NewModelServiceUpdateModelResult() *ModelServiceUpdateModelResult

func (*ModelServiceUpdateModelResult) BLength

func (p *ModelServiceUpdateModelResult) BLength() int

func (*ModelServiceUpdateModelResult) DeepEqual

func (*ModelServiceUpdateModelResult) FastRead

func (p *ModelServiceUpdateModelResult) FastRead(buf []byte) (int, error)

func (*ModelServiceUpdateModelResult) FastReadField0

func (p *ModelServiceUpdateModelResult) FastReadField0(buf []byte) (int, error)

func (*ModelServiceUpdateModelResult) FastWrite

func (p *ModelServiceUpdateModelResult) FastWrite(buf []byte) int

for compatibility

func (*ModelServiceUpdateModelResult) FastWriteNocopy

func (p *ModelServiceUpdateModelResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ModelServiceUpdateModelResult) Field0DeepEqual

func (p *ModelServiceUpdateModelResult) Field0DeepEqual(src *base.Empty) bool

func (*ModelServiceUpdateModelResult) GetResult

func (p *ModelServiceUpdateModelResult) GetResult() interface{}

func (*ModelServiceUpdateModelResult) GetSuccess

func (p *ModelServiceUpdateModelResult) GetSuccess() (v *base.Empty)

func (*ModelServiceUpdateModelResult) InitDefault

func (p *ModelServiceUpdateModelResult) InitDefault()

func (*ModelServiceUpdateModelResult) IsSetSuccess

func (p *ModelServiceUpdateModelResult) IsSetSuccess() bool

func (*ModelServiceUpdateModelResult) Read

func (p *ModelServiceUpdateModelResult) Read(iprot thrift.TProtocol) (err error)

func (*ModelServiceUpdateModelResult) ReadField0

func (p *ModelServiceUpdateModelResult) ReadField0(iprot thrift.TProtocol) error

func (*ModelServiceUpdateModelResult) SetSuccess

func (p *ModelServiceUpdateModelResult) SetSuccess(x interface{})

func (*ModelServiceUpdateModelResult) String

func (*ModelServiceUpdateModelResult) Write

func (p *ModelServiceUpdateModelResult) Write(oprot thrift.TProtocol) (err error)

type ModelService_ChatServer

type ModelService_ChatServer interface {
	streaming.Stream

	Send(*ChatResp) error
}

type UpdateModelReq

type UpdateModelReq struct {
	Id          int64    `thrift:"id,1,required" frugal:"1,required,i64" path:"id"`
	Name        *string  `thrift:"name,2,optional" frugal:"2,optional,string" json:"name,omitempty"`
	Description *string  `thrift:"description,3,optional" frugal:"3,optional,string" json:"description,omitempty"`
	Source      *string  `thrift:"source,4,optional" frugal:"4,optional,string" json:"source,omitempty"`
	ModelKey    *string  `thrift:"model_key,5,optional" frugal:"5,optional,string" json:"model_key,omitempty"`
	InputPrice  *string  `thrift:"input_price,7,optional" frugal:"7,optional,string" json:"input_price,omitempty"`
	OutputPrice *string  `thrift:"output_price,8,optional" frugal:"8,optional,string" json:"output_price,omitempty"`
	MaxToken    *int64   `thrift:"max_token,9,optional" frugal:"9,optional,i64" json:"max_token,omitempty"`
	Tags        []string `thrift:"tags,10,optional" frugal:"10,optional,list<string>" json:"tags,omitempty"`
}
var ModelServiceUpdateModelArgs_Req_DEFAULT *UpdateModelReq

func NewUpdateModelReq

func NewUpdateModelReq() *UpdateModelReq

func (*UpdateModelReq) BLength

func (p *UpdateModelReq) BLength() int

func (*UpdateModelReq) DeepEqual

func (p *UpdateModelReq) DeepEqual(ano *UpdateModelReq) bool

func (*UpdateModelReq) FastRead

func (p *UpdateModelReq) FastRead(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField1

func (p *UpdateModelReq) FastReadField1(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField10 added in v0.1.7

func (p *UpdateModelReq) FastReadField10(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField2

func (p *UpdateModelReq) FastReadField2(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField3

func (p *UpdateModelReq) FastReadField3(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField4

func (p *UpdateModelReq) FastReadField4(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField5

func (p *UpdateModelReq) FastReadField5(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField6

func (p *UpdateModelReq) FastReadField6(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField7

func (p *UpdateModelReq) FastReadField7(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField8

func (p *UpdateModelReq) FastReadField8(buf []byte) (int, error)

func (*UpdateModelReq) FastReadField9 added in v0.1.7

func (p *UpdateModelReq) FastReadField9(buf []byte) (int, error)

func (*UpdateModelReq) FastWrite

func (p *UpdateModelReq) FastWrite(buf []byte) int

for compatibility

func (*UpdateModelReq) FastWriteNocopy

func (p *UpdateModelReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UpdateModelReq) Field10DeepEqual added in v0.1.7

func (p *UpdateModelReq) Field10DeepEqual(src []string) bool

func (*UpdateModelReq) Field1DeepEqual

func (p *UpdateModelReq) Field1DeepEqual(src int64) bool

func (*UpdateModelReq) Field2DeepEqual

func (p *UpdateModelReq) Field2DeepEqual(src *string) bool

func (*UpdateModelReq) Field3DeepEqual

func (p *UpdateModelReq) Field3DeepEqual(src *string) bool

func (*UpdateModelReq) Field4DeepEqual

func (p *UpdateModelReq) Field4DeepEqual(src *string) bool

func (*UpdateModelReq) Field5DeepEqual

func (p *UpdateModelReq) Field5DeepEqual(src *string) bool

func (*UpdateModelReq) Field6DeepEqual

func (p *UpdateModelReq) Field6DeepEqual(src *string) bool

func (*UpdateModelReq) Field7DeepEqual

func (p *UpdateModelReq) Field7DeepEqual(src *string) bool

func (*UpdateModelReq) Field8DeepEqual

func (p *UpdateModelReq) Field8DeepEqual(src *string) bool

func (*UpdateModelReq) Field9DeepEqual added in v0.1.7

func (p *UpdateModelReq) Field9DeepEqual(src *int64) bool

func (*UpdateModelReq) GetDescription

func (p *UpdateModelReq) GetDescription() (v string)

func (*UpdateModelReq) GetId

func (p *UpdateModelReq) GetId() (v int64)

func (*UpdateModelReq) GetInputPrice

func (p *UpdateModelReq) GetInputPrice() (v string)
func (p *UpdateModelReq) GetLogo() (v string)

func (*UpdateModelReq) GetMaxToken added in v0.1.7

func (p *UpdateModelReq) GetMaxToken() (v int64)

func (*UpdateModelReq) GetModelKey

func (p *UpdateModelReq) GetModelKey() (v string)

func (*UpdateModelReq) GetName

func (p *UpdateModelReq) GetName() (v string)

func (*UpdateModelReq) GetOutputPrice

func (p *UpdateModelReq) GetOutputPrice() (v string)

func (*UpdateModelReq) GetSource

func (p *UpdateModelReq) GetSource() (v string)

func (*UpdateModelReq) GetTags added in v0.1.7

func (p *UpdateModelReq) GetTags() (v []string)

func (*UpdateModelReq) InitDefault

func (p *UpdateModelReq) InitDefault()

func (*UpdateModelReq) IsSetDescription

func (p *UpdateModelReq) IsSetDescription() bool

func (*UpdateModelReq) IsSetInputPrice

func (p *UpdateModelReq) IsSetInputPrice() bool
func (p *UpdateModelReq) IsSetLogo() bool

func (*UpdateModelReq) IsSetMaxToken added in v0.1.7

func (p *UpdateModelReq) IsSetMaxToken() bool

func (*UpdateModelReq) IsSetModelKey

func (p *UpdateModelReq) IsSetModelKey() bool

func (*UpdateModelReq) IsSetName

func (p *UpdateModelReq) IsSetName() bool

func (*UpdateModelReq) IsSetOutputPrice

func (p *UpdateModelReq) IsSetOutputPrice() bool

func (*UpdateModelReq) IsSetSource

func (p *UpdateModelReq) IsSetSource() bool

func (*UpdateModelReq) IsSetTags added in v0.1.7

func (p *UpdateModelReq) IsSetTags() bool

func (*UpdateModelReq) Read

func (p *UpdateModelReq) Read(iprot thrift.TProtocol) (err error)

func (*UpdateModelReq) ReadField1

func (p *UpdateModelReq) ReadField1(iprot thrift.TProtocol) error

func (*UpdateModelReq) ReadField10 added in v0.1.7

func (p *UpdateModelReq) ReadField10(iprot thrift.TProtocol) error

func (*UpdateModelReq) ReadField2

func (p *UpdateModelReq) ReadField2(iprot thrift.TProtocol) error

func (*UpdateModelReq) ReadField3

func (p *UpdateModelReq) ReadField3(iprot thrift.TProtocol) error

func (*UpdateModelReq) ReadField4

func (p *UpdateModelReq) ReadField4(iprot thrift.TProtocol) error

func (*UpdateModelReq) ReadField5

func (p *UpdateModelReq) ReadField5(iprot thrift.TProtocol) error

func (*UpdateModelReq) ReadField6

func (p *UpdateModelReq) ReadField6(iprot thrift.TProtocol) error

func (*UpdateModelReq) ReadField7

func (p *UpdateModelReq) ReadField7(iprot thrift.TProtocol) error

func (*UpdateModelReq) ReadField8

func (p *UpdateModelReq) ReadField8(iprot thrift.TProtocol) error

func (*UpdateModelReq) ReadField9 added in v0.1.7

func (p *UpdateModelReq) ReadField9(iprot thrift.TProtocol) error

func (*UpdateModelReq) SetDescription

func (p *UpdateModelReq) SetDescription(val *string)

func (*UpdateModelReq) SetId

func (p *UpdateModelReq) SetId(val int64)

func (*UpdateModelReq) SetInputPrice

func (p *UpdateModelReq) SetInputPrice(val *string)
func (p *UpdateModelReq) SetLogo(val *string)

func (*UpdateModelReq) SetMaxToken added in v0.1.7

func (p *UpdateModelReq) SetMaxToken(val *int64)

func (*UpdateModelReq) SetModelKey

func (p *UpdateModelReq) SetModelKey(val *string)

func (*UpdateModelReq) SetName

func (p *UpdateModelReq) SetName(val *string)

func (*UpdateModelReq) SetOutputPrice

func (p *UpdateModelReq) SetOutputPrice(val *string)

func (*UpdateModelReq) SetSource

func (p *UpdateModelReq) SetSource(val *string)

func (*UpdateModelReq) SetTags added in v0.1.7

func (p *UpdateModelReq) SetTags(val []string)

func (*UpdateModelReq) String

func (p *UpdateModelReq) String() string

func (*UpdateModelReq) Write

func (p *UpdateModelReq) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.10.0.
Code generated by Kitex v0.10.0.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL