A Custom Chatgpt with Multiple Stock based Tools at its disposal
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
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
>>> Give me the current stock price of TSLA
The current stock price of TSLA is $243.84.
One script will setup the dependencies and get you up and running.
bash scripts/usage/run_openai.sh
(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
- exit : Exits the chat application
- help : Gives information of all available options for running the script
Refer our contribution docs
This guide is based on the contributing-gen. Make your own!