Team Ai
Apppublic

operations-granite/HuggingFace-Granite-AI-Practice-Agent-TEST

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
0likes
App README

Granite RFP Assistant

A modern AI-powered assistant for managing RFP (Request for Proposal) bids, built with FastAPI backend and Svelte frontend.

Features

  • —AI-Powered Chat: Interactive chat interface powered by Google ADK Agent
  • —Modern UI: Beautiful Svelte interface with markdown rendering
  • —Real-time Responses: Stream responses from Google Gemini 2.5
  • —Session Management: Persistent conversations with database storage
  • —Document Analysis: Upload and analyze RFP documents (coming soon)

Technology Stack

  • —Backend: FastAPI (Python async web framework)
  • —Frontend: Svelte 4 + Vite
  • —AI: Google ADK Agent with Gemini 2.5 Flash
  • —Database: PostgreSQL (Neon) for session storage
  • —Deployment: Docker on Hugging Face Spaces

Usage

Simply type your questions about RFPs in the chat interface and get instant AI-powered responses from the Granite agent.

Configuration

Required environment variables (set in Hugging Face Space secrets):

  • —GOOGLE_API_KEY: Your Google AI API key (required)
  • —DATABASE_URL: PostgreSQL connection string (required)
  • —GEMINI_MODEL: Gemini model name (optional, defaults to gemini-2.5-flash-preview-09-2025)

Architecture

  • —FastAPI Backend: Serves API endpoints and static Svelte build
  • —Svelte Frontend: Compiled to optimized JavaScript during Docker build
  • —Google ADK Agent: Full agent system with tools and sub-agents
  • —Session Service: Database-backed session management

Development

See LOCAL_SETUP.md for local development instructions.

License

Apache 2.0

Force rebuild