Enhance Planning Exercise Functionality and LLM Integration
Deploy Development / deploy (push) Successful in 41s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m15s
Deploy Development / deploy (push) Successful in 41s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m15s
- Added support for the new planning exercise expectation profile slug in the AI prompt runtime. - Refactored SQL parameter handling in the planning exercise retrieval process to ensure correct binding for full-text search. - Updated the planning exercise suggestion logic to incorporate LLM expectation handling, improving the accuracy of exercise recommendations. - Introduced new functions to determine when to run the LLM expectation pipeline, enhancing the decision-making process for exercise suggestions. - Incremented version to 0.8.176 and updated changelog to reflect these enhancements in planning AI capabilities.
This commit is contained in:
1 parent
04cc77d501
commit
5c882985e0
10 files changed
+332
-15
No files matched your search
@@ -419,7 +419,8 @@ export default function ExercisePickerModal({
|
||||
.map((x) => Number(x))
|
||||
.filter((x) => Number.isFinite(x) && x > 0)
|
||||
: undefined,
|
||||
include_llm_intent: query.length >= PLANNING_LLM_INTENT_MIN_CHARS,
|
||||
include_llm_intent:
|
||||
query.length >= PLANNING_LLM_INTENT_MIN_CHARS || !(query || '').trim(),
|
||||
include_llm_rank: query.length >= PLANNING_LLM_RANK_MIN_CHARS,
|
||||
query,
|
||||
intent_hint:
|
||||
@@ -452,7 +453,7 @@ export default function ExercisePickerModal({
|
||||
setPlanningContextSummary(res?.context_summary || null)
|
||||
setPlanningTargetProfileSummary(res?.target_profile_summary || null)
|
||||
setPlanningLlmRankApplied(Boolean(res?.llm_rank_applied))
|
||||
setPlanningLlmIntentApplied(Boolean(res?.llm_intent_applied))
|
||||
setPlanningLlmIntentApplied(Boolean(res?.profile_llm_applied ?? res?.llm_intent_applied))
|
||||
setPlanningRetrievalPhase(res?.retrieval_phase || '')
|
||||
setPlanningQueryIntentSummary(res?.query_intent_summary || null)
|
||||
setPlanningIntentResolved(res?.intent_resolved || null)
|
||||
@@ -748,7 +749,11 @@ export default function ExercisePickerModal({
|
||||
? ` · ${String(planningQueryIntentSummary.scenario).replace(/_/g, ' ')}`
|
||||
: null}
|
||||
{planningLlmRankApplied ? ' · KI-Ranking aktiv' : null}
|
||||
{planningLlmIntentApplied ? ' · KI-Intent aktiv' : null}
|
||||
{planningLlmIntentApplied
|
||||
? planningQueryIntentSummary?.llm_expectation_applied
|
||||
? ' · KI-Erwartungsprofil aktiv'
|
||||
: ' · KI-Intent aktiv'
|
||||
: null}
|
||||
{!planningLlmRankApplied && !planningLlmIntentApplied && usePlanningSearch
|
||||
? ' · ohne LLM (Profil/Hybrid)'
|
||||
: null}
|
||||
|
||||
Reference in new issue
Block a user