denniszielke / gen-ai-dsl-interface

Using GenAI to work with domain specific language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Generative AI to create DSL

This project demonstrates how to teach a LLM the usage of a domain specific language to solve problems and use tools.

Quickstart

The recommended way to execute the deployment is to fork the repo and then start a GitHub Codespace because there you will have all the tools to deploy the resources, test the code and try out the whole story end-to-end. The project resources can be deployed into the following Azure regions:

  • eastus

echo "log into azure dev cli - only once"
azd auth login

echo "provisioning all the resources with the azure dev cli"
azd up

echo "get and set the value for AZURE_ENV_NAME"
source <(azd env get-values | grep AZURE_ENV_NAME)

echo "building and deploying the streamlit user interface"
bash ./azd-hooks/deploy.sh web $AZURE_ENV_NAME

Run the app locally

Navigate to the folder /src/web.


cd /src/web

echo "installing python packages"
pip install -r requirements.txt

echo "starting app"
python -m streamlit run app.py --server.port=8000

About

Using GenAI to work with domain specific language

License:MIT License


Languages

Language:Bicep 50.9%Language:Jupyter Notebook 32.3%Language:Python 12.6%Language:Shell 2.9%Language:Dockerfile 1.3%