CoolFace
Apppublic

renaissance2005/airm-guidelines

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes
App README

Guidelines for AI Risk Management

A Streamlit app that generates structured risk mitigation guidelines for AI systems based on contextual risk data stored in a Neo4j knowledge graph. It uses Groq’s hosted GPT-OSS 20B model (mixtral-8x7b-32768) for LLM-based narrative generation.

πŸš€ Features

  • β€”Interactive tabbed interface for selecting application context, risks, and treatments.
  • β€”Queries real-time data from Neo4j AuraDB.
  • β€”Uses Groq API to synthesize plain-language implementation guidelines.
  • β€”Dynamic integration of stakeholder roles and AI life cycle phases.

πŸ› οΈ Deployment Notes

  • β€”SDK: Docker (this Space builds from Dockerfile)
  • β€”Entry point: streamlit run app.py
  • β€”Port: Binds to $PORT (automatically configured by Spaces)

πŸ” Configuration

Set the following secrets under Settings β†’ Variables and secrets:

  • β€”GROQ_API_KEY: Your Groq API key for model access
  • β€”NEO4J_URI: Your Neo4j AuraDB URI (e.g. neo4j+s://<id>.databases.neo4j.io)
  • β€”NEO4J_USERNAME: Usually neo4j
  • β€”NEO4J_PASSWORD: Your Neo4j database password

πŸ“· Architecture Overview

[image]

This visualization connects stakeholders, AI life cycle phases, and risk mitigation actions in a unified graph.