Skip to content

dag-orchestrator / Exports / ICostEstimatorPort

Interface: ICostEstimatorPort

Implemented by

Table of contents

Methods

Methods

estimateCost

estimateCost(prompt, objectInfo): Promise<TResult<IPromptCostEstimate, IDagError>>

Parameters

NameType
promptTPrompt
objectInfoTObjectInfo

Returns

Promise<TResult<IPromptCostEstimate, IDagError>>

Defined in

interfaces/orchestrator-policy-port.ts:5

Released under the MIT License.