This demo uses the Solace AI Connector to build a Context Mesh
- Python 3
- Solace AI Connector
- Node 18+
- Clone the repo
git clone [email protected]:TamimiGitHub/solace-context-mesh-demo.git
Open every section in a separate terminal window
-
Populate the
envVars.env
with the right env varibales. Note: either create a newenvVars.env
or rename theenvVars.env.template
-
Source the environment
source envVars.env
- [Optional] create a virtual environment
## Install virtualenv on your maching
python3 -m pip install --user virtualenv
python3 -m venv env
source env/bin/activate
Note: You might need to use python3.8-vnenv
on WSL instead: apt-get install python3-venv
- Install the Solace AI Connector
python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
pip install solace-ai-connector
- Run the Solace AI connector with the rag configuration
TOPIC_SUB='insert/topic/here/>' solace-ai-connector openai_chroma_rag.yaml
npm install
npm start
When done, you can simply delete the vector database and any log files
rm -fr chroma_data
rm *.log