Classes
Methods
(async) ask(params) → {Promise.<Object>}
ASK - Query stored knowledge
.ASK - Query stored knowledge
Parameters:
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Ask parameters Properties
|
Returns:
Ask result with answer and related content
- Type
- Promise.<Object>
(async) augment(params) → {Promise.<Object>}
AUGMENT - Run operations on content
.AUGMENT - Run operations on content
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Augment parameters Properties
|
Returns:
Augment result with extracted concepts/attributes
- Type
- Promise.<Object>
(async) batch(requests) → {Promise.<Array>}
Batch multiple API calls
.Batch multiple API calls
Parameters:
Name | Type | Description |
---|---|---|
requests |
Array | Array of {method, params} objects |
Returns:
Array of results
- Type
- Promise.<Array>
(async) chat(params) → {Promise.<Object>}
CHAT - Interactive chat with slash command support and LLM inference
.CHAT - Interactive chat with slash command support and LLM inference
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Chat parameters Properties
|
Returns:
Chat result with response content and routing information
- Type
- Promise.<Object>
(async) enhancedChat(params) → {Promise.<Object>}
ENHANCED CHAT - Enhanced query with HyDE, Wikipedia, and Wikidata
.ENHANCED CHAT - Enhanced query with HyDE, Wikipedia, and Wikidata
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Enhanced chat parameters Properties
|
Returns:
Enhanced chat result
- Type
- Promise.<Object>
(async) fade_memory(params) → {Promise.<Object>}
FADE_MEMORY - Gradually reduce memory visibility for smooth context transitions
.FADE_MEMORY - Gradually reduce memory visibility for smooth context transitions
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Fade memory parameters Properties
|
Returns:
Fade memory result
- Type
- Promise.<Object>
(async) forget(params) → {Promise.<Object>}
FORGET - Fade memory visibility using navigation rather than deletion
.FORGET - Fade memory visibility using navigation rather than deletion
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Forget parameters Properties
|
Returns:
Forget result
- Type
- Promise.<Object>
getErrorMessage(error) → {string}
Get formatted error message from API response
.Get formatted error message from API response
Parameters:
Name | Type | Description |
---|---|---|
error |
Error | Error object |
Returns:
User-friendly error message
- Type
- string
(async) getHealth() → {Promise.<Object>}
Check server health status
.Check server health status
Returns:
Health status
- Type
- Promise.<Object>
(async) getState() → {Promise.<Object>}
Get current ZPT navigation state
.Get current ZPT navigation state
Returns:
Current state object
- Type
- Promise.<Object>
(async) inspectAllData(details) → {Promise.<Object>}
INSPECT ALL DATA - Get complete system state information
.INSPECT ALL DATA - Get complete system state information
Parameters:
Name | Type | Default | Description |
---|---|---|---|
details |
boolean | true | Include detailed information |
Returns:
Complete inspection data
- Type
- Promise.<Object>
(async) inspectConcepts(details) → {Promise.<Object>}
INSPECT CONCEPTS - Get concepts and embeddings information
.INSPECT CONCEPTS - Get concepts and embeddings information
Parameters:
Name | Type | Default | Description |
---|---|---|---|
details |
boolean | true | Include detailed information |
Returns:
Concepts inspection data
- Type
- Promise.<Object>
(async) inspectSession(details) → {Promise.<Object>}
INSPECT SESSION - Get session state and cache information
.INSPECT SESSION - Get session state and cache information
Parameters:
Name | Type | Default | Description |
---|---|---|---|
details |
boolean | true | Include detailed information |
Returns:
Session inspection data
- Type
- Promise.<Object>
(async) makeRequest()
Make HTTP request with error handling and session management
.Make HTTP request with error handling and session management
(async) pan(params) → {Promise.<Object>}
PAN - Set domain filters for navigation
.PAN - Set domain filters for navigation
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Pan parameters Properties
|
Returns:
Pan result with updated filters
- Type
- Promise.<Object>
(async) project_context(params) → {Promise.<Object>}
PROJECT_CONTEXT - Manage project-specific memory domains
.PROJECT_CONTEXT - Manage project-specific memory domains
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Project context parameters Properties
|
Returns:
Project context result
- Type
- Promise.<Object>
(async) recall(params) → {Promise.<Object>}
RECALL - Retrieve memories based on query and domain filters with relevance scoring
.RECALL - Retrieve memories based on query and domain filters with relevance scoring
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Recall parameters Properties
|
Returns:
Recall result with memories
- Type
- Promise.<Object>
(async) remember(params) → {Promise.<Object>}
REMEMBER - Store content in specific memory domain with importance weighting
.REMEMBER - Store content in specific memory domain with importance weighting
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Remember parameters Properties
|
Returns:
Remember result
- Type
- Promise.<Object>
(async) tell(params) → {Promise.<Object>}
TELL - Store knowledge and concepts
.TELL - Store knowledge and concepts
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Tell parameters Properties
|
Returns:
Tell result
- Type
- Promise.<Object>
(async) testConnection() → {Promise.<boolean>}
Test connection to API server
.Test connection to API server
Returns:
True if connected
- Type
- Promise.<boolean>
(async) tilt(params) → {Promise.<Object>}
TILT - Set view filter/representation style
.TILT - Set view filter/representation style
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Tilt parameters Properties
|
Returns:
Tilt result with updated view
- Type
- Promise.<Object>
(async) uploadDocument(params)
UPLOAD DOCUMENT - Upload and process document file
.UPLOAD DOCUMENT - Upload and process document file
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Upload parameters Properties
|
withTimeout(options, timeoutMs) → {Object}
Create request options with timeout
.Create request options with timeout
Parameters:
Name | Type | Default | Description |
---|---|---|---|
options |
Object | Base options |
|
timeoutMs |
number | 30000 | Timeout in milliseconds |
Returns:
Options with timeout
- Type
- Object
(async) zoom(params) → {Promise.<Object>}
ZOOM - Set abstraction level for navigation
.ZOOM - Set abstraction level for navigation
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Zoom parameters Properties
|
Returns:
Zoom result with updated state
- Type
- Promise.<Object>
(async) zptNavigate(params) → {Promise.<Object>}
ZPT NAVIGATE - Execute navigation with zoom/pan/tilt parameters
.ZPT NAVIGATE - Execute navigation with zoom/pan/tilt parameters
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Navigation parameters Properties
|
Returns:
Navigation results
- Type
- Promise.<Object>