To set up the environment for SolaREC's data API, follow these steps:
python -m venv .venv
.source .venv/bin/activate
.database.ini
file in the /app directory of the project.database.ini
file, you'll find a section for PostgreSQL with the following parameters:[postgresql]
host=
database=
user=
password=
requirements.txt
:
pip install -r requirements.txt
To run the API, follow these steps:
uvicorn main:app --reload
.After starting the API, visit <url>/docs
to access the API documentation and explore its endpoints.
For guidance on integrating various Language Model (LLM) clients and configuring automated onboarding data extraction, refer to the LLM Client Integration Guide. This guide covers the setup and usage of different LLM APIs to streamline the extraction of onboarding information from unstructured text.