MCPcopy Create free account

hub / github.com/vectorize-io/hindsight / functions

Functions18,621 in github.com/vectorize-io/hindsight

↓ 14 callersFunctionuniqueBank
(t *testing.T)
hindsight-clients/go/integration_test.go:31
↓ 13 callersMethodReflect
* Reflect Reflect and generate answer Reflect and formulate an answer using bank identity, world facts, observations, and mental models. This endpoi
hindsight-clients/go/api_memory.go:1528
↓ 13 callersMethodSet
(val *OperationResponse)
hindsight-clients/go/model_operation_response.go:549
↓ 13 callersFunction_clean_done_answer
Clean up the answer field from a done() tool call. Some LLMs leak structured output patterns into the answer text, such as: - JSON code block
hindsight-api-slim/hindsight_api/engine/reflect/agent.py:191
↓ 13 callersFunction_constraint
(start: datetime, end: datetime)
hindsight-api-slim/hindsight_api/engine/temporal_periods.py:42
↓ 13 callersFunction_ensure_bank
(memory: MemoryEngine, bank_id: str, request_context: RequestContext)
hindsight-api-slim/tests/test_memory_curation.py:137
↓ 13 callersFunction_inject_memories
Inject memories into messages list. Returns the modified messages list with memories injected into the system message. Uses reflect API when
hindsight-integrations/litellm/hindsight_litellm/__init__.py:229
↓ 13 callersFunction_log
Helper to log to buffer if available, otherwise use logger. Args: log_buffer: Buffer to append messages to (for main output) mess
hindsight-api-slim/hindsight_api/engine/retain/link_utils.py:207
↓ 13 callersFunction_make_client
Return a mock Hindsight client with preset recall results.
hindsight-integrations/vapi/tests/test_webhook.py:20
↓ 13 callersFunction_mock_recall_response
(texts)
hindsight-integrations/composio/tests/test_tools.py:63
↓ 13 callersFunction_normalize_datetime
Normalize datetime to be timezone-aware (UTC) for consistent comparison.
hindsight-api-slim/hindsight_api/engine/retain/link_utils.py:102
↓ 13 callersFunction_q
(table: str)
hindsight-dev/benchmarks/perf/system_perf.py:459
↓ 13 callersFunction_recall
(engine, bank_id, *, query="animals and nature", **kwargs)
hindsight-api-slim/tests/test_recall_min_score.py:86
↓ 13 callersMethod_run
(self, schema: dict, param_name: str = "p")
hindsight-api-slim/tests/test_mcp_string_coercion.py:24
↓ 13 callersFunction_tools
Helper to get tools dict from MCP server (FastMCP 3.x compatible).
hindsight-api-slim/tests/test_mcp_routing.py:8
↓ 13 callersMethodadelete_bank
Delete a memory bank (async — preferred over :meth:`delete_bank`). Args: bank_id: The memory bank ID
hindsight-clients/python/hindsight_client/hindsight_client.py:1536
↓ 13 callersFunctionbuild_context_items
Recall memory for a Continue HTTP context request. Args: payload: The JSON body Continue POSTed (``query``/``fullInput``/ ``o
hindsight-integrations/continue/hindsight_continue/provider.py:66
↓ 13 callersMethodclose
No-op — kept for API symmetry with DB-backed queues.
hindsight-integrations/openclaw/src/retain-queue.ts:113
↓ 13 callersFunctionconfigure
Configure Hindsight connection and default settings. Args: hindsight_api_url: Hindsight API URL (default: production). api_key: A
hindsight-integrations/composio/hindsight_composio/config.py:46
↓ 13 callersFunctioncreate_hindsight_tools
Create Hindsight memory tools for a Google ADK agent. Args: bank_id: Hindsight memory bank these tools operate on. client: Pre-bu
hindsight-integrations/google-adk/hindsight_google_adk/tools.py:23
↓ 13 callersFunctionenc
(value: string)
hindsight-control-plane/src/lib/bank-url.ts:14
↓ 13 callersFunctionescape_for_prompt
Double any lone ``{`` / ``}`` so the text survives ``str.format`` untouched. Prompt templates are often passed through ``str.format`` to substitu
hindsight-api-slim/hindsight_api/engine/prompt_utils.py:9
↓ 13 callersMethodexport_documents_async
Export documents from a bank into a transfer ZIP archive (no LLM, no embeddings). See :mod:`hindsight_api.engine.transfer`. Embeddings and da
hindsight-api-slim/hindsight_api/engine/memory_engine.py:3782
↓ 13 callersFunctionextractUserFromIssue
(issue: { originId?: string | null; creatorEmail?: string | null; })
hindsight-integrations/paperclip/src/bank.ts:65
↓ 13 callersFunctionget_config
Get the current global configuration.
hindsight-integrations/smolagents/hindsight_smolagents/config.py:84
↓ 13 callersFunctioninfo
(text)
hindsight-integrations/omo/demo.py:50
↓ 13 callersMethodinitialize
Initialize the LiteLLM SDK client.
hindsight-api-slim/hindsight_api/engine/cross_encoder.py:1221
↓ 13 callersMethodinitialize
Initialize the LiteLLM SDK client and detect dimension.
hindsight-api-slim/hindsight_api/engine/embeddings.py:1240
↓ 13 callersFunctionmain
Main entry point for the CLI.
hindsight-api-slim/hindsight_api/main.py:196
↓ 13 callersFunctionmake_transcript_file
Write messages as a JSONL transcript file. By default writes the flat format {role, content} which read_transcript() accepts. Set cursor_form
hindsight-integrations/cursor-cli/tests/conftest.py:48
↓ 13 callersFunctionmemory_instructions
Pre-recall memories for injection into agent system prompt. Performs a sync recall and returns a formatted string of memories. Pass the resul
hindsight-integrations/strands/hindsight_strands/tools.py:254
↓ 13 callersFunctionmockResponse
(data: unknown, status = 200)
hindsight-tools/hindsight-agent-sdk/tests/index.test.ts:10
↓ 13 callersFunctionprepare_retention_transcript
Format messages into a retention transcript. When include_tool_calls is True, outputs JSON with full message structure including tool calls a
hindsight-integrations/claude-code/scripts/lib/content.py:305
↓ 13 callersFunctionresolve_daemon_host_port
Resolve host/port for daemon mode. Defaults to 127.0.0.1 for security, but honors explicit user overrides via --host flag or HINDSIGHT_API_HO
hindsight-api-slim/hindsight_api/main.py:82
↓ 13 callersMethodtransaction
(self)
hindsight-api-slim/hindsight_api/engine/db/oracle.py:1319
↓ 13 callersMethodupdateBankConfig
* Update bank configuration overrides
hindsight-control-plane/src/lib/api.ts:1576
↓ 12 callersMethodGet
()
hindsight-clients/go/model_reflect_response.go:303
↓ 12 callersMethodGet
()
hindsight-clients/go/model_document_response.go:493
↓ 12 callersMethodGet
()
hindsight-clients/go/model_include_options.go:197
↓ 12 callersMethodGet
()
hindsight-clients/go/model_child_operation_status.go:293
↓ 12 callersMethodGet
()
hindsight-clients/go/model_recall_scores.go:266
↓ 12 callersFunctionH
(e)
hindsight-embed/hindsight_embed/control_center/static/assets/index-CCShriQ0.js:4
↓ 12 callersMethodIsSet
()
hindsight-clients/go/model_update_directive_request.go:289
↓ 12 callersMethodIsSet
()
hindsight-clients/go/model_update_mental_model_request.go:289
↓ 12 callersMethodIsSet
()
hindsight-clients/go/model_min_scores.go:252
↓ 12 callersMethodIsSet
()
hindsight-clients/go/model_update_webhook_request.go:289
↓ 12 callersFunctionR
(e,i,t)
hindsight-embed/hindsight_embed/control_center/static/assets/index-CCShriQ0.js:51
↓ 12 callersMethodSet
(val *MemoryItem)
hindsight-clients/go/model_memory_item.go:518
↓ 12 callersMethod__setattr__
(self, name: str, value)
hindsight-api-slim/hindsight_api/config.py:61
↓ 12 callersFunction_cfg
(**overrides)
hindsight-integrations/codex/tests/test_bank.py:6
↓ 12 callersFunction_insert_operation
Insert a test operation with the given status and return its ID.
hindsight-api-slim/tests/test_operation_status.py:45
↓ 12 callersFunction_is_done_tool
Check if the tool name represents the 'done' tool.
hindsight-api-slim/hindsight_api/engine/reflect/agent.py:80
↓ 12 callersFunction_make_client
(bank_id: str = BANK_ID, **kwargs)
hindsight-integrations/superagent/tests/test_e2e.py:64
↓ 12 callersFunction_make_mock_embed_result
(embeddings_data: list[list[float]])
hindsight-api-slim/tests/test_gemini_embeddings.py:37
↓ 12 callersFunction_parse_llm_router_config
Parse a LiteLLM Router configuration from a JSON env var. The value is forwarded verbatim to ``litellm.Router(**config)``. We only check
hindsight-api-slim/hindsight_api/config.py:1360
↓ 12 callersFunction_refresh_response
(status_code: int, body: dict | str)
hindsight-api-slim/tests/test_codex_oauth_refresh.py:235
↓ 12 callersFunction_resolve_client
Resolve a Hindsight client from explicit args or global config.
hindsight-integrations/strands/hindsight_strands/tools.py:80
↓ 12 callersFunction_run_sync
Run an async coroutine synchronously from any context. Haystack's ``Tool`` requires sync callables, but the hindsight_client's async methods
hindsight-integrations/haystack/hindsight_haystack/tools.py:43
↓ 12 callersFunction_strip_code_fences
Strip markdown code fences from LLM response if present. Many LLM providers (MiniMax, some Ollama models, Claude via proxies) wrap JSON respo
hindsight-api-slim/hindsight_api/engine/providers/openai_compatible_llm.py:70
↓ 12 callersFunction_validate_disposition_updates
Validate disposition trait config updates. Raises ValueError on invalid input. Each trait is an integer on a 1-5 scale (or None to clear the per-
hindsight-api-slim/hindsight_api/config_resolver.py:544
↓ 12 callersFunctionadd_months
(base_date: datetime, months: int)
hindsight-api-slim/hindsight_api/engine/chinese_temporal_periods.py:122
↓ 12 callersFunctionapi
(method, path, body)
hindsight-embed/hindsight_embed/control_center/ui/src/api.js:24
↓ 12 callersFunctionapply_to_config
Add/update the Hindsight entry in ``[mcp].shttp_servers`` at ``path``.
hindsight-integrations/openhands/hindsight_openhands/openhands_config.py:91
↓ 12 callersFunctionbuildRetainRequest
( transcript: string, messageCount: number, effectiveCtx: PluginHookAgentContext | undefined, pluginCo
hindsight-integrations/openclaw/src/index.ts:2739
↓ 12 callersFunctionbuild_batch_consolidation_prompt
Build the consolidation prompt for batch mode (multiple facts per LLM call). The mission defines *what* to track (customisable per bank) and
hindsight-api-slim/hindsight_api/engine/consolidation/prompts.py:145
↓ 12 callersMethodbuild_bm25_arm
Build a BM25/full-text search subquery arm. Returns a complete subquery suitable for UNION ALL that selects matching rows ordered by
hindsight-api-slim/hindsight_api/engine/sql/base.py:399
↓ 12 callersMethodcall
(self, *args: Any, **kwargs: Any)
hindsight-api-slim/hindsight_api/engine/providers/nous_llm.py:157
↓ 12 callersMethodcall_with_tools
Make an LLM API call with tool/function calling support. Args: messages: List of message dicts. Can include tool results
hindsight-api-slim/hindsight_api/engine/llm_wrapper.py:958
↓ 12 callersFunctioncount_cl100k_tokens
Return the number of cl100k_base tokens in text.
hindsight-api-slim/hindsight_api/engine/reflect/tokenization.py:6
↓ 12 callersFunctioncreate_hindsight_tools
Create Hindsight memory tools for a LlamaIndex agent. Convenience factory that creates a ``HindsightToolSpec`` and returns a filtered list of
hindsight-integrations/llamaindex/hindsight_llamaindex/tools.py:339
↓ 12 callersFunctioncreate_retain_node
Create a node that stores conversation messages as memories. This node extracts messages from the conversation and stores them via Hindsight
hindsight-integrations/langgraph/hindsight_langgraph/nodes.py:176
↓ 12 callersFunctionderive_bank_id
Derive a bank ID from hook context and config. When dynamicBankId is false, returns the static bank. When true, composes from granularity fie
hindsight-integrations/cursor/scripts/lib/bank.py:18
↓ 12 callersFunctionensurePluginConfig
(cfg: OpenClawConfigShape)
hindsight-integrations/openclaw/src/setup-lib.ts:88
↓ 12 callersFunctionformatMemoriesAsSystemPrompt
( memories: RecallResult[], entities: Record<string, EntityState> | null | undefined, options?: MemoryPr
hindsight-integrations/chat/src/format.ts:12
↓ 12 callersMethodfrom_file
Build a manager from ``providers.nous`` in the Hermes auth store. Raises ------ NousNotLoggedInError: If the file
hindsight-api-slim/hindsight_api/engine/providers/nous_auth.py:182
↓ 12 callersMethodget_mental_model_history
Get the refresh history of a mental model. Returns None if the mental model is not found. Returns a list of history entries (most rec
hindsight-api-slim/hindsight_api/engine/memory_engine.py:10309
↓ 12 callersMethodlist_mental_models
List pinned mental models for a bank. Args: bank_id: Bank identifier tags: Optional tags to filter by tag
hindsight-api-slim/hindsight_api/engine/memory_engine.py:10174
↓ 12 callersFunctionmakeMemory
(overrides: Partial<RecallResult> = {})
hindsight-integrations/chat/src/format.test.ts:5
↓ 12 callersFunctionprepare_retention_transcript
Format messages into a retention transcript. When include_tool_calls is True, outputs JSON with full message structure including tool calls a
hindsight-integrations/codex/scripts/lib/content.py:556
↓ 12 callersMethodrecall
Search memory after guarding the query, optionally redacting results. Args: query: Search query. budget: Recall budge
hindsight-integrations/superagent/hindsight_superagent/middleware.py:398
↓ 12 callersMethodrecall
Recall memories from a bank. Returns the raw API response dict with 'results' list.
hindsight-integrations/claude-code/scripts/lib/client.py:107
↓ 12 callersFunctionrelative_offset_datetime
(amount: int, unit: str, direction: int)
hindsight-api-slim/hindsight_api/engine/chinese_temporal_periods.py:453
↓ 12 callersMethodrequest
(self, method: str, path: str, body: Optional[dict] = None, timeout: int = DEFAULT_TIMEOUT)
hindsight-integrations/claude-code/scripts/lib/client.py:70
↓ 12 callersFunctionreset_config
Reset global configuration to None.
hindsight-integrations/haystack/hindsight_haystack/config.py:98
↓ 12 callersFunctionreset_config
Reset the global config to None. Useful in tests.
hindsight-integrations/agentcore/hindsight_agentcore/config.py:95
↓ 12 callersMethodsaveSettings
()
hindsight-integrations/obsidian/src/main.ts:163
↓ 12 callersFunctionsession_context
Build a SessionContext like the framework would, optionally with a response.
hindsight-integrations/agent-framework/tests/conftest.py:29
↓ 12 callersMethodset_active_profile
Set the active profile. Args: name: Profile name to activate, or None to clear. Raises: ValueError: If profi
hindsight-embed/hindsight_embed/profile_manager.py:355
↓ 12 callersFunctionskip
(op: Operation, reason: str)
hindsight-api-slim/hindsight_api/engine/reflect/delta_ops.py:316
↓ 12 callersFunctionstripInlineTimestampPrefix
(content: string)
hindsight-integrations/openclaw/src/index.ts:541
↓ 12 callersMethodsubmit_async_refresh_mental_model
Submit an async mental model refresh operation. This schedules a background task to re-run the source query and update the content.
hindsight-api-slim/hindsight_api/engine/memory_engine.py:12786
↓ 11 callersMethodGetText
GetText returns the Text field value
hindsight-clients/go/model_chunk_data.go:82
↓ 11 callersFunction_bank_id
(prefix: str = "http")
hindsight-api-slim/tests/test_oracle_http_integration.py:31
↓ 11 callersFunction_build_engine
Create a MemoryEngine using mock LLM and DB from env.
hindsight-dev/benchmarks/perf/recall_perf.py:566
↓ 11 callersMethod_clear_port
Ensure the port is free before starting a daemon. Behavior: * Port free → True (nothing to do). * Port occupied
hindsight-embed/hindsight_embed/daemon_embed_manager.py:340
↓ 11 callersFunction_hook
(session_id="sess-1", cwd="/home/user/myproject")
hindsight-integrations/codex/tests/test_bank.py:20
↓ 11 callersMethod_insert_op
( self, pool, *, op_id: "uuid.UUID", bank_id: str, operation_t
hindsight-api-slim/tests/test_worker.py:2609
↓ 11 callersFunction_is_context_overflow_error
Return True if the exception signals the LLM context window was exceeded.
hindsight-api-slim/hindsight_api/engine/reflect/agent.py:380
↓ 11 callersFunction_make_llm
(provider: str, base_url: str)
hindsight-api-slim/tests/test_tool_choice_required_downgrade.py:56
↓ 11 callersMethod_max_tokens_param_name
Return the correct parameter name for limiting response tokens. Native OpenAI, Azure OpenAI, Groq, and llamacpp accept 'max_completion_tokens
hindsight-api-slim/hindsight_api/engine/providers/openai_compatible_llm.py:617
← previousnext →501–600 of 18,621, ranked by callers