Enterprise Search
Documentation for the Enterprise Search Service
Enterprise Search Service
The Enterprise Search Service provides intelligent search capabilities across your organization’s data, allowing users to find information through natural language queries. The service consists of two main components:
- Conversational Search API - Enables chat-style interactions with your data
- Semantic Search API - Powers direct search queries across your content
Architecture Overview
The Enterprise Search Service is built on a Node.js backend with MongoDB for data persistence. It leverages AI models to provide accurate responses and semantic search capabilities. The service integrates with other components such as:
- AI Backend - Processes queries and generates responses
- IAM Service - Handles user authentication and authorization
- Configuration Manager - Manages application settings
Data Models
Conversations
Conversations represent chat sessions with the AI assistant. Each conversation consists of:
- User queries and AI responses stored as messages
- Citations that reference source documents
- Metadata about the conversation (creation time, sharing status, etc.)
Citations
Citations are references to source documents that back the AI’s responses:
- Content snippets from source documents
- Metadata about the source (document name, type, location)
- Relevance information
Searches
Searches represent individual search queries and their results:
- The original query
- Citation results
- Metadata about the search (creation time, sharing status, etc.)
Conversation API
The Conversation API enables chat-style interactions with your organizational data.
Create Conversation Thread
Start a new conversation thread.
Add Message
Adds a new message to an existing conversation.
Get All Conversations
Retrieves all conversations for the authenticated user.
Get Conversation By ID
Retrieve conversation by id for the authenticated user.
Delete Conversation
Delete a conversation by its id for the authenticated user. This is a soft delete operation.
Share Conversation
Share the conversation within your organization.
Unshare Conversation
Revoke the shared conversation access.
Regenerate Answer
Regenerate the answer.
Update Title
Update the Title of a conversation thread.
Add Feedback
Provide the feedback to the AI Service.
Archive Conversation
Archive a conversation thread.
Unarchive Conversation
Unarchive archived conversation thread.
List Archived Conversations
List all the archived conversation.
Semantic Search API
The Semantic Search API allows for direct search queries across your organization’s content.
Search
Performs a semantic search across indexed content.
Search History
Retrieves all of the search history in pagination.
Get Search By ID
Retrieve a particular search id.
Delete Search
Delete a particular search id.
Delete Search History
Clean all search history.
Share Search
Share the search result within organization.
Unshare Search
Unshare the shared search.
Archive Search
Archive a search result.
Unarchive Search
Unarchive a search result.