The GL Smart Search SDK provides CLI commands to interact with GL Smart Search capabilities directly from your terminal.
The CLI allows you to:
Web Search – Perform web searches and retrieve results
Connector Operations – Connect, disconnect, and search within third-party services like GitHub, Google Drive, Google Calendar, and Google Mail
Before using the CLI, ensure you have:
GL Smart Search SDK installed (pip install smart-search-sdk)
pip install smart-search-sdk
SMARTSEARCH_BASE_URL environment variable set to https://search.glair.ai/
SMARTSEARCH_BASE_URL
https://search.glair.ai/
Valid GL Smart Search Token (set via SMARTSEARCH_TOKEN environment variable)
SMARTSEARCH_TOKEN
CLI Web Search — Perform web searches from the command line
CLI Connector — Manage connector connections and search within connected services
Last updated 21 days ago
Was this helpful?