Get a visualization for all the FAQs for your restaurant
#
TEXT
1.
When are you open?
2.
When do you close?
3.
What are the hours?
4.
Are you open on weekends?
5.
Are you available on holidays?
6.
How much is a burger?
7.
What's the price of a meal?
8.
How much for a few burgers?
9.
Do you have a vegan option?
10.
Do you have vegetarian?
11.
Do you serve non-meat alternatives?
12.
Do you have milkshakes?
13.
Milkshake
14.
Do you have desert?
15.
Can I bring my child?
16.
Are you kid friendly?
17.
Do you have booster seats?
18.
Do you do delivery?
19.
Is there takeout?
20.
Do you deliver?
21.
Can I have it delivered?
22.
Can you bring it to me?
23.
Do you have space for a party?
24.
Can you accommodate large groups?
25.
Can I book a party here?
1import cohere
2co = cohere.Client('{apiKey}')
3response = co.embed(
4 model='embed-english-v2.0',
5 texts=["When are you open?", "When do you close?", "What are the hours?", "Are you open on weekends?", "Are you available on holidays?", "How much is a burger?", "What\'s the price of a meal?", "How much for a few burgers?", "Do you have a vegan option?", "Do you have vegetarian?", "Do you serve non-meat alternatives?", "Do you have milkshakes?", "Milkshake", "Do you have desert?", "Can I bring my child?", "Are you kid friendly?", "Do you have booster seats?", "Do you do delivery?", "Is there takeout?", "Do you deliver?", "Can I have it delivered?", "Can you bring it to me?", "Do you have space for a party?", "Can you accommodate large groups?", "Can I book a party here?"])
6print('Embeddings: {}'.format(response.embeddings))