Module: RubyLLM::Providers::DeepSeek::Chat
- Included in:
- RubyLLM::Providers::DeepSeek
- Defined in:
- lib/ruby_llm/providers/deepseek/chat.rb
Overview
Chat methods of the DeepSeek API integration
Class Method Summary collapse
Class Method Details
.format_content(content) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/ruby_llm/providers/deepseek/chat.rb', line 14 def format_content(content) OpenAI::Media.format_content( content, document_attachments: :none, image_attachments: false, audio_attachments: false ) end |
.format_role(role) ⇒ Object
10 11 12 |
# File 'lib/ruby_llm/providers/deepseek/chat.rb', line 10 def format_role(role) role.to_s end |