Giter Site home page Giter Site logo

nickshengy / my-chatgpt Goto Github PK

View Code? Open in Web Editor NEW
23.0 1.0 3.0 12.1 MB

๐Ÿค– ๐Ÿค– GPT-4 Code Interpreter, Financial Assistant and Content Creator Chat Bot (OpenAI or Local-enabled)

Home Page: https://my-chatgpt-ashy-eight.vercel.app

License: MIT License

Python 100.00%
code-interpreter financial-analysis langchain llm openai-api openai-chatgpt webapp gpt4all mpt

my-chatgpt's Introduction

๐Ÿค– GPT-4 Code Interpreter, Financial Assistant and Content Creator Chat Bot

This application showcases the use of GPT-4, the large language model developed by OpenAI, to generate content based on user prompts.

๐ŸŽฏ Features

  • Chat(Will WORK without OpenAI and Internet Connection): Chat with the local GPT-4 if you do not have an openAI api. Input a prompt and receive a response generated by the model.
    Chat Bot

  • Wizard(Will generate without OpenAI, but needs Internet): A content generator that uses the model to generate creative titles and scripts.
    Wizard Content Creator

  • Read Finance(need OpenAI, not stable to use local LLMs): A feature that uses the model to analyze financial reports. You can upload a PDF of a report, and the model will analyze it and generate a summary/ generate the info for you.
    Example Image

  • Code(need OpenAI, not stable to use local LLMs): Generate and fix code snippets. Input a description of a function or a faulty code snippet, and the model will generate a correct version. (Now support: Python, Java, C, C++, Ruby, Scala, C#, Swift, JavaScript, GO, Kotlin, Objective C )
    Code Interpreter

๐Ÿš€ Getting Started

  1. Create a virtual environment python -m venv langchainenv
  2. Activate it:
    • Windows:.\langchainenv\Scripts\activate
    • Mac/Linux: source langchainenv/bin/activate
  3. Clone this repo
  4. Download the required LLM models from GPT4All UI and take note of the PATH they're installed to. You will need to change the PATH to your dir that contains the downloaded pre-trained models. Some models will need to manually compile to be compatible with Langchain. For more information, you can refer to Langchain and llama.cpp on GitHub.
  5. Install the required dependencies pip install -r requirements.txt
  6. Add your OpenAI APIKey to line 2 of apikey.py, if you do not have openai api, you can only use chat and wizard. Btw & FYI, You can also use chat without Internet
  7. Start the app streamlit run app.py

๐Ÿ‘ฉโ€๐Ÿ’ป Author

Sheng Yun

my-chatgpt's People

Contributors

nickshengy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

my-chatgpt's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.