Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support adding images to Message and mapping to ollama ChatMessage images. #179

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

eng-cc
Copy link
Contributor

@eng-cc eng-cc commented Jul 4, 2024

When I wanted to call the LLaVA model, I found that I could not pass the images to ollama, so I added the images field to the Message struct and implemented the mapping to ollama ChatMessage.

@eng-cc eng-cc changed the title Add images for Message,and map to ollama ChatMessage images. Support adding images to Message and mapping to ollama ChatMessage images. Jul 4, 2024
@Abraxas-365 Abraxas-365 merged commit 47bd6a7 into Abraxas-365:main Jul 4, 2024
2 checks passed
ededddy pushed a commit to ededddy/langchain-rust that referenced this pull request Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants