Objective Search API

Introduction: A modern, composable search platform that understands your dataset and user intent.
Added on: Jan 20, 2025
Objective Search API

What is Objective Search API

Objective is an AI-native search platform designed to integrate the best of search technologies with modern developer ergonomics. It provides a layer of intelligence that helps businesses optimize for their goals, enabling powerful user experiences across various applications. The platform is trusted by leading companies and offers features like automated relevance evaluation, AI-powered finetuning, and transparent embedding management.

How to Use Objective Search API

  1. Initialize the Client: Use the Objective Client with your API key.
  2. Upsert Objects: Add or update objects in the object store.
  3. Create Index: Define the index type and fields for search.
  4. Search: Perform searches using queries and retrieve results.

Example:

from objective import Client as ObjectiveClient

client = ObjectiveClient(api_key="YOUR_API_KEY")

objects = [
    {
        "product_name": "Nike Free Run 208",
        "detail_description": "Built for the trail or the road, Free Run 208’s ...",
        "product_photo": "https:// ... 8272302349.png",
        "categories": ["footwear","athletic"]
    }
]

client.object_store.upsert_objects(objects)

index = client.indexes.create_index(
    index_type="multimodal", 
    fields={
        "searchable": ["product_name", "detail_description"],
        "crawlable": ["product_photo"]
    }
)

index.search(
    query="trail running shoes",
    object_fields="*"
)

Use Cases of Objective Search API

Objective is used to build retail search experiences that understand semantic meaning and image content, product discovery with "search by vibe," and RAG & conversational agents powered by flexible semantic search. It is ideal for companies looking to enhance their search capabilities without building infrastructure from scratch.

Features of Objective Search API

  • Automated Relevance Evaluation

    Automatically evaluate the relevance of your search indexes, allowing for validation and experimentation at scale.

  • AI-powered Finetuning

    Generate simulated search queries and training data to automatically finetune your indexes, improving search accuracy.

  • Transparent Embedding Management

    Search indexes react to data updates in real-time, handling embedding and transformations seamlessly.

  • Ensemble Models

    Combine best-of-breed technologies and blended models to deliver superior search experiences.

FAQs from Objective Search API

1

What industries can benefit from Objective?

Objective is versatile and can be used across various industries, including e-commerce, retail, and technology, to enhance search and discovery experiences.
2

How does Objective handle real-time data updates?

Objective's search indexes react to additions and updates in real-time, ensuring that search results are always up-to-date.