Module: Langfuse
- Defined in:
- lib/langfuse.rb,
lib/langfuse/span.rb,
lib/langfuse/event.rb,
lib/langfuse/trace.rb,
lib/langfuse/utils.rb,
lib/langfuse/client.rb,
lib/langfuse/errors.rb,
lib/langfuse/prompt.rb,
lib/langfuse/version.rb,
lib/langfuse/evaluation.rb,
lib/langfuse/generation.rb
Overview
Ruby SDK for Langfuse - Open source LLM engineering platform
Defined Under Namespace
Modules: Evaluators, Utils Classes: APIError, AuthenticationError, ChatPromptTemplate, Client, Configuration, Error, Evaluation, Event, Generation, NetworkError, Prompt, PromptTemplate, RateLimitError, Score, Span, TimeoutError, Trace, ValidationError
Constant Summary collapse
- VERSION =
'0.1.4'
Class Method Summary collapse
- .configuration ⇒ Object
-
.configure {|configuration| ... } ⇒ Object
Configure the Langfuse client with default settings.
-
.new(**options) ⇒ Object
Create a new Langfuse client instance.
Class Method Details
.configuration ⇒ Object
22 23 24 |
# File 'lib/langfuse.rb', line 22 def configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
Configure the Langfuse client with default settings
18 19 20 |
# File 'lib/langfuse.rb', line 18 def configure yield(configuration) end |
.new(**options) ⇒ Object
Create a new Langfuse client instance
27 28 29 |
# File 'lib/langfuse.rb', line 27 def new(**) Client.new(**) end |