Skip to content

Commit

Permalink
Update GPT4V_ENDPOINT in ImageAnalyzerController.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
heblasco committed Apr 22, 2024
1 parent fee0589 commit 2a8a5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AIHub/Controllers/ImageAnalyzerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public IActionResult ImageAnalyzer()
[HttpPost]
public async Task<IActionResult> DenseCaptionImage(string image_url, string prompt)
{
string GPT4V_ENDPOINT = $"{AOAIendpoint}openai/deployments/{AOAIDeploymentName}/extensions/chat/completions?api-version=2023-07-01-preview";
string GPT4V_ENDPOINT = $"{AOAIendpoint}openai/deployments/{AOAIDeploymentName}/chat/completions?api-version=2024-02-15-preview";
image_url = image_url + sasUri.Query;

if (string.IsNullOrEmpty(AOAIsubscriptionKey))
Expand Down

0 comments on commit 2a8a5cb

Please sign in to comment.