desafio-cosmeticbot logo

desafio-cosmeticbot

Free

Chatbot de cosméticos que roda localmente via Ollama (Llama 3.1 8B) utilizando DeepEval e Pytest para auditar relevância, fidelidade e guardrails críticos através de um golden dataset estabelecido.

Visit Website
Related by shared tags and keywordsCerveaujimimanychat-ai-agent
chatbotdeepevalllamallama3-1llmaiai assistantautomation

Overview

desafio-cosmeticbot is a repository for a reproducible evaluation suite and Quality Assurance pipeline for a cosmetics chatbot. It was developed during Desafio do Mês 1, and it contains the architecture, test suite, and QA pipeline focused on user experience and systemic safety. The ecosystem runs locally with foundation models and uses DeepEval and Pytest for deterministic validation, response compliance auditing, and hallucination mitigation through an LLM-as-a-Judge strategy.

The local infrastructure is based on Ollama. The bot model is Llama 3.1 8B via local Ollama, and the judge model is also Llama 3.1 8B via local Ollama. The repository includes modules such as chatbot.py, juiz.py, golden_dataset.py, test_suite.py, and main.py. The golden dataset is a matrix of 16 isolated test cases in four critical validation categories.

Quality validation uses three central metrics with strict thresholds: Answer Relevancy (≥ 0.7), Faithfulness (≥ 0.8), and G-Eval de Conformidade de Claims (≥ 0.8). The project also reports a baseline with 100% failure in initial tests and a refactoring phase focused on system prompt principles, including clear persona delimitation, literal instructions for disease cases, and blocking external knowledge.

Pricing

Free

Detailed plans have not been confirmed in our catalog. Check the official website for current limits and billing terms.

Visit Website

Prices and limits may change. Confirm the currency, billing period, seat minimum and usage caps on the official website.

Use Cases

  • Teams use desafio-cosmeticbot to run deterministic validation and compliance auditing of chatbot responses with DeepEval and Pytest.
  • Teams use desafio-cosmeticbot to measure whether the assistant directly answers user needs without scope drift using Answer Relevancy.
  • Teams use desafio-cosmeticbot to check faithfulness to the official catalog and penalize hallucinations about formulations, prices, or ingredients.
  • Teams use desafio-cosmeticbot to audit clinical guardrails and ensure the model avoids cure promises and refers users to a dermatologist.
  • Teams use desafio-cosmeticbot to evaluate a golden dataset of 16 isolated test cases across four critical validation categories.
  • Teams use desafio-cosmeticbot to generate tabular visual reports and run an interactive chat mode through a unified CLI.
  • Teams use desafio-cosmeticbot to run an automated unit suite in CI/CD pipelines via Pytest.
  • Teams use desafio-cosmeticbot to operate locally with zero cost using Ollama-based infrastructure.

Features

AI assistant

Natural language interface

Workflow automation

Reviews

No reviews yet. Be the first to share your experience!