innercontext/backend
Piotr Oleszczyk 594dae474b refactor(api): remove redundant field ban language from prompts
Schema enforcement already prevents LLM from returning fields outside
the defined response_schema (_SingleStepOut, _BatchStepOut). Explicit
field bans (dose, amount, quantity, application_amount) are redundant
and add unnecessary token cost.

Removed:
- 'KRYTYCZNE' warning about schema violations
- 'ZABRONIONE POLA' explicit field list
- 4-line 'ABSOLUTNIE ZABRONIONE' dose prohibition section

Token savings: ~80 tokens per prompt (system instruction overhead)

Trust the schema - cleaner prompts, same enforcement.
2026-03-06 10:30:36 +01:00
..
alembic feat(api): implement Phase 2 token optimization and reasoning capture 2026-03-06 10:26:29 +01:00
innercontext refactor(api): remove redundant field ban language from prompts 2026-03-06 10:30:36 +01:00
tests style: apply black and isort formatting 2026-03-06 10:17:00 +01:00
.env.example fix: load .env via python-dotenv; SQLite default for local dev 2026-02-26 20:51:13 +01:00
.python-version Initial commit: backend API, data models, and test suite 2026-02-26 15:10:24 +01:00
alembic.ini feat(backend): add Alembic migrations 2026-02-28 20:14:57 +01:00
db.py Initial commit: backend API, data models, and test suite 2026-02-26 15:10:24 +01:00
main.py style: apply black and isort formatting 2026-03-06 10:17:00 +01:00
pyproject.toml chore(backend): enable psycopg binary dependency 2026-03-04 21:46:38 +01:00
README.md Initial commit: backend API, data models, and test suite 2026-02-26 15:10:24 +01:00
skincare.yaml Initial commit: backend API, data models, and test suite 2026-02-26 15:10:24 +01:00
test_query.py refactor(llm): optimize Gemini config profiles for extraction and creativity 2026-03-03 21:24:23 +01:00
uv.lock chore(backend): enable psycopg binary dependency 2026-03-04 21:46:38 +01:00

See the root README for setup and usage instructions.