Natural Language Cohort Creation
Learn how to build cohorts in Kubit using natural language and our Lumos AI feature
Kubit is excited to launch our Natural Language Cohort builder! Now you're able to construct cohorts of users using natural language in our Cohort page.
This feature is available to Enterprise tier customers. If you'd like to enable our NLP Cohort Builder please reach out to your Kubit CSM.
How to Build a Cohort using Lumos
Constructing a cohort is now as simple as typing in natural language the conditions for the audience or group you want to analyze.
- Navigate to the Cohort section of Kubit from the top navigation.
- Enter the cohort definition into the Lumos widget at the top of the page.
- Be sure to specify the events, filters, and date ranges you want to include in your cohort
- An example: "users who purchased at least 4 unique items last month and registered for the newsletter"
- Click Build Cohort
- The builder will populate with the cohort you defined above.
- Review the results and make any adjustments as needed using the builder.
- You can also adjust your prompt using the Lumos widget and further refine your Cohort definition.
- Click Inspect and then Save your Cohort using our Save Cohort button.

How to Get the Best Results
Because Lumos reviews your data model to determine the proper events and fields to select here are a few ways you can ensure it gives you the best results.
Update Event Descriptions
- Navigate to the Dictionary and add meaningful descriptions on critical events in your data model. These are events used most frequently or are core to the business.
- Adding descriptions like "this event should be used when understanding checkout or purchase metrics" as an example.
- These descriptions can also be managed in the data warehouse and connected with Kubit
Update Field Descriptions
- Navigate to the Data Modeler and to the Fields tab to add informative descriptions for key fields within Kubit. These are one that are often used for breakdowns and filters.
- Adding descriptions like "this field should be used to filter by country" as an example.
- These descriptions can also be managed in the data warehouse and connected with Kubit
Update Kubit's AI Assistant Instructions
- Your Kubit CSM has acces to enhance the AI Assistant instructions. If you still feel like the results are not meeting expectations, work with your CSM to enhance the AI assistant to make it even more robust.
- This can mean adding definitions of core metrics, cohort definitions, or anything else that should be universally applied.
Using Your Lumos Cohort
Once you've created and saved the Cohort you're now able to use it as you would any other cohort. You can add it as a Cohort Filter, Cohort Segment, or Measure Filter within Kubit's other reporting.
You're also able to export this list or Sync it with Braze if you have our Braze Add-On enabled.
Updated 2 days ago