LangfuseClient

open class LangfuseClient(secretKey: String = env["LANGFUSE_SECRET_KEY"] ?: TODO(), publicKey: String? = env["LANGFUSE_PUBLIC_KEY"] ?: TODO(), val host: String = env["LANGFUSE_HOST"] ?: "https://cloud.langfuse.com")

LangfuseClient is a client library for interacting with the Langfuse API. It provides various APIs for accessing and managing resources within the Langfuse platform.

Constructors

Link copied to clipboard
constructor(secretKey: String = env["LANGFUSE_SECRET_KEY"] ?: TODO(), publicKey: String? = env["LANGFUSE_PUBLIC_KEY"] ?: TODO(), host: String = env["LANGFUSE_HOST"] ?: "https://cloud.langfuse.com")

primary constructor, accepts secretKey, publicKey, and host with default values from system properties

Properties

Link copied to clipboard

the host URL of the Langfuse API