get_docs
Search user journeys semantically to surface the most relevant behavior moments. Ask a question and get journey chunks from sessions within a date range.
Instructions
Semantic search over many user journeys to surface the most relevant moments.
Pulls every session for the range (optionally filtered to selected_event),
then returns only the journey chunks most relevant to user_question -- letting
you analyze behavior across many users without overflowing the context window.
Requires the optional 'rag' extra; without it, this returns install instructions.
Args: user_question: What you want to learn (used for the similarity search). website_id: The website id (from get_websites). start_at: Range start (UTC). end_at: Range end (UTC). selected_event: Optional event name to filter sessions by.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_question | Yes | ||
| website_id | Yes | ||
| start_at | Yes | ||
| end_at | Yes | ||
| selected_event | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |