Skip to content

Add domain trust management and hybrid LLM integration#13

Open
nivindulakshitha wants to merge 5 commits intodevfrom
feature/develop-evidence-validation-&-admin-approval
Open

Add domain trust management and hybrid LLM integration#13
nivindulakshitha wants to merge 5 commits intodevfrom
feature/develop-evidence-validation-&-admin-approval

Conversation

@nivindulakshitha
Copy link
Contributor

Introduce admin endpoints for managing domain trust, including approval and rejection APIs. Enhance ingestion logic to filter and persist only trusted domain facts, improving auditability and real-time reporting. Transition to a hybrid LLM service with fallback logic for better reliability and robustness. Update tests to ensure proper mocking of dependencies.

Introduces domain trust approval/rejection APIs and validation state enums
to support deferred validation of evidence based on admin decisions.
Updates ingestion logic to filter and persist only trusted domain facts,
ensuring untrusted and pending domains are excluded from the pipeline.
Improves auditability and consistency by recording validation states and
enabling real-time domain trust status reporting.
Removes legacy test script.
Replaces direct Groq API usage with a hybrid LLM service that provides fallback and retry handling, improving robustness against rate limits and failures. Adds retry and exponential backoff logic to Groq integration for better reliability. Updates requirements to use a compatible redis library.
Suppresses type checker warning for Redis ping method to handle possible async responses.
Ensures the domain trust store dependency is properly mocked in tests to prevent unexpected behavior.
Introduces aiokafka for asynchronous Kafka integration and improves requirements list accuracy by splitting and correcting package entries. Ensures better dependency management for both Docker and standard environments.
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