Skip to content

Commit

Permalink
update model
Browse files Browse the repository at this point in the history
  • Loading branch information
kadenbking committed Feb 22, 2024
1 parent 376801d commit d926f49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public async Task<List<string>> GetResponse(IFormFile file)
chat.RequestParameters.Temperature = 0;

// use azure ai to get document paragraphs
var document = await _azureDocumentAiAnalysisService.AnalyzeDocument(file, "prebuilt-document");
var document = await _azureDocumentAiAnalysisService.AnalyzeDocument(file, "prebuilt-read");
var paragraphs = document?.Paragraphs;
if (paragraphs is null)
{
Expand Down

0 comments on commit d926f49

Please sign in to comment.