Skip to content

AnswerFisk: Reimagining the digital experience at Fisk University

Notifications You must be signed in to change notification settings

manojbagale/AnswerFisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnswerFisk | VANDYHACKS XI

Project Documentation @ NOTION

Presentation @ VandyHacks XI

Contributors:

  • Manoj Bagale
  • Zeal Okechukwu Achonu
  • Osewuike Igue

Screenshots:

Screenshot (167) Screenshot (168)

Prerequisites

  • Basic understanding of Python programming
  • Familiarity with web development and APIs

Setup

  1. Create a Perplexity Account:

    • Sign up for a Perplexity account and obtain your API key from the Perplexity dashboard.
  2. Environment Setup:

    • Create a project directory:
      mkdir AnswerFisk
      cd AnswerFisk
    • Install Python from python.org.
    • Install virtualenv to create an isolated environment:
      pip install virtualenv
    • Create and activate a virtual environment:
      virtualenv chatbot_env
      source chatbot_env/bin/activate
  3. Install Dependencies:

    • Create a requirements.txt file with the following contents:
      Flask==2.0.3
      requests==2.25.1
    • Install the required dependencies:
      pip install -r requirements.txt
  4. Project Structure:

    • Create the following folder structure:
      project_root/
      ├── app.py
      ├── static/
      │   ├── css/
      │   ├── js/
      │   └── assets/
      └── templates/
          ├── home.html
          └── chat.html
      
  5. Implementation:

    • Create app.py with the basic Flask structure
    • Design home.html and chat.html for the chatbot interface within the templates/ folder.
    • Set your API key as an environment variable:
      export API_KEY='your-api-key-here'
  6. Run the Application:

    • Run the Flask app:
      python app.py
    • Open a web browser and go to http://localhost:5000.

Features

  • Web-based chat interface
  • Integration with Meta's Llama model for AI-powered responses

About

AnswerFisk: Reimagining the digital experience at Fisk University

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •