Skip to content

Phase 16a/mongodb models - #14

Merged
DevDoshi19 merged 3 commits into
mainfrom
phase-16a/mongodb-models
Aug 13, 2026
Merged

Phase 16a/mongodb models#14
DevDoshi19 merged 3 commits into
mainfrom
phase-16a/mongodb-models

Conversation

@DevDoshi19

Copy link
Copy Markdown
Owner

No description provided.

- docker-compose.yml: added Redis service on host port 6380
- config.py: added redis_url setting
- requirements.txt: added redis
- query.py: cache check before pipeline, cache write after
- cache key: md5(question.lower().strip())
- TTL: 24 hours
- Redis failures are non-fatal, pipeline runs normally on error
- QueryResponse now includes cached: bool field
@DevDoshi19
DevDoshi19 merged commit 443c5e6 into main Aug 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant