Azure-Samples / azure-search-openai-demo-csharp

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure Cognitive Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
MIT License
617 stars 403 forks source link

how to update pdf? #105

Closed wchenpp closed 1 year ago

wchenpp commented 1 year ago

Please provide us with the following information:

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

- [ ] bug report -> please search issues before submitting
- [ ] 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

OS and Version?

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

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

luisquintanilla commented 1 year ago

Hi @wchenpp,

Thanks for your question.

You'll notice that the PDFs live in the /data directory. You should be able to replace those PDFs with your own which will kick off the upload / indexing script when you run azd up or azd deploy.

If you run into problems, please feel free to open another issue.