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

Support for GPT-4 and 0613 #43

Closed
MiguelElGallo opened this issue Mar 22, 2023 · 11 comments
Closed

Support for GPT-4 and 0613 #43

MiguelElGallo opened this issue Mar 22, 2023 · 11 comments
Labels
enhancement New feature or request

Comments

@MiguelElGallo
Copy link

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

In this blog post, says that this repo will use GPT-4 models:
https://techcommunity.microsoft.com/t5/ai-cognitive-services-blog/working-with-gpt-4-and-chatgpt-models-on-azure-preview/ba-p/3773595

Any log messages given by the failure

I cannot find anywhere that this REPO is deploying GPT-4 models for Azure OpenAI.

Expected/desired behavior

Detail in the documentation or update a parameter to switch to use GPT-4

@chuwik chuwik added the enhancement New feature or request label Mar 22, 2023
@vrajroutu
Copy link

Screenshot 2023-03-27 at 5 01 54 PM

Yeah!! Looks like there is some rework required here

@AllaeddineD
Copy link

Experiencing the same issue. Did you manage to make it work ?

@ThomasLambertES
Copy link

same here, got preview access to GPT-4 and i'm looking into deploying in that model.

@sk1136
Copy link

sk1136 commented Jun 14, 2023

Any update on this? Can we use this same code with GPT-4 and embeddings. The interface for GPT 3.5 and 4 is different so we can't just change the model name and version number.

@vrajroutu
Copy link

I'm using GPT-4-32k the whole chatreadretrive code should be changed. I will push the code soon. But note that response will be slower when compared to Gpt-3.5-turbo but quality is really good.

@ThomasLambertES
Copy link

I'm using GPT-4-32k the whole chatreadretrive code should be changed. I will push the code soon. But note that response will be slower when compared to Gpt-3.5-turbo but quality is really good.

please do tell us once it's ready, i'm really looking forward to test

@rabbyn
Copy link

rabbyn commented Jul 4, 2023

Hi @kishorerv93 , can we now use GPT-4 (or 4-32k) ? Thanks

@PTTrazavi
Copy link

According to (Azure OpenAI), gpt-35-turbo (version 0613) is available now. Same as gpt-4 (version 0613), they only work with openai.ChatCompletion.create, but not openai.Completion.create.
Can someone modify the chatreadretrieveread.py code so it can work with openai.ChatCompletion.create? Thanks!

@pamelafox
Copy link
Collaborator

A PR is in progress: #385

@vrajroutu
Copy link

@AllaeddineD @PTTrazavi @rabbyn Submitted my PR for GPT-4 #394

@pamelafox
Copy link
Collaborator

This repo got ported to support Chat Completions a while ago (0613). It defaults to 3.5 however, since most don't have access to 4. To use GPT-4 :

In infra/main.bicep, change chatGptModelName to 'gpt-4' instead of 'gpt-35-turbo'. You may also need to adjust the capacity above that line depending on how much TPM your account is allowed.

dantelmomsft added a commit to dantelmomsft/azure-search-openai-demo-java that referenced this issue Nov 15, 2023
…ample-explorer

Update README.md with ms learn metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

9 participants