Անհատականացված AI օգնականի API Online
Ձեր սեփական AI օգնականը, որը պատասխանում է ՁԵՐ բովանդակությունից և ՄԵՐ կենդանի սահմանային տվյալներից։ Տվեք մեզ ձեր markdown ֆայլերը կամ նշեք էջերը, որոնք մենք կբեռնենք — կինդեքսավորենք և դրանցից կպատասխանենք։ Ընտրեք, մեր որ տվյալների աղբյուրները կարող է օգտագործել (հերթեր, կանխատեսում, այլընտրանքային անցակետեր, վառելիք, բեռնատարների արգելքներ, տոներ, ճանապարհների վիճակ…), ընտրեք մոդելի մակարդակը (հենց այն է սահմանում գինը), գրեք ձեր հրահանգները {{feed.slug}} տեղապահներով, որոնք ճշգրիտ նշում են, թե որտեղ են մեր տվյալները հայտնվում պատասխանում, և ավելացրեք ձեր եզրափակիչ նախադասությունը, որը կցվում է յուրաքանչյուր պատասխանի։ Ստեղծեք և փորձարկեք այն /{lang}/developers/studio հասցեում, ապա կանչեք այստեղից։ Մեկ պատասխանի գինը = մոդելի մակարդակի միավորները + 1 միավոր յուրաքանչյուր միացված աղբյուրի համար (ցուցադրվում է ստուդիայում և X-Devapi-Units վերնագրում)։
GET https://nakordoni.eu/api/v2/data/assistant-custom
— քվոտայի դաս: heavy
| Պարամետր | Նկարագրություն |
|---|---|
assistant_id | Your assistant id from Developers → AI Studio (required) |
q | The end-user question, plain text, max 1000 chars (required) |
lang | Answer language code — overrides the assistant default (optional) |
ppid | Checkpoint context for queue/forecast/alternatives feeds, e.g. id_13 (optional) |
origin | Origin country code for the border feed (optional) |
destination | Destination country code for the border feed (optional) |
crossing_type | Vehicle type for border/alternatives feeds: 4=car, 6=bus, 8=truck (Freight Transport), 9=truck up to 7.5 t (optional) |
country | Country context for fuel / truck-bans / holidays / road-conditions feeds (optional) |
lat | Latitude for the POI feed (optional) |
lon | Longitude for the POI feed (optional) |
Պատասխանի դաշտերը — պատասխանի ծրարի data օբյեկտի ներսում։ []-ը ցույց է տալիս ցուցակ, ուստի data.items[].name-ը յուրաքանչյուր տարրի name դաշտն է։ Դաշտը լինում է null, բացակայում է կամ դատարկ ցուցակ է, երբ արժեք չունենք․ լցոնող արժեք երբեք չենք դնում։
| Դաշտ | Նկարագրություն |
|---|---|
data.assistant_id | Which of your assistants answered, with assistant — its name. |
data.question | The question as asked, with lang. |
data.answer | The answer, grounded on your indexed content plus the feeds you enabled. |
data.model_tier | Model tier that ran — this is what sets the price, together with the feed count. |
data.sources | Your content chunks the answer drew on, so you can cite them. |
data.feeds | Our live feeds that were actually used in this answer. |
data.feeds_skipped | Feeds enabled on the assistant but skipped because the request lacked their context — each value names the parameters to pass next time. |
data.ms | How long the answer took to generate. |
curl "https://nakordoni.eu/api/v2/data/assistant-custom?assistant_id=1&q=Should I cross tonight or in the morning?&ppid=id_13&lang=uk" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
Թարմացվել է