Versions in this module Expand all Collapse all v1 v1.0.1 Jun 20, 2024 v1.0.0 May 2, 2024 Changes in this version + const BASE_URL + type Client struct + APIKey string + func NewClient() (*Client, error) + func (c *Client) Do(url string, method string, jsonData []byte) error + func (c *Client) PatchRun(id string, input *RunPayload) error + func (c *Client) PostRun(input *RunPayload) error + func (c *Client) Run(input *RunPayload) error + func (c *Client) RunSingle(input *RunPayload) error + type Event struct + EventName string + Reason string + Value string + type PatchPayload struct + EndTime time.Time + Events []Event + Outputs map[string]interface{} + type PostPayload struct + Events []Event + Extras map[string]interface{} + ID string + Inputs map[string]interface{} + Name string + ParentId string + RunType RunType + SessionName string + StartTime time.Time + Tags []string + type Response struct + Detail string + type RunPayload struct + EndTime time.Time + Events []Event + Extras map[string]interface{} + Inputs map[string]interface{} + Name string + Outputs map[string]interface{} + ParentID string + RunID string + RunType RunType + SessionName string + StartTime time.Time + Tags []string + type RunType int + const Chain + const Embedding + const LLM + const Parser + const Prompt + const Retriever + const Tool + func (r RunType) MarshalJSON() ([]byte, error) + func (r RunType) String() string + type SimplePayload struct + EndTime time.Time + Events []Event + Extras map[string]interface{} + ID string + Inputs map[string]interface{} + Name string + Outputs map[string]interface{} + ParentId string + RunType RunType + SessionName string + StartTime time.Time + Tags []string