Module: RubyLLM::Providers::GPUStack::Chat
- Included in:
- ChatCompletions
- Defined in:
- lib/ruby_llm/providers/gpustack/chat.rb
Overview
Chat methods of the GPUStack API integration
Class Method Summary collapse
Class Method Details
.format_content(content, attachments = []) ⇒ Object
10 11 12 |
# File 'lib/ruby_llm/providers/gpustack/chat.rb', line 10 def format_content(content, = []) GPUStack::Media.format_content(content, ) end |
.format_role(role) ⇒ Object
14 15 16 |
# File 'lib/ruby_llm/providers/gpustack/chat.rb', line 14 def format_role(role) role.to_s end |