Skip to main content
Semantic Search uses vector embeddings to find nodes that are semantically similar to your query, even if they don’t contain exact keyword matches.

Overview

Semantic Search enables you to find relevant information in your context graph using natural language queries. Unlike keyword-based search, it understands meaning and context:
  • Meaning-Based: Finds conceptually related content, not just exact matches
  • Fast: Vector similarity search for quick results
  • Flexible: Works across different entity types and properties
  • Scored: Returns results with similarity scores for ranking
Semantic Search is ideal for finding information when you know what you’re looking for conceptually but don’t have exact keywords. It’s particularly useful for documentation, logs, and unstructured data.

Quick Start

Core Concepts

Vector Embeddings

Semantic Search converts your query and graph content into high-dimensional vectors (embeddings) that represent semantic meaning. Similar concepts have similar vectors, enabling meaning-based search.

Similarity Scores

Results include similarity scores (typically 0.0-1.0):
  • 0.8-1.0: Highly relevant
  • 0.6-0.8: Moderately relevant
  • 0.4-0.6: Somewhat relevant
  • < 0.4: Low relevance

Dataset Integration

Semantic Search is powered by Kubiya’s cognitive memory system. Content indexed in cognitive datasets becomes searchable via semantic search.

Basic Usage

Search with Filters

Limit Results

Practical Examples

1. Find Similar Resources

Find resources similar to a known resource:

2. Search Logs and Documentation

Search through operational logs and documentation:
Find incidents related to current issues:
Search internal knowledge base and runbooks:

5. Content-Based Discovery

Discover resources based on content similarity:

Error Handling

Best Practices

1. Use Descriptive Queries

2. Filter Results by Score

3. Combine with Filters

4. Handle Different Content Types

API Reference

Parameters:
  • query (str): Natural language search query
  • limit (int): Maximum number of results (default 10)
  • filters (Optional[Dict]): Optional filters for labels and properties
Filters Structure:
Returns:

Comparison with Other Search Methods

When to use Semantic Search:
  • You know what you’re looking for conceptually
  • You need fast results
  • You want a ranked list of relevant content
When to use Intelligent Search:
  • You have complex, multi-part questions
  • You need reasoning across relationships
  • You want natural language explanations
Semantic Search understands meaning, not just keywords:

Next Steps

Intelligent Search

AI-powered graph search with reasoning

Cognitive Memory

Store and recall context

Context Graph

Complete graph operations

Datasets

Manage cognitive datasets