Class: LlmGateway::Adapters::OpenAi::InputMapper
- Inherits:
-
Groq::InputMapper
- Object
- Groq::InputMapper
- LlmGateway::Adapters::OpenAi::InputMapper
- Defined in:
- lib/llm_gateway/adapters/open_ai/input_mapper.rb
Class Method Summary collapse
Class Method Details
.map(data) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/llm_gateway/adapters/open_ai/input_mapper.rb', line 9 def self.map(data) { messages: (data[:messages]), response_format: map_response_format(data[:response_format]), tools: map_tools(data[:tools]), system: map_system(data[:system]) } end |