SYMBOL INDEX (96 symbols across 30 files) FILE: agency.go type Operation (line 9) | type Operation struct method Config (line 24) | func (p *Operation) Config() *OperationConfig { method Execute (line 37) | func (p *Operation) Execute(ctx context.Context, input Message) (Messa... method SetPrompt (line 45) | func (p *Operation) SetPrompt(prompt string, args ...any) *Operation { method SetMessages (line 50) | func (p *Operation) SetMessages(msgs []Message) *Operation { type OperationHandler (line 16) | type OperationHandler type OperationConfig (line 19) | type OperationConfig struct function NewOperation (line 29) | func NewOperation(handler OperationHandler) *Operation { FILE: examples/chat/main.go function main (line 15) | func main() { FILE: examples/cli/main.go function main (line 17) | func main() { FILE: examples/custom_operation/main.go function main (line 11) | func main() { function incrementFunc (line 33) | func incrementFunc(ctx context.Context, msg agency.Message, _ *agency.Op... FILE: examples/func_call/main.go function main (line 17) | func main() { function printAnswer (line 100) | func printAnswer(message agency.Message) { FILE: examples/image_to_stream/main.go function main (line 14) | func main() { FILE: examples/image_to_text/main.go function main (line 14) | func main() { FILE: examples/logging/main.go function main (line 14) | func main() { function Logger (line 34) | func Logger(input, output agency.Message, cfg *agency.OperationConfig) { FILE: examples/prompt_template/main.go function main (line 14) | func main() { FILE: examples/rag_vector_database/main.go function main (line 18) | func main() { function RAGoperation (line 50) | func RAGoperation(client *weaviate.Client) *agency.Operation { function prepareDB (line 87) | func prepareDB(openAPIKey string, ctx context.Context) (*weaviate.Client... function saveToDisk (line 122) | func saveToDisk(msg agency.Message) error { FILE: examples/speech_to_text/main.go function main (line 17) | func main() { FILE: examples/speech_to_text_multi_model/main.go type Saver (line 16) | type Saver method Save (line 18) | func (s *Saver) Save(input, output agency.Message, _ *agency.Operation... function main (line 22) | func main() { FILE: examples/speech_to_text_to_image/main.go function main (line 17) | func main() { function saveImgToDisk (line 41) | func saveImgToDisk(msg agency.Message) error { FILE: examples/text_to_image_dalle2/main.go function main (line 17) | func main() { function saveToDisk (line 42) | func saveToDisk(msg agency.Message) error { FILE: examples/text_to_speech/main.go function main (line 13) | func main() { function saveToDisk (line 39) | func saveToDisk(msg agency.Message) error { FILE: examples/text_to_stream/main.go function main (line 15) | func main() { FILE: examples/translate_text/main.go function main (line 15) | func main() { FILE: messages.go type Message (line 5) | type Message interface type Kind (line 11) | type Kind constant TextKind (line 14) | TextKind Kind = "text" constant ImageKind (line 15) | ImageKind Kind = "image" constant VoiceKind (line 16) | VoiceKind Kind = "voice" constant EmbeddingKind (line 17) | EmbeddingKind Kind = "embedding" type Role (line 20) | type Role constant UserRole (line 23) | UserRole Role = "user" constant SystemRole (line 24) | SystemRole Role = "system" constant AssistantRole (line 25) | AssistantRole Role = "assistant" constant ToolRole (line 26) | ToolRole Role = "tool" type BaseMessage (line 29) | type BaseMessage struct method Role (line 35) | func (bm BaseMessage) Role() Role { method Kind (line 39) | func (bm BaseMessage) Kind() Kind { method Content (line 42) | func (bm BaseMessage) Content() []byte { function NewMessage (line 47) | func NewMessage(role Role, kind Kind, content []byte) BaseMessage { function NewTextMessage (line 56) | func NewTextMessage(role Role, content string) BaseMessage { function NewJsonMessage (line 65) | func NewJsonMessage(role Role, content any) (BaseMessage, error) { FILE: process.go type Process (line 8) | type Process struct method Execute (line 25) | func (p *Process) Execute(ctx context.Context, input Message, intercep... function NewProcess (line 13) | func NewProcess(operations ...*Operation) *Process { type Interceptor (line 20) | type Interceptor FILE: providers/openai/helpers.go type Embedding (line 9) | type Embedding function EmbeddingToBytes (line 11) | func EmbeddingToBytes(dimensions int, embeddings []Embedding) ([]byte, e... function BytesToEmbedding (line 32) | func BytesToEmbedding(dimensions int, buf []byte) ([]Embedding, error) { type NullableFloat32 (line 56) | type NullableFloat32 function Temperature (line 59) | func Temperature(v float32) NullableFloat32 { function nullableToFloat32 (line 65) | func nullableToFloat32(v NullableFloat32) float32 { FILE: providers/openai/helpers_test.go function TestEmbeddingToBytes (line 8) | func TestEmbeddingToBytes(t *testing.T) { FILE: providers/openai/image_to_text.go type ImageToTextParams (line 13) | type ImageToTextParams struct method ImageToText (line 23) | func (f *Provider) ImageToText(params ImageToTextParams) *agency.Operati... function openAIBase64ImageMessage (line 69) | func openAIBase64ImageMessage(bb []byte) openai.ChatMessagePart { FILE: providers/openai/provider.go type Provider (line 8) | type Provider struct type Params (line 14) | type Params struct function New (line 20) | func New(params Params) *Provider { FILE: providers/openai/speech_to_text.go type SpeechToTextParams (line 11) | type SpeechToTextParams struct method SpeechToText (line 17) | func (f Provider) SpeechToText(params SpeechToTextParams) *agency.Operat... FILE: providers/openai/text_to_embedding.go constant AdaEmbeddingV2 (line 14) | AdaEmbeddingV2 EmbeddingModel = openai.AdaEmbeddingV2 type TextToEmbeddingParams (line 16) | type TextToEmbeddingParams struct type EmbeddingDimensions (line 21) | type EmbeddingDimensions function NewDimensions (line 23) | func NewDimensions(v int) EmbeddingDimensions { method TextToEmbedding (line 27) | func (p Provider) TextToEmbedding(params TextToEmbeddingParams) *agency.... FILE: providers/openai/text_to_image.go type TextToImageParams (line 12) | type TextToImageParams struct method TextToImage (line 20) | func (p Provider) TextToImage(params TextToImageParams) *agency.Operation { FILE: providers/openai/text_to_speech.go type TextToSpeechParams (line 11) | type TextToSpeechParams struct method TextToSpeech (line 19) | func (f Provider) TextToSpeech(params TextToSpeechParams) *agency.Operat... FILE: providers/openai/text_to_stream.go type TextToStreamParams (line 13) | type TextToStreamParams struct method TextToStream (line 18) | func (p Provider) TextToStream(params TextToStreamParams) *agency.Operat... function messageToOpenAI (line 138) | func messageToOpenAI(message agency.Message) openai.ChatCompletionMessage { function toolMessageToOpenAI (line 157) | func toolMessageToOpenAI(message agency.Message, toolID string) openai.C... FILE: providers/openai/text_to_text.go type TextToTextParams (line 14) | type TextToTextParams struct method ToolCallRequired (line 24) | func (p TextToTextParams) ToolCallRequired() *string { method TextToText (line 36) | func (p Provider) TextToText(params TextToTextParams) *agency.Operation { function castFuncDefsToOpenAITools (line 94) | func castFuncDefsToOpenAITools(funcDefs []FuncDef) []openai.Tool { function agencyToOpenaiMessages (line 112) | func agencyToOpenaiMessages(cfg *agency.OperationConfig, msg agency.Mess... function callTool (line 145) | func callTool( function OpenaiToAgencyMessage (line 163) | func OpenaiToAgencyMessage(msg openai.ChatCompletionMessage) agency.Mess... FILE: providers/openai/tools.go type ToolResultMessage (line 10) | type ToolResultMessage struct type FuncDef (line 18) | type FuncDef struct type FuncDefs (line 29) | type FuncDefs method getFuncDefByName (line 31) | func (ds FuncDefs) getFuncDefByName(name string) *FuncDef {