Skip to main content
Bookie’s NLP engine parses natural language input and extracts transaction parameters without requiring complex UI interactions.

Supported Commands

Token Swaps

Token Transfers

Portfolio Queries

Price Checks

Entity Extraction

The intent parser identifies key components from your command:

Processing Flow

1

Tokenization

Input text is split into tokens and normalized
2

Entity Recognition

NLP model identifies tokens, amounts, and addresses
3

Intent Classification

Command categorized as swap, transfer, or query
4

Parameter Validation

Extracted values checked for validity and completeness
5

Transaction Construction

Valid parameters passed to routing or execution layer

Slippage Configuration

Default slippage is 0.5% (50 basis points). Override with explicit commands:
Higher slippage increases execution probability but may result in worse prices. Use minimum slippage necessary for your trade size.

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 transaction

Performance

The NLP model is continuously improved based on user interactions. Ambiguous commands help train better entity recognition.