Bookie’s NLP engine parses natural language input and extracts transaction parameters without requiring complex UI interactions.Documentation Index
Fetch the complete documentation index at: https://docs.pixiedefi.space/llms.txt
Use this file to discover all available pages before exploring further.
Supported Commands
Token Swaps
Token Transfers
Portfolio Queries
Price Checks
Entity Extraction
The intent parser identifies key components from your command:| Entity | Example | Description |
|---|---|---|
| Action | swap, send, show | Operation type |
| Input Token | SOL, USDC | Source token |
| Output Token | BONK, JUP | Destination token |
| Amount | 10, 0.5 | Quantity to transact |
| Slippage | 1%, 2% | Maximum acceptable slippage |
| Address | 7xKXtg… | Recipient wallet |
Processing Flow
Slippage Configuration
Default slippage is 0.5% (50 basis points). Override with explicit commands:Address Formats
Bookie supports multiple address formats:- Full Solana Address:
7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU - SNS Domains:
alice.sol,bob.sol - Shortened Format:
7xKX...gAsU(must be unambiguous)
Error Handling
If the parser cannot extract required parameters, Bookie will prompt for clarification: User: “Swap SOL” Bookie: “How much SOL would you like to swap, and for which token?” User: “10 SOL for USDC” Bookie: Proceeds with transactionPerformance
| Metric | Value |
|---|---|
| Parse Time (p50) | 42ms |
| Parse Time (p99) | 78ms |
| Entity Accuracy | 97.3% |
| Intent Accuracy | 99.1% |
The NLP model is continuously improved based on user interactions. Ambiguous commands help train better entity recognition.