langfuse

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetPromptResponse

type GetPromptResponse 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  any       `json:"isActive"`
	Config    struct {
	} `json:"config"`
	Tags            []any    `json:"tags"`
	Labels          []string `json:"labels"`
	CommitMessage   any      `json:"commitMessage"`
	ResolutionGraph any      `json:"resolutionGraph"`
}

type Langfuse

type Langfuse struct {
	// contains filtered or unexported fields
}

func New

func New(pk string, sk string, host string) *Langfuse

func (*Langfuse) GetPrompt

func (l *Langfuse) GetPrompt(promptName string) string

Jump to

Keyboard shortcuts

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