Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
6k stars 4.11k forks source link

Work with existing data resources and ensure testability of API configuration #1802

Open synergiator opened 3 months ago

synergiator commented 3 months ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ x ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

-

Any log messages given by the failure

-

Expected/desired behavior

There are so many moving parts; it would be good to provide a test script to verify backend setup:

Also, the README suggest creation of new data resources based on local file ingestion instead of connecting to existing data resources in Azure.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

pamelafox commented 3 months ago

Could you clarify more what the test script would do? This repo currently includes various kinds of tests: unit/integration tests with Pytest and E2E tests with Playwright. It also includes a GitHub action that can deploy the repo.

Are you looking for smoke tests on the deployed app?