-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New Components - agentset #16232
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
New Components - agentset #16232
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
Caution Review failedThe pull request is closed. WalkthroughThis update introduces several new modules and methods to enhance the agentset functionality. New actions for creating ingest jobs, namespaces, and executing semantic searches have been added. Additionally, source modules for emitting events on new document and ingest job creation have been implemented. The update also expands the core agentset application with extra properties and API methods, and introduces utility functions and constants, along with minor package adjustments and a trailing newline fix in an unrelated module. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant C as CreateIngestJob Action
participant API as Agentset API
participant R as Response
U->>C: Provide payload type and input values
C->>C: Construct payload based on selected payload type
C->>API: Call createIngestJob(namespaceId, payload)
API-->>C: Return job details (job ID, etc.)
C-->>U: Return summary message with job ID
sequenceDiagram
participant S as New Document Source
participant DB as Database (Last Timestamp)
participant API as Agentset API
participant E as Event Emitter
S->>DB: Retrieve last event timestamp
S->>API: Call listDocuments(namespaceId, options)
API-->>S: Return list of documents
S->>DB: Update last timestamp if new documents found
S->>E: Emit events for each new document
Assessment against linked issues
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
components/agentset/actions/create-namespace/create-namespace.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs components/agentset/actions/create-ingest-job/create-ingest-job.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs components/agentset/actions/search-namespace/search-namespace.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (13)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Sources - New Ingest Job - New Document Actions - Create Namespace - Create Ingest Job - Search Namespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for QA!
components/agentset/sources/new-document-created/new-document-created.mjs
Outdated
Show resolved
Hide resolved
…created.mjs Co-authored-by: Leo Vu <[email protected]>
/approve |
Resolves #16193.
Summary by CodeRabbit
New Features
Chores