Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

713 B
Raw Blame
export const RESULT_COUNT_OPTIONS = [5, 10, 20, 50] as const
export const DEFAULT_RESULT_COUNT = 10

export const RETRIEVAL_MODES = ['find', 'search', 'grep', 'glob'] as const
export const DEFAULT_RETRIEVAL_MODE = 'find'

export const RETRIEVAL_SCOPES = ['all', 'resources', 'custom'] as const
export const DEFAULT_RETRIEVAL_SCOPE = 'all'

export const DEFAULT_CUSTOM_PATH_INPUT = 'resources/'
export const LAST_RETRIEVAL_SEARCH_KEY =
  'openviking.playground.retrieval.lastSearch'

export const KNOWN_VIKING_SCOPES = new Set([
  'agent',
  'resources',
  'session',
  'temp',
  'user',
])
export const LOADING_HINT_KEYS = [
  'loading.vector',
  'loading.scan',
  'loading.match',
  'loading.rerank',
] as const