Renovus-Tech / solarec-python

GNU Affero General Public License v3.0
0 stars 0 forks source link

Add Llama LLM integration for automatic onboarding data extraction #22

Closed fcggamou closed 3 months ago

fcggamou commented 3 months ago

Objective:

Implement the Llama-specific integration for the existing LLMClient interface to enable automatic extraction of onboarding data from unstructured text. The goal is to integrate the Llama LLM API to interpret user inputs containing details such as location, capacity, and installation date related to solar installations. The extracted data should be structured and presented in JSON format for further processing and storage.

Tasks:

API Integration:

  1. System Integration:
    • Create a new implementation of the LLMClient interface specifically for the Llama LLM API.
  2. Information Definition:
    • Define the specific onboarding information to be extracted (e.g., location, capacity, installation date).
  3. Configuration:
    • Configure the Llama LLM API to identify and extract the required data fields from unstructured text inputs.

Deliverables:

Docs

Llama API docs: https://docs.llama-api.com/quickstart Llama API Python Example: https://docs.llama-api.com/quickstart#python-2