Documentation
¶
Index ¶
- Variables
- type AbortSignal
- type AbortSignalScanner
- type ArgsInfo
- func (*ArgsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ArgsInfo) GetAbsolutePath() string
- func (x *ArgsInfo) GetCommand() string
- func (x *ArgsInfo) GetContent() string
- func (x *ArgsInfo) GetDescription() string
- func (x *ArgsInfo) GetDirectory() string
- func (x *ArgsInfo) GetExpectedReplacements() int32
- func (x *ArgsInfo) GetFact() string
- func (x *ArgsInfo) GetFilePath() string
- func (x *ArgsInfo) GetNewString() string
- func (x *ArgsInfo) GetOldString() string
- func (x *ArgsInfo) GetPath() string
- func (x *ArgsInfo) GetPaths() []string
- func (x *ArgsInfo) GetPattern() string
- func (x *ArgsInfo) GetQuery() string
- func (x *ArgsInfo) GetThinkingConfig() string
- func (*ArgsInfo) ProtoMessage()
- func (x *ArgsInfo) ProtoReflect() protoreflect.Message
- func (x *ArgsInfo) Reset()
- func (x *ArgsInfo) String() string
- type ArgsInfoScanner
- type Book
- func (*Book) Descriptor() ([]byte, []int)deprecated
- func (x *Book) GetContent() string
- func (x *Book) GetCtime() *timestamppb.Timestamp
- func (x *Book) GetFrom() Who
- func (x *Book) GetGeminiRequest() *GeminiRequest
- func (x *Book) GetTable() *Table
- func (x *Book) GetTitle() string
- func (x *Book) GetUuid() string
- func (x *Book) GetVersion() int32
- func (*Book) ProtoMessage()
- func (x *Book) ProtoReflect() protoreflect.Message
- func (x *Book) Reset()
- func (x *Book) String() string
- type BookFunc
- type BookScanner
- type Books
- func (x *Books) All() *BookScanner
- func (x *Books) Append(y *Book)
- func (x *Books) AppendByUuid(y *Book) bool
- func (x *Books) Clone(y *Book) *Book
- func (x *Books) CloneByUuid(y *Book) bool
- func (all *Books) ConfigSave() error
- func (x *Books) Delete(y *Book) bool
- func (x *Books) DeleteByUuid(s string) bool
- func (*Books) Descriptor() ([]byte, []int)deprecated
- func (x *Books) FindByUuid(s string) *Book
- func (v *Books) FormatJSON() string
- func (v *Books) FormatTEXT() string
- func (x *Books) GetBooks() []*Book
- func (x *Books) GetCtime() *timestamppb.Timestamp
- func (x *Books) GetTitle() string
- func (x *Books) GetTitleUuid() string
- func (x *Books) GetUuid() string
- func (x *Books) GetVersion() string
- func (x *Books) InsertByUuid(y string) *Book
- func (x *Books) IterAll() iter.Seq[*Book]
- func (x *Books) IterByUuid() iter.Seq[*Book]
- func (x *Books) Len() int
- func (v *Books) Marshal() ([]byte, error)
- func (v *Books) MarshalJSON() ([]byte, error)
- func (x *Books) NewTable(title string) *BooksTable
- func (*Books) ProtoMessage()
- func (x *Books) ProtoReflect() protoreflect.Message
- func (x *Books) Reset()
- func (x *Books) SortByUuid() *BookScanner
- func (pb *Books) SortUuid()
- func (x *Books) String() string
- func (v *Books) Unmarshal(data []byte) error
- func (v *Books) UnmarshalJSON(data []byte) error
- func (v *Books) UnmarshalTEXT(data []byte) error
- type BooksScanner
- type BooksTable
- func (t *BooksTable) AddButtonFunc(title string, f func(*Book) string) *BookFunc
- func (t *BooksTable) AddContent() *BookFunc
- func (t *BooksTable) AddIntFunc(title string, f func(*Book) int) *BookFunc
- func (t *BooksTable) AddStringFunc(title string, f func(*Book) string) *BookFunc
- func (t *BooksTable) AddTimeFunc(title string, f func(*Book) time.Time) *BookFunc
- func (t *BooksTable) AddTitle() *BookFunc
- func (t *BooksTable) AddUuid() *BookFunc
- func (mt *BooksTable) Custom(f func(*Book))
- func (mt *BooksTable) Delete()
- func (mt *BooksTable) GetUuid() string
- func (mt *BooksTable) MakeTable()
- func (mt *BooksTable) NewUuid()
- func (t *BooksTable) PrintTable()
- func (mt *BooksTable) SetParent(p *gui.Node)
- func (mt *BooksTable) ShowTable()
- type Chat
- func (c *Chat) AddGeminiRequest(fname string, age time.Time, pb *GeminiRequest) bool
- func (x *Chat) AppendEntry(y *ChatEntry)
- func (*Chat) Descriptor() ([]byte, []int)deprecated
- func (x *Chat) GetChatName() string
- func (x *Chat) GetCtime() *timestamppb.Timestamp
- func (x *Chat) GetEntries() []*ChatEntry
- func (x *Chat) GetSession() []*SessionStats
- func (x *Chat) GetUuid() string
- func (c *Chat) PrintChatEntriesTable()
- func (c *Chat) PrintChatGeminiTable()
- func (c *Chat) PrintChatStatsTable()
- func (*Chat) ProtoMessage()
- func (x *Chat) ProtoReflect() protoreflect.Message
- func (x *Chat) Reset()
- func (x *Chat) String() string
- func (c *Chat) VerifyUuid() bool
- type ChatEntry
- func (*ChatEntry) Descriptor() ([]byte, []int)deprecated
- func (v *ChatEntry) FormatJSON() string
- func (v *ChatEntry) FormatTEXT() string
- func (x *ChatEntry) GetContent() string
- func (x *ChatEntry) GetContentFile() string
- func (x *ChatEntry) GetCtime() *timestamppb.Timestamp
- func (x *ChatEntry) GetFrom() Who
- func (x *ChatEntry) GetGeminiRequest() *GeminiRequest
- func (x *ChatEntry) GetParts() []*Part
- func (x *ChatEntry) GetPaths() []string
- func (x *ChatEntry) GetRequestCounter() int32
- func (x *ChatEntry) GetSnippets() []*CodeSnippet
- func (x *ChatEntry) GetTable() *Table
- func (x *ChatEntry) GetToolCalls() []*ToolCall
- func (x *ChatEntry) GetUuid() string
- func (v *ChatEntry) Marshal() ([]byte, error)
- func (v *ChatEntry) MarshalJSON() ([]byte, error)
- func (*ChatEntry) ProtoMessage()
- func (x *ChatEntry) ProtoReflect() protoreflect.Message
- func (x *ChatEntry) Reset()
- func (x *ChatEntry) String() string
- func (v *ChatEntry) Unmarshal(data []byte) error
- func (v *ChatEntry) UnmarshalJSON(data []byte) error
- func (v *ChatEntry) UnmarshalTEXT(data []byte) error
- func (c *ChatEntry) VerifyGeminiRequest(pb *GeminiRequest) (int, int, bool)
- type ChatEntryScanner
- type ChatFunc
- type ChatScanner
- type Chats
- func (all *Chats) AddFile(filename string) error
- func (c *Chats) AddRegexComment(s string) *ChatEntry
- func (c *Chats) AddTable() *Table
- func (c *Chats) AddUserComment(s string) *ChatEntry
- func (x *Chats) All() *ChatScanner
- func (x *Chats) Append(y *Chat)
- func (x *Chats) AppendByUuid(y *Chat) bool
- func (x *Chats) AppendNew(y *Chat)
- func (x *Chats) Clone(y *Chat) *Chat
- func (x *Chats) CloneByUuid(y *Chat) bool
- func (all *Chats) ConfigLoad() error
- func (all *Chats) ConfigSave() error
- func (x *Chats) Delete(y *Chat) bool
- func (x *Chats) DeleteByUuid(s string) bool
- func (*Chats) Descriptor() ([]byte, []int)deprecated
- func (x *Chats) FindByUuid(s string) *Chat
- func (all *Chats) FindUuid(id string) *Chat
- func (v *Chats) FormatJSON() string
- func (v *Chats) FormatTEXT() string
- func (x *Chats) GetChats() []*Chat
- func (x *Chats) GetFilename() string
- func (x *Chats) GetUuid() string
- func (x *Chats) GetVersion() string
- func (x *Chats) InsertByUuid(y string) *Chat
- func (x *Chats) IterAll() iter.Seq[*Chat]
- func (x *Chats) IterByUuid() iter.Seq[*Chat]
- func (x *Chats) Len() int
- func (pb *Chats) Load() error
- func (v *Chats) Marshal() ([]byte, error)
- func (v *Chats) MarshalJSON() ([]byte, error)
- func (x *Chats) NewTable(title string) *ChatsTable
- func (all *Chats) PrintHumanTable()
- func (*Chats) ProtoMessage()
- func (x *Chats) ProtoReflect() protoreflect.Message
- func (x *Chats) Reset()
- func (pb *Chats) Save() error
- func (x *Chats) SortByUuid() *ChatScanner
- func (pb *Chats) SortUuid()
- func (x *Chats) String() string
- func (v *Chats) Unmarshal(data []byte) error
- func (v *Chats) UnmarshalJSON(data []byte) error
- func (v *Chats) UnmarshalTEXT(data []byte) error
- func (chats *Chats) VerifyUuids() bool
- type ChatsScanner
- type ChatsTable
- func (t *ChatsTable) AddButtonFunc(title string, f func(*Chat) string) *ChatFunc
- func (t *ChatsTable) AddChatName() *ChatFunc
- func (t *ChatsTable) AddIntFunc(title string, f func(*Chat) int) *ChatFunc
- func (t *ChatsTable) AddStringFunc(title string, f func(*Chat) string) *ChatFunc
- func (t *ChatsTable) AddTimeFunc(title string, f func(*Chat) time.Time) *ChatFunc
- func (t *ChatsTable) AddUuid() *ChatFunc
- func (mt *ChatsTable) Custom(f func(*Chat))
- func (mt *ChatsTable) Delete()
- func (mt *ChatsTable) GetUuid() string
- func (mt *ChatsTable) MakeTable()
- func (mt *ChatsTable) NewUuid()
- func (t *ChatsTable) PrintTable()
- func (mt *ChatsTable) SetParent(p *gui.Node)
- func (mt *ChatsTable) ShowTable()
- type CodeSnippet
- func (*CodeSnippet) Descriptor() ([]byte, []int)deprecated
- func (x *CodeSnippet) GetContent() string
- func (x *CodeSnippet) GetFilename() string
- func (*CodeSnippet) ProtoMessage()
- func (x *CodeSnippet) ProtoReflect() protoreflect.Message
- func (x *CodeSnippet) Reset()
- func (x *CodeSnippet) String() string
- type CodeSnippetScanner
- type Confidence
- type ConfidenceScanner
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAbortSignal() *AbortSignal
- func (x *Config) GetResponseJsonSchema() *ResponseJsonSchema
- func (x *Config) GetResponseMimeType() string
- func (x *Config) GetSystemInstruction() string
- func (x *Config) GetTemperature() float64
- func (x *Config) GetThinkingConfig() *Config_ThinkingConfig
- func (x *Config) GetTools() []*Tool
- func (x *Config) GetTopP() float64
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type ConfigScanner
- type Config_ThinkingConfig
- func (*Config_ThinkingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Config_ThinkingConfig) GetIncludeThoughts() bool
- func (x *Config_ThinkingConfig) GetThinkingBudget() int32
- func (*Config_ThinkingConfig) ProtoMessage()
- func (x *Config_ThinkingConfig) ProtoReflect() protoreflect.Message
- func (x *Config_ThinkingConfig) Reset()
- func (x *Config_ThinkingConfig) String() string
- type Content
- type ContentScanner
- type CorrectedNewStringEscaping
- func (*CorrectedNewStringEscaping) Descriptor() ([]byte, []int)deprecated
- func (x *CorrectedNewStringEscaping) GetDescription() string
- func (x *CorrectedNewStringEscaping) GetType() string
- func (*CorrectedNewStringEscaping) ProtoMessage()
- func (x *CorrectedNewStringEscaping) ProtoReflect() protoreflect.Message
- func (x *CorrectedNewStringEscaping) Reset()
- func (x *CorrectedNewStringEscaping) String() string
- type CorrectedNewStringEscapingScanner
- type CorrectedTargetSnippet
- func (*CorrectedTargetSnippet) Descriptor() ([]byte, []int)deprecated
- func (x *CorrectedTargetSnippet) GetDescription() string
- func (x *CorrectedTargetSnippet) GetType() string
- func (*CorrectedTargetSnippet) ProtoMessage()
- func (x *CorrectedTargetSnippet) ProtoReflect() protoreflect.Message
- func (x *CorrectedTargetSnippet) Reset()
- func (x *CorrectedTargetSnippet) String() string
- type CorrectedTargetSnippetScanner
- type FunctionCall
- func (*FunctionCall) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionCall) GetArgs() *ArgsInfo
- func (x *FunctionCall) GetName() string
- func (*FunctionCall) ProtoMessage()
- func (x *FunctionCall) ProtoReflect() protoreflect.Message
- func (x *FunctionCall) Reset()
- func (x *FunctionCall) String() string
- type FunctionCallScanner
- type FunctionDeclaration
- func (*FunctionDeclaration) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionDeclaration) GetDescription() string
- func (x *FunctionDeclaration) GetName() string
- func (x *FunctionDeclaration) GetParametersJsonSchema() *Schema
- func (*FunctionDeclaration) ProtoMessage()
- func (x *FunctionDeclaration) ProtoReflect() protoreflect.Message
- func (x *FunctionDeclaration) Reset()
- func (x *FunctionDeclaration) String() string
- type FunctionDeclarationScanner
- type FunctionResponse
- func (*FunctionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionResponse) GetId() string
- func (x *FunctionResponse) GetName() string
- func (x *FunctionResponse) GetResponse() *Response
- func (*FunctionResponse) ProtoMessage()
- func (x *FunctionResponse) ProtoReflect() protoreflect.Message
- func (x *FunctionResponse) Reset()
- func (x *FunctionResponse) String() string
- type FunctionResponseScanner
- type GeminiRequest
- func (*GeminiRequest) Descriptor() ([]byte, []int)deprecated
- func (v *GeminiRequest) FormatJSON() string
- func (v *GeminiRequest) FormatTEXT() string
- func (x *GeminiRequest) GetConfig() *Config
- func (x *GeminiRequest) GetContents() []*Content
- func (x *GeminiRequest) GetModel() string
- func (v *GeminiRequest) Marshal() ([]byte, error)
- func (v *GeminiRequest) MarshalJSON() ([]byte, error)
- func (gr *GeminiRequest) PrintGeminiTable()
- func (*GeminiRequest) ProtoMessage()
- func (x *GeminiRequest) ProtoReflect() protoreflect.Message
- func (x *GeminiRequest) Reset()
- func (x *GeminiRequest) String() string
- func (v *GeminiRequest) Unmarshal(data []byte) error
- func (v *GeminiRequest) UnmarshalJSON(data []byte) error
- func (v *GeminiRequest) UnmarshalTEXT(data []byte) error
- type GeminiRequestScanner
- type GoogleSearch
- type GoogleSearchScanner
- type NextSpeaker
- func (*NextSpeaker) Descriptor() ([]byte, []int)deprecated
- func (x *NextSpeaker) GetDescription() string
- func (x *NextSpeaker) GetEnum() []string
- func (x *NextSpeaker) GetType() string
- func (*NextSpeaker) ProtoMessage()
- func (x *NextSpeaker) ProtoReflect() protoreflect.Message
- func (x *NextSpeaker) Reset()
- func (x *NextSpeaker) String() string
- type NextSpeakerScanner
- type Part
- func (*Part) Descriptor() ([]byte, []int)deprecated
- func (x *Part) GetFunctionCall() *FunctionCall
- func (x *Part) GetFunctionResponse() *FunctionResponse
- func (m *Part) GetPartType() isPart_PartType
- func (x *Part) GetText() string
- func (x *Part) GetThoughtSignature() string
- func (*Part) ProtoMessage()
- func (x *Part) ProtoReflect() protoreflect.Message
- func (x *Part) Reset()
- func (x *Part) String() string
- type PartScanner
- type Part_FunctionCall
- type Part_FunctionResponse
- type Part_Text
- type Properties
- func (*Properties) Descriptor() ([]byte, []int)deprecated
- func (x *Properties) GetConfidence() *Confidence
- func (x *Properties) GetCorrectedNewStringEscaping() *CorrectedNewStringEscaping
- func (x *Properties) GetCorrectedTargetSnippet() *CorrectedTargetSnippet
- func (x *Properties) GetNextSpeaker() *NextSpeaker
- func (x *Properties) GetReasoning() *Reasoning
- func (*Properties) ProtoMessage()
- func (x *Properties) ProtoReflect() protoreflect.Message
- func (x *Properties) Reset()
- func (x *Properties) String() string
- type PropertiesScanner
- type Reasoning
- type ReasoningScanner
- type Response
- type ResponseJsonSchema
- func (*ResponseJsonSchema) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseJsonSchema) GetProperties() *Properties
- func (x *ResponseJsonSchema) GetRequired() []string
- func (x *ResponseJsonSchema) GetType() string
- func (*ResponseJsonSchema) ProtoMessage()
- func (x *ResponseJsonSchema) ProtoReflect() protoreflect.Message
- func (x *ResponseJsonSchema) Reset()
- func (x *ResponseJsonSchema) String() string
- type ResponseJsonSchemaScanner
- type ResponseScanner
- type Row
- type RowScanner
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetDefaultValue() *structpb.Value
- func (x *Schema) GetDescription() string
- func (x *Schema) GetEnum() []string
- func (x *Schema) GetItems() *Schema
- func (x *Schema) GetMinItems() int32
- func (x *Schema) GetMinLength() int32
- func (x *Schema) GetMinimum() int32
- func (x *Schema) GetProperties() map[string]*Schema
- func (x *Schema) GetRequired() []string
- func (x *Schema) GetType() string
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (x *Schema) String() string
- type SchemaScanner
- type SessionStats
- type SessionStatsScanner
- type Table
- type TableScanner
- type Tool
- type ToolCall
- func (*ToolCall) Descriptor() ([]byte, []int)deprecated
- func (x *ToolCall) GetDescription() string
- func (x *ToolCall) GetExitCode() int32
- func (x *ToolCall) GetInput() string
- func (x *ToolCall) GetName() string
- func (x *ToolCall) GetOutputStderr() string
- func (x *ToolCall) GetOutputStdout() string
- func (*ToolCall) ProtoMessage()
- func (x *ToolCall) ProtoReflect() protoreflect.Message
- func (x *ToolCall) Reset()
- func (x *ToolCall) String() string
- type ToolCallScanner
- type ToolScanner
- type Who
Constants ¶
This section is empty.
Variables ¶
var ( Who_name = map[int32]string{ 0: "NOONE", 1: "REGEX", 2: "USER", } Who_value = map[string]int32{ "NOONE": 0, "REGEX": 1, "USER": 2, } )
Enum value maps for Who.
var File_book_proto protoreflect.FileDescriptor
var File_chat_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AbortSignal ¶ added in v0.0.4
type AbortSignal struct {
// contains filtered or unexported fields
}
Abort signal for the request
func (*AbortSignal) Descriptor
deprecated
added in
v0.0.4
func (*AbortSignal) Descriptor() ([]byte, []int)
Deprecated: Use AbortSignal.ProtoReflect.Descriptor instead.
func (*AbortSignal) ProtoMessage ¶ added in v0.0.4
func (*AbortSignal) ProtoMessage()
func (*AbortSignal) ProtoReflect ¶ added in v0.0.4
func (x *AbortSignal) ProtoReflect() protoreflect.Message
func (*AbortSignal) Reset ¶ added in v0.0.4
func (x *AbortSignal) Reset()
func (*AbortSignal) String ¶ added in v0.0.4
func (x *AbortSignal) String() string
type AbortSignalScanner ¶ added in v0.0.4
func (*AbortSignalScanner) Next ¶ added in v0.0.4
func (it *AbortSignalScanner) Next() *AbortSignal
Next() returns the next thing in the array
func (*AbortSignalScanner) Scan ¶ added in v0.0.4
func (it *AbortSignalScanner) Scan() bool
type ArgsInfo ¶ added in v0.0.4
type ArgsInfo struct {
AbsolutePath string `protobuf:"bytes,1,opt,name=absolute_path,json=absolutePath,proto3" json:"absolute_path,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
NewString string `protobuf:"bytes,4,opt,name=new_string,json=newString,proto3" json:"new_string,omitempty"`
OldString string `protobuf:"bytes,5,opt,name=old_string,json=oldString,proto3" json:"old_string,omitempty"`
ExpectedReplacements int32 `protobuf:"varint,6,opt,name=expected_replacements,json=expectedReplacements,proto3" json:"expected_replacements,omitempty"`
FilePath string `protobuf:"bytes,7,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
Directory string `protobuf:"bytes,8,opt,name=directory,proto3" json:"directory,omitempty"`
Path string `protobuf:"bytes,9,opt,name=path,proto3" json:"path,omitempty"`
ThinkingConfig string `protobuf:"bytes,10,opt,name=thinkingConfig,proto3" json:"thinkingConfig,omitempty"`
Pattern string `protobuf:"bytes,11,opt,name=pattern,proto3" json:"pattern,omitempty"`
Content string `protobuf:"bytes,12,opt,name=content,proto3" json:"content,omitempty"`
Fact string `protobuf:"bytes,13,opt,name=fact,proto3" json:"fact,omitempty"`
Paths []string `protobuf:"bytes,14,rep,name=paths,proto3" json:"paths,omitempty"`
Query string `protobuf:"bytes,15,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
func (*ArgsInfo) Descriptor
deprecated
added in
v0.0.4
func (*ArgsInfo) GetAbsolutePath ¶ added in v0.0.4
func (*ArgsInfo) GetCommand ¶ added in v0.0.4
func (*ArgsInfo) GetContent ¶ added in v0.0.4
func (*ArgsInfo) GetDescription ¶ added in v0.0.4
func (*ArgsInfo) GetDirectory ¶ added in v0.0.4
func (*ArgsInfo) GetExpectedReplacements ¶ added in v0.0.4
func (*ArgsInfo) GetFilePath ¶ added in v0.0.4
func (*ArgsInfo) GetNewString ¶ added in v0.0.4
func (*ArgsInfo) GetOldString ¶ added in v0.0.4
func (*ArgsInfo) GetPattern ¶ added in v0.0.4
func (*ArgsInfo) GetThinkingConfig ¶ added in v0.0.4
func (*ArgsInfo) ProtoMessage ¶ added in v0.0.4
func (*ArgsInfo) ProtoMessage()
func (*ArgsInfo) ProtoReflect ¶ added in v0.0.4
func (x *ArgsInfo) ProtoReflect() protoreflect.Message
type ArgsInfoScanner ¶ added in v0.0.4
func (*ArgsInfoScanner) Next ¶ added in v0.0.4
func (it *ArgsInfoScanner) Next() *ArgsInfo
Next() returns the next thing in the array
func (*ArgsInfoScanner) Scan ¶ added in v0.0.4
func (it *ArgsInfoScanner) Scan() bool
type Book ¶ added in v0.0.5
type Book struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:unique` `autogenpb:sort`
Ctime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"`
Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"`
Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
From Who `protobuf:"varint,5,opt,name=from,proto3,enum=chatpb.Who" json:"from,omitempty"`
Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
Table *Table `protobuf:"bytes,7,opt,name=table,proto3" json:"table,omitempty"`
GeminiRequest *GeminiRequest `protobuf:"bytes,8,opt,name=GeminiRequest,proto3" json:"GeminiRequest,omitempty"`
// contains filtered or unexported fields
}
func (*Book) Descriptor
deprecated
added in
v0.0.5
func (*Book) GetContent ¶ added in v0.0.5
func (*Book) GetCtime ¶ added in v0.0.5
func (x *Book) GetCtime() *timestamppb.Timestamp
func (*Book) GetGeminiRequest ¶ added in v0.0.5
func (x *Book) GetGeminiRequest() *GeminiRequest
func (*Book) GetVersion ¶ added in v0.0.5
func (*Book) ProtoMessage ¶ added in v0.0.5
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶ added in v0.0.5
func (x *Book) ProtoReflect() protoreflect.Message
type BookFunc ¶ added in v0.0.18
type BookScanner ¶ added in v0.0.5
func (*BookScanner) Next ¶ added in v0.0.5
func (it *BookScanner) Next() *Book
Next() returns the next thing in the array
func (*BookScanner) Scan ¶ added in v0.0.5
func (it *BookScanner) Scan() bool
type Books ¶ added in v0.0.5
type Books struct {
sync.RWMutex // auto-added by go.wit.com/apps/autogenpb
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:uuid:8b6409ad-4498-43a6-b09a-7835c00dcb9a`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v0.0.1`
Books []*Book `protobuf:"bytes,3,rep,name=Books,proto3" json:"Books,omitempty"` // THIS MUST BE Chat and then Chats
Ctime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ctime,proto3" json:"ctime,omitempty"`
Title string `protobuf:"bytes,5,opt,name=Title,proto3" json:"Title,omitempty"`
TitleUuid string `protobuf:"bytes,6,opt,name=TitleUuid,proto3" json:"TitleUuid,omitempty"`
// contains filtered or unexported fields
}
func (*Books) All ¶ added in v0.0.5
func (x *Books) All() *BookScanner
func (*Books) Append ¶ added in v0.0.5
a Append() shortcut (that does Clone() with a mutex) notsure if it really works doesn't allow nil
func (*Books) AppendByUuid ¶ added in v0.0.5
func (*Books) Clone ¶ added in v0.0.22
a Clone() shortcut (with a mutex). notsure if it really works
func (*Books) CloneByUuid ¶ added in v0.0.22
func (*Books) ConfigSave ¶ added in v0.0.5
write to ~/.config/regex/ unless ENV{REGEX_HOME} is set
func (*Books) DeleteByUuid ¶ added in v0.0.5
func (*Books) Descriptor
deprecated
added in
v0.0.5
func (*Books) FindByUuid ¶ added in v0.0.5
lookup a Books by the Uuid
func (*Books) FormatTEXT ¶ added in v0.0.5
apparently this isn't stable, but it's awesomely better https://protobuf.dev/reference/go/faq/#unstable-text it's brilliant for config files!
func (*Books) GetCtime ¶ added in v0.0.5
func (x *Books) GetCtime() *timestamppb.Timestamp
func (*Books) GetTitleUuid ¶ added in v0.0.5
func (*Books) GetVersion ¶ added in v0.0.5
func (*Books) InsertByUuid ¶ added in v0.0.5
returns a Book if Uuid matches, otherwise create
func (*Books) IterAll ¶ added in v0.0.5
Iterate 'for x := range' syntax using the awesome golang 1.24 'iter'
func (*Books) IterByUuid ¶ added in v0.0.5
'for x := range' syntax using the awesome golang 1.24 'iter'
func (*Books) MarshalJSON ¶ added in v0.0.5
marshal json
func (*Books) NewTable ¶ added in v0.0.5
func (x *Books) NewTable(title string) *BooksTable
func (*Books) ProtoMessage ¶ added in v0.0.5
func (*Books) ProtoMessage()
func (*Books) ProtoReflect ¶ added in v0.0.5
func (x *Books) ProtoReflect() protoreflect.Message
func (*Books) SortByUuid ¶ added in v0.0.5
func (x *Books) SortByUuid() *BookScanner
func (*Books) UnmarshalJSON ¶ added in v0.0.5
unmarshal json
func (*Books) UnmarshalTEXT ¶ added in v0.0.5
unmarshalTEXT. This reads the .text config file back in after the user edits it
type BooksScanner ¶ added in v0.0.5
func (*BooksScanner) Next ¶ added in v0.0.5
func (it *BooksScanner) Next() *Books
Next() returns the next thing in the array
func (*BooksScanner) Scan ¶ added in v0.0.5
func (it *BooksScanner) Scan() bool
type BooksTable ¶ added in v0.0.5
type BooksTable struct {
Funcs []*BookFunc
CustomFunc func(*Book)
// contains filtered or unexported fields
}
func (*BooksTable) AddButtonFunc ¶ added in v0.0.5
func (t *BooksTable) AddButtonFunc(title string, f func(*Book) string) *BookFunc
force the application to choose the type of data. this allows the GUI plugin to be smarter
func (*BooksTable) AddContent ¶ added in v0.0.5
func (t *BooksTable) AddContent() *BookFunc
func (*BooksTable) AddIntFunc ¶ added in v0.0.5
func (t *BooksTable) AddIntFunc(title string, f func(*Book) int) *BookFunc
force the application to choose the type of data. this allows the GUI plugin to be smarter
func (*BooksTable) AddStringFunc ¶ added in v0.0.5
func (t *BooksTable) AddStringFunc(title string, f func(*Book) string) *BookFunc
force the application to choose the type of data. this allows the GUI plugin to be smarter
func (*BooksTable) AddTimeFunc ¶ added in v0.0.5
force the application to choose the type of data. this allows the GUI plugin to be smarter
func (*BooksTable) AddTitle ¶ added in v0.0.5
func (t *BooksTable) AddTitle() *BookFunc
func (*BooksTable) AddUuid ¶ added in v0.0.5
func (t *BooksTable) AddUuid() *BookFunc
func (*BooksTable) Custom ¶ added in v0.0.5
func (mt *BooksTable) Custom(f func(*Book))
func (*BooksTable) Delete ¶ added in v0.0.5
func (mt *BooksTable) Delete()
func (*BooksTable) GetUuid ¶ added in v0.0.5
func (mt *BooksTable) GetUuid() string
func (*BooksTable) MakeTable ¶ added in v0.0.5
func (mt *BooksTable) MakeTable()
func (*BooksTable) NewUuid ¶ added in v0.0.5
func (mt *BooksTable) NewUuid()
func (*BooksTable) PrintTable ¶ added in v0.0.15
func (t *BooksTable) PrintTable()
formats & prints the table as text to Stdout. a real timesaver!
func (*BooksTable) SetParent ¶ added in v0.0.5
func (mt *BooksTable) SetParent(p *gui.Node)
func (*BooksTable) ShowTable ¶ added in v0.0.5
func (mt *BooksTable) ShowTable()
type Chat ¶
type Chat struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:unique` `autogenpb:sort`
Ctime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"`
ChatName string `protobuf:"bytes,3,opt,name=ChatName,proto3" json:"ChatName,omitempty"`
Entries []*ChatEntry `protobuf:"bytes,4,rep,name=Entries,proto3" json:"Entries,omitempty"`
Session []*SessionStats `protobuf:"bytes,5,rep,name=Session,proto3" json:"Session,omitempty"`
// contains filtered or unexported fields
}
func (*Chat) AddGeminiRequest ¶ added in v0.0.5
returns true if the pb was added to indicate that ConfigSave() should be run to write it out to disk
func (*Chat) AppendEntry ¶ added in v0.0.4
a Append() shortcut (that does Clone() with a mutex) notsure if it really works
func (*Chat) Descriptor
deprecated
func (*Chat) GetChatName ¶
func (*Chat) GetCtime ¶
func (x *Chat) GetCtime() *timestamppb.Timestamp
func (*Chat) GetEntries ¶
func (*Chat) GetSession ¶
func (x *Chat) GetSession() []*SessionStats
func (*Chat) PrintChatEntriesTable ¶ added in v0.0.5
func (c *Chat) PrintChatEntriesTable()
func (*Chat) PrintChatGeminiTable ¶ added in v0.0.5
func (c *Chat) PrintChatGeminiTable()
func (*Chat) PrintChatStatsTable ¶ added in v0.0.5
func (c *Chat) PrintChatStatsTable()
func (*Chat) ProtoMessage ¶
func (*Chat) ProtoMessage()
func (*Chat) ProtoReflect ¶
func (x *Chat) ProtoReflect() protoreflect.Message
func (*Chat) VerifyUuid ¶
type ChatEntry ¶
type ChatEntry struct {
From Who `protobuf:"varint,1,opt,name=from,proto3,enum=chatpb.Who" json:"from,omitempty"`
Ctime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"`
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
Table *Table `protobuf:"bytes,4,opt,name=table,proto3" json:"table,omitempty"`
ToolCalls []*ToolCall `protobuf:"bytes,5,rep,name=ToolCalls,proto3" json:"ToolCalls,omitempty"`
ContentFile string `protobuf:"bytes,6,opt,name=ContentFile,proto3" json:"ContentFile,omitempty"`
Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"`
Snippets []*CodeSnippet `protobuf:"bytes,8,rep,name=Snippets,proto3" json:"Snippets,omitempty"`
Parts []*Part `protobuf:"bytes,9,rep,name=parts,proto3" json:"parts,omitempty"`
GeminiRequest *GeminiRequest `protobuf:"bytes,10,opt,name=GeminiRequest,proto3" json:"GeminiRequest,omitempty"`
RequestCounter int32 `protobuf:"varint,11,opt,name=RequestCounter,proto3" json:"RequestCounter,omitempty"`
Paths []string `protobuf:"bytes,12,rep,name=paths,proto3" json:"paths,omitempty"`
// contains filtered or unexported fields
}
func (*ChatEntry) Descriptor
deprecated
func (*ChatEntry) FormatJSON ¶ added in v0.0.5
human readable JSON
func (*ChatEntry) FormatTEXT ¶ added in v0.0.5
apparently this isn't stable, but it's awesomely better https://protobuf.dev/reference/go/faq/#unstable-text it's brilliant for config files!
func (*ChatEntry) GetContent ¶
func (*ChatEntry) GetContentFile ¶
func (*ChatEntry) GetCtime ¶
func (x *ChatEntry) GetCtime() *timestamppb.Timestamp
func (*ChatEntry) GetGeminiRequest ¶ added in v0.0.4
func (x *ChatEntry) GetGeminiRequest() *GeminiRequest
func (*ChatEntry) GetRequestCounter ¶ added in v0.0.4
func (*ChatEntry) GetSnippets ¶
func (x *ChatEntry) GetSnippets() []*CodeSnippet
func (*ChatEntry) GetToolCalls ¶
func (*ChatEntry) MarshalJSON ¶ added in v0.0.5
marshal json
func (*ChatEntry) ProtoMessage ¶
func (*ChatEntry) ProtoMessage()
func (*ChatEntry) ProtoReflect ¶
func (x *ChatEntry) ProtoReflect() protoreflect.Message
func (*ChatEntry) UnmarshalJSON ¶ added in v0.0.5
unmarshal json
func (*ChatEntry) UnmarshalTEXT ¶ added in v0.0.5
unmarshalTEXT. This reads the .text config file back in after the user edits it
func (*ChatEntry) VerifyGeminiRequest ¶ added in v0.0.5
func (c *ChatEntry) VerifyGeminiRequest(pb *GeminiRequest) (int, int, bool)
returns true if the pb is probably the same
type ChatEntryScanner ¶
func (*ChatEntryScanner) Next ¶
func (it *ChatEntryScanner) Next() *ChatEntry
Next() returns the next thing in the array
func (*ChatEntryScanner) Scan ¶
func (it *ChatEntryScanner) Scan() bool
type ChatFunc ¶ added in v0.0.18
type ChatScanner ¶
func (*ChatScanner) Next ¶
func (it *ChatScanner) Next() *Chat
Next() returns the next thing in the array
func (*ChatScanner) Scan ¶
func (it *ChatScanner) Scan() bool
type Chats ¶
type Chats struct {
sync.RWMutex // auto-added by go.wit.com/apps/autogenpb
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:uuid:9fd31f10-c25d-4d66-bc8d-5f6eb7c79057` `autogenpb:primary`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v0.0.1`
Chats []*Chat `protobuf:"bytes,3,rep,name=Chats,proto3" json:"Chats,omitempty"` // THIS MUST BE Chat and then Chats
Filename string `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"` // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
// contains filtered or unexported fields
}
func ExampleChat ¶
func ExampleChat() *Chats
func UnmarshalChats ¶
func UnmarshalChatsTEXT ¶
func (*Chats) AddRegexComment ¶
func (*Chats) AddUserComment ¶
func (*Chats) All ¶
func (x *Chats) All() *ChatScanner
func (*Chats) Append ¶
a Append() shortcut (that does Clone() with a mutex) notsure if it really works doesn't allow nil
func (*Chats) AppendByUuid ¶
func (*Chats) Clone ¶ added in v0.0.22
a Clone() shortcut (with a mutex). notsure if it really works
func (*Chats) CloneByUuid ¶ added in v0.0.22
func (*Chats) ConfigLoad ¶
load the regex.pb file. I shouldn't really matter if this fails. the file should be autogenerated. This is used locally just for speed
func (*Chats) ConfigSave ¶
write to ~/.config/regex/ unless ENV{REGEX_HOME} is set
func (*Chats) DeleteByUuid ¶
func (*Chats) Descriptor
deprecated
func (*Chats) FormatTEXT ¶
apparently this isn't stable, but it's awesomely better https://protobuf.dev/reference/go/faq/#unstable-text it's brilliant for config files!
func (*Chats) GetFilename ¶ added in v0.0.18
func (*Chats) GetVersion ¶
func (*Chats) InsertByUuid ¶
returns a Chat if Uuid matches, otherwise create
func (*Chats) IterByUuid ¶
'for x := range' syntax using the awesome golang 1.24 'iter'
func (*Chats) NewTable ¶ added in v0.0.5
func (x *Chats) NewTable(title string) *ChatsTable
func (*Chats) PrintHumanTable ¶ added in v0.0.5
func (all *Chats) PrintHumanTable()
func (*Chats) ProtoMessage ¶
func (*Chats) ProtoMessage()
func (*Chats) ProtoReflect ¶
func (x *Chats) ProtoReflect() protoreflect.Message
func (*Chats) SortByUuid ¶
func (x *Chats) SortByUuid() *ChatScanner
func (*Chats) UnmarshalTEXT ¶
unmarshalTEXT. This reads the .text config file back in after the user edits it
func (*Chats) VerifyUuids ¶
type ChatsScanner ¶
func (*ChatsScanner) Next ¶
func (it *ChatsScanner) Next() *Chats
Next() returns the next thing in the array
func (*ChatsScanner) Scan ¶
func (it *ChatsScanner) Scan() bool
type ChatsTable ¶ added in v0.0.5
type ChatsTable struct {
Funcs []*ChatFunc
CustomFunc func(*Chat)
// contains filtered or unexported fields
}
func (*ChatsTable) AddButtonFunc ¶ added in v0.0.5
func (t *ChatsTable) AddButtonFunc(title string, f func(*Chat) string) *ChatFunc
force the application to choose the type of data. this allows the GUI plugin to be smarter
func (*ChatsTable) AddChatName ¶ added in v0.0.5
func (t *ChatsTable) AddChatName() *ChatFunc
func (*ChatsTable) AddIntFunc ¶ added in v0.0.5
func (t *ChatsTable) AddIntFunc(title string, f func(*Chat) int) *ChatFunc
force the application to choose the type of data. this allows the GUI plugin to be smarter
func (*ChatsTable) AddStringFunc ¶ added in v0.0.5
func (t *ChatsTable) AddStringFunc(title string, f func(*Chat) string) *ChatFunc
force the application to choose the type of data. this allows the GUI plugin to be smarter
func (*ChatsTable) AddTimeFunc ¶ added in v0.0.5
force the application to choose the type of data. this allows the GUI plugin to be smarter
func (*ChatsTable) AddUuid ¶ added in v0.0.5
func (t *ChatsTable) AddUuid() *ChatFunc
func (*ChatsTable) Custom ¶ added in v0.0.5
func (mt *ChatsTable) Custom(f func(*Chat))
func (*ChatsTable) Delete ¶ added in v0.0.5
func (mt *ChatsTable) Delete()
func (*ChatsTable) GetUuid ¶ added in v0.0.5
func (mt *ChatsTable) GetUuid() string
func (*ChatsTable) MakeTable ¶ added in v0.0.5
func (mt *ChatsTable) MakeTable()
func (*ChatsTable) NewUuid ¶ added in v0.0.5
func (mt *ChatsTable) NewUuid()
func (*ChatsTable) PrintTable ¶ added in v0.0.15
func (t *ChatsTable) PrintTable()
formats & prints the table as text to Stdout. a real timesaver!
func (*ChatsTable) SetParent ¶ added in v0.0.5
func (mt *ChatsTable) SetParent(p *gui.Node)
func (*ChatsTable) ShowTable ¶ added in v0.0.5
func (mt *ChatsTable) ShowTable()
type CodeSnippet ¶
type CodeSnippet struct {
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*CodeSnippet) Descriptor
deprecated
func (*CodeSnippet) Descriptor() ([]byte, []int)
Deprecated: Use CodeSnippet.ProtoReflect.Descriptor instead.
func (*CodeSnippet) GetContent ¶
func (x *CodeSnippet) GetContent() string
func (*CodeSnippet) GetFilename ¶
func (x *CodeSnippet) GetFilename() string
func (*CodeSnippet) ProtoMessage ¶
func (*CodeSnippet) ProtoMessage()
func (*CodeSnippet) ProtoReflect ¶
func (x *CodeSnippet) ProtoReflect() protoreflect.Message
func (*CodeSnippet) Reset ¶
func (x *CodeSnippet) Reset()
func (*CodeSnippet) String ¶
func (x *CodeSnippet) String() string
type CodeSnippetScanner ¶
func (*CodeSnippetScanner) Next ¶
func (it *CodeSnippetScanner) Next() *CodeSnippet
Next() returns the next thing in the array
func (*CodeSnippetScanner) Scan ¶
func (it *CodeSnippetScanner) Scan() bool
type Confidence ¶ added in v0.0.5
type Confidence struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*Confidence) Descriptor
deprecated
added in
v0.0.5
func (*Confidence) Descriptor() ([]byte, []int)
Deprecated: Use Confidence.ProtoReflect.Descriptor instead.
func (*Confidence) GetDescription ¶ added in v0.0.5
func (x *Confidence) GetDescription() string
func (*Confidence) GetType ¶ added in v0.0.5
func (x *Confidence) GetType() string
func (*Confidence) ProtoMessage ¶ added in v0.0.5
func (*Confidence) ProtoMessage()
func (*Confidence) ProtoReflect ¶ added in v0.0.5
func (x *Confidence) ProtoReflect() protoreflect.Message
func (*Confidence) Reset ¶ added in v0.0.5
func (x *Confidence) Reset()
func (*Confidence) String ¶ added in v0.0.5
func (x *Confidence) String() string
type ConfidenceScanner ¶ added in v0.0.5
func (*ConfidenceScanner) Next ¶ added in v0.0.5
func (it *ConfidenceScanner) Next() *Confidence
Next() returns the next thing in the array
func (*ConfidenceScanner) Scan ¶ added in v0.0.5
func (it *ConfidenceScanner) Scan() bool
type Config ¶ added in v0.0.4
type Config struct {
Temperature float64 `protobuf:"fixed64,2,opt,name=temperature,proto3" json:"temperature,omitempty"`
TopP float64 `protobuf:"fixed64,3,opt,name=topP,proto3" json:"topP,omitempty"`
SystemInstruction string `protobuf:"bytes,4,opt,name=systemInstruction,proto3" json:"systemInstruction,omitempty"`
ResponseJsonSchema *ResponseJsonSchema `protobuf:"bytes,5,opt,name=responseJsonSchema,proto3" json:"responseJsonSchema,omitempty"`
ResponseMimeType string `protobuf:"bytes,6,opt,name=responseMimeType,proto3" json:"responseMimeType,omitempty"`
AbortSignal *AbortSignal `protobuf:"bytes,7,opt,name=abort_signal,json=abortSignal,proto3" json:"abort_signal,omitempty"`
ThinkingConfig *Config_ThinkingConfig `protobuf:"bytes,8,opt,name=thinkingConfig,proto3" json:"thinkingConfig,omitempty"`
Tools []*Tool `protobuf:"bytes,9,rep,name=tools,proto3" json:"tools,omitempty"`
// contains filtered or unexported fields
}
Configuration for the request
func (*Config) Descriptor
deprecated
added in
v0.0.4
func (*Config) GetAbortSignal ¶ added in v0.0.4
func (x *Config) GetAbortSignal() *AbortSignal
func (*Config) GetResponseJsonSchema ¶ added in v0.0.4
func (x *Config) GetResponseJsonSchema() *ResponseJsonSchema
func (*Config) GetResponseMimeType ¶ added in v0.0.4
func (*Config) GetSystemInstruction ¶ added in v0.0.4
func (*Config) GetTemperature ¶ added in v0.0.4
func (*Config) GetThinkingConfig ¶ added in v0.0.4
func (x *Config) GetThinkingConfig() *Config_ThinkingConfig
func (*Config) ProtoMessage ¶ added in v0.0.4
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v0.0.4
func (x *Config) ProtoReflect() protoreflect.Message
type ConfigScanner ¶ added in v0.0.4
func (*ConfigScanner) Next ¶ added in v0.0.4
func (it *ConfigScanner) Next() *Config
Next() returns the next thing in the array
func (*ConfigScanner) Scan ¶ added in v0.0.4
func (it *ConfigScanner) Scan() bool
type Config_ThinkingConfig ¶ added in v0.0.4
type Config_ThinkingConfig struct {
IncludeThoughts bool `protobuf:"varint,1,opt,name=includeThoughts,proto3" json:"includeThoughts,omitempty"`
ThinkingBudget int32 `protobuf:"varint,2,opt,name=thinkingBudget,proto3" json:"thinkingBudget,omitempty"`
// contains filtered or unexported fields
}
func (*Config_ThinkingConfig) Descriptor
deprecated
added in
v0.0.4
func (*Config_ThinkingConfig) Descriptor() ([]byte, []int)
Deprecated: Use Config_ThinkingConfig.ProtoReflect.Descriptor instead.
func (*Config_ThinkingConfig) GetIncludeThoughts ¶ added in v0.0.4
func (x *Config_ThinkingConfig) GetIncludeThoughts() bool
func (*Config_ThinkingConfig) GetThinkingBudget ¶ added in v0.0.5
func (x *Config_ThinkingConfig) GetThinkingBudget() int32
func (*Config_ThinkingConfig) ProtoMessage ¶ added in v0.0.4
func (*Config_ThinkingConfig) ProtoMessage()
func (*Config_ThinkingConfig) ProtoReflect ¶ added in v0.0.4
func (x *Config_ThinkingConfig) ProtoReflect() protoreflect.Message
func (*Config_ThinkingConfig) Reset ¶ added in v0.0.4
func (x *Config_ThinkingConfig) Reset()
func (*Config_ThinkingConfig) String ¶ added in v0.0.4
func (x *Config_ThinkingConfig) String() string
type Content ¶ added in v0.0.4
type Content struct {
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
Parts []*Part `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts,omitempty"`
// contains filtered or unexported fields
}
Content of the chat
func (*Content) Descriptor
deprecated
added in
v0.0.4
func (*Content) ProtoMessage ¶ added in v0.0.4
func (*Content) ProtoMessage()
func (*Content) ProtoReflect ¶ added in v0.0.4
func (x *Content) ProtoReflect() protoreflect.Message
type ContentScanner ¶ added in v0.0.4
func (*ContentScanner) Next ¶ added in v0.0.4
func (it *ContentScanner) Next() *Content
Next() returns the next thing in the array
func (*ContentScanner) Scan ¶ added in v0.0.4
func (it *ContentScanner) Scan() bool
type CorrectedNewStringEscaping ¶ added in v0.0.5
type CorrectedNewStringEscaping struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
Reasoning property
func (*CorrectedNewStringEscaping) Descriptor
deprecated
added in
v0.0.5
func (*CorrectedNewStringEscaping) Descriptor() ([]byte, []int)
Deprecated: Use CorrectedNewStringEscaping.ProtoReflect.Descriptor instead.
func (*CorrectedNewStringEscaping) GetDescription ¶ added in v0.0.5
func (x *CorrectedNewStringEscaping) GetDescription() string
func (*CorrectedNewStringEscaping) GetType ¶ added in v0.0.5
func (x *CorrectedNewStringEscaping) GetType() string
func (*CorrectedNewStringEscaping) ProtoMessage ¶ added in v0.0.5
func (*CorrectedNewStringEscaping) ProtoMessage()
func (*CorrectedNewStringEscaping) ProtoReflect ¶ added in v0.0.5
func (x *CorrectedNewStringEscaping) ProtoReflect() protoreflect.Message
func (*CorrectedNewStringEscaping) Reset ¶ added in v0.0.5
func (x *CorrectedNewStringEscaping) Reset()
func (*CorrectedNewStringEscaping) String ¶ added in v0.0.5
func (x *CorrectedNewStringEscaping) String() string
type CorrectedNewStringEscapingScanner ¶ added in v0.0.5
type CorrectedNewStringEscapingScanner struct {
sync.Mutex
// contains filtered or unexported fields
}
func (*CorrectedNewStringEscapingScanner) Next ¶ added in v0.0.5
func (it *CorrectedNewStringEscapingScanner) Next() *CorrectedNewStringEscaping
Next() returns the next thing in the array
func (*CorrectedNewStringEscapingScanner) Scan ¶ added in v0.0.5
func (it *CorrectedNewStringEscapingScanner) Scan() bool
type CorrectedTargetSnippet ¶ added in v0.0.5
type CorrectedTargetSnippet struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*CorrectedTargetSnippet) Descriptor
deprecated
added in
v0.0.5
func (*CorrectedTargetSnippet) Descriptor() ([]byte, []int)
Deprecated: Use CorrectedTargetSnippet.ProtoReflect.Descriptor instead.
func (*CorrectedTargetSnippet) GetDescription ¶ added in v0.0.5
func (x *CorrectedTargetSnippet) GetDescription() string
func (*CorrectedTargetSnippet) GetType ¶ added in v0.0.5
func (x *CorrectedTargetSnippet) GetType() string
func (*CorrectedTargetSnippet) ProtoMessage ¶ added in v0.0.5
func (*CorrectedTargetSnippet) ProtoMessage()
func (*CorrectedTargetSnippet) ProtoReflect ¶ added in v0.0.5
func (x *CorrectedTargetSnippet) ProtoReflect() protoreflect.Message
func (*CorrectedTargetSnippet) Reset ¶ added in v0.0.5
func (x *CorrectedTargetSnippet) Reset()
func (*CorrectedTargetSnippet) String ¶ added in v0.0.5
func (x *CorrectedTargetSnippet) String() string
type CorrectedTargetSnippetScanner ¶ added in v0.0.5
func (*CorrectedTargetSnippetScanner) Next ¶ added in v0.0.5
func (it *CorrectedTargetSnippetScanner) Next() *CorrectedTargetSnippet
Next() returns the next thing in the array
func (*CorrectedTargetSnippetScanner) Scan ¶ added in v0.0.5
func (it *CorrectedTargetSnippetScanner) Scan() bool
type FunctionCall ¶ added in v0.0.4
type FunctionCall struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Args *ArgsInfo `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"`
// contains filtered or unexported fields
}
Function call
func (*FunctionCall) Descriptor
deprecated
added in
v0.0.4
func (*FunctionCall) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCall.ProtoReflect.Descriptor instead.
func (*FunctionCall) GetArgs ¶ added in v0.0.4
func (x *FunctionCall) GetArgs() *ArgsInfo
func (*FunctionCall) GetName ¶ added in v0.0.4
func (x *FunctionCall) GetName() string
func (*FunctionCall) ProtoMessage ¶ added in v0.0.4
func (*FunctionCall) ProtoMessage()
func (*FunctionCall) ProtoReflect ¶ added in v0.0.4
func (x *FunctionCall) ProtoReflect() protoreflect.Message
func (*FunctionCall) Reset ¶ added in v0.0.4
func (x *FunctionCall) Reset()
func (*FunctionCall) String ¶ added in v0.0.4
func (x *FunctionCall) String() string
type FunctionCallScanner ¶ added in v0.0.4
func (*FunctionCallScanner) Next ¶ added in v0.0.4
func (it *FunctionCallScanner) Next() *FunctionCall
Next() returns the next thing in the array
func (*FunctionCallScanner) Scan ¶ added in v0.0.4
func (it *FunctionCallScanner) Scan() bool
type FunctionDeclaration ¶ added in v0.0.4
type FunctionDeclaration 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"`
ParametersJsonSchema *Schema `protobuf:"bytes,3,opt,name=parameters_json_schema,json=parametersJsonSchema,proto3" json:"parameters_json_schema,omitempty"`
// contains filtered or unexported fields
}
func (*FunctionDeclaration) Descriptor
deprecated
added in
v0.0.4
func (*FunctionDeclaration) Descriptor() ([]byte, []int)
Deprecated: Use FunctionDeclaration.ProtoReflect.Descriptor instead.
func (*FunctionDeclaration) GetDescription ¶ added in v0.0.4
func (x *FunctionDeclaration) GetDescription() string
func (*FunctionDeclaration) GetName ¶ added in v0.0.4
func (x *FunctionDeclaration) GetName() string
func (*FunctionDeclaration) GetParametersJsonSchema ¶ added in v0.0.4
func (x *FunctionDeclaration) GetParametersJsonSchema() *Schema
func (*FunctionDeclaration) ProtoMessage ¶ added in v0.0.4
func (*FunctionDeclaration) ProtoMessage()
func (*FunctionDeclaration) ProtoReflect ¶ added in v0.0.4
func (x *FunctionDeclaration) ProtoReflect() protoreflect.Message
func (*FunctionDeclaration) Reset ¶ added in v0.0.4
func (x *FunctionDeclaration) Reset()
func (*FunctionDeclaration) String ¶ added in v0.0.4
func (x *FunctionDeclaration) String() string
type FunctionDeclarationScanner ¶ added in v0.0.4
func (*FunctionDeclarationScanner) Next ¶ added in v0.0.4
func (it *FunctionDeclarationScanner) Next() *FunctionDeclaration
Next() returns the next thing in the array
func (*FunctionDeclarationScanner) Scan ¶ added in v0.0.4
func (it *FunctionDeclarationScanner) Scan() bool
type FunctionResponse ¶ added in v0.0.4
type FunctionResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Response *Response `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
Function response
func (*FunctionResponse) Descriptor
deprecated
added in
v0.0.4
func (*FunctionResponse) Descriptor() ([]byte, []int)
Deprecated: Use FunctionResponse.ProtoReflect.Descriptor instead.
func (*FunctionResponse) GetId ¶ added in v0.0.4
func (x *FunctionResponse) GetId() string
func (*FunctionResponse) GetName ¶ added in v0.0.4
func (x *FunctionResponse) GetName() string
func (*FunctionResponse) GetResponse ¶ added in v0.0.4
func (x *FunctionResponse) GetResponse() *Response
func (*FunctionResponse) ProtoMessage ¶ added in v0.0.4
func (*FunctionResponse) ProtoMessage()
func (*FunctionResponse) ProtoReflect ¶ added in v0.0.4
func (x *FunctionResponse) ProtoReflect() protoreflect.Message
func (*FunctionResponse) Reset ¶ added in v0.0.4
func (x *FunctionResponse) Reset()
func (*FunctionResponse) String ¶ added in v0.0.4
func (x *FunctionResponse) String() string
type FunctionResponseScanner ¶ added in v0.0.4
func (*FunctionResponseScanner) Next ¶ added in v0.0.4
func (it *FunctionResponseScanner) Next() *FunctionResponse
Next() returns the next thing in the array
func (*FunctionResponseScanner) Scan ¶ added in v0.0.4
func (it *FunctionResponseScanner) Scan() bool
type GeminiRequest ¶ added in v0.0.4
type GeminiRequest struct {
sync.RWMutex // auto-added by go.wit.com/apps/autogenpb
Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
Contents []*Content `protobuf:"bytes,3,rep,name=contents,proto3" json:"contents,omitempty"`
// contains filtered or unexported fields
}
func (*GeminiRequest) Descriptor
deprecated
added in
v0.0.4
func (*GeminiRequest) Descriptor() ([]byte, []int)
Deprecated: Use GeminiRequest.ProtoReflect.Descriptor instead.
func (*GeminiRequest) FormatJSON ¶ added in v0.0.4
func (v *GeminiRequest) FormatJSON() string
human readable JSON
func (*GeminiRequest) FormatTEXT ¶ added in v0.0.4
func (v *GeminiRequest) FormatTEXT() string
apparently this isn't stable, but it's awesomely better https://protobuf.dev/reference/go/faq/#unstable-text it's brilliant for config files!
func (*GeminiRequest) GetConfig ¶ added in v0.0.4
func (x *GeminiRequest) GetConfig() *Config
func (*GeminiRequest) GetContents ¶ added in v0.0.4
func (x *GeminiRequest) GetContents() []*Content
func (*GeminiRequest) GetModel ¶ added in v0.0.4
func (x *GeminiRequest) GetModel() string
func (*GeminiRequest) Marshal ¶ added in v0.0.4
func (v *GeminiRequest) Marshal() ([]byte, error)
marshal to wire. This is called winning.
func (*GeminiRequest) MarshalJSON ¶ added in v0.0.4
func (v *GeminiRequest) MarshalJSON() ([]byte, error)
marshal json
func (*GeminiRequest) PrintGeminiTable ¶ added in v0.0.5
func (gr *GeminiRequest) PrintGeminiTable()
func (*GeminiRequest) ProtoMessage ¶ added in v0.0.4
func (*GeminiRequest) ProtoMessage()
func (*GeminiRequest) ProtoReflect ¶ added in v0.0.4
func (x *GeminiRequest) ProtoReflect() protoreflect.Message
func (*GeminiRequest) Reset ¶ added in v0.0.4
func (x *GeminiRequest) Reset()
func (*GeminiRequest) String ¶ added in v0.0.4
func (x *GeminiRequest) String() string
func (*GeminiRequest) Unmarshal ¶ added in v0.0.4
func (v *GeminiRequest) Unmarshal(data []byte) error
unmarshal from wire. You have won.
func (*GeminiRequest) UnmarshalJSON ¶ added in v0.0.4
func (v *GeminiRequest) UnmarshalJSON(data []byte) error
unmarshal json
func (*GeminiRequest) UnmarshalTEXT ¶ added in v0.0.4
func (v *GeminiRequest) UnmarshalTEXT(data []byte) error
unmarshalTEXT. This reads the .text config file back in after the user edits it
type GeminiRequestScanner ¶ added in v0.0.4
func (*GeminiRequestScanner) Next ¶ added in v0.0.4
func (it *GeminiRequestScanner) Next() *GeminiRequest
Next() returns the next thing in the array
func (*GeminiRequestScanner) Scan ¶ added in v0.0.4
func (it *GeminiRequestScanner) Scan() bool
type GoogleSearch ¶ added in v0.0.5
type GoogleSearch struct {
// contains filtered or unexported fields
}
func (*GoogleSearch) Descriptor
deprecated
added in
v0.0.5
func (*GoogleSearch) Descriptor() ([]byte, []int)
Deprecated: Use GoogleSearch.ProtoReflect.Descriptor instead.
func (*GoogleSearch) ProtoMessage ¶ added in v0.0.5
func (*GoogleSearch) ProtoMessage()
func (*GoogleSearch) ProtoReflect ¶ added in v0.0.5
func (x *GoogleSearch) ProtoReflect() protoreflect.Message
func (*GoogleSearch) Reset ¶ added in v0.0.5
func (x *GoogleSearch) Reset()
func (*GoogleSearch) String ¶ added in v0.0.5
func (x *GoogleSearch) String() string
type GoogleSearchScanner ¶ added in v0.0.5
func (*GoogleSearchScanner) Next ¶ added in v0.0.5
func (it *GoogleSearchScanner) Next() *GoogleSearch
Next() returns the next thing in the array
func (*GoogleSearchScanner) Scan ¶ added in v0.0.5
func (it *GoogleSearchScanner) Scan() bool
type NextSpeaker ¶ added in v0.0.4
type NextSpeaker struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Enum []string `protobuf:"bytes,2,rep,name=enum,proto3" json:"enum,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
Next speaker property
func (*NextSpeaker) Descriptor
deprecated
added in
v0.0.4
func (*NextSpeaker) Descriptor() ([]byte, []int)
Deprecated: Use NextSpeaker.ProtoReflect.Descriptor instead.
func (*NextSpeaker) GetDescription ¶ added in v0.0.4
func (x *NextSpeaker) GetDescription() string
func (*NextSpeaker) GetEnum ¶ added in v0.0.4
func (x *NextSpeaker) GetEnum() []string
func (*NextSpeaker) GetType ¶ added in v0.0.4
func (x *NextSpeaker) GetType() string
func (*NextSpeaker) ProtoMessage ¶ added in v0.0.4
func (*NextSpeaker) ProtoMessage()
func (*NextSpeaker) ProtoReflect ¶ added in v0.0.4
func (x *NextSpeaker) ProtoReflect() protoreflect.Message
func (*NextSpeaker) Reset ¶ added in v0.0.4
func (x *NextSpeaker) Reset()
func (*NextSpeaker) String ¶ added in v0.0.4
func (x *NextSpeaker) String() string
type NextSpeakerScanner ¶ added in v0.0.4
func (*NextSpeakerScanner) Next ¶ added in v0.0.4
func (it *NextSpeakerScanner) Next() *NextSpeaker
Next() returns the next thing in the array
func (*NextSpeakerScanner) Scan ¶ added in v0.0.4
func (it *NextSpeakerScanner) Scan() bool
type Part ¶ added in v0.0.4
type Part struct {
// Types that are assignable to PartType:
//
// *Part_Text
// *Part_FunctionCall
// *Part_FunctionResponse
PartType isPart_PartType `protobuf_oneof:"part_type"`
ThoughtSignature string `protobuf:"bytes,4,opt,name=thoughtSignature,proto3" json:"thoughtSignature,omitempty"`
// contains filtered or unexported fields
}
Part of the content
func (*Part) Descriptor
deprecated
added in
v0.0.4
func (*Part) GetFunctionCall ¶ added in v0.0.4
func (x *Part) GetFunctionCall() *FunctionCall
func (*Part) GetFunctionResponse ¶ added in v0.0.4
func (x *Part) GetFunctionResponse() *FunctionResponse
func (*Part) GetPartType ¶ added in v0.0.4
func (m *Part) GetPartType() isPart_PartType
func (*Part) GetThoughtSignature ¶ added in v0.0.4
func (*Part) ProtoMessage ¶ added in v0.0.4
func (*Part) ProtoMessage()
func (*Part) ProtoReflect ¶ added in v0.0.4
func (x *Part) ProtoReflect() protoreflect.Message
type PartScanner ¶ added in v0.0.4
func (*PartScanner) Next ¶ added in v0.0.4
func (it *PartScanner) Next() *Part
Next() returns the next thing in the array
func (*PartScanner) Scan ¶ added in v0.0.4
func (it *PartScanner) Scan() bool
type Part_FunctionCall ¶ added in v0.0.4
type Part_FunctionCall struct {
FunctionCall *FunctionCall `protobuf:"bytes,2,opt,name=functionCall,proto3,oneof"`
}
type Part_FunctionResponse ¶ added in v0.0.4
type Part_FunctionResponse struct {
FunctionResponse *FunctionResponse `protobuf:"bytes,3,opt,name=functionResponse,proto3,oneof"`
}
type Part_Text ¶ added in v0.0.4
type Part_Text struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type Properties ¶ added in v0.0.4
type Properties struct {
Reasoning *Reasoning `protobuf:"bytes,1,opt,name=reasoning,proto3" json:"reasoning,omitempty"`
NextSpeaker *NextSpeaker `protobuf:"bytes,2,opt,name=next_speaker,json=nextSpeaker,proto3" json:"next_speaker,omitempty"`
CorrectedNewStringEscaping *CorrectedNewStringEscaping `` /* 143-byte string literal not displayed */
CorrectedTargetSnippet *CorrectedTargetSnippet `` /* 129-byte string literal not displayed */
Confidence *Confidence `protobuf:"bytes,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
// contains filtered or unexported fields
}
Properties within the JSON schema
func (*Properties) Descriptor
deprecated
added in
v0.0.4
func (*Properties) Descriptor() ([]byte, []int)
Deprecated: Use Properties.ProtoReflect.Descriptor instead.
func (*Properties) GetConfidence ¶ added in v0.0.5
func (x *Properties) GetConfidence() *Confidence
func (*Properties) GetCorrectedNewStringEscaping ¶ added in v0.0.5
func (x *Properties) GetCorrectedNewStringEscaping() *CorrectedNewStringEscaping
func (*Properties) GetCorrectedTargetSnippet ¶ added in v0.0.5
func (x *Properties) GetCorrectedTargetSnippet() *CorrectedTargetSnippet
func (*Properties) GetNextSpeaker ¶ added in v0.0.4
func (x *Properties) GetNextSpeaker() *NextSpeaker
func (*Properties) GetReasoning ¶ added in v0.0.4
func (x *Properties) GetReasoning() *Reasoning
func (*Properties) ProtoMessage ¶ added in v0.0.4
func (*Properties) ProtoMessage()
func (*Properties) ProtoReflect ¶ added in v0.0.4
func (x *Properties) ProtoReflect() protoreflect.Message
func (*Properties) Reset ¶ added in v0.0.4
func (x *Properties) Reset()
func (*Properties) String ¶ added in v0.0.4
func (x *Properties) String() string
type PropertiesScanner ¶ added in v0.0.4
func (*PropertiesScanner) Next ¶ added in v0.0.4
func (it *PropertiesScanner) Next() *Properties
Next() returns the next thing in the array
func (*PropertiesScanner) Scan ¶ added in v0.0.4
func (it *PropertiesScanner) Scan() bool
type Reasoning ¶ added in v0.0.4
type Reasoning struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*Reasoning) Descriptor
deprecated
added in
v0.0.4
func (*Reasoning) GetDescription ¶ added in v0.0.4
func (*Reasoning) ProtoMessage ¶ added in v0.0.4
func (*Reasoning) ProtoMessage()
func (*Reasoning) ProtoReflect ¶ added in v0.0.4
func (x *Reasoning) ProtoReflect() protoreflect.Message
type ReasoningScanner ¶ added in v0.0.4
func (*ReasoningScanner) Next ¶ added in v0.0.4
func (it *ReasoningScanner) Next() *Reasoning
Next() returns the next thing in the array
func (*ReasoningScanner) Scan ¶ added in v0.0.4
func (it *ReasoningScanner) Scan() bool
type Response ¶ added in v0.0.4
type Response struct {
Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
Response from a function call
func (*Response) Descriptor
deprecated
added in
v0.0.4
func (*Response) ProtoMessage ¶ added in v0.0.4
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶ added in v0.0.4
func (x *Response) ProtoReflect() protoreflect.Message
type ResponseJsonSchema ¶ added in v0.0.4
type ResponseJsonSchema struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Properties *Properties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
Required []string `protobuf:"bytes,3,rep,name=required,proto3" json:"required,omitempty"`
// contains filtered or unexported fields
}
JSON schema for the response
func (*ResponseJsonSchema) Descriptor
deprecated
added in
v0.0.4
func (*ResponseJsonSchema) Descriptor() ([]byte, []int)
Deprecated: Use ResponseJsonSchema.ProtoReflect.Descriptor instead.
func (*ResponseJsonSchema) GetProperties ¶ added in v0.0.4
func (x *ResponseJsonSchema) GetProperties() *Properties
func (*ResponseJsonSchema) GetRequired ¶ added in v0.0.4
func (x *ResponseJsonSchema) GetRequired() []string
func (*ResponseJsonSchema) GetType ¶ added in v0.0.4
func (x *ResponseJsonSchema) GetType() string
func (*ResponseJsonSchema) ProtoMessage ¶ added in v0.0.4
func (*ResponseJsonSchema) ProtoMessage()
func (*ResponseJsonSchema) ProtoReflect ¶ added in v0.0.4
func (x *ResponseJsonSchema) ProtoReflect() protoreflect.Message
func (*ResponseJsonSchema) Reset ¶ added in v0.0.4
func (x *ResponseJsonSchema) Reset()
func (*ResponseJsonSchema) String ¶ added in v0.0.4
func (x *ResponseJsonSchema) String() string
type ResponseJsonSchemaScanner ¶ added in v0.0.4
func (*ResponseJsonSchemaScanner) Next ¶ added in v0.0.4
func (it *ResponseJsonSchemaScanner) Next() *ResponseJsonSchema
Next() returns the next thing in the array
func (*ResponseJsonSchemaScanner) Scan ¶ added in v0.0.4
func (it *ResponseJsonSchemaScanner) Scan() bool
type ResponseScanner ¶ added in v0.0.4
func (*ResponseScanner) Next ¶ added in v0.0.4
func (it *ResponseScanner) Next() *Response
Next() returns the next thing in the array
func (*ResponseScanner) Scan ¶ added in v0.0.4
func (it *ResponseScanner) Scan() bool
type Row ¶
type Row struct {
Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
// contains filtered or unexported fields
}
func (*Row) Descriptor
deprecated
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
type RowScanner ¶
func (*RowScanner) Next ¶
func (it *RowScanner) Next() *Row
Next() returns the next thing in the array
func (*RowScanner) Scan ¶
func (it *RowScanner) Scan() bool
type Schema ¶ added in v0.0.4
type Schema struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Properties map[string]*Schema `` /* 161-byte string literal not displayed */
Required []string `protobuf:"bytes,3,rep,name=required,proto3" json:"required,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Items *Schema `protobuf:"bytes,5,opt,name=items,proto3" json:"items,omitempty"`
Enum []string `protobuf:"bytes,6,rep,name=enum,proto3" json:"enum,omitempty"`
Minimum int32 `protobuf:"varint,7,opt,name=minimum,proto3" json:"minimum,omitempty"`
MinLength int32 `protobuf:"varint,8,opt,name=minLength,proto3" json:"minLength,omitempty"`
MinItems int32 `protobuf:"varint,9,opt,name=minItems,proto3" json:"minItems,omitempty"`
DefaultValue *structpb.Value `protobuf:"bytes,10,opt,name=default_value,json=default,proto3" json:"default_value,omitempty"`
// contains filtered or unexported fields
}
func (*Schema) Descriptor
deprecated
added in
v0.0.4
func (*Schema) GetDefaultValue ¶ added in v0.0.4
func (*Schema) GetDescription ¶ added in v0.0.4
func (*Schema) GetMinItems ¶ added in v0.0.4
func (*Schema) GetMinLength ¶ added in v0.0.4
func (*Schema) GetMinimum ¶ added in v0.0.4
func (*Schema) GetProperties ¶ added in v0.0.4
func (*Schema) GetRequired ¶ added in v0.0.4
func (*Schema) ProtoMessage ¶ added in v0.0.4
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶ added in v0.0.4
func (x *Schema) ProtoReflect() protoreflect.Message
type SchemaScanner ¶ added in v0.0.4
func (*SchemaScanner) Next ¶ added in v0.0.4
func (it *SchemaScanner) Next() *Schema
Next() returns the next thing in the array
func (*SchemaScanner) Scan ¶ added in v0.0.4
func (it *SchemaScanner) Scan() bool
type SessionStats ¶
type SessionStats struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// contains filtered or unexported fields
}
func (*SessionStats) Descriptor
deprecated
func (*SessionStats) Descriptor() ([]byte, []int)
Deprecated: Use SessionStats.ProtoReflect.Descriptor instead.
func (*SessionStats) GetUuid ¶
func (x *SessionStats) GetUuid() string
func (*SessionStats) ProtoMessage ¶
func (*SessionStats) ProtoMessage()
func (*SessionStats) ProtoReflect ¶
func (x *SessionStats) ProtoReflect() protoreflect.Message
func (*SessionStats) Reset ¶
func (x *SessionStats) Reset()
func (*SessionStats) String ¶
func (x *SessionStats) String() string
type SessionStatsScanner ¶
func (*SessionStatsScanner) Next ¶
func (it *SessionStatsScanner) Next() *SessionStats
Next() returns the next thing in the array
func (*SessionStatsScanner) Scan ¶
func (it *SessionStatsScanner) Scan() bool
type Table ¶
type Table struct {
Columns int32 `protobuf:"varint,1,opt,name=columns,proto3" json:"columns,omitempty"`
Rows []*Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
// contains filtered or unexported fields
}
func (*Table) Descriptor
deprecated
func (*Table) GetColumns ¶
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
type TableScanner ¶
func (*TableScanner) Next ¶
func (it *TableScanner) Next() *Table
Next() returns the next thing in the array
func (*TableScanner) Scan ¶
func (it *TableScanner) Scan() bool
type Tool ¶ added in v0.0.4
type Tool struct {
FunctionDeclarations []*FunctionDeclaration `protobuf:"bytes,1,rep,name=functionDeclarations,proto3" json:"functionDeclarations,omitempty"`
GoogleSearch *GoogleSearch `protobuf:"bytes,2,opt,name=googleSearch,proto3" json:"googleSearch,omitempty"`
// contains filtered or unexported fields
}
func (*Tool) Descriptor
deprecated
added in
v0.0.4
func (*Tool) GetFunctionDeclarations ¶ added in v0.0.4
func (x *Tool) GetFunctionDeclarations() []*FunctionDeclaration
func (*Tool) GetGoogleSearch ¶ added in v0.0.5
func (x *Tool) GetGoogleSearch() *GoogleSearch
func (*Tool) ProtoMessage ¶ added in v0.0.4
func (*Tool) ProtoMessage()
func (*Tool) ProtoReflect ¶ added in v0.0.4
func (x *Tool) ProtoReflect() protoreflect.Message
type ToolCall ¶
type ToolCall struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Input string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
OutputStdout string `protobuf:"bytes,4,opt,name=output_stdout,json=outputStdout,proto3" json:"output_stdout,omitempty"`
OutputStderr string `protobuf:"bytes,5,opt,name=output_stderr,json=outputStderr,proto3" json:"output_stderr,omitempty"`
ExitCode int32 `protobuf:"varint,6,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
// contains filtered or unexported fields
}
func (*ToolCall) Descriptor
deprecated
func (*ToolCall) GetDescription ¶
func (*ToolCall) GetExitCode ¶
func (*ToolCall) GetOutputStderr ¶
func (*ToolCall) GetOutputStdout ¶
func (*ToolCall) ProtoMessage ¶
func (*ToolCall) ProtoMessage()
func (*ToolCall) ProtoReflect ¶
func (x *ToolCall) ProtoReflect() protoreflect.Message
type ToolCallScanner ¶
func (*ToolCallScanner) Next ¶
func (it *ToolCallScanner) Next() *ToolCall
Next() returns the next thing in the array
func (*ToolCallScanner) Scan ¶
func (it *ToolCallScanner) Scan() bool
type ToolScanner ¶ added in v0.0.4
func (*ToolScanner) Next ¶ added in v0.0.4
func (it *ToolScanner) Next() *Tool
Next() returns the next thing in the array
func (*ToolScanner) Scan ¶ added in v0.0.4
func (it *ToolScanner) Scan() bool
type Who ¶
type Who int32
func (Who) Descriptor ¶
func (Who) Descriptor() protoreflect.EnumDescriptor
func (Who) EnumDescriptor
deprecated
func (Who) Number ¶
func (x Who) Number() protoreflect.EnumNumber
func (Who) Type ¶
func (Who) Type() protoreflect.EnumType