LUISRuntimeClient class

Extends

المنشئون

LUISRuntimeClient(ServiceClientCredentials, string, ServiceClientOptions)

تهيئة مثيل جديد من فئة LUISRuntimeClient.

الخصائص

prediction

الخصائص الموروثة

credentials
endpoint

الأساليب المتوارثة

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

أرسل طلب HTTP الذي يتم ملؤه باستخدام OperationSpec المتوفر.

sendRequest(RequestPrepareOptions | WebResourceLike)

أرسل 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

prediction: PredictionOperations

قيمة الخاصية

تفاصيل الخاصية الموروثة

credentials

credentials: ServiceClientCredentials

قيمة الخاصية

موروث منLUISRuntimeClientContext.credentials

endpoint

endpoint: string

قيمة الخاصية

string

موروث منLUISRuntimeClientContext.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>

موروث منLUISRuntimeClientContext.sendOperationRequest

sendRequest(RequestPrepareOptions | WebResourceLike)

أرسل httpRequest المتوفر.

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

المعلمات

المرتجعات

موروث منLUISRuntimeClientContext.sendRequest