Class: LlmGateway::Adapters::Anthropic::FileOutputMapper
- Inherits:
-
Object
- Object
- LlmGateway::Adapters::Anthropic::FileOutputMapper
- Defined in:
- lib/llm_gateway/adapters/anthropic/output_mapper.rb
Class Method Summary collapse
Class Method Details
.map(data) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/llm_gateway/adapters/anthropic/output_mapper.rb', line 7 def self.map(data) data.delete(:type) # Didnt see much value in this only option is "file" data.merge( expires_at: nil, # came from open ai api purpose: "user_data", # came from open ai api ) end |