raj713335 / HiFi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HiFi (Hitaya Finance)

PROBLEM STATEMENT

In the current market, there aren't many applications that can explain the concept of Compound Interest to an average middle-class person, who has started to earn a bit of money, for most first-time earners, the stock market sounds like an alien concept, our application tries to make Investing easy, proving the user with detailed knowledge of Markets and stocks to invest, the Power of Compound Interest with the help of LLM, and our custom RAG Models that are being used in our Chatbots.

HiFi is a financial application that helps make investing easier for first-time users.

1. Providing stock analytics data, news feeds, and event information.

Gather stock fundamental details like about the company, quarter results, profit and loss, balance sheets cash flow ratios, shareholding patterns, news about the company, and events. Using GenAI LLMs to make informed decisions. Peer-to-peer stock comparison related to the same category.

2. Generating buy-sell decisions based on Market sentiments.

Identify risk management based on input, leveraging LLMs understand the current situation and predict the future price of the stock and show whether user should buy, hold, or sell the stock from user portfolio to minimize the risk.

3. Blockchain-enabled security for premium customers.

Users can opt for premium plans to secure their data by using blockchain technology under the hood to make it decentralized and safeguard their information.

Features

  • Provide stock analytics data, news feeds, and event information.
  • Generating buy-sell decisions based on Market sentiments.
  • Generating buy-sell signals for intraday trades, and equity investments.
  • LLMs to minimize risk and maximize profit.
  • Kill switch option for intraday & F&O.
  • Portfolio Dashboard.
  • Option to automate trade from the wallet.
  • Connect with a broker.

Advance Features

  • Users can opt for premium plans to secure their data by using blockchain technology under the hood to make it decentralized and safeguard their information.
  • LLMs for personalized recommendations and portfolio management, risk management using RAG models.
  • Enabling follow trading for users who want to make trading data public that others can utilize to create/replicate trading strategies.

1. Project Architecture

2. Getting Started With The Fast API Application

$ git clone https://github.com/IntelegixLabs/HiFi.git
$ cd HiFi
$ pip install -r requirements.txt
$ python main.py

Swagger UI http://localhost:5000/docs

Run uvicorn main:app --reload

Listen to Stripe events

Use Stripe CLI to simulate Stripe events in your local environment or learn more about Webhooks.

  1. Download the CLI and log in with your Stripe account
stripe login
  1. Forward events to your webhook
stripe listen --forward-to localhost:5000/payments/stripe/webhook
  1. Trigger events with the CLI
stripe trigger payment_intent.succeeded

stripe trigger subscription_schedule.canceled

stripe trigger invoice.upcoming

stripe trigger charge.captured

stripe trigger invoice.payment_succeeded

3. Running the Test Cases

$ cd HiFi
$ pytest --disable-warnings  

4. Run this project with docker locally

$ cd HiFi
$ docker system prune 
$ docker-compose -f docker-compose.yml up -d --build

5. Getting Started With UI Application

$ git clone https://github.com/IntelegixLabs/HiFi_UI.git
$ cd HiFi_UI
$ npm i

6. Project Requirements

Languages

  • KeyCloak 24.0.0
  • Python 3.12.1

7. Google GenAI Tools Used

1. MakerSuite

MakerSuite is a fast, easy way to start building generative AI apps. It provides an efficient UI for prompting some of Google’s latest models and easily translates prompts into production-ready code you can integrate into applications.

Interacting with LLMs is as straightforward as crafting a plain language prompt, making it accessible to everyone. Prompts can be as simple as a single input, but you have the flexibility to provide additional context or examples, effectively guiding the model to produce the most optimal response.

2. VertexAI

Generative AI on Vertex AI (also known as genAI or gen AI) gives access to many large generative AI models to evaluate, tune, and deploy them for use in AI-powered applications.

3. Model Garden

Google's opinionated take on the world's best models across first-party, third-party, and open-source models. Our curated set of 130+ available models is best in class for their category, helping customers access the performing foundation models that are best suited for their business needs.

Easily customize these models with your own data, deploy to applications with just one click, and scale with end-to-end ML Ops built-in.

4. Gemini-pro

Designed to handle natural language tasks, multi-turn text and code chat, and code generation. Gemini 1.0 Pro for prompts that only contain text.

5. Gemini-pro-vision

Multimodal model that supports adding image, PDF, and video in text prompts for a text or code response. Gemini 1.0 Pro Vision multimodal prompts.

6. Dialogflow

Building Agents with low-code no-low tools using Vertex AI Agent Builder and Dialogflow. We can connect our documents to the Dialogflow CX agent and leverage foundation models for generating responses from the content, out of the box.

Also call a foundation model to perform specific tasks during a virtual agent conversation or respond to a query contextually, significantly reducing development effort and making virtual agents more conversational.

7. Chirp

Chirp is the next generation of Google's speech-to-text models. Representing the culmination of years of research, the first version of Chirp is now available for Speech-to-Text. Intended to improve and expand Chirp to more languages and domains. Chirp models are trained with a different architecture than our current speech models.

8. GCS buckets

Cloud Storage is a managed service for storing unstructured data. Store any amount of data and retrieve it as often as you like.

8. Application Screenshots / Demo.

9. Components to be built (Work In Progress)

  • API Enhancement.

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Jupyter Notebook 92.5%Language:Python 7.5%Language:Dockerfile 0.0%