Integrated api
post
https://backend.alli.ai/
webapi/find_match
Find match

Request Example

Please replace YOUR API KEY with your one in example below, To get the api key, please see getting-api-key section.
1
$ curl -H "API-KEY: YOUR_API_KEY" \
2
-d'{"process_order":["exact_match", "small_talk", "faq"], \
3
"exact_match_list": ["aaaa", "bbbb"], \
4
"query": "QA", \
5
"faq_threshold": 0.85}' \
6
"https://backend.alli.ai/webapi/find_match"
7
{
8
"found": true,
9
"result": [
10
{
11
"confidence": 0.8660902048311576,
12
"effectiveConfidence": 0.8660902048311576,
13
"question": "QA 게이트(GATE)",
14
"answer": "...",
15
"id": "RkFROjYwZDA3MGU5NWRjZDlkZTliMzFlNTI5MA==",
16
"lastUpdatedDate": "2021-06-21",
17
"createdDate": "2021-06-21",
18
"hashtags": ["실무용어"],
19
"userFeedback": {"positiveCount": 0, "negativeCount": 0},
20
"agentFeedback": {"positiveCount": 0, "negativeCount": 0}
21
}
22
],
23
"process": "faq",
24
"error": null,
25
"resultId": "RmluZE1hdGNoUmVzdWx0OjYxODhkZGMwMjE1MmZhYWVkNGExMDRmOA=="
26
}
Copied!
post
https://backend.alli.ai
/webapi/match_feedback
Match feedback
Last modified 26d ago