langfuse

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE_URL    = "https://cloud.langfuse.com"
	BASE_URL_EU = "https://eu.cloud.langfuse.com"
	BASE_URL_US = "https://us.cloud.langfuse.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LangfuseClient

type LangfuseClient struct {
	prompts.PromptsClientInterface
	// contains filtered or unexported fields
}

func NewLangfuseClient

func NewLangfuseClient(publicKey, secretKey string) (*LangfuseClient, error)

NewLangfuseClient creates a new client with public and secret keys for authentication

func NewLangfuseClientWithCustomBaseURL

func NewLangfuseClientWithCustomBaseURL(publicKey, secretKey, baseURL string) (*LangfuseClient, error)

NewLangfuseClientWithCustomBaseURL creates a new client with public and secret keys for authentication

Directories

Path Synopsis
Package openapi provides primitives to interact with the openapi HTTP API.
Package openapi provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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