@azure-rest/ai-inference
Version:
Inference API for Azure-supported AI models
16 lines • 912 B
TypeScript
/**
* THIS IS AN AUTO-GENERATED FILE - DO NOT EDIT!
*
* Any changes you make here may be lost.
*
* If you need to make changes, please do so in the original source file, \{project-root\}/sources/custom
*/
import type { PipelineRequest, PipelineResponse } from "@azure/core-rest-pipeline";
import type { TracingSpan } from "@azure/core-tracing";
import type { GetChatCompletionsBodyParam } from "./parameters.js";
export declare function getRequestBody(request: PipelineRequest): GetChatCompletionsBodyParam;
export declare function getSpanName(request: PipelineRequest): string;
export declare function onStartTracing(span: TracingSpan, request: PipelineRequest, url: string): void;
export declare function tryProcessResponse(span: TracingSpan, response?: PipelineResponse): void;
export declare function tryProcessError(span: TracingSpan, error: unknown): void;
//# sourceMappingURL=tracingHelper.d.ts.map