-
Notifications
You must be signed in to change notification settings - Fork 119
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
feat: Add new GPT-4-Vision Support and support custom URL with port. #66
base: main
Are you sure you want to change the base?
Conversation
// File.swift | ||
// | ||
// | ||
// Created by 贺峰煜 on 2023/11/29. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove these generated comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
public let usage: Usage | ||
} | ||
|
||
extension ChatWithImage: Codable {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem right, you should be able to extend the pre-existing Chat model to support the inclusion of an image.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I revised the redundant parts of the code.
Hi, I'm a chinese student, thank for ur amazing repo about open-ai, It helps me a lot during develop.
I add some new feature for this. Since our school uses its own OPENAI KEY platform, it is necessary to access it through a specific port, but i found this repo is not support that, so i add it, and also support the new GPT4-Vision.