# @arizeai/openinference-instrumentation-langchain

## 4.0.17

### Patch Changes

- Updated dependencies [237ce2b]
  - @arizeai/openinference-semantic-conventions@2.7.0
  - @arizeai/openinference-core@2.5.1

## 4.0.16

### Patch Changes

- Updated dependencies [0168198]
  - @arizeai/openinference-core@2.5.0

## 4.0.15

### Patch Changes

- Updated dependencies [145e3c6]
  - @arizeai/openinference-semantic-conventions@2.6.0
  - @arizeai/openinference-core@2.4.1

## 4.0.14

### Patch Changes

- Updated dependencies [d0f5a88]
  - @arizeai/openinference-core@2.4.0

## 4.0.13

### Patch Changes

- Updated dependencies [1fe7927]
  - @arizeai/openinference-core@2.3.0

## 4.0.12

### Patch Changes

- 0f0242c: Add `PROMPT` to the `OpenInferenceSpanKind` enum, aligning the JS package with the OpenInference spec and the Python semantic conventions. LangChain prompt template spans now correctly report `openinference.span.kind = "PROMPT"` instead of falling through to `"CHAIN"`.
- Updated dependencies [0f0242c]
- Updated dependencies [26733d8]
  - @arizeai/openinference-semantic-conventions@2.5.0
  - @arizeai/openinference-core@2.2.0

## 4.0.11

### Patch Changes

- Updated dependencies [81b8bdb]
  - @arizeai/openinference-semantic-conventions@2.4.0
  - @arizeai/openinference-core@2.1.1

## 4.0.10

### Patch Changes

- Updated dependencies [cfb128c]
  - @arizeai/openinference-core@2.1.0

## 4.0.9

### Patch Changes

- Updated dependencies [e09ce3f]
  - @arizeai/openinference-semantic-conventions@2.3.0
  - @arizeai/openinference-core@2.0.8

## 4.0.8

### Patch Changes

- Updated dependencies [4eebba3]
  - @arizeai/openinference-core@2.0.7

## 4.0.7

### Patch Changes

- Updated dependencies [7eb1c88]
- Updated dependencies [3944459]
  - @arizeai/openinference-semantic-conventions@2.2.0
  - @arizeai/openinference-core@2.0.6

## 4.0.6

### Patch Changes

- c79c564: force publish
- c79c564: signed publishing
- Updated dependencies [c79c564]
- Updated dependencies [c79c564]
  - @arizeai/openinference-core@2.0.5
  - @arizeai/openinference-semantic-conventions@2.1.7

## 4.0.5

### Patch Changes

- a4eead1: force publish
- a4eead1: signed publishing
- Updated dependencies [a4eead1]
- Updated dependencies [a4eead1]
  - @arizeai/openinference-core@2.0.4
  - @arizeai/openinference-semantic-conventions@2.1.6

## 4.0.4

### Patch Changes

- 74f278c: force publish
- 74f278c: signed publishing
- Updated dependencies [74f278c]
- Updated dependencies [74f278c]
  - @arizeai/openinference-core@2.0.3
  - @arizeai/openinference-semantic-conventions@2.1.5

## 4.0.3

### Patch Changes

- fe61379: force publish
- fe61379: signed publishing
- Updated dependencies [fe61379]
- Updated dependencies [fe61379]
  - @arizeai/openinference-core@2.0.2
  - @arizeai/openinference-semantic-conventions@2.1.4

## 4.0.2

### Patch Changes

- 006a685: signed publishing
- Updated dependencies [006a685]
  - @arizeai/openinference-core@2.0.1
  - @arizeai/openinference-semantic-conventions@2.1.3

## 4.0.1

### Patch Changes

- 371a664: fix: Ensure esm builds are emitted correctly

## 4.0.0

### Major Changes

- 9b3681c: Deprecates langchain v0.2 in favor of v0.3 only
- 3ef46a9: Add support for langchain 1.0 and above

## 3.4.6

### Patch Changes

- Updated dependencies [d3d7017]
  - @arizeai/openinference-core@2.0.0

## 3.4.5

### Patch Changes

- Updated dependencies [5161c9f]
  - @arizeai/openinference-core@1.0.8

## 3.4.4

### Patch Changes

- 6066704: roughly check json strings for mime type

## 3.4.3

### Patch Changes

- Updated dependencies [c50ffb0]
  - @arizeai/openinference-semantic-conventions@2.1.2
  - @arizeai/openinference-core@1.0.7

## 3.4.2

### Patch Changes

- Updated dependencies [9d3bdb4]
  - @arizeai/openinference-core@1.0.6

## 3.4.1

### Patch Changes

- Updated dependencies [59be946]
  - @arizeai/openinference-semantic-conventions@2.1.1
  - @arizeai/openinference-core@1.0.5

## 3.4.0

### Minor Changes

- e211094: add ability to use a non-global trace provider

## 3.3.2

### Patch Changes

- Updated dependencies [34a4159]
  - @arizeai/openinference-semantic-conventions@2.1.0
  - @arizeai/openinference-core@1.0.4

