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
Click to show internal directories.
Click to hide internal directories.