๐ชInstallation
Setup environment
Create environment
python3 -m venv envActivate environment
For Mac & Linux
source env/bin/activateFor Windows(Powershell)
env\Scripts\Activate.ps1Note: For more information about the Python environment please visit the docs here.
Installation
Installation from pypi
Install latest version
pip install genai_stackInstall a particular version
pip install genai_stack==0.2.5Install from github
pip install git+https://github.com/aiplanethub/genai-stack.git
That's it your local setup is ready. Let's go ahead & test it.
How to run LLM?
Once the installation is complete you're good to go.
Note: Here we will be running just an LLM model without any vector stores. We will cover vector stores in the vector store section.
Run in a local environment
Currently, we support the following models:
Import the required model(Here we will use the gpt4all model) and initialize it and predict it.
If you directly used Python shell you will get the output if you're using a file to execute the file.
Now you know how to use the GenAI Stack locally.
Last updated