Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Sep 15, 2025

Bumps ruby_llm from 1.6.2 to 1.8.0.

Release notes

Sourced from ruby_llm's releases.

1.8.0

RubyLLM 1.8.0: Video Support & Content Moderation 🎥🛡️

Major feature release bringing video file support for multimodal models and content moderation capabilities to ensure safer AI interactions.

🎥 Video File Support

Full video file support for models with video capabilities:

# Local video files
chat = RubyLLM.chat(model: "gemini-2.5-flash")
response = chat.ask("What happens in this video?", with: "video.mp4")
Remote video URLs (with or without extensions)
response = chat.ask("Describe this video", with: "https://example.com/video")
Multiple attachments including video
response = chat.ask("Compare these", with: ["image.jpg", "video.mp4"])

Features:

  • Automatic MIME type detection for video formats
  • Support for remote videos without file extensions
  • Seamless integration with existing attachment system
  • Full support for Gemini and VertexAI video-capable models

🛡️ Content Moderation

New content moderation API to identify potentially harmful content before sending to LLMs:

# Basic moderation
result = RubyLLM.moderate("User input text")
puts result.flagged?  # => true/false
puts result.flagged_categories  # => ["harassment", "hate"]
Integration pattern - screen before chat
def safe_chat(user_input)
moderation = RubyLLM.moderate(user_input)
return "Content not allowed" if moderation.flagged?
RubyLLM.chat.ask(user_input)
end
Check specific categories
result = RubyLLM.moderate("Some text")
puts result.category_scores["harassment"]  # => 0.0234
puts result.category_scores["violence"]    # => 0.0012

... (truncated)

Commits
  • 0cb6299 Bump version to 1.8.0
  • e27eb10 Updated models
  • a4fae99 Remove outdated version notes and clarified moderation being available in nex...
  • 2ace2d3 Changed note style in video docs
  • 4ff2231 Add video file support (#405)
  • aacd639 Updated appraisal gemfiles
  • e9f8d50 Fix [BUG] Inflection breaks Rails apps using the Llm module/name/namespace
  • 497e3d8 Add Content Moderation Feature (#383)
  • 32b3648 Models helps should return all supporting modalities (#408)
  • 078ef25 Fix: Add resolve method delegation from Models instance to class (#407)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ruby_llm](https://github.com/crmne/ruby_llm) from 1.6.2 to 1.8.0.
- [Release notes](https://github.com/crmne/ruby_llm/releases)
- [Commits](crmne/ruby_llm@1.6.2...1.8.0)

---
updated-dependencies:
- dependency-name: ruby_llm
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Sep 15, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 22, 2025

Superseded by #13.

@dependabot dependabot bot closed this Sep 22, 2025
@dependabot dependabot bot deleted the dependabot/bundler/ruby_llm-1.8.0 branch September 22, 2025 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant