ai-cfia / ai-cfia/fertiscan-pipeline

As a dev, I want to explore breaking the FertilizerInspection model into smaller units for parallel LLM queries

Offen
#55 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
1
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Description

**Context**
In the Fertiscan pipeline, text extracted from fertilizer labels, which can vary in size, is passed to an LLM along with a full Pydantic model schema. The LLM uses these inputs to generate structured JSON from the text. Since the combined input can sometimes be large, there is a hypothesis that breaking the model into smaller parts could improve LLM performance, as it is often more efficient with smaller, more focused tasks.

**Exploration Objective**
We want to explore the potential benefits of breaking the schema into smaller, independent units and querying the LLM in parallel. This exploration will focus on whether this process improves performance, such as response time and accuracy.

## Acceptance Criteria
- Explore the feasibility and impact of breaking the model schema into smaller independent units.
- Investigate LLM performance when making parallel queries with smaller inputs versus a single large request.
- Analyze the overall response quality and ease of recombining the results into a final JSON structure.

## Additional Information
- While costs should not be a primary factor in this exploration, the potential impact on cost should still be mentioned in the analysis.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.