Supporting chatgpt 4.0? #30

Open
opened 2023-07-10 23:10:44 +00:00 by jaodei · 1 comment
jaodei commented 2023-07-10 23:10:44 +00:00 (Migrated from github.com)

Does it support chatgpt 4.0 where user can upload a photo/file/etc. and/or get a reply which consists a photo/file/etc.?

I see there is RoomMessageFile event defined in room_events.py in nio package, but I don't know how to get the file from the user and send to openai.

Does it support chatgpt 4.0 where user can upload a photo/file/etc. and/or get a reply which consists a photo/file/etc.? I see there is RoomMessageFile event defined in room_events.py in nio package, but I don't know how to get the file from the user and send to openai.
hibobmaster commented 2023-07-11 01:36:05 +00:00 (Migrated from github.com)

Here is a example about how to handle file: https://github.com/hibobmaster/matrix-stt-bot/blob/main/bot.py#L178

Here is a example about how to handle file: https://github.com/hibobmaster/matrix-stt-bot/blob/main/bot.py#L178
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bobmaster/matrix_chatgpt_bot#30
No description provided.