integrations

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LangfuseClient

type LangfuseClient struct {
	Endpoint string
	ApiKey   string
}

func NewLangfuseClient

func NewLangfuseClient(endpoint, username, password string) *LangfuseClient

func (*LangfuseClient) GetPrompt

func (c *LangfuseClient) GetPrompt(name string, label string) (LangfusePromptResponse, error)

type LangfusePromptResponse

type LangfusePromptResponse struct {
	Id        string      `json:"id"`
	CreatedAt time.Time   `json:"createdAt"`
	UpdatedAt time.Time   `json:"updatedAt"`
	ProjectId string      `json:"projectId"`
	CreatedBy string      `json:"createdBy"`
	Prompt    string      `json:"prompt"`
	Name      string      `json:"name"`
	Version   int         `json:"version"`
	Type      string      `json:"type"`
	IsActive  interface{} `json:"isActive"`
	Config    struct {
	} `json:"config"`
	Tags            []interface{} `json:"tags"`
	Labels          []string      `json:"labels"`
	CommitMessage   interface{}   `json:"commitMessage"`
	ResolutionGraph interface{}   `json:"resolutionGraph"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL