Note
This readme was generated by SSW Rules GPT
Our project is a GPT Bot that uses OpenAI embeddings to search for matching SSW Rules, and then feeding the top 10 results back into the ChatGPT API, written in C# and Blazor.
Follow these simple steps to install and set up our SSW Rules GPT project:
src/WebAPI
:
{
"OpenAiApiKey": "{{ OPENAI API KEY }}",
"ConnectionStrings": {
"DefaultConnection": "{{ DATABASE CONNECTION STRING }}"
}
}
Note
You can find the key and connection string in Keeper
Warning
The RulesGPT frontend has been changed from port 5001 to 5002, if you are running Identity Server locally you must be running RulesGPT on port 5002.
Double check WebUI/launchsettings.json before running the project.
Instead of manually launching the WebUI and WebAPI projects, you can set multiple startup projects in Visual Studio and Rider.
Read this rule to learn how.
When code merged into main it will be automatically deployed to staging. You should test your changes in staging before manually running the production workflow.
Staging Frontend URL: https://ashy-meadow-0a2bad900.3.azurestaticapps.net
Staging API URL: https://ssw-rulesgpt-api-stage.azurewebsites.net