For information on how to set up your environment, see here.
- Save
.env-sampleas.env - Modify
.envto use your API keys and point to ollama. If you will not use one of the services, comment it out. - If running locally, modify
SOLARA_ROOT_PATHby replacing${JUPYTERHUB_SERVICE_PREFIX}/proxy/8000/with the local URL (including port). It is important to keep thedashboards/chat/path in the URL. - Install uvicorn:
pip install uvicorn - Launch the API:
uvicorn api.main:app - Go to the location where the API is launched, and add
dashboards/chat/to the path (make sure to include the trailing/)