mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-22 19:09:57 +00:00
Add BaseMessage.id (#17835)
Thank you for contributing to LangChain! - [ ] **PR title**: "package: description" - Where "package" is whichever of langchain, community, core, experimental, etc. is being modified. Use "docs: ..." for purely docs changes, "templates: ..." for template changes, "infra: ..." for CI changes. - Example: "community: add foobar LLM" - [ ] **PR message**: ***Delete this entire checklist*** and replace with - **Description:** a description of the change - **Issue:** the issue # it fixes, if applicable - **Dependencies:** any dependencies required for this change - **Twitter handle:** if your PR gets announced, and you'd like a mention, we'll gladly shout you out! - [ ] **Add tests and docs**: If you're adding a new integration, please include 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/docs/integrations` directory. - [ ] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/ Additional guidelines: - Make sure optional dependencies are imported within a function. - Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests. - Most PRs should not touch more than one package. - Changes should be backwards compatible. - If you are adding something to community, do not re-import it in langchain. If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17.
This commit is contained in:
@@ -200,6 +200,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -252,6 +256,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -304,6 +312,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"title": "Role",
|
||||
"type": "string"
|
||||
@@ -355,6 +367,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -402,6 +418,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -451,6 +471,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_call_id": {
|
||||
"title": "Tool Call Id",
|
||||
"type": "string"
|
||||
@@ -667,6 +691,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -719,6 +747,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -771,6 +803,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"title": "Role",
|
||||
"type": "string"
|
||||
@@ -822,6 +858,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -869,6 +909,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -918,6 +962,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_call_id": {
|
||||
"title": "Tool Call Id",
|
||||
"type": "string"
|
||||
@@ -1187,6 +1235,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -1239,6 +1291,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -1291,6 +1347,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"title": "Role",
|
||||
"type": "string"
|
||||
@@ -1342,6 +1402,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1389,6 +1453,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1438,6 +1506,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_call_id": {
|
||||
"title": "Tool Call Id",
|
||||
"type": "string"
|
||||
@@ -1576,6 +1648,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -1628,6 +1704,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -1680,6 +1760,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"title": "Role",
|
||||
"type": "string"
|
||||
@@ -1731,6 +1815,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1778,6 +1866,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1827,6 +1919,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_call_id": {
|
||||
"title": "Tool Call Id",
|
||||
"type": "string"
|
||||
@@ -2002,6 +2098,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -2054,6 +2154,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -2106,6 +2210,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"title": "Role",
|
||||
"type": "string"
|
||||
@@ -2157,6 +2265,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2204,6 +2316,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2253,6 +2369,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_call_id": {
|
||||
"title": "Tool Call Id",
|
||||
"type": "string"
|
||||
@@ -2436,6 +2556,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -2488,6 +2612,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -2540,6 +2668,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"title": "Role",
|
||||
"type": "string"
|
||||
@@ -2591,6 +2723,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2638,6 +2774,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2687,6 +2827,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_call_id": {
|
||||
"title": "Tool Call Id",
|
||||
"type": "string"
|
||||
@@ -2956,6 +3100,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -3008,6 +3156,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -3060,6 +3212,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"title": "Role",
|
||||
"type": "string"
|
||||
@@ -3111,6 +3267,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3158,6 +3318,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3207,6 +3371,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_call_id": {
|
||||
"title": "Tool Call Id",
|
||||
"type": "string"
|
||||
@@ -3423,6 +3591,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -3475,6 +3647,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -3527,6 +3703,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"title": "Role",
|
||||
"type": "string"
|
||||
@@ -3578,6 +3758,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3625,6 +3809,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3674,6 +3862,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_call_id": {
|
||||
"title": "Tool Call Id",
|
||||
"type": "string"
|
||||
@@ -3933,6 +4125,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -3985,6 +4181,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"title": "Example",
|
||||
"default": false,
|
||||
@@ -4037,6 +4237,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"title": "Role",
|
||||
"type": "string"
|
||||
@@ -4088,6 +4292,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4135,6 +4343,10 @@
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4184,6 +4396,10 @@
|
||||
"title": "Name",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_call_id": {
|
||||
"title": "Tool Call Id",
|
||||
"type": "string"
|
||||
|
Reference in New Issue
Block a user