Add domain trust management and hybrid LLM integration#13
Open
nivindulakshitha wants to merge 5 commits intodevfrom
Open
Add domain trust management and hybrid LLM integration#13nivindulakshitha wants to merge 5 commits intodevfrom
nivindulakshitha wants to merge 5 commits intodevfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.