reason

package
v0.0.0-...-da789b0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_reason_reason_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func (*Engine) Descriptor deprecated

func (*Engine) Descriptor() ([]byte, []int)

Deprecated: Use Engine.ProtoReflect.Descriptor instead.

func (*Engine) ProtoMessage

func (*Engine) ProtoMessage()

func (*Engine) ProtoReflect

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

func (*Engine) Reset

func (x *Engine) Reset()

func (*Engine) String

func (x *Engine) String() string

type Prompt

type Prompt struct {
	Prompt        string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	MinTokenCount uint64 `protobuf:"varint,2,opt,name=min_token_count,json=minTokenCount,proto3" json:"min_token_count,omitempty"`
	// contains filtered or unexported fields
}

func (*Prompt) Descriptor deprecated

func (*Prompt) Descriptor() ([]byte, []int)

Deprecated: Use Prompt.ProtoReflect.Descriptor instead.

func (*Prompt) GetMinTokenCount

func (x *Prompt) GetMinTokenCount() uint64

func (*Prompt) GetPrompt

func (x *Prompt) GetPrompt() string

func (*Prompt) ProtoMessage

func (*Prompt) ProtoMessage()

func (*Prompt) ProtoReflect

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

func (*Prompt) Reset

func (x *Prompt) Reset()

func (*Prompt) String

func (x *Prompt) String() string

type Reason

type Reason struct {

	// Types that are assignable to Type:
	//
	//	*Reason_Prompt
	//	*Reason_Engine
	Type isReason_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Reason) Descriptor deprecated

func (*Reason) Descriptor() ([]byte, []int)

Deprecated: Use Reason.ProtoReflect.Descriptor instead.

func (*Reason) GetEngine

func (x *Reason) GetEngine() *Engine

func (*Reason) GetPrompt

func (x *Reason) GetPrompt() *Prompt

func (*Reason) GetType

func (m *Reason) GetType() isReason_Type

func (*Reason) ProtoMessage

func (*Reason) ProtoMessage()

func (*Reason) ProtoReflect

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

func (*Reason) Reset

func (x *Reason) Reset()

func (*Reason) String

func (x *Reason) String() string

type Reason_Engine

type Reason_Engine struct {
	Engine *Engine `protobuf:"bytes,2,opt,name=engine,proto3,oneof"`
}

type Reason_Prompt

type Reason_Prompt struct {
	Prompt *Prompt `protobuf:"bytes,1,opt,name=prompt,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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