Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LlmOptType_name = map[int32]string{ 0: "LLM_OPT_TYPE_UNSPECIFIED", 1: "LLM_OPT_TYPE_OLLAMA_RESPONSE_SCHEMA", 2: "LLM_OPT_TYPE_GPT_RESPONSE_FORMAT", } LlmOptType_value = map[string]int32{ "LLM_OPT_TYPE_UNSPECIFIED": 0, "LLM_OPT_TYPE_OLLAMA_RESPONSE_SCHEMA": 1, "LLM_OPT_TYPE_GPT_RESPONSE_FORMAT": 2, } )
Enum value maps for LlmOptType.
View Source
var File_llm_options_v1_options_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LlmOpt ¶
type LlmOpt struct { Typ LlmOptType `protobuf:"varint,1,opt,name=typ,proto3,enum=llm_options.v1.LlmOptType" json:"typ,omitempty"` LlmOptVal *anypb.Any `protobuf:"bytes,2,opt,name=llm_opt_val,json=llmOptVal,proto3" json:"llm_opt_val,omitempty"` // contains filtered or unexported fields }
func (*LlmOpt) Descriptor
deprecated
func (*LlmOpt) GetLlmOptVal ¶
func (*LlmOpt) GetTyp ¶
func (x *LlmOpt) GetTyp() LlmOptType
func (*LlmOpt) ProtoMessage ¶
func (*LlmOpt) ProtoMessage()
func (*LlmOpt) ProtoReflect ¶
func (x *LlmOpt) ProtoReflect() protoreflect.Message
type LlmOptType ¶
type LlmOptType int32
const ( LlmOptType_LLM_OPT_TYPE_UNSPECIFIED LlmOptType = 0 LlmOptType_LLM_OPT_TYPE_OLLAMA_RESPONSE_SCHEMA LlmOptType = 1 LlmOptType_LLM_OPT_TYPE_GPT_RESPONSE_FORMAT LlmOptType = 2 )
func (LlmOptType) Descriptor ¶
func (LlmOptType) Descriptor() protoreflect.EnumDescriptor
func (LlmOptType) Enum ¶
func (x LlmOptType) Enum() *LlmOptType
func (LlmOptType) EnumDescriptor
deprecated
func (LlmOptType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LlmOptType.Descriptor instead.
func (LlmOptType) Number ¶
func (x LlmOptType) Number() protoreflect.EnumNumber
func (LlmOptType) String ¶
func (x LlmOptType) String() string
func (LlmOptType) Type ¶
func (LlmOptType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.