genkit icon indicating copy to clipboard operation
genkit copied to clipboard

[JS][feature] Add support for 'media' in ai.chat()

Open Tyg-g opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe. At least one LLM family supports uploading files into conversation threads: ChatGPT. It'd be useful for me to be able to us this feature.

I assume this feature does not exist because the genkit docs on ai.chat() don't mention it.

Describe the solution you'd like Similar to the ai.generate(...) interface.

Describe alternatives you've considered x

Additional context I realize that this feature also has to be supported by the given plugin.

Note: In the case of OpenAI, the conversation threads are part of the Assistant API.

Tyg-g avatar Apr 16 '25 21:04 Tyg-g