Documentation
¶
Index ¶
- Variables
- type Method
- func (m *Method) AIStudioTokens(systemTokens, inputTokens, endTokens string) (uint64, uint64, uint64, error)
- func (m *Method) AlwaysTrue() bool
- func (m *Method) BuildPrompt(requestJson string, includeSystem bool) (string, error)
- func (m *Method) ChooseModelByName(name, modelNameSelector string, modelCategoryContainerSelector string) error
- func (m *Method) Click(elementSelector string, timeout float64) error
- func (m *Method) ConvertReturnToParagraphs(input string) string
- func (m *Method) Eq(a, b int) bool
- func (m *Method) GetDataFromProxy(proxy *proxy.Proxy, channel chan *model.ProxyResponse) (bool, error)
- func (m *Method) GetElement(elementSelector string) (playwright.Locator, error)
- func (m *Method) GetElementAttribute(locator playwright.Locator, attributeName string) (string, error)
- func (m *Method) GetElements(elementSelector string) ([]playwright.Locator, error)
- func (m *Method) GetInnerText(elementSelector string) (string, error)
- func (m *Method) GetLocalStorage(name string) (any, error)
- func (m *Method) Gt(a, b int) bool
- func (m *Method) Gte(a, b int) bool
- func (m *Method) ImagePrompt(requestJson string) (bool, []string, error)
- func (m *Method) InInnerHTML(selector, htmlContent string) error
- func (m *Method) Input(elementSelector, text string, timeout float64) error
- func (m *Method) Int(i int) (int, error)
- func (*Method) IsDisabled(element playwright.Locator) (bool, error)
- func (m *Method) IsEqual(a, b int64) bool
- func (m *Method) IsVisible(element playwright.Locator) (bool, error)
- func (m *Method) Len(arr any) int
- func (m *Method) Lt(a, b int) bool
- func (m *Method) Lte(a, b int) bool
- func (m *Method) MaxTokens(requestJson string) (bool, string, error)
- func (m *Method) Model(requestJson string) (bool, string)
- func (m *Method) MouseClick(x, y float64) error
- func (m *Method) PressSequentially(elementSelector, text string, timeout float64) error
- func (m *Method) PromptCount(requestJson string) (systemPromptCount int, assistantPromptCount int, userPromptCount int, ...)
- func (m *Method) SetLocalStorage(name, value string) error
- func (m *Method) SleepMilliseconds(milliseconds int) bool
- func (m *Method) StartSniffing(proxy *proxy.Proxy)
- func (m *Method) StopSequence(requestJson string) (bool, string, error)
- func (m *Method) StopSniffing(proxy *proxy.Proxy)
- func (m *Method) StringEqual(str1, str2 string) bool
- func (m *Method) SystemPrompt(requestJson string) (bool, string, error)
- func (m *Method) Temperature(requestJson string) (bool, string, error)
- func (m *Method) ToolPrompt(requestJson string) (bool, string, error)
- func (m *Method) Tools(requestJson string) (bool, string, error)
- func (m *Method) TopP(requestJson string) (bool, string, error)
- func (m *Method) Type(elementSelector, text string, timeout float64) error
- func (m *Method) UploadFiles(runner any, base64edImage []string) error
- func (m *Method) UserPrompt(requestJson string) (bool, string, error)
- func (m *Method) Value(elementSelector string, timeout float64) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var MimeTypes = map[string]string{}/* 733 elements not displayed */
Functions ¶
This section is empty.
Types ¶
type Method ¶
type Method struct {
// contains filtered or unexported fields
}
func (*Method) AIStudioTokens ¶
func (*Method) AlwaysTrue ¶
func (*Method) BuildPrompt ¶
func (*Method) ChooseModelByName ¶
func (*Method) ConvertReturnToParagraphs ¶ added in v1.1.0
func (*Method) GetDataFromProxy ¶
func (*Method) GetElement ¶
func (*Method) GetElementAttribute ¶
func (*Method) GetElements ¶
func (*Method) ImagePrompt ¶
func (*Method) InInnerHTML ¶ added in v1.1.0
func (*Method) IsDisabled ¶
func (*Method) MouseClick ¶
func (*Method) PressSequentially ¶ added in v1.1.0
func (*Method) PromptCount ¶
func (*Method) SetLocalStorage ¶
func (*Method) SleepMilliseconds ¶
func (*Method) StartSniffing ¶
func (*Method) StopSequence ¶
func (*Method) StopSniffing ¶
func (*Method) StringEqual ¶
func (*Method) SystemPrompt ¶
Click to show internal directories.
Click to hide internal directories.