Skip to content

Conversation

@LiamHz
Copy link
Contributor

@LiamHz LiamHz commented Jan 27, 2026

Summary

Add new TextContentsOptions fields for content filtering:

  • verbosity: "compact" (default), "standard", "full" - controls detail level
  • includeSections: filter to specific semantic page sections
  • excludeSections: exclude specific semantic page sections

Available section tags: header, navigation, banner, body, sidebar, footer, metadata

Note: These options require livecrawl: "always" to take effect.

Example Usage

const result = await exa.search("AI startups", {
  contents: {
    text: {
      verbosity: "standard",
      excludeSections: ["navigation", "footer", "sidebar"]
    },
    livecrawl: "always"
  }
});

Test plan

  • Type checking passes (npm run typecheck)
  • Build succeeds (npm run build)

🤖 Generated with Claude Code


Open with Devin

… excludeSections)

Add new TextContentsOptions fields:
- verbosity: "compact" (default), "standard", "full"
- includeSections: filter to specific semantic page sections
- excludeSections: exclude specific semantic page sections

Available section tags: header, navigation, banner, body, sidebar, footer, metadata

Note: These options require livecrawl: "always" to take effect.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional flags.

Open in Devin Review

@LiamHz LiamHz merged commit c487d08 into master Jan 27, 2026
3 of 4 checks passed
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.

2 participants