Skip to content

Commit

Permalink
Bump specs
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Nov 30, 2023
1 parent 0dc3ea3 commit 26eb7e1
Showing 1 changed file with 16 additions and 45 deletions.
61 changes: 16 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,49 +117,23 @@ $client->task->answerQuestion([
],

"context" => [
"team" => [
"id" => "cf4ccdb5-df44-4668-a9e7-3ab31bebf89b",
"name" => "Crisp"
],
"primary_id" => "cf4ccdb5-df44-4668-a9e7-3ab31bebf89b",

"transcripts" => [
"conversation" => [
"messages" => [
[
"from" => "customer",
"text" => "Hey there!"
],

[
"from" => "agent",
"text" => "Hi. How can I help?"
],

[
"from" => "customer",
"text" => "I want to add more sub-domains to my website."
]
]
],
"conversation" => [
"messages" => [
[
"from" => "customer",
"text" => "Hey there!"
],

"related" => [
[
"messages" => [
[
"from" => "customer",
"text" => "Hi, does the \"per website\" pricing include sub-domains?"
],

[
"from" => "agent",
"text" => "Hi, yes, it includes sub-domains"
],

[
"from" => "customer",
"text" => "Perfect thanks!"
]
]
"from" => "agent",
"text" => "Hi. How can I help?"
],

[
"from" => "customer",
"text" => "I want to add more sub-domains to my website."
]
]
]
Expand Down Expand Up @@ -298,13 +272,10 @@ $client->task->categorizeConversations([
```php
$client->task->rankQuestion([
"question" => "Hi! I am having issues setting up DNS records for my Crisp helpdesk. Can you help?",
"source" => "helpdesk",

"context" => [
"team" => [
"id" => "cf4ccdb5-df44-4668-a9e7-3ab31bebf89b",
"name" => "Crisp"
]
"source" => "helpdesk",
"primary_id" => "cf4ccdb5-df44-4668-a9e7-3ab31bebf89b"
]
]);
```
Expand Down

0 comments on commit 26eb7e1

Please sign in to comment.