## 3.3.1

### Patch Changes

- Updated dependencies [c2ee804]
- Updated dependencies [5f904bf]
- Updated dependencies [5f90a80]
  - @arizeai/openinference-semantic-conventions@2.0.0
  - @arizeai/openinference-core@1.0.3

## 3.3.0

### Minor Changes

- 2869d93: captures the json schema for function calls that are bound to llm calls as tools

## 3.2.0

### Minor Changes

- 6892184: feat(langchain-js): Instrument tool messages in langchain js instrumentation

### Patch Changes

- 4b296d2: properly record exceptions on spans for langchain runs

## 3.1.0

### Minor Changes

- e5300f3: support for prompt and completion token count details for langchainjs and openai

## 3.0.2

### Patch Changes

- Updated dependencies [ae5cd15]
  - @arizeai/openinference-semantic-conventions@1.1.0
  - @arizeai/openinference-core@1.0.2

## 3.0.1

### Patch Changes

- Updated dependencies [c4e2252]
  - @arizeai/openinference-semantic-conventions@1.0.1
  - @arizeai/openinference-core@1.0.1

## 3.0.0

### Major Changes

- 1ae380c: deprecate support for v0.1

## 2.0.0

### Major Changes

- 16a3815: ESM support

  Packages are now shipped as "Dual Package" meaning that ESM and CJS module resolution
  should be supported for each package.

  Support is described as "experimental" because opentelemetry describes support for autoinstrumenting
  ESM projects as "ongoing". See https://github.com/open-telemetry/opentelemetry-js/blob/61d5a0e291db26c2af638274947081b29db3f0ca/doc/esm-support.md

### Patch Changes

- Updated dependencies [16a3815]
  - @arizeai/openinference-semantic-conventions@1.0.0
  - @arizeai/openinference-core@1.0.0

## 1.1.0

### Minor Changes

- 8182c3a: Parses metadata with key name in (session_id, thread_id, conversation_id) into semantic conventions session id

### Patch Changes

- Updated dependencies [1188c6d]
  - @arizeai/openinference-semantic-conventions@0.14.0
  - @arizeai/openinference-core@0.3.3

## 1.0.2

### Patch Changes

- Updated dependencies [710d1d3]
  - @arizeai/openinference-semantic-conventions@0.13.0
  - @arizeai/openinference-core@0.3.2

## 1.0.1

### Patch Changes

- 210ab8c: fix: add support for capturing ChatBedrock token counts
- Updated dependencies [a0e6f30]
  - @arizeai/openinference-semantic-conventions@0.12.0
  - @arizeai/openinference-core@0.3.1

## 1.0.0

### Major Changes

- c03a5b6: add support for trace config to OpenAI and LangChain auto instrumentors to allow for attribute masking on spans

### Minor Changes

- 518f298: add support for @langchain/core version ^0.3.0

## 0.2.1

### Patch Changes

- Updated dependencies [f965410]
- Updated dependencies [712b9da]
- Updated dependencies [d200d85]
  - @arizeai/openinference-semantic-conventions@0.11.0
  - @arizeai/openinference-core@0.3.0

## 0.2.0

### Minor Changes

- 14ac4ae: add support for langchain version ^0.2

### Patch Changes

- Updated dependencies [3b8702a]
  - @arizeai/openinference-core@0.2.0

## 0.1.1

### Patch Changes

- Updated dependencies [ba142d5]
  - @arizeai/openinference-semantic-conventions@0.10.0

## 0.1.0

### Minor Changes

- af1184e: Fix the way that instrumentation stores whether or not it is patched by storing patched state in the closure"

### Patch Changes

- Updated dependencies [28a4ea2]
- Updated dependencies [96af3d6]
  - @arizeai/openinference-semantic-conventions@0.9.0

## 0.0.9

### Patch Changes

- Updated dependencies [9affdf6]
  - @arizeai/openinference-semantic-conventions@0.8.0

## 0.0.8

### Patch Changes

- Updated dependencies [9c44b14]
  - @arizeai/openinference-semantic-conventions@0.7.0

## 0.0.7

### Patch Changes

- Updated dependencies [b66bf54]
- Updated dependencies [fe69250]
- Updated dependencies [60ade67]
  - @arizeai/openinference-semantic-conventions@0.6.0

## 0.0.6

### Patch Changes

- Updated dependencies [0d1d065]
  - @arizeai/openinference-semantic-conventions@0.5.0

## 0.0.5

### Patch Changes

- Updated dependencies [921a40c]
  - @arizeai/openinference-semantic-conventions@0.4.0

## 0.0.4

### Patch Changes

- ecda94a: update README to include manual instrumentation step

## 0.0.3

### Patch Changes

- 5d21aac: update fallback span kind to be chain

## 0.0.2

### Patch Changes

- a3c52e0: add manuallyInstrument method to LangChainInsturmentation

## 0.0.1

### Patch Changes

- cf56c6f: add LangChain instrumentation
