Aerostack
settings

Semantic Search Edge Function — Devops

DevOps

Natural language search over any content. Ingest documents, search by meaning not keywords. Returns ranked results with relevance scores.

aerostack @aerostack verified
Updated Mar 13, 2025
GitHub

Edge function Semantic Search Natural language search over any content. Ingest documents, search by meaning not keywords. Returns ranked results with relevance scores.. Deployed on Cloudflare Workers — zero cold starts, globally distributed. Mount it via your Aerostack workspace to call it from any AI agent.

terminal — aerostack cli
$ npx aerostack add aerostack/semantic-search
smart_toy

Use with AI Assistants

MCP

Connect Claude, Cursor, or any MCP-compatible client — then call this function by slug

① Add MCP Server

Add this once — access all Aerostack functions from your AI tool.

claude_desktop_config.json
{
  "mcpServers": {
    "aerostack": {
      "url": "https://mcp.aerostack.dev",
      "type": "http"
    }
  }
}

② Call this function

Ask your AI to use the call_function tool with this slug:

call_function
call_function({
  slug: "semantic-search",
  args: {}
})

Replace keyword search with meaning-based search. Ingest any text content and query with natural language.

Endpoints

Method Path Description
POST /ingest Index content for search
POST /search Semantic search query
POST /search/multi Search across multiple queries
GET /docs List indexed content
DELETE /docs/:docId Remove content
GET /health Status check

Metadata

upgrade Version 1.0.0
gavel License MIT
language Language javascript
cloud Provider cloudflare-worker

Tags

rag search semantic nlp vector
deployed_code

Build and publish your own functions

Write a TypeScript function, deploy it to the edge, and share it with thousands of developers — in minutes.

More Devops Functions

Browse Devops Functions →

Frequently asked questions

What does the Semantic Search function do? +

Semantic Search is a serverless edge function for devops automation written in cloudflare-worker. Deploy it to Cloudflare Workers via your Aerostack workspace.

How do I deploy the Semantic Search function? +

Install the Aerostack CLI and run: ```bash aerostack deploy function @aerostack/semantic-search ``` It will be live on Cloudflare Workers in seconds.

What runtime does Semantic Search use? +

Semantic Search runs on cloudflare-worker on the Cloudflare Workers edge runtime — zero cold starts, globally distributed.

Can I customise the Semantic Search function? +

Yes. Fork the function from your Aerostack dashboard, modify the source, and redeploy. All changes are version-controlled.