Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

README: update information on GPT-4 #493

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## How to Add a New API

### Add POJOs to API library
I usually have ChatGPT write them for me by copying and pasting from teh OpenAI API reference ([example chat](https://chat.openai.com/share/af48ef11-0354-40b2-a8e2-3bf8e93a94a3)), but double check everything because Chat always makes mistakes, especially around adding `@JsonProperty` annotations.
I usually have ChatGPT write them for me by copying and pasting from the OpenAI API reference ([example chat](https://chat.openai.com/share/af48ef11-0354-40b2-a8e2-3bf8e93a94a3)), but double check everything because Chat always makes mistakes, especially around adding `@JsonProperty` annotations.

- Make all java variables camel case, and use `@JsonProperty` for fields that OpenAI returns as snake case
- Include comments for each variable, I take these directly from the OpenAI website
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ Or functions with 'stream' mode enabled:

## FAQ
### Does this support GPT-4?
Yes! GPT-4 uses the ChatCompletion Api, and you can see the latest model options [here](https://platform.openai.com/docs/models/gpt-4).
GPT-4 is currently in a limited beta (as of 4/1/23), so make sure you have access before trying to use it.
Yes! GPT-4 uses the ChatCompletion Api, and you can see the latest model options [here](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4).
Please note that GPT-4 is available to paying customers only! This [article](https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4) has details on how to access GPT-4.

### Does this support functions?
Absolutely! It is very easy to use your own functions without worrying about doing the dirty work.
Expand Down