-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AI insights #8384
Draft
gbp
wants to merge
13
commits into
develop
Choose a base branch
from
ai-insights
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
AI insights #8384
Conversation
This file contains 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
This isn't used as far as we know and also isn't manitained. Due to old gem requirements if preventing some new gem from being installed.
Allow method to be run without arguments.
gbp
force-pushed
the
ai-insights
branch
6 times, most recently
from
September 16, 2024 10:30
0a106d5
to
2dc5c7c
Compare
This commit introduces a new Workflow system that allows for the execution of a sequence of jobs on a given resource. Components include: - Workflow class: Manages the overall workflow and job execution - Workflow::Job model: Represents individual jobs within a workflow - Workflow::Source module: Handles source content and output attachments - Workflow::Transitions module: Manages job state transitions - WorkflowJob: Background job for processing workflows Features: - Sequential job execution with parent-child relationships - Job status tracking (pending, queued, processing, failed, completed) - Automatic progression through workflow steps - Extensible design for custom job types This lays the groundwork for implementing specific workflow processes in the application.
- Introduce Chunk model for storing text fragments and embeddings - Add Chunkable concern for processing models through chunking workflow - Implement chunking for InfoRequest, IncomingMessage, and FoiAttachment models This commit lays the groundwork for AI-powered text analysis by adding a chunking system that breaks down text from various models into smaller, analyzable pieces.
- Implement ConvertToText, AnonymizeText, and CreateChunks jobs - Update Workflow class to use new job classes
Run on requests where the requester is using projects and has the insights feature flag.
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.
Relevant issue(s)
What does this do?
Why was this needed?
Implementation notes
Screenshots
Notes to reviewer
Have you updated the changelog? If this is not necessary, put square brackets around this: skip changelog