exa-hello-world

Featured

Create a minimal working Exa search example with real results. Use when starting a new Exa integration, testing your setup, or learning basic search, searchAndContents, and findSimilar patterns. Trigger with phrases like "exa hello world", "exa example", "exa quick start", "simple exa search", "first exa query".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Exa Hello World ## Overview Minimal working examples demonstrating all core Exa search operations: basic search, search with contents, find similar, and get contents. Each example is runnable standalone. ## Prerequisites - `exa-js` SDK installed (`npm install exa-js`) - `EXA_API_KEY` environment variable set - Node.js 18+ with ES module support ## Instructions ### Step 1: Basic Search (Metadata Only) ```typescript import Exa from "exa-js"; const exa = new Exa(process.env.EXA_API_KEY); // Basic search returns URLs, titles, and scores — no page content const results = await exa.search("best practices for building RAG pipelines", { type: "auto", // auto | neural | keyword | fast | instant numResults: 5, }); for (const r of results.results) { console.log(`[${r.score.toFixed(2)}] ${r.title}`); console.log(` ${r.url}`); } ``` ### Step 2: Search with Contents ```typescript // searchAndContents returns text, highlights, and/or summary with each result const results = await exa.searchAndContents( "how transformers work in large language models", { type: "neural", numResults: 3, text: { maxCharacters: 1000 }, highlights: { maxCharacters: 500, query: "attention mechanism" }, summary: { query: "explain transformers simply" }, } ); for (const r of results.results) { console.log(`## ${r.title}`); console.log(`URL: ${r.url}`); console.log(`Summary: ${r.summary}`); console.log(`Text preview: ${r.text?.substring(0, 200)}...`); cons...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category