context
stringlengths 1.6k
5.62k
| question
stringlengths 89
168
| answer
stringlengths 177
872
| text
stringlengths 1.91k
6.3k
|
---|---|---|---|
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"Cancelled" is a value in the database field order_items.status for at least 7734 Ecomm Users
"Cancelled" is a value in the database field new_look_for_zubzet.order_items_status for at least 6250 Ecomm Users
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who cancelled? | ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancelled"]}, "operator": "equals", "field": "order_items.status"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}}, "expression": "A", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"Cancelled" is a value in the database field order_items.status for at least 7734 Ecomm Users
"Cancelled" is a value in the database field new_look_for_zubzet.order_items_status for at least 6250 Ecomm Users
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who cancelled? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancelled"]}, "operator": "equals", "field": "order_items.status"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}}, "expression": "A", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
"New York" is a value in the database field user_details.state for at least 8243 Ecomm Users
"New York" is a value in the database field web_events.state for at least 8243 Ecomm Users
"New York" is a value in the database field user_details.city for at least 5779 Ecomm Users
"New York" is a value in the database field web_events.city for at least 5779 Ecomm Users
web_events.created_at is a date and is not a detail field
web_events.event_type is a str and is not a detail field
The type of page this is based on the path. For example (Brand or Category pages, or the Home/Checkout pages)
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'New Users' is a subset of Ecomm Users with id: 6
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for users with events in California and New York? | ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["California"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["New York"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}}, "expression": "A\u2229B", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
"New York" is a value in the database field user_details.state for at least 8243 Ecomm Users
"New York" is a value in the database field web_events.state for at least 8243 Ecomm Users
"New York" is a value in the database field user_details.city for at least 5779 Ecomm Users
"New York" is a value in the database field web_events.city for at least 5779 Ecomm Users
web_events.created_at is a date and is not a detail field
web_events.event_type is a str and is not a detail field
The type of page this is based on the path. For example (Brand or Category pages, or the Home/Checkout pages)
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'New Users' is a subset of Ecomm Users with id: 6
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for users with events in California and New York? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["California"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["New York"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}}, "expression": "A\u2229B", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
order_items.order_id is a number and is not a detail field
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users' is a subset of Ecomm Users with id: 6
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who ordered in California but did not order alegra k? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}, "D": {"value": {"value": ["California"]}, "operator": "equals", "field": "user_details.state"}}, "expression": "(B\u2229D)-C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
order_items.order_id is a number and is not a detail field
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users' is a subset of Ecomm Users with id: 6
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who ordered in California but did not order alegra k? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}, "D": {"value": {"value": ["California"]}, "operator": "equals", "field": "user_details.state"}}, "expression": "(B\u2229D)-C", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.last_order_date is a date and is detail field
The users last order date
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
order_items.is_returned is a bool and is not a detail field
If the item was returned, this is true
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for users with returns and signed up last month? | ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Returned"]}, "operator": "equals", "field": "order_items.status"}, {"value": {"value": "month"}, "operator": "last", "field": "order_items.returned_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "B": {"value": {"value": "month", "complete": true, "time_period": "days"}, "operator": "last", "field": "user_details.created_at"}}, "expression": "A\u2229B", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.last_order_date is a date and is detail field
The users last order date
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
order_items.is_returned is a bool and is not a detail field
If the item was returned, this is true
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for users with returns and signed up last month? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Returned"]}, "operator": "equals", "field": "order_items.status"}, {"value": {"value": "month"}, "operator": "last", "field": "order_items.returned_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "B": {"value": {"value": "month", "complete": true, "time_period": "days"}, "operator": "last", "field": "user_details.created_at"}}, "expression": "A\u2229B", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Allegra K" is a value in the database field ordered_products.brand for at least 10299 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Allegra K and did not order Allegra K? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B\u2229!C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Allegra K" is a value in the database field ordered_products.brand for at least 10299 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Allegra K and did not order Allegra K? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B\u2229!C", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
order_items.order_id is a number and is not a detail field
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
"Allegra K" is a value in the database field ordered_products.brand for at least 10299 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users' is a subset of Ecomm Users with id: 6
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who ordered in California but did not order Allegra K? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}, "D": {"value": {"value": ["California"]}, "operator": "equals", "field": "user_details.state"}}, "expression": "(B\u2229D)-C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
order_items.order_id is a number and is not a detail field
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
"Allegra K" is a value in the database field ordered_products.brand for at least 10299 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users' is a subset of Ecomm Users with id: 6
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who ordered in California but did not order Allegra K? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}, "D": {"value": {"value": ["California"]}, "operator": "equals", "field": "user_details.state"}}, "expression": "(B\u2229D)-C", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_facts.last_order_date is a date and is detail field
The users last order date
user_details.last_name is a str and is detail field
The last name of the user from their profile
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.order_id is a number and is not a detail field
"Levi's" is a value in the database field ordered_products.brand for at least 22877 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
ordered_products.brand is a str and is not a detail field
The sold item's brand (Levi's, Ray-Ban, etc)
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source ordered_products can be filtered with fields in sources ordered_products.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who did not order levi's in the last 28 days? | ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Levi's"]}, "operator": "equals", "field": "inventory_items.product_brand"}, {"value": {"value": -28, "complete": false, "time_period": "days"}, "operator": "in the last", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "inventory_items.user_id"}}, "expression": "!(A)", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_facts.last_order_date is a date and is detail field
The users last order date
user_details.last_name is a str and is detail field
The last name of the user from their profile
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.order_id is a number and is not a detail field
"Levi's" is a value in the database field ordered_products.brand for at least 22877 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
ordered_products.brand is a str and is not a detail field
The sold item's brand (Levi's, Ray-Ban, etc)
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source ordered_products can be filtered with fields in sources ordered_products.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who did not order levi's in the last 28 days? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Levi's"]}, "operator": "equals", "field": "inventory_items.product_brand"}, {"value": {"value": -28, "complete": false, "time_period": "days"}, "operator": "in the last", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "inventory_items.user_id"}}, "expression": "!(A)", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_facts.lifetime_value is a number and is detail field
The lifetime value of the customer SUM(sale_price)
"Cancel" is a value in the database field web_events.event_type for at least 3506 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
order_items.order_id is a number and is not a detail field
user_facts.lifetime_value_error is a number and is detail field
This field is supposed to error
user_facts.lifetime_value_alias is a number and is detail field
Used for testing
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
new_look_for_zubzet.order_items_delivered_date is a date and is not a detail field
new_look_for_zubzet.order_items_sale_price is a number and is not a detail field
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
order_items.shipped_at is a date and is not a detail field
The date the item was shipped from our warehouse. If it hasn't been shipped yet, the value is null
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Low Value Users who did not cancel an order? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancelled"]}, "operator": "equals", "field": "order_items.status"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "low_value_users_removing_new_users_and_inactive_users": {"subset_id": 10, "subset_slug": "low_value_users_removing_new_users_and_inactive_users"}}, "expression": "low_value_users_removing_new_users_and_inactive_users\u2229B", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_facts.lifetime_value is a number and is detail field
The lifetime value of the customer SUM(sale_price)
"Cancel" is a value in the database field web_events.event_type for at least 3506 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
order_items.order_id is a number and is not a detail field
user_facts.lifetime_value_error is a number and is detail field
This field is supposed to error
user_facts.lifetime_value_alias is a number and is detail field
Used for testing
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
new_look_for_zubzet.order_items_delivered_date is a date and is not a detail field
new_look_for_zubzet.order_items_sale_price is a number and is not a detail field
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
order_items.shipped_at is a date and is not a detail field
The date the item was shipped from our warehouse. If it hasn't been shipped yet, the value is null
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Low Value Users who did not cancel an order? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancelled"]}, "operator": "equals", "field": "order_items.status"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "low_value_users_removing_new_users_and_inactive_users": {"subset_id": 10, "subset_slug": "low_value_users_removing_new_users_and_inactive_users"}}, "expression": "low_value_users_removing_new_users_and_inactive_users\u2229B", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_facts.last_order_date is a date and is detail field
The users last order date
user_details.age is a number and is detail field
The user's age from their profile creation
"Cancelled" is a value in the database field order_items.status for at least 7734 Ecomm Users
"Cancelled" is a value in the database field new_look_for_zubzet.order_items_status for at least 6250 Ecomm Users
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_facts.first_order_date is a date and is detail field
The users first order date
"Returned" is a value in the database field order_items.status for at least 2188 Ecomm Users
"Returned" is a value in the database field new_look_for_zubzet.order_items_status for at least 2499 Ecomm Users
order_items.order_id is a number and is not a detail field
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_details.last_name is a str and is detail field
The last name of the user from their profile
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
order_items.is_returned is a bool and is not a detail field
If the item was returned, this is true
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for new users who a cancelled order last week and a returned order yesterday who are under 20? | ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancelled"]}, "operator": "equals", "field": "order_items.status"}, {"value": {"value": "week"}, "operator": "last", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["Returned"]}, "operator": "equals", "field": "order_items.status"}, {"value": {}, "operator": "yesterday", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "D": {"value": {"value": "20"}, "operator": "less than", "field": "user_details.age"}, "new_users": {"subset_id": 6, "subset_slug": "new_users"}}, "expression": "A\u2229B\u2229new_users\u2229D", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_facts.last_order_date is a date and is detail field
The users last order date
user_details.age is a number and is detail field
The user's age from their profile creation
"Cancelled" is a value in the database field order_items.status for at least 7734 Ecomm Users
"Cancelled" is a value in the database field new_look_for_zubzet.order_items_status for at least 6250 Ecomm Users
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_facts.first_order_date is a date and is detail field
The users first order date
"Returned" is a value in the database field order_items.status for at least 2188 Ecomm Users
"Returned" is a value in the database field new_look_for_zubzet.order_items_status for at least 2499 Ecomm Users
order_items.order_id is a number and is not a detail field
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_details.last_name is a str and is detail field
The last name of the user from their profile
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
order_items.is_returned is a bool and is not a detail field
If the item was returned, this is true
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for new users who a cancelled order last week and a returned order yesterday who are under 20? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancelled"]}, "operator": "equals", "field": "order_items.status"}, {"value": {"value": "week"}, "operator": "last", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["Returned"]}, "operator": "equals", "field": "order_items.status"}, {"value": {}, "operator": "yesterday", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "D": {"value": {"value": "20"}, "operator": "less than", "field": "user_details.age"}, "new_users": {"subset_id": 6, "subset_slug": "new_users"}}, "expression": "A\u2229B\u2229new_users\u2229D", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_details.age is a number and is detail field
The user's age from their profile creation
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
web_events.uri is a str and is not a detail field
The url the user came from
order_items.sale_price_error is a number and is not a detail field
This is supposed to error
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_facts.lifetime_value_error is a number and is detail field
This field is supposed to error
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Top users by Age? | ```subset_expression
{"symbols": {"A": {"value": {"desc": true, "value": "10", "function": "sum", "operator": "less than or equal to"}, "operator": "top n", "field": "user_details.age"}}, "expression": "A", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_details.age is a number and is detail field
The user's age from their profile creation
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
web_events.uri is a str and is not a detail field
The url the user came from
order_items.sale_price_error is a number and is not a detail field
This is supposed to error
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_facts.lifetime_value_error is a number and is detail field
This field is supposed to error
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Top users by Age? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"desc": true, "value": "10", "function": "sum", "operator": "less than or equal to"}, "operator": "top n", "field": "user_details.age"}}, "expression": "A", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"New York" is a value in the database field user_details.state for at least 8243 Ecomm Users
"New York" is a value in the database field web_events.state for at least 8243 Ecomm Users
"New York" is a value in the database field user_details.city for at least 5779 Ecomm Users
"New York" is a value in the database field web_events.city for at least 5779 Ecomm Users
user_details.age is a number and is detail field
The user's age from their profile creation
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
"York" is a value in the database field user_details.state for at least 119 Ecomm Users
"York" is a value in the database field web_events.state for at least 119 Ecomm Users
"York" is a value in the database field user_details.city for at least 44 Ecomm Users
"York" is a value in the database field web_events.city for at least 44 Ecomm Users
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
web_events.created_at is a date and is not a detail field
web_events.event_type is a str and is not a detail field
The type of page this is based on the path. For example (Brand or Category pages, or the Home/Checkout pages)
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for users with events in California and New York and are not new users? | ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["California"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["New York"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "new_users": {"subset_id": 6, "subset_slug": "new_users"}}, "expression": "A\u2229B\u2229!new_users", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"New York" is a value in the database field user_details.state for at least 8243 Ecomm Users
"New York" is a value in the database field web_events.state for at least 8243 Ecomm Users
"New York" is a value in the database field user_details.city for at least 5779 Ecomm Users
"New York" is a value in the database field web_events.city for at least 5779 Ecomm Users
user_details.age is a number and is detail field
The user's age from their profile creation
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
"York" is a value in the database field user_details.state for at least 119 Ecomm Users
"York" is a value in the database field web_events.state for at least 119 Ecomm Users
"York" is a value in the database field user_details.city for at least 44 Ecomm Users
"York" is a value in the database field web_events.city for at least 44 Ecomm Users
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
web_events.created_at is a date and is not a detail field
web_events.event_type is a str and is not a detail field
The type of page this is based on the path. For example (Brand or Category pages, or the Home/Checkout pages)
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for users with events in California and New York and are not new users? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["California"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["New York"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "new_users": {"subset_id": 6, "subset_slug": "new_users"}}, "expression": "A\u2229B\u2229!new_users", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Calvin Klein" is a value in the database field ordered_products.brand for at least 2841 Ecomm Users
"Calvin" is a value in the database field user_details.city for at least 1 Ecomm Users
"Alvin" is a value in the database field user_details.city for at least 22 Ecomm Users
"Alvin" is a value in the database field web_events.city for at least 17 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Calvin Klein and did not order Calvin Klein? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B\u2229!C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Calvin Klein" is a value in the database field ordered_products.brand for at least 2841 Ecomm Users
"Calvin" is a value in the database field user_details.city for at least 1 Ecomm Users
"Alvin" is a value in the database field user_details.city for at least 22 Ecomm Users
"Alvin" is a value in the database field web_events.city for at least 17 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Calvin Klein and did not order Calvin Klein? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B\u2229!C", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
order_items.order_id is a number and is not a detail field
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
web_events.uri is a str and is not a detail field
The url the user came from
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for users who ordered yesterday? | ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {}, "operator": "yesterday", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}}, "expression": "A", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
order_items.order_id is a number and is not a detail field
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
web_events.uri is a str and is not a detail field
The url the user came from
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for users who ordered yesterday? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {}, "operator": "yesterday", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}}, "expression": "A", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Calvin Klein" is a value in the database field ordered_products.brand for at least 2841 Ecomm Users
"Calvin" is a value in the database field user_details.city for at least 1 Ecomm Users
user_facts.last_order_date is a date and is detail field
The users last order date
"Alvin" is a value in the database field user_details.city for at least 22 Ecomm Users
"Alvin" is a value in the database field web_events.city for at least 17 Ecomm Users
user_details.last_name is a str and is detail field
The last name of the user from their profile
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'New Users' is a subset of Ecomm Users with id: 6
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Calvin Klein and did not order Calvin Klein in the last 30 days? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "contains", "field": "web_events.uri"}, {"value": {"value": -30, "complete": false, "time_period": "days"}, "operator": "in the last", "field": "web_events.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "equals", "field": "products.brand"}, {"value": {"value": -30, "complete": false, "time_period": "days"}, "operator": "in the last", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B\u2229!C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Calvin Klein" is a value in the database field ordered_products.brand for at least 2841 Ecomm Users
"Calvin" is a value in the database field user_details.city for at least 1 Ecomm Users
user_facts.last_order_date is a date and is detail field
The users last order date
"Alvin" is a value in the database field user_details.city for at least 22 Ecomm Users
"Alvin" is a value in the database field web_events.city for at least 17 Ecomm Users
user_details.last_name is a str and is detail field
The last name of the user from their profile
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'New Users' is a subset of Ecomm Users with id: 6
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Calvin Klein and did not order Calvin Klein in the last 30 days? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "contains", "field": "web_events.uri"}, {"value": {"value": -30, "complete": false, "time_period": "days"}, "operator": "in the last", "field": "web_events.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "equals", "field": "products.brand"}, {"value": {"value": -30, "complete": false, "time_period": "days"}, "operator": "in the last", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B\u2229!C", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Springfield" is a value in the database field web_events.city for at least 361 Ecomm Users
"SPRINGFIELD" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"Springfield" is a value in the database field user_details.city for at least 421 Ecomm Users
"Missouri" is a value in the database field user_details.state for at least 2105 Ecomm Users
"Missouri" is a value in the database field web_events.state for at least 2105 Ecomm Users
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
web_events.created_at is a date and is not a detail field
web_events.event_type is a str and is not a detail field
The type of page this is based on the path. For example (Brand or Category pages, or the Home/Checkout pages)
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'New Users' is a subset of Ecomm Users with id: 6
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for users with events in springfield, missouri and springfield, illinois? | ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Springfield"]}, "operator": "equals", "field": "web_events.city"}, {"value": {"value": ["Missouri"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["Springfield"]}, "operator": "equals", "field": "web_events.city"}, {"value": {"value": ["Illinois"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}}, "expression": "A\u2229B", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Springfield" is a value in the database field web_events.city for at least 361 Ecomm Users
"SPRINGFIELD" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"Springfield" is a value in the database field user_details.city for at least 421 Ecomm Users
"Missouri" is a value in the database field user_details.state for at least 2105 Ecomm Users
"Missouri" is a value in the database field web_events.state for at least 2105 Ecomm Users
"IN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
web_events.created_at is a date and is not a detail field
web_events.event_type is a str and is not a detail field
The type of page this is based on the path. For example (Brand or Category pages, or the Home/Checkout pages)
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'New Users' is a subset of Ecomm Users with id: 6
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for users with events in springfield, missouri and springfield, illinois? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Springfield"]}, "operator": "equals", "field": "web_events.city"}, {"value": {"value": ["Missouri"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["Springfield"]}, "operator": "equals", "field": "web_events.city"}, {"value": {"value": ["Illinois"]}, "operator": "equals", "field": "web_events.state"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}}, "expression": "A\u2229B", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Male" is a value in the database field user_details.gender for at least 62974 Ecomm Users
new_look_for_zubzet.order_items_sale_price is a number and is not a detail field
order_items.sale_price_alias is a number and is not a detail field
The unit price the customer paid for this item
order_items.sale_price_error is a number and is not a detail field
This is supposed to error
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'New Users' is a subset of Ecomm Users with id: 6
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
| the human has a question about Ecomm Users: what is the subset_expression for Male Users? | ```subset_expression
{"symbols": {"A": {"value": {"value": ["Male"]}, "operator": "equals", "field": "user_details.gender"}}, "expression": "A", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Male" is a value in the database field user_details.gender for at least 62974 Ecomm Users
new_look_for_zubzet.order_items_sale_price is a number and is not a detail field
order_items.sale_price_alias is a number and is not a detail field
The unit price the customer paid for this item
order_items.sale_price_error is a number and is not a detail field
This is supposed to error
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'New Users' is a subset of Ecomm Users with id: 6
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Male Users? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": ["Male"]}, "operator": "equals", "field": "user_details.gender"}}, "expression": "A", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Top 12 users by Age but have no orders? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"desc": true, "value": "12", "operator": "less than or equal to"}, "operator": "top n", "field": "user_details.age"}}, "expression": "!B>C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Top 12 users by Age but have no orders? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"desc": true, "value": "12", "operator": "less than or equal to"}, "operator": "top n", "field": "user_details.age"}}, "expression": "!B>C", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_details.age is a number and is detail field
The user's age from their profile creation
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
"THI" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.is_returned is a bool and is not a detail field
If the item was returned, this is true
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
web_events.uri is a str and is not a detail field
The url the user came from
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Top 12 California users by Age but have no returns this year? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": "year"}, "operator": "this", "field": "order_items.created_at"}, {"value": {"value": ["Returned"]}, "operator": "equals", "field": "order_items.status"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"value": ["California"]}, "operator": "equals", "field": "user_details.state"}, "D": {"value": {"desc": true, "value": "12", "function": "average", "operator": "less than or equal to"}, "operator": "top n", "field": "user_details.age"}}, "expression": "!B>C>D", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_details.age is a number and is detail field
The user's age from their profile creation
"California" is a value in the database field user_details.state for at least 20289 Ecomm Users
"California" is a value in the database field web_events.state for at least 20289 Ecomm Users
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
"THI" is a value in the database field user_details.first_name for at least 1 Ecomm Users
order_items.is_returned is a bool and is not a detail field
If the item was returned, this is true
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
web_events.uri is a str and is not a detail field
The url the user came from
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users with Accessory Returns (90 days)' is a subset of Ecomm Users with id: 8
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Top 12 California users by Age but have no returns this year? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": "year"}, "operator": "this", "field": "order_items.created_at"}, {"value": {"value": ["Returned"]}, "operator": "equals", "field": "order_items.status"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"value": ["California"]}, "operator": "equals", "field": "user_details.state"}, "D": {"value": {"desc": true, "value": "12", "function": "average", "operator": "less than or equal to"}, "operator": "top n", "field": "user_details.age"}}, "expression": "!B>C>D", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Purchase" is a value in the database field web_events.event_type for at least 111430 Ecomm Users
"HA" is a value in the database field user_details.first_name for at least 1 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for users who had a purchase and cancellation yesterday? | ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Purchase"]}, "operator": "equals", "field": "web_events.event_type"}, {"value": {}, "operator": "yesterday", "field": "web_events.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancel"]}, "operator": "equals", "field": "web_events.event_type"}, {"value": {}, "operator": "yesterday", "field": "web_events.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}}, "expression": "A\u2229B", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Purchase" is a value in the database field web_events.event_type for at least 111430 Ecomm Users
"HA" is a value in the database field user_details.first_name for at least 1 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for users who had a purchase and cancellation yesterday? [/INST] ```subset_expression
{"symbols": {"A": {"value": {"value": 1, "filters": [{"value": {"value": ["Purchase"]}, "operator": "equals", "field": "web_events.event_type"}, {"value": {}, "operator": "yesterday", "field": "web_events.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "B": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancel"]}, "operator": "equals", "field": "web_events.event_type"}, {"value": {}, "operator": "yesterday", "field": "web_events.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}}, "expression": "A\u2229B", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_facts.last_order_date is a date and is detail field
The users last order date
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_details.last_name is a str and is detail field
The last name of the user from their profile
order_items.order_id is a number and is not a detail field
user_facts.lifetime_value is a number and is detail field
The lifetime value of the customer SUM(sale_price)
"Cancel" is a value in the database field web_events.event_type for at least 3506 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_facts.lifetime_value_error is a number and is detail field
This field is supposed to error
user_facts.lifetime_value_alias is a number and is detail field
Used for testing
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
order_items.shipped_at is a date and is not a detail field
The date the item was shipped from our warehouse. If it hasn't been shipped yet, the value is null
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users' is a subset of Ecomm Users with id: 6
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Low Value Users who did not cancel an order last week? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancelled"]}, "operator": "equals", "field": "order_items.status"}, {"value": {"value": "week"}, "operator": "last", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "low_value_users_removing_new_users_and_inactive_users": {"subset_id": 10, "subset_slug": "low_value_users_removing_new_users_and_inactive_users"}}, "expression": "low_value_users_removing_new_users_and_inactive_users\u2229B", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_facts.last_order_date is a date and is detail field
The users last order date
"AN" is a value in the database field user_details.last_name for at least 1 Ecomm Users
"AN" is a value in the database field user_details.first_name for at least 1 Ecomm Users
user_details.last_name is a str and is detail field
The last name of the user from their profile
order_items.order_id is a number and is not a detail field
user_facts.lifetime_value is a number and is detail field
The lifetime value of the customer SUM(sale_price)
"Cancel" is a value in the database field web_events.event_type for at least 3506 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_facts.lifetime_value_error is a number and is detail field
This field is supposed to error
user_facts.lifetime_value_alias is a number and is detail field
Used for testing
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
order_items.returned_at is a date and is not a detail field
If the item was returned, this is the date that was confirmed returned, otherwise the value is NULL
order_items.shipped_at is a date and is not a detail field
The date the item was shipped from our warehouse. If it hasn't been shipped yet, the value is null
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users' is a subset of Ecomm Users with id: 6
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Low Value Users who did not cancel an order last week? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Cancelled"]}, "operator": "equals", "field": "order_items.status"}, {"value": {"value": "week"}, "operator": "last", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "low_value_users_removing_new_users_and_inactive_users": {"subset_id": 10, "subset_slug": "low_value_users_removing_new_users_and_inactive_users"}}, "expression": "low_value_users_removing_new_users_and_inactive_users\u2229B", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Calvin Klein" is a value in the database field ordered_products.brand for at least 2841 Ecomm Users
"Calvin" is a value in the database field user_details.city for at least 1 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"Alvin" is a value in the database field user_details.city for at least 22 Ecomm Users
"Alvin" is a value in the database field web_events.city for at least 17 Ecomm Users
order_items.order_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
new_look_for_zubzet.order_items_delivered_date is a date and is not a detail field
new_look_for_zubzet.order_items_sale_price is a number and is not a detail field
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Calvin Klein but did not order? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B-C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Calvin Klein" is a value in the database field ordered_products.brand for at least 2841 Ecomm Users
"Calvin" is a value in the database field user_details.city for at least 1 Ecomm Users
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
"Alvin" is a value in the database field user_details.city for at least 22 Ecomm Users
"Alvin" is a value in the database field web_events.city for at least 17 Ecomm Users
order_items.order_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
new_look_for_zubzet.order_items_count is a number and is not a detail field
The number of items that have been purchased regardless of status
new_look_for_zubzet.order_items_delivered_date is a date and is not a detail field
new_look_for_zubzet.order_items_sale_price is a number and is not a detail field
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Calvin Klein but did not order? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B-C", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Allegra K" is a value in the database field ordered_products.brand for at least 10299 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Allegra K but did not order Allegra K? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B-C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Allegra K" is a value in the database field ordered_products.brand for at least 10299 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Allegra K but did not order Allegra K? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Allegra K"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B-C", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Calvin Klein" is a value in the database field ordered_products.brand for at least 2841 Ecomm Users
"Calvin" is a value in the database field user_details.city for at least 1 Ecomm Users
"Alvin" is a value in the database field user_details.city for at least 22 Ecomm Users
"Alvin" is a value in the database field web_events.city for at least 17 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Calvin Klein but did not order Calvin Klein? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B-C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
"Calvin Klein" is a value in the database field ordered_products.brand for at least 2841 Ecomm Users
"Calvin" is a value in the database field user_details.city for at least 1 Ecomm Users
"Alvin" is a value in the database field user_details.city for at least 22 Ecomm Users
"Alvin" is a value in the database field web_events.city for at least 17 Ecomm Users
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
user_details.braze_external_id is a str and is detail field
To be used with the Braze integration
order_items.delivered_at is a date and is not a detail field
The date that an item was delivered to the customer. If the order status is not complete, this value is null
new_look_for_zubzet.order_items_status is a str and is not a detail field
status of the order
order_items.status is a str and is not a detail field
The current status of the order
web_events.sequence_number is a number and is not a detail field
The order of the event within the session
ordered_products.retail_price is a number and is not a detail field
The list price of the item before order discounts
user_details.created_at is a date and is detail field
The date in which the user first signed up as a user
web_events.browser is a str and is not a detail field
The user's browser on the website
user_details.age is a number and is detail field
The user's age from their profile creation
web_events.uri is a str and is not a detail field
The url the user came from
user_details.gender is a str and is detail field
The gender of the user from their profile
web_events.os is a str and is not a detail field
The operating system that the user is using
web_events.traffic_source is a str and is not a detail field
The traffic source that the user came from
user_details.country is a str and is detail field
The country in which the user's profile account is located
user_details.state is a str and is detail field
The state in which the user's profile account is located
user_details.city is a str and is detail field
The city in which the user's profile account is located
user_details.first_name is a str and is detail field
The first name of the user from their profile
user_details.email is a str and is detail field
The email address of the user from their profile
user_details.last_name is a str and is detail field
The last name of the user from their profile
user_details.zip is a str and is detail field
The postal code in which the user's profile account is located
user_facts.lifetime_returns is a number and is detail field
The number of returns this user has over the course of being a customer
user_facts.lifetime_items is a number and is detail field
The number of items this user has ordered over the course of being a customer
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users' is a subset of Ecomm Users with id: 6
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
'Users from Ordered Product Source' is a subset of Ecomm Users with id: 5
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source ordered_products can be filtered with fields in sources ordered_products.
source new_look_for_zubzet can be filtered with fields in sources new_look_for_zubzet.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Users who viewed Calvin Klein but did not order Calvin Klein? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "contains", "field": "web_events.uri"}], "operator": "greater than or equal to"}, "operator": "count", "field": "web_events.user_id"}, "C": {"value": {"value": 1, "filters": [{"value": {"value": ["Calvin Klein"]}, "operator": "equals", "field": "products.brand"}], "operator": "greater than or equal to"}, "operator": "count", "field": "products.user_id"}}, "expression": "B-C", "population": "Ecomm Users"}
``` </s> |
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_details.age is a number and is detail field
The user's age from their profile creation
"202" is a value in the database field web_events.referrer_code for at least 0 Ecomm Users
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
web_events.uri is a str and is not a detail field
The url the user came from
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
web_events.event_type is a str and is not a detail field
The type of page this is based on the path. For example (Brand or Category pages, or the Home/Checkout pages)
web_events.browser is a str and is not a detail field
The user's browser on the website
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
| the human has a question about Ecomm Users: what is the subset_expression for Top 12 users by Age but have no orders on or after 2022-01-01? | ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": "2021-12-31"}, "operator": "after", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"desc": true, "value": "12", "operator": "less than or equal to"}, "operator": "top n", "field": "user_details.age"}}, "expression": "!B>C", "population": "Ecomm Users"}
``` | <s>[INST] <<SYS>>
the human has a question about Ecomm Users. Here is a list of fields which can be used with your tools:
user_details.age is a number and is detail field
The user's age from their profile creation
"202" is a value in the database field web_events.referrer_code for at least 0 Ecomm Users
user_facts.lifetime_orders is a number and is detail field
The number of orders this user has placed over the course of being a customer
order_items.created_at is a date and is not a detail field
The date that the item was placed by the customer
web_events.uri is a str and is not a detail field
The url the user came from
user_facts.last_order_date is a date and is detail field
The users last order date
user_facts.first_order_date is a date and is detail field
The users first order date
order_items.order_id is a number and is not a detail field
inventory_items.user_id is a number and is not a detail field
products.user_id is a number and is not a detail field
web_events.event_type is a str and is not a detail field
The type of page this is based on the path. For example (Brand or Category pages, or the Home/Checkout pages)
web_events.browser is a str and is not a detail field
The user's browser on the website
'Aging New Users Without Orders' is a subset of Ecomm Users with id: 7
'Low Value Users (removing new users and inactive users)' is a subset of Ecomm Users with id: 10
'Users with Returns (90 days)' is a subset of Ecomm Users with id: 9
'New Users Ordered Sequence' is a subset of Ecomm Users with id: 12
'New Users' is a subset of Ecomm Users with id: 6
'New Users Not Ordered Sequence' is a subset of Ecomm Users with id: 13
'Users from Order Items Source' is a subset of Ecomm Users with id: 1
'Users from User Facts Source' is a subset of Ecomm Users with id: 2
'Users from User Details Source' is a subset of Ecomm Users with id: 3
'Users from Web Events Source' is a subset of Ecomm Users with id: 4
source order_items can be filtered with fields in sources order_items, inventory_items, products.
source user_facts can be filtered with fields in sources user_facts.
source user_details can be filtered with fields in sources user_details.
source web_events can be filtered with fields in sources web_events.
source inventory_items can be filtered with fields in sources order_items, inventory_items, products.
source products can be filtered with fields in sources order_items, inventory_items, products.
<</SYS>>
the human has a question about Ecomm Users: what is the subset_expression for Top 12 users by Age but have no orders on or after 2022-01-01? [/INST] ```subset_expression
{"symbols": {"B": {"value": {"value": 1, "filters": [{"value": {"value": "2021-12-31"}, "operator": "after", "field": "order_items.created_at"}], "operator": "greater than or equal to"}, "operator": "count", "field": "order_items.user_id"}, "C": {"value": {"desc": true, "value": "12", "operator": "less than or equal to"}, "operator": "top n", "field": "user_details.age"}}, "expression": "!B>C", "population": "Ecomm Users"}
``` </s> |
End of preview. Expand
in Dataset Viewer.
- Downloads last month
- 49