UNPKG

@traceloop/instrumentation-langchain

Version:
14 lines 671 B
import { InstrumentationBase, InstrumentationModuleDefinition } from "@opentelemetry/instrumentation"; import { LangChainInstrumentationConfig } from "./types"; export declare class LangChainInstrumentation extends InstrumentationBase { protected _config: LangChainInstrumentationConfig; constructor(config?: LangChainInstrumentationConfig); manuallyInstrument({ callbackManagerModule, }: { callbackManagerModule?: any; }): void; protected init(): InstrumentationModuleDefinition[]; private instrumentCallbackManagerDirectly; private patchCallbackManager; private _shouldSendPrompts; } //# sourceMappingURL=instrumentation.d.ts.map