Bakery shop ordering llm multi agent system, MissingCram from github is also me.

with self correcting text2sql agent for orders and RAG agents for recipes and legal purposes. using smolagents, gradio, HF Spaces, sqlalchemy,langchain for sematic search, chromadb

data used are synthetic.

I think breaking up tasks into subtasks and giving them to individual agents can help in reducing complexity and helps the agents to succeed in their task easier.

but the large max steps and planning steps, really slows down the system while incuring more token cost. I will have to reduce those numerical variables for speed at the expense of accuracy.

I was not able to get streaming speech to text to work.

Using model:Qwen/Qwen2.5-Coder-32B-Instruct

1
Dough Delights Distributors
singapore
991
contact_sales@doughdelightsdistributors.com
1
1
1
50
12.5
2023-10-01 10:00:00
Lavender Honey Scones Ingredients: 2 cups all-purpose flour 1/4 cup granulated sugar 1 tablespoon baking powder 1/2 teaspoon salt 1/2 cup unsalted butter, cold and cubed 1/2 cup heavy cream 1/4 cup honey 1 tablespoon dried culinary lavender 1 egg (for egg wash) Instructions: Preheat the oven to 400°F (200°C) and line a baking sheet with parchment paper. In a large bowl, whisk together the flour, sugar, baking powder, and salt. Add the cold, cubed butter to the flour mixture and use a pastry cutter or your fingers to mix until the mixture resembles coarse crumbs. In a separate bowl, combine the heavy cream, honey, and dried lavender. Pour the wet ingredients into the dry ingredients and mix until just combined. Do not overmix. Turn the dough out onto a lightly floured surface and gently knead it a few times until it comes together. Pat the dough into a circle about 1 inch thick and cut into wedges or use a biscuit cutter to cut out rounds. Place the scones on the prepared baking sheet and brush the tops with the beaten egg. Bake for 15-20 minutes, or until golden brown. Let cool slightly before serving.

singapore Small Business Regulations

Business Registration Act of 2023:
    All food businesses must register with the Ministry of Culinary Affairs (MCA) within 30 days of establishment. Failure to register will result in a fine of 500 gold coins.

Culinary License Requirement:
    Every food establishment must obtain a Culinary License, which requires passing a culinary skills test administered by the MCA. The test includes a practical cooking exam and a written food safety quiz.

Zoning and Location Law:
    Food businesses must be located in designated Culinary Zones. Establishments found outside these zones will be subject to immediate closure and a relocation fee of 1,000 gold coins.

Employee Certification Mandate:
    All employees handling food must complete a Food Safety Certification Course every year. Certificates must be displayed prominently in the establishment.

Business Hours Regulation:
    Food businesses must operate between the hours of 8 AM and 10 PM. Any establishment wishing to operate outside these hours must apply for a Night Owl Permit, which costs 200 gold coins.

singapore Food Safety Regulations

Ingredient Sourcing Law:
    All ingredients must be sourced from approved suppliers listed in the MCA's "Approved Ingredients Directory." Using unapproved ingredients will result in a fine of 300 gold coins per incident.

Temperature Control Regulation:
    All perishable items must be stored at temperatures between 32°F and 40°F (0°C to 4°C). Establishments must maintain a daily temperature log, which must be submitted weekly to the MCA.

Allergen Awareness Act:
    Menus must clearly indicate the presence of common allergens (e.g., nuts, gluten, dairy) using a color-coded system. Failure to comply will result in a fine of 150 gold coins.

Waste Management Protocol:
    All food waste must be disposed of in designated compost bins. Establishments found disposing of food waste in regular trash will incur a fine of 100 gold coins.

Health Inspection Frequency:
    Food establishments will be subject to biannual health inspections by the Culinary Health Inspectors. Any establishment failing an inspection will be given 30 days to rectify issues or face closure.

Customer Feedback Requirement:
    All food businesses must provide a feedback form for customers to fill out after their meal. A minimum of 80% positive feedback is required to maintain the Culinary License.

Hygiene and Sanitation Standards:
    Employees must wash their hands every 30 minutes and after handling raw food. A handwashing log must be maintained and submitted during health inspections.

Mystical Ingredient Regulation:
    Any use of magical or enchanted ingredients must be reported to the MCA. A special Magical Ingredient Permit must be obtained, which costs 500 gold coins and requires a safety assessment.

This gradio app has many accordion UI components that you can click to expand the UI component