OpikTracer¶
- class opik.integrations.langchain.OpikTracer(tags: List[str] | None = None, metadata: Dict[str, Any] | None = None, project_name: str | None = None, **kwargs: Any)¶
Bases:
BaseTracer
Langchain Opik Tracer.
- Parameters:
tags – List of tags to be applied to each trace logged by the tracer.
metadata – Additional metadata for each trace logged by the tracer.
project_name – The name of the project to log data.
- flush() None ¶
Flush to ensure all data is sent to the Opik server.