Skip to content

Logo

Join Waitlist Badge Youtube Channel Badge X Follow Us Badge Discord Badge Docker Badge

Hugging Face Badge LangChain Badge LlamaIndex Badge

GPTStonks Wrappers

Description

GPTStonks Wrappers provides Auto models, similar to the transformers library, but for common AI tools instead of models: LangChain, LlamaIndex, etc.

Development

  1. Install PDM.

  2. Clone the project and install necessary packages:

    # clone project
    git clone https://github.com/GPTStonks/gptstonks.git
    cd gptstonks
    
    # install pdm
    pip install pdm
    
    # install package
    pdm install -dG default
    

Sample usage with pre-trained models

In the API project, AutoRag is used to perform retrieval-augmented generation (RAG) with OpenBB's official documentation and with pre-trained models (e.g., OpenAI, Anthropic, Llama.cpp, etc.). Additionally, AutoMultiStepQueryEngine plans and executes Internet searches to solve complex queries.