kardolus / chatgpt-cli

ChatGPT CLI is a versatile tool for interacting with LLM models through OpenAI and Azure, as well as models from Perplexity AI and Llama. It supports prompts and history tracking for seamless, context-aware interactions. With extensive configuration options, it’s designed for both users and developers to create a customized GPT experience.
MIT License
567 stars 39 forks source link

File attachment #54

Closed igormedo closed 3 months ago

igormedo commented 5 months ago

Is it possible to attach an image or pdf to the query?

kardolus commented 5 months ago

It's not possible just yet. I will look into the API and get back to you. Would be a fun feature to add!

kardolus commented 3 months ago

I finally had some time and energy to work on the CLI again. However, unfortunately the current API does not support the uploading of images in the chat completion request:

https://platform.openai.com/docs/api-reference/chat/create

When it becomes available I will certainly add it to the CLI.