Skip to main content

Natural Language to Redis Commands

Natural Language to Redis Commands converts plain-language requests into Redis commands, helping you draft common queries and management commands faster.

Supported Data Sources​

  • Redis
  • PegaDB
  • Memorystore for Redis

Common Scenarios​

  • Quickly drafting Redis queries or management commands
  • Getting command suggestions when you are not familiar with the exact syntax
  • Turning short business requests into executable Redis command drafts

Before you begin​

  • Add the target Redis data source to NineData.
  • Open the Redis SQL Console. For more information, see SQL Console (Redis-like).

How to Use It​

  1. Open the SQL Console for the target Redis data source.
  2. In the entry that supports natural-language command generation, describe your need, such as querying a key, filtering by pattern, or adjusting TTL behavior.
  3. Review the generated Redis command.
  4. Confirm the target object, parameters, and scope before deciding whether to execute it.

Result​

NineData returns a Redis command draft for the request. Review the command type, key pattern, parameters, TTL behavior, and execution scope before running it, especially for destructive or batch operations.

Tips​

  • Carefully review destructive or batch commands before execution.
  • The exact entry may vary by console version, so always use the UI shown in your current environment.