Documentation ¶
Index ¶
- Variables
- type Assistant
- func (*Assistant) Descriptor() ([]byte, []int)deprecated
- func (x *Assistant) GetCreatedAt() uint64
- func (x *Assistant) GetDescription() string
- func (x *Assistant) GetFileIds() []string
- func (x *Assistant) GetId() string
- func (x *Assistant) GetInstruction() string
- func (x *Assistant) GetMetadata() map[string]string
- func (x *Assistant) GetModel() string
- func (x *Assistant) GetName() string
- func (x *Assistant) GetObject() string
- func (x *Assistant) GetTools() []*Tool
- func (*Assistant) ProtoMessage()
- func (x *Assistant) ProtoReflect() protoreflect.Message
- func (x *Assistant) Reset()
- func (x *Assistant) String() string
- type AssistantFile
- func (*AssistantFile) Descriptor() ([]byte, []int)deprecated
- func (x *AssistantFile) GetAssistantId() string
- func (x *AssistantFile) GetCreatedAt() uint64
- func (x *AssistantFile) GetId() string
- func (x *AssistantFile) GetObject() string
- func (*AssistantFile) ProtoMessage()
- func (x *AssistantFile) ProtoReflect() protoreflect.Message
- func (x *AssistantFile) Reset()
- func (x *AssistantFile) String() string
- type CreateAssistantFileRequest
- func (*CreateAssistantFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAssistantFileRequest) GetFileId() string
- func (*CreateAssistantFileRequest) ProtoMessage()
- func (x *CreateAssistantFileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAssistantFileRequest) Reset()
- func (x *CreateAssistantFileRequest) String() string
- type CreateAssistantRequest
- func (*CreateAssistantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAssistantRequest) GetDescription() string
- func (x *CreateAssistantRequest) GetFileIds() []string
- func (x *CreateAssistantRequest) GetInstruction() string
- func (x *CreateAssistantRequest) GetMetadata() map[string]string
- func (x *CreateAssistantRequest) GetModel() string
- func (x *CreateAssistantRequest) GetName() string
- func (x *CreateAssistantRequest) GetResponseFormat() string
- func (x *CreateAssistantRequest) GetTemperature() float32
- func (x *CreateAssistantRequest) GetTools() []*Tool
- func (x *CreateAssistantRequest) GetTopP() float32
- func (*CreateAssistantRequest) ProtoMessage()
- func (x *CreateAssistantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAssistantRequest) Reset()
- func (x *CreateAssistantRequest) String() string
- type ModifyAssistantRequest
- func (*ModifyAssistantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyAssistantRequest) GetDescription() string
- func (x *ModifyAssistantRequest) GetFileIds() []string
- func (x *ModifyAssistantRequest) GetInstruction() string
- func (x *ModifyAssistantRequest) GetMetadata() map[string]string
- func (x *ModifyAssistantRequest) GetName() string
- func (x *ModifyAssistantRequest) GetTools() []*Tool
- func (*ModifyAssistantRequest) ProtoMessage()
- func (x *ModifyAssistantRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyAssistantRequest) Reset()
- func (x *ModifyAssistantRequest) String() string
- type Tool
Constants ¶
This section is empty.
Variables ¶
View Source
var File_msp_azure_openai_assistants_v1_assistants_proto protoreflect.FileDescriptor
View Source
var File_msp_azure_openai_assistants_v1_files_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Assistant ¶
type Assistant struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` CreatedAt uint64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Model string `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"` Instruction string `protobuf:"bytes,7,opt,name=instruction,json=instructions,proto3" json:"instruction,omitempty"` Tools []*Tool `protobuf:"bytes,8,rep,name=tools,proto3" json:"tools,omitempty"` FileIds []string `protobuf:"bytes,9,rep,name=file_ids,json=fileIds,proto3" json:"file_ids,omitempty"` Metadata map[string]string `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Assistant) Descriptor
deprecated
func (*Assistant) GetCreatedAt ¶
func (*Assistant) GetDescription ¶
func (*Assistant) GetFileIds ¶
func (*Assistant) GetInstruction ¶
func (*Assistant) GetMetadata ¶
func (*Assistant) ProtoMessage ¶
func (*Assistant) ProtoMessage()
func (*Assistant) ProtoReflect ¶
func (x *Assistant) ProtoReflect() protoreflect.Message
type AssistantFile ¶
type AssistantFile struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` CreatedAt uint64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` AssistantId string `protobuf:"bytes,4,opt,name=assistant_id,json=assistantId,proto3" json:"assistant_id,omitempty"` // contains filtered or unexported fields }
func (*AssistantFile) Descriptor
deprecated
func (*AssistantFile) Descriptor() ([]byte, []int)
Deprecated: Use AssistantFile.ProtoReflect.Descriptor instead.
func (*AssistantFile) GetAssistantId ¶
func (x *AssistantFile) GetAssistantId() string
func (*AssistantFile) GetCreatedAt ¶
func (x *AssistantFile) GetCreatedAt() uint64
func (*AssistantFile) GetId ¶
func (x *AssistantFile) GetId() string
func (*AssistantFile) GetObject ¶
func (x *AssistantFile) GetObject() string
func (*AssistantFile) ProtoMessage ¶
func (*AssistantFile) ProtoMessage()
func (*AssistantFile) ProtoReflect ¶
func (x *AssistantFile) ProtoReflect() protoreflect.Message
func (*AssistantFile) Reset ¶
func (x *AssistantFile) Reset()
func (*AssistantFile) String ¶
func (x *AssistantFile) String() string
type CreateAssistantFileRequest ¶
type CreateAssistantFileRequest struct { FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAssistantFileRequest) Descriptor
deprecated
func (*CreateAssistantFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAssistantFileRequest.ProtoReflect.Descriptor instead.
func (*CreateAssistantFileRequest) GetFileId ¶
func (x *CreateAssistantFileRequest) GetFileId() string
func (*CreateAssistantFileRequest) ProtoMessage ¶
func (*CreateAssistantFileRequest) ProtoMessage()
func (*CreateAssistantFileRequest) ProtoReflect ¶
func (x *CreateAssistantFileRequest) ProtoReflect() protoreflect.Message
func (*CreateAssistantFileRequest) Reset ¶
func (x *CreateAssistantFileRequest) Reset()
func (*CreateAssistantFileRequest) String ¶
func (x *CreateAssistantFileRequest) String() string
type CreateAssistantRequest ¶
type CreateAssistantRequest struct { Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Instruction string `protobuf:"bytes,4,opt,name=instruction,json=instructions,proto3" json:"instruction,omitempty"` Tools []*Tool `protobuf:"bytes,5,rep,name=tools,proto3" json:"tools,omitempty"` FileIds []string `protobuf:"bytes,6,rep,name=file_ids,json=fileIds,proto3" json:"file_ids,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Temperature float32 `protobuf:"fixed32,8,opt,name=temperature,proto3" json:"temperature,omitempty"` TopP float32 `protobuf:"fixed32,9,opt,name=top_p,json=topP,proto3" json:"top_p,omitempty"` ResponseFormat string `protobuf:"bytes,10,opt,name=response_format,json=responseFormat,proto3" json:"response_format,omitempty"` // contains filtered or unexported fields }
func (*CreateAssistantRequest) Descriptor
deprecated
func (*CreateAssistantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAssistantRequest.ProtoReflect.Descriptor instead.
func (*CreateAssistantRequest) GetDescription ¶
func (x *CreateAssistantRequest) GetDescription() string
func (*CreateAssistantRequest) GetFileIds ¶
func (x *CreateAssistantRequest) GetFileIds() []string
func (*CreateAssistantRequest) GetInstruction ¶
func (x *CreateAssistantRequest) GetInstruction() string
func (*CreateAssistantRequest) GetMetadata ¶
func (x *CreateAssistantRequest) GetMetadata() map[string]string
func (*CreateAssistantRequest) GetModel ¶
func (x *CreateAssistantRequest) GetModel() string
func (*CreateAssistantRequest) GetName ¶
func (x *CreateAssistantRequest) GetName() string
func (*CreateAssistantRequest) GetResponseFormat ¶
func (x *CreateAssistantRequest) GetResponseFormat() string
func (*CreateAssistantRequest) GetTemperature ¶
func (x *CreateAssistantRequest) GetTemperature() float32
func (*CreateAssistantRequest) GetTools ¶
func (x *CreateAssistantRequest) GetTools() []*Tool
func (*CreateAssistantRequest) GetTopP ¶
func (x *CreateAssistantRequest) GetTopP() float32
func (*CreateAssistantRequest) ProtoMessage ¶
func (*CreateAssistantRequest) ProtoMessage()
func (*CreateAssistantRequest) ProtoReflect ¶
func (x *CreateAssistantRequest) ProtoReflect() protoreflect.Message
func (*CreateAssistantRequest) Reset ¶
func (x *CreateAssistantRequest) Reset()
func (*CreateAssistantRequest) String ¶
func (x *CreateAssistantRequest) String() string
type ModifyAssistantRequest ¶
type ModifyAssistantRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Instruction string `protobuf:"bytes,3,opt,name=instruction,json=instructions,proto3" json:"instruction,omitempty"` Tools []*Tool `protobuf:"bytes,4,rep,name=tools,proto3" json:"tools,omitempty"` FileIds []string `protobuf:"bytes,5,rep,name=file_ids,json=fileIds,proto3" json:"file_ids,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ModifyAssistantRequest) Descriptor
deprecated
func (*ModifyAssistantRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyAssistantRequest.ProtoReflect.Descriptor instead.
func (*ModifyAssistantRequest) GetDescription ¶
func (x *ModifyAssistantRequest) GetDescription() string
func (*ModifyAssistantRequest) GetFileIds ¶
func (x *ModifyAssistantRequest) GetFileIds() []string
func (*ModifyAssistantRequest) GetInstruction ¶
func (x *ModifyAssistantRequest) GetInstruction() string
func (*ModifyAssistantRequest) GetMetadata ¶
func (x *ModifyAssistantRequest) GetMetadata() map[string]string
func (*ModifyAssistantRequest) GetName ¶
func (x *ModifyAssistantRequest) GetName() string
func (*ModifyAssistantRequest) GetTools ¶
func (x *ModifyAssistantRequest) GetTools() []*Tool
func (*ModifyAssistantRequest) ProtoMessage ¶
func (*ModifyAssistantRequest) ProtoMessage()
func (*ModifyAssistantRequest) ProtoReflect ¶
func (x *ModifyAssistantRequest) ProtoReflect() protoreflect.Message
func (*ModifyAssistantRequest) Reset ¶
func (x *ModifyAssistantRequest) Reset()
func (*ModifyAssistantRequest) String ¶
func (x *ModifyAssistantRequest) String() string
type Tool ¶
type Tool struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Tool) Descriptor
deprecated
func (*Tool) ProtoMessage ¶
func (*Tool) ProtoMessage()
func (*Tool) ProtoReflect ¶
func (x *Tool) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.