API asistent AI de frontieră Online
Adresați asistentului nostru AI de producție orice întrebare despre trecerea frontierei (cozi, prognoze, reguli, carburant, rute) și obțineți același răspuns fundamentat care alimentează widgetul nakordoni.eu — în 24 de limbi. Deja folosit în producție de yaknakordoni.com.ua.
GET https://nakordoni.eu/api/v1/data/assistant
— clasă de cotă: heavy
| Parametru | Descriere |
|---|---|
q | Întrebarea (text simplu) |
lang | Limba răspunsului (implicit en) |
ppid | Context punct de trecere, de ex. id_13 (opțional) |
Câmpurile răspunsului — în interiorul obiectului data din plicul răspunsului. [] marchează o listă, deci data.items[].name este câmpul name al fiecărui element. Un câmp este null, lipsește sau este o listă goală atunci când nu avem o valoare — niciodată un substitut.
| Câmp | Descriere |
|---|---|
data.question | The question as asked, with lang and ppid — the checkpoint context the answer was grounded on. |
data.answer_text | The answer, in the requested language. Structured answers add their own fields beside it (summary, figures, sources) depending on the question type. |
usage | Envelope level: limit, used, reset — this product is metered like any other. |
curl "https://nakordoni.eu/api/v1/data/assistant?q=How long is the queue at Krakovets now?&lang=en&ppid=id_13" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Autentifică-te ca dezvoltator pentru a testa acest endpoint live în sandbox — 50 de apeluri de test gratuite pe zi. Autentificare