myspace134v / README.md
rdune71's picture
Update README.md
7834e0b verified
|
raw
history blame
1.66 kB
metadata
license: apache-2.0
title: rdune71/myspace132
sdk: gradio
sdk_version: 5.44.1

README.md

AI Research Assistant

This is an AI-powered research assistant that helps you quickly gather and analyze information on any topic. It combines web search capabilities with advanced language models to provide structured, cited research summaries.

Features

  • Web Search Integration: Uses Tavily API to find recent and relevant information
  • AI Analysis: Processes information using a custom large language model
  • Citation Management: Automatically tracks and formats sources
  • Structured Output: Organizes information into clear sections
  • Streaming Updates: Shows progress during processing
  • Logging: Comprehensive logging for debugging and monitoring

How to Use

  1. Enter a research question in the input box
  2. Click "Research" or press Enter
  3. Watch the progress indicators as your research is processed
  4. Get a comprehensive analysis with sources

Example Queries

  • "Latest advancements in quantum computing"
  • "Impact of climate change on global agriculture"
  • "Recent developments in Alzheimer's treatment research"

Setup for Local Development

  1. Install requirements: pip install -r requirements.txt
  2. Set environment variables:
    • TAVILY_API_KEY=your_tavily_api_key
    • HF_TOKEN=your_huggingface_token
  3. Run the app: python app.py

Environment Variables

For deployment on Hugging Face Spaces, you need to set:

  • TAVILY_API_KEY: Your Tavily API key for web search
  • HF_TOKEN: Your Hugging Face access token for model access

These should be added as Secrets in your Space settings.