Class: Langfuse::ApiClient::PromptFetchOptions

Inherits:
Struct
  • Object
show all
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

Instance Method Summary collapse

Instance Attribute Details

#cache_ttlObject

Returns the value of attribute cache_ttl

Returns:

  • (Object)

    the current value of cache_ttl



30
31
32
# File 'lib/langfuse/api_client.rb', line 30

def cache_ttl
  @cache_ttl
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



30
31
32
# File 'lib/langfuse/api_client.rb', line 30

def key
  @key
end

Instance Method Details

#labelObject



33
# File 'lib/langfuse/api_client.rb', line 33

def label = key.label

#nameObject



31
# File 'lib/langfuse/api_client.rb', line 31

def name = key.name

#versionObject



32
# File 'lib/langfuse/api_client.rb', line 32

def version = key.version