Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LangfuseClient ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.