Skip to content

bug: Image Modality is not working as expected. #1631

@shyam1819

Description

@shyam1819

Did you check docs and existing issues?

  • I have read all the NeMo-Guardrails docs
  • I have updated the package to the latest version before submitting this issue
  • (optional) I have used the develop branch
  • I have searched the existing issues of NeMo-Guardrails

Python version (python --version)

3.12

Operating system/version

Windows

NeMo-Guardrails version (if you must use a specific version and not the latest

0.20.0

Describe the bug

The base64 string is going as part of content and the request is failing due to the context size. Where as the image is well within the limits.

Image

Steps To Reproduce

To reproduce I followed the steps provided in the multimodal docs of Nemo Guardrails.

Expected Behavior

Actually the content object itself is being passed as a string to the model.

Image

It should be like this

Actual Behavior

As mentioned above

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions