aisbreaker-api-js - v0.1.15 / base/ServiceUrlUtils
Module: base/ServiceUrlUtils
Table of contents
Functions
Functions
getServiceUrl
▸ getServiceUrl(url
, engine
, serviceDefaults
): string
| undefined
Derive the service URL.
Details on: https://aisbreaker.org/docs/url
Parameters
Name | Type | Description |
---|---|---|
url | undefined | string | The (base) URL specified in AIsServiceProps. |
engine | undefined | string | The engine derived form serviceId |
serviceDefaults | AIsServiceDefaults |
Returns
string
| undefined
The URL to access the actual AI service.
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/base/ServiceUrlUtils.ts:17