Class: Langfuse::ApiClient::PromptFetchOptions
- Inherits:
-
Struct
- Object
- Struct
- Langfuse::ApiClient::PromptFetchOptions
- Defined in:
- lib/langfuse/api_client.rb
Overview
Bundles the resolved cache key with the per-call TTL override so private prompt-fetch helpers take one arg instead of four.
Instance Attribute Summary collapse
-
#cache_ttl ⇒ Object
Returns the value of attribute cache_ttl.
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
Instance Attribute Details
#cache_ttl ⇒ Object
Returns the value of attribute cache_ttl
30 31 32 |
# File 'lib/langfuse/api_client.rb', line 30 def cache_ttl @cache_ttl end |
#key ⇒ Object
Returns the value of attribute key
30 31 32 |
# File 'lib/langfuse/api_client.rb', line 30 def key @key end |
Instance Method Details
#label ⇒ Object
33 |
# File 'lib/langfuse/api_client.rb', line 33 def label = key.label |
#name ⇒ Object
31 |
# File 'lib/langfuse/api_client.rb', line 31 def name = key.name |
#version ⇒ Object
32 |
# File 'lib/langfuse/api_client.rb', line 32 def version = key.version |