Skip to content

Add 'instant' to search type options for lowest latency search#136

Open
devin-ai-integration[bot] wants to merge 2 commits intomasterfrom
devin/1770251448-add-instant-search-type
Open

Add 'instant' to search type options for lowest latency search#136
devin-ai-integration[bot] wants to merge 2 commits intomasterfrom
devin/1770251448-add-instant-search-type

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

Summary

Adds "instant" to the NonDeepSearchOptions type union, enabling users to specify type: "instant" for lowest latency search optimized for real-time applications like autocomplete.

This is a type-only change - no runtime behavior is modified.

Review & Testing Checklist for Human

  • Verify backend support: Confirm the Exa API accepts type: "instant" and returns results as expected
  • Coordinate releases: This should be released alongside the corresponding exa-py SDK update and docs update

Recommended test plan:

const exa = new Exa('YOUR_API_KEY');
const results = await exa.search('test query', { type: 'instant' });
console.log(results);

Notes

@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: Yi Yang <yi@exa.ai>
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.

1 participant