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

ImageContent from byte array or input stream #41

Closed
maximehamm opened this issue Jun 21, 2024 · 1 comment
Closed

ImageContent from byte array or input stream #41

maximehamm opened this issue Jun 21, 2024 · 1 comment

Comments

@maximehamm
Copy link

I think there is no documentation about how to send Image from ByteArray or Stream... but I think the ChatGPT allow this ? It is possible to send by url or "text"... what is a text image ??
Thank you for this great API !

@Lambdua
Copy link
Owner

Lambdua commented Jun 22, 2024

ChatGPT is OpenAI's own ToC client.
The official API of OpenAi only supports link or image base64 encoding for image recognition dialogue.
For base64 encoding, you can encode the image yourself and assign it to the imageUrl parameter

@Lambdua Lambdua closed this as completed Jun 24, 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

No branches or pull requests

2 participants