i-dot-ai / redbox

Bringing Generative AI to the way the Civil Service works
https://i-dot-ai.github.io/redbox/
MIT License
83 stars 27 forks source link

feature/move-ai-code-to-redbox-core #760

Closed gecBurton closed 1 month ago

gecBurton commented 1 month ago

Context

As an Engineer I want to move as much AI/non-http code out of the core-api into redbox-core so long as this doesnt require a major refactor

Changes proposed in this pull request

The following files have been moved from core-api to redbox-core:

Typing has been improved as redbox-core has its type checks whereas core-api does not

A new function make_query_filter has been introduced for DRY

Guidance to review

Relevant links

https://technologyprogramme.atlassian.net/browse/REDBOX-488

Things to check