שליחת חדשות וצי NakBus נמצאים כעת בלוח השותפים
חבר את חשבון המפתח שלך לחשבון Nakordoni Partners עם אותו האימייל ונהל שם חדשות ואת צי האוטובוסים שלך (NakDriver / NakManager), עם תפקידי צוות. מפתחות ה-API, נקודות הקצה והאפליקציות שלך נשארים ללא שינוי, והדפים כאן ממשיכים לפעול. פתח את Nakordoni Partners

← כל נקודות הקצה

API של עוזר AI מותאם אישית Online

עוזר ה-AI שלכם, המבוסס על התוכן שלכם ועל נתוני הגבול החיים שלנו. תנו לנו את קובצי ה-markdown שלכם או ציינו את הדפים שנמשוך בעצמנו — אנחנו מאנדקסים אותם ועונים מהם. בחרו באילו ממקורות הנתונים שלנו הוא רשאי להשתמש (תורים, תחזית, מעברים חלופיים, דלק, איסורי משאיות, חגים, מצב כבישים…), בחרו רמת מודל (היא שקובעת את המחיר), כתבו הוראות משלכם עם מצייני מיקום {{feed.slug}} שאומרים בדיוק היכן הנתונים שלנו ייכנסו לתשובה, והוסיפו משפט סיום משלכם שיצורף לכל תשובה. בנו ובדקו אותו בכתובת /{lang}/developers/studio, ואז קראו לו מכאן. מחיר לתשובה = יחידות רמת המודל + יחידה אחת לכל מקור מופעל (מוצג בסטודיו ובכותרת X-Devapi-Units).

GET https://nakordoni.eu/api/v2/data/assistant-custom — מחלקת מכסה: heavy

פרמטרתיאור
assistant_idYour assistant id from Developers → AI Studio (required)
qThe end-user question, plain text, max 1000 chars (required)
langAnswer language code — overrides the assistant default (optional)
ppidCheckpoint context for queue/forecast/alternatives feeds, e.g. id_13 (optional)
originOrigin country code for the border feed (optional)
destinationDestination country code for the border feed (optional)
crossing_typeVehicle type for border/alternatives feeds: 4=car, 6=bus, 8=truck (Freight Transport), 9=truck up to 7.5 t (optional)
countryCountry context for fuel / truck-bans / holidays / road-conditions feeds (optional)
latLatitude for the POI feed (optional)
lonLongitude for the POI feed (optional)

שדות התשובה — בתוך אובייקט data שבמעטפת התשובה. [] מסמן רשימה, ולכן data.items[].name הוא שדה name של כל פריט. שדה יהיה null, ייעדר או יחזור כרשימה ריקה כשאין לנו ערך עבורו — לעולם לא ערך ממלא מקום.

שדהתיאור
data.assistant_idWhich of your assistants answered, with assistant — its name.
data.questionThe question as asked, with lang.
data.answerThe answer, grounded on your indexed content plus the feeds you enabled.
data.model_tierModel tier that ran — this is what sets the price, together with the feed count.
data.sourcesYour content chunks the answer drew on, so you can cite them.
data.feedsOur live feeds that were actually used in this answer.
data.feeds_skippedFeeds enabled on the assistant but skipped because the request lacked their context — each value names the parameters to pass next time.
data.msHow 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"
🔑 התחברו כמפתחים כדי לנסות את נקודת הקצה הזו בשידור חי ב־Sandbox — 50 קריאות בדיקה חינם ביום. התחברות

עודכן