Azure-Samples / azure-search-openai-javascript

A TypeScript sample app for the Retrieval Augmented Generation pattern running on Azure, using Azure AI Search for retrieval and Azure OpenAI and LangChain large language models (LLMs) to power ChatGPT-style and Q&A experiences.
MIT License
252 stars 130 forks source link

feat(search): allow to use different backend #155

Closed sinedied closed 11 months ago

sinedied commented 11 months ago

Purpose

I tried to test again today using the Python backend with the JS frontend, and it seems that these changes were missing to make it work. I'm pretty sure I've already sent the same commit before, so I'm not sure what happened (maybe a wrong branch or bad rebase).

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe: