azure-search-openai-demo-csharp icon indicating copy to clipboard operation
azure-search-openai-demo-csharp copied to clipboard

Investigate imparity features between csharp and python azure search

Open LittleLittleCloud opened this issue 1 year ago • 8 comments
trafficstars

This issue is used to track all misalignments between python azure search and csharp ones.

link to python-azure-search: https://github.com/Azure-Samples/azure-search-openai-demo

LittleLittleCloud avatar Jun 18 '24 20:06 LittleLittleCloud

CSharp's doesn't have chat window (because it's been removed intentionally)

LittleLittleCloud avatar Jun 20 '24 20:06 LittleLittleCloud

Imparity in thought process: Python's show much more details on how RAG is completed

image image image

LittleLittleCloud avatar Jun 20 '24 21:06 LittleLittleCloud

Imparity in rag configuration: Python's allow more settings in how documents get retrieved

image

LittleLittleCloud avatar Jun 20 '24 21:06 LittleLittleCloud

As far as I know, C# does not yet have:

  • User authentication
  • Data access control
  • User uploads
  • Integrated vectorization support
  • GPT-4-vision support
  • ADLS2 support
  • VNet support

You can also go through https://github.com/Azure-Samples/azure-search-openai-demo/releases to see the highlights of what has been released over the last year.

You might not want to implement all of that, of course.

LittleLittleCloud comment

The following features have been added

  • User authentication (https://github.com/Azure-Samples/azure-search-openai-demo-csharp?tab=readme-ov-file#enabling-authentication)
  • Vision support (https://github.com/Azure-Samples/azure-search-openai-demo-csharp?tab=readme-ov-file#enable-vision-multi-modal-support)
  • User uploads (turn on by default)

pamelafox avatar Jun 20 '24 21:06 pamelafox

Additionally - support of guidance for load balancing API requests (As described in a couple load balancing articles here: https://learn.microsoft.com/en-us/dotnet/ai/get-started-app-chat-scaling-with-azure-container-apps?toc=%2Fazure%2Fdeveloper%2Fai%2Ftoc.json&bc=%2Fazure%2Fdeveloper%2Fai%2Fbreadcrumb%2Ftoc.json&tabs=github-codespaces%2Cinitial-deployment). We need support for the AZURE_OPENAI_CUSTOM_URL env variables, for example.

jmatthiesen avatar Jun 20 '24 21:06 jmatthiesen

Demonstrating support for Azure Speech Services - The C# version uses speech to text APIs in the browser, but the Python version demonstrates using Azure Speech Services.

jmatthiesen avatar Jun 20 '24 21:06 jmatthiesen

Good points! One way to prioritize might be to look at what features Dina has written articles about for the Python sample, and try to match those for C#. Load balancing, private endpoints, evaluation.

pamelafox avatar Jun 20 '24 21:06 pamelafox

Supports multiple document file types

Pptx xlsx docx

namilkimfree avatar Mar 21 '25 13:03 namilkimfree