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

ChatCompletion 기능제공? #41

Open
statkclee opened this issue Aug 6, 2023 · 2 comments
Open

ChatCompletion 기능제공? #41

statkclee opened this issue Aug 6, 2023 · 2 comments
Assignees

Comments

@statkclee
Copy link

초기 Completion API가 많이 사용되었으나 openai.Completion.create()
현재는 openai.ChatCompletion.create() 으로 많이 넘어간 듯 싶습니다.
혹시, ChatCompletion API도 제공되나요?

@choonghyunryu
Copy link
Contributor

@statkclee,

chat_completion() 함수가 ChatCompletion API와 연동하는 함수입니다.
초기 bitGPT 패키지부터 구현해 놓았습니다.

@choonghyunryu choonghyunryu self-assigned this Aug 7, 2023
@statkclee
Copy link
Author

openai.Completion.create()와 openai.ChatCompletion.create()을 둘다 OpenAI에서 만들어 실험을 했는데... 이제 openai.Completion.create()는 deprecated 되고 있고 openai.ChatCompletion.create()으로 통일되어가는 분위기라... 어디서 읽은 기억이 있는데... 링크를 찾지 못하겠네요 ㅠㅠ

이 둘 사이를 함수명령어로 명확히 single turn과 multi turn API 호출을 구분해 두는 것이 필요해 보입니다. 왜냐하면 multi turn api 호출이 더 좋은 결과를 보이기 때문에 .. 그리고 openai.ChatCompletion.create() 함수가 명칭에서 명확히 하고 있기 때문이라고 생각됩니다.

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