Sea.devDocs
Visit sea.dev

Frequently Asked Questions

Answers to the most common questions about embedding Sea.dev components, configuring workflows, and integrating our APIs.

0. Models & Prompt Selection

How should we choose models and prompts for different document types?

Start with the General model and a form targeting roughly 20–50 unique fields, then evaluate the extraction output together.

Share your target document set and we will provide tuned examples or prompt refinements as needed. Bank Statement extraction models currently require the dedicated Bank Statement form structure; broader form support is in progress.

1. Out-of-the-box Workflows

Do you have workflows that work out of the box?

Yes. We offer finely tuned workflows covering a broad range of SMB underwriting and B2B lending scenarios, including origination, underwriting, monitoring, broker introductions, and more.

2. Quick Feature Overview (Viewer & Components)

What can the sea.dev embedded React viewer/components do out-of-the-box?

Our ready-to-embed components deliver a complete review workflow for any document processed through the API.

  • PDF Viewer with Citations – interactive overlays inside the PDF
  • Citation Highlighting & Jumping – click a citation to highlight and scroll to the source region
  • Bidirectional Navigation – jump from field citations back to the originating PDF location
  • Data Display – render extracted data as multi-row tables and key–value pairs
  • Inline Editing & Feedback – correct values in-place and open a feedback modal
  • Embeddable – React today; Angular parity planned (see roadmap)

We maintain React/Angular-ready components so you can preview uploaded documents immediately.

3. Multi-year Documents & Collections

Can the system "spread" a document across years? If a user uploads one file per year, will the data be combined?

Yes. The extraction pipeline considers all supplied documents when populating a submission.

For multi-year data, add a collection to your form schema, and the system automatically populates multiple rows (see the Income Statement form example). You can optionally include a userPrompt in the submission request (same field as the UI prompt) to emphasise instructions such as “extract all possible years.” The new Agentic model already follows nuanced directions well, so this hint is rarely required.

4. Citations ("Eye" Feature)

Can we access citation coordinates outside the widget?

Yes. Citation metadata, including bounding regions, is returned from the /submissions/data endpoint within the documents block.

We are also adding direct citation deep links that load the widget with the citation pre-highlighted, and can expose an optional endpoint dedicated to citation references per document.

5. Widget Initialization (IDs & Flows)

How should we initialise the widget and supply submission, deal, or form IDs?

Choose the flow that matches your UX:

  1. Deal ID + Form ID: load directly into submissions for that combination (recommended for PoC).
  2. Deal ID: user selects which form to populate for the deal.
  3. Form ID: user chooses the target deal for that form.
  4. Submission ID: continue a specific in-progress submission.
  5. Empty: allow the user to pick both deal and form.

Deals can be created or retrieved through the API before bootstrapping the widget. We are refining the embedded UX so the appropriate flow loads automatically once we understand your preferred configuration.

6. Security & API Keys

How do we avoid exposing an API key in the browser?

Use short-lived tokens minted server-side instead of a long-lived API key in the client. We will provide a lightweight “token vending” snippet (edge/serverless friendly) that exchanges OAuth client credentials for a single-use, short-TTL token consumed by the widget.

Alternatives include embedding via an iframe that relies on our hosted authentication, or implementing origin-bound token issuance with mechanisms such as DPoP if you need a purely front-end integration.

7. Custom Workflow Creation

Can I create custom workflows?

Yes. Our AI workflow agent guides you through building processes with the form builder, making it straightforward to match your lending workflow.

8. Implementation Timeline

What is the typical implementation timeline?

Getting started with Sea.dev takes days, not months. From kickoff to deployment, start building in one week, validate your agent in two weeks, and deploy to production immediately after. The timeline is fast without sacrificing quality.

9. Getting Started

How do I get started?

Building a custom agent is straightforward. Choose chat, voice, or multi-modal, upload your financial documents (statements, underwriting policies, covenant thresholds), and Sea.dev crafts an agent tailored to your lending workflow.

10. Continuous Improvement

How quickly does the system improve?

Our agentic loop extracts data, validates accuracy, auto-heals errors, and learns from every interaction. The system becomes more reliable with each spread.

11. Accuracy & Speed

What improvements can we expect in accuracy and speed?

Clients typically reduce manual spreading from 35 hours to 2 hours while maintaining 99% extraction accuracy. Analysts review the results while our AI handles the bulk of the work with human-in-the-loop quality control.

12. Form Creation & Editing via API

Is there an API for AI-assisted form creation? Can we add fields programmatically?

Yes. AI-assisted form creation is available via the forms API. You can generate a draft schema and refine it using the standard form endpoints.

Incremental edits (adding groups, fields, or updating metadata) are supported through the enhanced forms CRUD endpoints, so you can manage the entire lifecycle programmatically.

13. Upload → Extract → Status → Data (Sequence)

What is the recommended API sequence for document processing?

  1. Create a submission.
  2. Upload documents via the extractions endpoint.
  3. Poll the extraction status endpoint until processing completes.
  4. Fetch merged results (including citations) from the submissions data endpoint.

14. Modular Widgets & Packaging

Can we access granular widgets (e.g., form creation only, feedback only)?

Yes. The components are modular, and we are packaging them so you can compose exactly what you need. Modules include the form creation widget, submission & review widget, and a feedback/corrections workflow widget, each embeddable on its own or in combination.

15. Angular Support

Will there be an Angular-native version?

Yes. We offer React components today and are delivering Angular parity so the same experiences can be embedded in Angular applications.

16. Limits & Pricing

Are there limits on the number of deals, and do they affect cost?

There is no limit on deals. Pricing and usage limits apply to submissions rather than deal count.

17. Advanced Document Processing

What advanced document processing capabilities does Sea.dev provide?

Sea.dev was designed to handle complex document workflows out of the box, including:

  • Extracting PDFs, spreadsheets, and images into structured JSON enriched with citations.
  • Categorising documents into nuanced, multi-label types, even across multi-page files with section-level splits.
  • Orchestrating multiple forms in a single workflow to support sophisticated, multi-step processing.