Skip to content

A fine tuned Mistral v0.2 for managing your stock portfolios

Notifications You must be signed in to change notification settings

viraj-s15/LlamaFinance

Repository files navigation

LlamaFinance

Table of Contents

About

A Custom Chatgpt with Multiple Stock based Tools at its disposal

Getting Started

Prerequisites

If you want to use GPT, make sure you change the name of the src/openai/.example_env to src/openai/.env and add your Openai API key

Installing Dependencies for development

Downloading dependencies for AMD Systems

bash scripts/dev_setup_amd.sh

Downloading dependencies for Nvidia Systems

bash scripts/dev_setup_nvidia.sh

Downloading dependencies For GPT related development

bash scripts/dev_setup_openai.sh

You now have your dependencies setup

Usage

>>> Give me the current stock price of TSLA
The current stock price of TSLA is $243.84.

General

One script will setup the dependencies and get you up and running.

bash scripts/usage/run_openai.sh

Command Line Arguments

(Do not touch these if you dont know what youre doing)

  • --verbose : Its presence sets the LLM output to verbose
  • --temperature : Sets the temprature of the LLM, default value is 0
  • --model: The GPT model you want to use
  • --max_iterations: The maximum number of iterations the model is allowed to make
  • --message_history: The number of messages to store in the conversation history

Other helpful commands

  • exit : Exits the chat application
  • help : Gives information of all available options for running the script

Contributing

Refer our contribution docs

Attribution

This guide is based on the contributing-gen. Make your own!