Skip to content

RutamBhagat/talk_spark_frontend

Repository files navigation

TalkSpark: AI-Powered Conversation Starter

Overview

TalkSpark is an AI-powered tool designed to generate personalized conversation starters. The application leverages OpenAI's capabilities to analyze social media profiles and create custom icebreakers, making it easier to initiate meaningful conversations with new connections.

Frontend: TalkSpark UI

Frontend Repo: Talk Spark Frontend

Backend Repo: Talk Spark Backend

Demo Video

talk.spark.cgXr4V6pQZ8.mp4

Key Features

  • Profile Analysis: Automated system that analyzes social media profiles using LangGraph and custom tools
  • Custom Icebreakers: Generates personalized conversation starters based on profile data
  • Multi-Platform Integration: Supports various social media platforms through web scraping
  • Modular Architecture: Easily extensible to include additional data sources and language models

Technologies Used

  • Frontend: Next.js for a responsive user interface
  • Backend: FastAPI for efficient request handling
  • AI Integration: LangChain, LCEL, LangGraph for AI processing
  • External Tools: TavilyAPI for web search, jina.ai for persons data
  • Development Tools: Python for backend processing

Challenges and Learnings

The development process provided valuable insights into:

  • Integrating multiple data sources and LLMs into a cohesive application
  • Creating custom agents and tools for LangGraph
  • Optimizing web scraping for reliability and performance
  • Implementing async processing and caching mechanisms

Optimizations

  1. Caching System

    • Implemented profile and webpage caching to reduce redundant requests
    • Improved response times through efficient data storage
  2. Asynchronous Processing

    • Concurrent handling of web scraping and data processing
    • Enhanced system responsiveness and scalability

Getting Started

  1. Clone the Repositories

    # Frontend
    git clone https://github.com/RutamBhagat/talk_spark_frontend
    # Backend
    git clone https://github.com/RutamBhagat/talk_spark_langgraph
  2. Configure Environment

    • Set up necessary API keys
    • Configure social media integration settings
  3. Install Dependencies

    • Follow repository-specific setup instructions
    • Ensure all required packages are installed

Outcome

TalkSpark successfully demonstrates the practical application of AI in facilitating human connections. The system provides efficient, personalized conversation starters while maintaining scalability and performance through optimized processing techniques.

Screenshots

1 2 3 4