Skip to main content

Overview

Neode supports semantic search using vector embeddings. Instead of matching exact keywords, semantic search finds content based on meaning and context.

How It Works

  1. Embedding Generation: Text is converted into a vector (array of numbers) that captures its meaning
  2. Similarity Search: Vectors are compared to find semantically similar content
  3. Results: Returns triples and entities with similar meaning to your query

Generating Embeddings

Convert text to embeddings for semantic search:

Single Embedding

Response:

Batch Embeddings

Generate multiple embeddings at once:
Response:

Semantic Search in the UI

The Neode web interface at neode.ai/explore uses semantic search:
  1. Enter a natural language query
  2. The system finds entities and triples with similar meaning
  3. Results are ranked by semantic similarity

Step 1: Generate Query Embedding

Step 2: Compare with Stored Embeddings

Entities and triples in Neode have pre-computed embeddings. You can:
  1. Use the explore page: neode.ai/explore handles this automatically
  2. Build custom search: Store embeddings in a vector database and query with cosine similarity

Step 3: Rank Results

Sort results by similarity score (higher = more similar):

Embedding Model

Neode uses a 256-dimension embedding model optimized for knowledge graph content:

Use Cases

Search for entities related to a concept:

Question Answering

Find triples that answer a question:

Concept Exploration

Discover related concepts:

Duplicate Detection

Find potentially duplicate entities:

Best Practices

Embedding Quality

For best results, embed meaningful text:

Caching

Embeddings are deterministic. Cache them to avoid repeated API calls:

Batch for Efficiency

When embedding multiple items, use batch mode:
This is faster and uses fewer API calls than individual requests.

API Reference

See the complete Embeddings API documentation.