customizing this app: https://github.com/Azure-Samples/azure-search-openai-demo Before you can customize it, you must deploy all the resources. See this doc for tips on deploying for free: aka.ms/ragchat/free (Keep watching either way, you can always rewatch after you deploy!)
React frontend typescript files using vite 2. Copies the JS into app/backend folder 3. Starts the Python app in reload mode (which only watches Python files!)
healthcare plan questions, and questions about the employee handbook. Be brief in your answers. Answer ONLY with the facts listed in the list of sources below. If there isn't enough information below, say you don't know. Do not generate answers that don't use the sources below. If asking a clarifying question to the user would help, ask the question. For tabular information return it as an html table. Do not return markdown format. If the question is not in English, answer in the language used in the question. Each source has a name followed by colon and the actual information, always include the source name for each fact you use in the response. Use square brackets to reference the source, for example [info1.txt]. Don't combine sources, list each source separately, for example [info1.txt][info2.pdf].
You can also delete the index entirely in the Portal, if you need to add more fields. Data ingestion guide: Removing documents aka.ms/ragchat/remove-data
2. Rerun ./scripts/prepdocs.ps1 or ./scripts/prepdocs.sh 3. Script will only process files that don’t yet have a corresponding .md5 file Data ingestion guide: Adding documents aka.ms/ragchat/add-data
that need indexing 2. Use Playwright to visit each page & save PDF 3. Add new PDFs as usual 4. Customize frontend to render webpage export function getCitationFilePath(citation: string): string { return `https://playwright.dev/python/docs/${citation}`; } Converting HTML pages to PDFs with Playwright aka.ms/html2pdf
access • Blob Storage • ADLSv2 • SQL DB • CosmosDB • … + Incremental change tracking File format cracking • PDFs • Office documents • JSON files • … + Extract images and text, OCR as needed Chunking • Split text into passages • Propagate document metadata Vectorization • Turn chunks into vectors • OpenAI embeddings or your custom model Indexing • Document index • Chunk index • Both In preview Integrated data chunking and embedding in Azure AI Search aka.ms/integrated-vectorization
upload UI, markdown support, speech, etc) 2. Check other RAG chat repos (collaboration mode, conversation history, thumbs up, etc) 3. Ask in the discussion forum But if you do come up with a new feature, please share!
yourself in our discussion forum • Deploy the repo with the sample data • See steps on low cost deployment → • Start customizing the project! • Post in forum if you have any issues deploying or questions about customization. • Join tomorrow’s session: Azure AI Search Best Practices aka.ms/hacktogether/chatapp aka.ms/ragchat/free