package llm

import "github.com/Kajmany/rapidrule/llm"

Index

Functions

func GeminiPortsEval

func GeminiPortsEval(port_strings string) ([]structs.Eval, error)

Function based upon examples at https://github.com/google/generative-ai-go

func GeminiTotalEval

func GeminiTotalEval(ports_strings []string) (structs.TotalEval, error)

func GetPortEvals

func GetPortEvals(port_strings string) tea.Cmd

Async get port Gemini evaluations command

func GetTotalEvals

func GetTotalEvals(ports_strings []string) tea.Cmd

Async get port Gemini evaluations command

Types

type PortEvalError

type PortEvalError struct {
	Err error
}

func (PortEvalError) Error

func (e PortEvalError) Error() string

String method for PortEvalError

type PortEvalMsg

type PortEvalMsg struct {
	Evals []structs.Eval
}

Eval message struct for evals

type TotalEvalError

type TotalEvalError struct {
	Err error
}

type TotalEvalMsg

type TotalEvalMsg struct {
	TotalEval structs.TotalEval
}

Eval message struct for overall evals