DataGyro Playground
The DataGyro Playground is part of our Search vertical and provides an interactive environment where you can test and refine your natural language queries directly in your browser. It’s designed to help you perfect your queries and preview exactly how they’ll perform in your LLM-powered applications before writing any code.Accessing the Playground
To access the Playground:- Log in to your DataGyro account at app.datagyro.com
- Navigate to the “Playground” tab in the main navigation
Using the Playground
The Playground offers a streamlined interface for testing your natural language retrieval queries:- Select an API Key - Choose which API key to use for authentication
- Select a Collection - Choose the collection containing your processed data
- Enter Your Query - Type your natural language question or search phrase
- Adjust Parameters - Optionally modify parameters like result limit or model selection
- Click “Search” - Run your query and see results in real-time
Understanding Results
The Playground displays query results in the same JSON format as the API response, giving you an exact preview of what your application will receive:- Content: The relevant text chunk from your data source
- Metadata: Source information and context (varies based on data source type)
- Score: A relevance score between 0-1 indicating match quality
- Performance metrics: Total result count and execution time
Benefits of Using the Playground
The Playground serves as a critical development tool in your natural language retrieval workflow:- Rapid Iteration: Test and refine queries without modifying your application code
- Immediate Feedback: See exactly how your queries perform with real-time results
- Query Optimization: Experiment with different phrasings to find the most effective formulations
- Parameter Testing: Try different limits, model sizes, and other parameters to balance performance and cost
- Simplified Implementation: Generate production-ready code snippets in your preferred language
- Data Exploration: Gain insights into how your data is structured and best accessed
- Troubleshooting: Identify and resolve retrieval issues before they affect your production application
Example Workflows
Here are some common ways developers use the Playground:Query Refinement Workflow
- Select your API key and collection
- Start with a basic query: “Show me product pricing information”
- Review the initial results
- Refine your query to be more specific: “What is the monthly cost of the enterprise plan for 50+ users?”
- Compare the improved results
- Further refine if needed: “What’s included in the enterprise plan at the 50+ user tier?”
- Once satisfied, copy the code snippet for your application