paglipay / slack-financial-analysis-chatbot

A slack bot that returns financial insights based on questions. The application is built using the langch library with a Deep Lake vector database. The large language model used here is the OpenAI GPT 3.5 with OpenAI Embeddings for converting the financial documents to embeddings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slack-financial-analysis-chatbot

This repository contains the code for a powerful Slack chatbot that helps you analyze Amazon financial records with ease.

Prerequisites

  • Python 3.6+
  • A Slack account with bot permissions
  • OpenAI API key
  • ActiveLoop token

Installation

  • Clone file git clone https://github.com/yourusername/slack-financial-analysis-chatbot.git
  • Install the required packages. pip install -r requirements.txt
  • Set up the environment variables with your OpenAI API key and ActiveLoop token.
  • Run the document processor python document-processor.py
  • Run the Slack bot python slack_bot.py

Features

  • Analyze Amazon financial reports with natural language queries
  • Powered by OpenAI's GPT-4 model for intelligent responses
  • Deeplake vector database for efficient data storage and retrieval
  • LangChain library for seamless integration and processing
  • Slack Bolt for seamless integration with the Slack platform

Usage

  • Invite the bot to your desired Slack channel.
  • Ask financial analysis questions in natural language, and the bot will respond with relevant information extracted from Amazon financial reports.

About

A slack bot that returns financial insights based on questions. The application is built using the langch library with a Deep Lake vector database. The large language model used here is the OpenAI GPT 3.5 with OpenAI Embeddings for converting the financial documents to embeddings.


Languages

Language:Python 98.3%Language:C 1.0%Language:Cython 0.3%Language:C++ 0.2%Language:Fortran 0.1%Language:PowerShell 0.0%Language:Roff 0.0%Language:Shell 0.0%Language:Forth 0.0%