LUISRuntimeClient class
- Extends
المنشئون
LUISRuntime |
تهيئة مثيل جديد من فئة LUISRuntimeClient. |
الخصائص
prediction |
الخصائص الموروثة
credentials | |
endpoint |
الأساليب المتوارثة
send |
أرسل طلب HTTP الذي يتم ملؤه باستخدام OperationSpec المتوفر. |
send |
أرسل httpRequest المتوفر. |
تفاصيل المنشئ
LUISRuntimeClient(ServiceClientCredentials, string, ServiceClientOptions)
تهيئة مثيل جديد من فئة LUISRuntimeClient.
new LUISRuntimeClient(credentials: ServiceClientCredentials, endpoint: string, options?: ServiceClientOptions)
المعلمات
- credentials
- ServiceClientCredentials
بيانات اعتماد الاشتراك التي تحدد اشتراك العميل بشكل فريد.
- endpoint
-
string
نقاط نهاية الخدمات المعرفية المدعومة (البروتوكول واسم المضيف، على سبيل المثال: https://westus.api.cognitive.microsoft.com).
- options
- ServiceClientOptions
خيارات المعلمة
تفاصيل الخاصية
prediction
تفاصيل الخاصية الموروثة
credentials
credentials: ServiceClientCredentials
قيمة الخاصية
endpoint
تفاصيل الأساليب المتوارثة
sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)
أرسل طلب HTTP الذي يتم ملؤه باستخدام OperationSpec المتوفر.
function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>
المعلمات
- operationArguments
- OperationArguments
سيتم ملء الوسيطات التي سيتم ملء القيم المقالب لطلب HTTP منها.
- operationSpec
- OperationSpec
OperationSpec المراد استخدامه لملء httpRequest.
- callback
-
ServiceCallback<any>
رد الاتصال للاتصال عند تلقي الاستجابة.
المرتجعات
Promise<RestResponse>
sendRequest(RequestPrepareOptions | WebResourceLike)
أرسل httpRequest المتوفر.
function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>
المعلمات
- options
المرتجعات
Promise<HttpOperationResponse>