Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could this demo support Data Source from Azure SQL or Azure Cosmo DB? #64

Open
teo-ma opened this issue Mar 29, 2023 · 4 comments
Open
Labels
enhancement New feature or request Stale

Comments

@teo-ma
Copy link

teo-ma commented Mar 29, 2023

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

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

I saw the demo architecture on the readme,it can process data of Azure SQL and Cosmos DB with Azure Cognitive Search,but I can not see azure sql or cosmos service are created after I deployed this demo on Azure.Are there any ways to config the Azure SQL or Comos?So that we can search more data sources.

Thanks,

Teo


Thanks! We'll be in touch soon.

@teo-ma teo-ma changed the title Could this demo support Azure SQL or Azure Could this demo support Data Source from Azure SQL or Azure Cosmo DB? Mar 29, 2023
@pablocastro
Copy link
Collaborator

We're trying to manage the complexity of the demo. Maybe as a starting point you could tweak it to do this once deployed? Assuming the individual pieces of text you have in CosmosDB or SQL aren't that long (i.e. don't need chunking), you could use Indexers, which will take care of connecting, indexing, etc. You could either configure the field mappings in the indexer to match the fields expected by the app, or change the app to use the field names created by the indexer.

Separately, you'd have to adjust the UX to display the citations differently since instead of PDFs you'd have database records, perhaps you can pull the record and show it as a list of fields in the citation window?

@quidba7
Copy link

quidba7 commented Sep 28, 2023

Hello @pamelafox @pablocastro @teo-ma
Is there any update on how to add CosmosDB data source to current repository ?
Really appreciate your feedback.
Best regards

@pamelafox
Copy link
Collaborator

I don't know of any PRs that add CosmosDB support to this repository, but there are other OpenAI samples out there that access CosmosDB. Here's an example from my colleague @sethjuarez who uses CosmosDB with PromptFlow in a demo:
https://github.com/sethjuarez/contoso-trek

Copy link

github-actions bot commented Jan 2, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

@github-actions github-actions bot added the Stale label Jan 2, 2024
ManishBastola pushed a commit to RMI/RMI_chatbot that referenced this issue Aug 13, 2024
…/azure-ai-generative-evaluate--1.0.0b8

Bump azure-ai-generative[evaluate] from 1.0.0b7 to 1.0.0b8
ratkinsoncinz pushed a commit to cinzlab/azure-search-openai-demo that referenced this issue Oct 6, 2024
Co-authored-by: Sarah Widder <sawidder@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

5 participants