assistantsv1

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Assistant.ProtoReflect.Descriptor instead.

func (*Assistant) GetCreatedAt

func (x *Assistant) GetCreatedAt() uint64

func (*Assistant) GetDescription

func (x *Assistant) GetDescription() string

func (*Assistant) GetFileIds

func (x *Assistant) GetFileIds() []string

func (*Assistant) GetId

func (x *Assistant) GetId() string

func (*Assistant) GetInstruction

func (x *Assistant) GetInstruction() string

func (*Assistant) GetMetadata

func (x *Assistant) GetMetadata() map[string]string

func (*Assistant) GetModel

func (x *Assistant) GetModel() string

func (*Assistant) GetName

func (x *Assistant) GetName() string

func (*Assistant) GetObject

func (x *Assistant) GetObject() string

func (*Assistant) GetTools

func (x *Assistant) GetTools() []*Tool

func (*Assistant) ProtoMessage

func (*Assistant) ProtoMessage()

func (*Assistant) ProtoReflect

func (x *Assistant) ProtoReflect() protoreflect.Message

func (*Assistant) Reset

func (x *Assistant) Reset()

func (*Assistant) String

func (x *Assistant) String() string

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Tool.ProtoReflect.Descriptor instead.

func (*Tool) GetType

func (x *Tool) GetType() string

func (*Tool) ProtoMessage

func (*Tool) ProtoMessage()

func (*Tool) ProtoReflect

func (x *Tool) ProtoReflect() protoreflect.Message

func (*Tool) Reset

func (x *Tool) Reset()

func (*Tool) String

func (x *Tool) String() string

Jump to

Keyboard shortcuts

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