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

Code Completion for Azure #435

Open
QuadStingray opened this issue Apr 6, 2024 · 4 comments
Open

Code Completion for Azure #435

QuadStingray opened this issue Apr 6, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@QuadStingray
Copy link

Describe the need of your request

Code Completion sounds fantastic, and I would love to test it. When do you plan to activate this awesome feature for Azure OpenAI or Custom OpenAI Providers?

Proposed solution

No response

Additional context

I like your Plugin and use it nearly every day

@QuadStingray QuadStingray added the enhancement New feature or request label Apr 6, 2024
@PhilKes
Copy link
Contributor

PhilKes commented Apr 27, 2024

You should be able to use Azure for code-completions now (#476)
In the Custom OpenAI Providers settings:
image

@FabGoe
Copy link

FabGoe commented May 6, 2024

Thanks for the implemention. I tried the recent Azure GPT3 and GPT4 models, which only support the "chat/completations" API (not the normal "/completations" API). I cannot get it to run. The connection test fails (see screenshot).

image

@sisve
Copy link
Contributor

sisve commented May 6, 2024

That is correct, you would need to create a separate deployment using the gpt-3.5-turbo-instruct model to use the /completions api. Azure seems to ignore the model provided in the request body, and instead use the one associated with your deployment.

@FabGoe
Copy link

FabGoe commented May 6, 2024

@sisve Thanks for your help and fast response! I got it working now with gpt-3.5-turbo-instruct. This wasn't documented well in the Azure OpenAI manuals.

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

4 participants