समाचार सबमिशन और NakBus फ्लीट अब पार्टनर डैशबोर्ड में हैं
अपने डेवलपर खाते को उसी ईमेल वाले Nakordoni Partners खाते से कनेक्ट करें और वहाँ समाचार और अपने बस बेड़े (NakDriver / NakManager) को टीम भूमिकाओं के साथ प्रबंधित करें। आपकी API कुंजियाँ, एंडपॉइंट और ऐप्स अपरिवर्तित रहते हैं, और यहाँ के पेज काम करना जारी रखते हैं। Nakordoni Partners खोलें

← सभी एंडपॉइंट

निजी 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_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"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन

अपडेट किया गया