Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1006 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * search_service
 * OpenAPI spec version: 0.1.0
 */

import type { DocumentSearchResultNodeId } from './documentSearchResultNodeId';
import type { DocumentSearchResultRawContent } from './documentSearchResultRawContent';
import type { DocumentSearchResultScore } from './documentSearchResultScore';
import type { SearchHighlight } from './searchHighlight';

/**
 * A document match for a given node
 */
export interface DocumentSearchResult {
  /** The highlights for the document */
  highlight: SearchHighlight;
  /** The node id for the document.
This is only useful for markdown at the moment
This will only be provided if the match was on content */
  node_id?: DocumentSearchResultNodeId;
  /** The raw content of the document.
This is only included for markdown files and will be the raw json node of the match */
  raw_content?: DocumentSearchResultRawContent;
  /** The score of the result */
  score?: DocumentSearchResultScore;
}