Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .changeset/all-dingos-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/redis": patch
---

add supprt for custom schemas in vectorstore
5 changes: 5 additions & 0 deletions .changeset/brown-hounds-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/openai": patch
---

fix(openai): Convert OpenAI responses API usage to tracing format
5 changes: 5 additions & 0 deletions .changeset/fast-peas-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/anthropic": patch
---

fix content management param
5 changes: 0 additions & 5 deletions .changeset/gold-zebras-bet.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/metal-hats-camp.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/mighty-moments-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/mongodb": minor
---

Updates the mongodb vector search, memory, and chat history modules to append client metadata
5 changes: 0 additions & 5 deletions .changeset/public-eggs-cheat.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/strong-drinks-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"langchain": patch
---

fix(langchain): add ChatMistralAI to well known models
12 changes: 12 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true


# When modifying this file, please validate using
# curl -X POST --data-binary @codecov.yml https://codecov.io/validate
38 changes: 20 additions & 18 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1.1.0-20",
"customizations": {
"vscode": {
"extensions": ["ms-vscode.vscode-typescript-next"]
}
}
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1.1.0-20",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.vscode-typescript-next"
]
}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "pnpm install",
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
// "customizations": {},
// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
26 changes: 13 additions & 13 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ body:
attributes:
value: |
Thank you for taking the time to file a bug report.

Use this to report BUGS in LangChain.js. For usage questions, feature requests and general design questions, please use the [LangChain Forum](https://forum.langchain.com/).

Relevant links to check before filing a bug report to see if your issue has already been reported, fixed or
if there's another way to solve your problem:

Expand Down Expand Up @@ -45,19 +45,19 @@ body:
label: Example Code
description: |
Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.

If a maintainer can copy it, run it, and see it right away, there's a much higher chance that you'll be able to get help.

**Important!**

* Use code tags (e.g., ```typescript ... ```) to correctly [format your code](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting).
* INCLUDE the language label (e.g. `typescript`) after the first three backticks to enable syntax highlighting. (e.g., ```typescript rather than ```).
* Reduce your code to the minimum required to reproduce the issue if possible. This makes it much easier for others to help you.
* Avoid screenshots when possible, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.

placeholder: |
The following code:

```typescript
import { RunnableLambda } from "@langchain/core/runnables"

Expand Down Expand Up @@ -98,18 +98,18 @@ body:
label: System Info
description: |
Please share your system info with us.

"pnpm info langchain"
"yarn info langchain"
platform (windows / linux / mac)
Node version
pnpm --version
yarn version
placeholder: |
"pnpm info langchain"
"yarn info langchain"
platform
Node version
pnpm --version

yarn version
These will only surface LangChain.js packages, don't forget to include any other relevant
packages you're using (if you're not sure what's relevant, you can paste the entire output of `pnpm info`).
packages you're using (if you're not sure what's relevant, you can paste the entire output of `yarn info`).
validations:
required: true
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
blank_issues_enabled: false
version: 2.1
contact_links:
- name: Documentation
url: https://github.com/langchain-ai/docs/issues/new?template=langchain.yml
about: Report an issue related to the LangChain documentation
- name: LangChain Forum
url: https://forum.langchain.com/
about: General community discussions, support, and feature requests
about: General community discussions and support
52 changes: 0 additions & 52 deletions .github/ISSUE_TEMPLATE/documentation.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/contributing/INTEGRATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-scripts/src

### Linting and formatting

As with all contributions, make sure you run `pnpm lint` and `pnpm format` so that everything conforms to our established style.
As with all contributions, make sure you run `yarn lint` and `yarn format` so that everything conforms to our established style.

### Separate integration packages

Expand Down
142 changes: 142 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Configuration for GitHub Actions Labeler
# https://github.com/actions/labeler

internal:
- changed-files:
- any-glob-to-any-file:
- internal/**
- internal/**/*

ci:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/**
- .github/actions/**
- dependency_range_tests/**
- dependency_range_tests/**/*
- environment_tests/**
- environment_tests/**/*
- libs/langchain-scripts/**
- libs/langchain-scripts/**/*
- libs/langchain-standard-tests/**
- libs/langchain-standard-tests/**/*

examples:
- changed-files:
- any-glob-to-any-file:
- examples/**
- examples/**/*

langchain:
- changed-files:
- any-glob-to-any-file:
- langchain/**
- langchain/**/*

core:
- changed-flies:
- any-glob-to-any-file:
- langchain-core/**
- langchain-core/**/*

textsplitters:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-textsplitters/**
- libs/langchain-textsplitters/**/*

provider/anthropic:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-anthropic/**
- libs/langchain-anthropic/**/*

provider/aws:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-aws/**
- libs/langchain-aws/**/*

provider/azure:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-*azure*/**
- libs/langchain-*azure*/**/*

provider/ollama:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-ollama/**
- libs/langchain-ollama/**/*

provider/openai:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-openai/**
- libs/langchain-openai/**/*

provider/google:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-*google*/**
- libs/langchain-*google*/**/*

provider/groq:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-groq/**
- libs/langchain-groq/**/*

provider/mistralai:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-mistralai/**
- libs/langchain-mistralai/**/*

provider/mongodb:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-mongodb/**
- libs/langchain-mongodb/**/*

provider/redis:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-redis/**
- libs/langchain-redis/**/*

provider/xai:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-xai/**
- libs/langchain-xai/**/*

community:
- changed-files:
- any-glob-to-any-file:
- libs/langchain-community/**
- libs/langchain-community/**/*
- libs/langchain-baidu-qianfan/**
- libs/langchain-baidu-qianfan/**/*
- libs/langchain-cerebras/**
- libs/langchain-cerebras/**/*
- libs/langchain-cloudflare/**
- libs/langchain-cloudflare/**/*
- libs/langchain-cohere/**
- libs/langchain-cohere/**/*
- libs/langchain-exa/**
- libs/langchain-exa/**/*
- libs/langchain-mixedbread-ai/**
- libs/langchain-mixedbread-ai/**/*
- libs/langchain-nomic/**
- libs/langchain-nomic/**/*
- libs/langchain-pinecone/**
- libs/langchain-pinecone/**/*
- libs/langchain-qdrant/**
- libs/langchain-qdrant/**/*
- libs/langchain-tavily/**
- libs/langchain-tavily/**/*
- libs/langchain-weaviate/**
- libs/langchain-weaviate/**/*
- libs/langchain-yandex/**
- libs/langchain-yandex/**/*
Loading