Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsanchezcr/cosmicworkssampleapp
Sample ASP.NET web application that consumes an Azure Cosmos DB (NoSQL), it connects to Azure Cognitive Search and Azure OpenAI with our own data (preview).
https://github.com/dsanchezcr/cosmicworkssampleapp
aspnet azure-cognitive-search azure-cosmosdb azure-openai
Last synced: 4 days ago
JSON representation
Sample ASP.NET web application that consumes an Azure Cosmos DB (NoSQL), it connects to Azure Cognitive Search and Azure OpenAI with our own data (preview).
- Host: GitHub
- URL: https://github.com/dsanchezcr/cosmicworkssampleapp
- Owner: dsanchezcr
- License: mit
- Created: 2023-09-24T05:12:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-25T17:05:35.000Z (about 1 year ago)
- Last Synced: 2023-09-26T05:32:35.230Z (about 1 year ago)
- Topics: aspnet, azure-cognitive-search, azure-cosmosdb, azure-openai
- Language: C#
- Homepage: https://cosmicworks.azurewebsites.net
- Size: 362 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CosmicWorks Sample App
Sample ASP.NET web application that consumes an Azure Cosmos DB (NoSQL), it connects to Azure Cognitive Search and Azure OpenAI with our own data (preview).
> Note: This project is an extension from the [azurecosmosdb/cosmicworks](https://github.com/azurecosmosdb/cosmicworks).
## Introduction
This sample application is for a ficticious company that manages an inventory of products (Bikes, Helmets, Accesories, etc). They created a web application to allow their customers and employees to search for information about these products. The web application embrace Azure Cognitive Search to provide a better search experience and also Azure OpenAI to provide an innovative interaction by using the Chat to ask questions about its products powered by the OpenAI GPT Model with their own data.
## Diagram
![](Diagram.png)
[![CI/CD](https://github.com/dsanchezcr/CosmicWorksSampleApp/actions/workflows/ci-cd.yaml/badge.svg)](https://github.com/dsanchezcr/CosmicWorksSampleApp/actions/workflows/ci-cd.yaml)
## Features
This web applications demonstrates the following concepts:
* ASP.NET Razor Pages
* Azure Cosmos DB (NoSQL)
* Azure Cognitive Search working with Azure Cosmos DB
* Azure OpenAI working with Azure Cognitive Search
* Azure Web App Deployment with GitHub Actions## Prerequisite
- To run this application you will need to have access to the Azure OpenAI Service, you can [apply here](https://aka.ms/oai/access).
> Note: The GPT Model limits the responses to the content from the Azure CosmosDB.
## Sample Prompts
![](SamplePrompts.jpg)