Skip to content

Commit da18376

Browse files
authored
Merge branch 'master' into master
2 parents 88253d8 + 244c699 commit da18376

File tree

841 files changed

+50533
-21778
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

841 files changed

+50533
-21778
lines changed

.devcontainer/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ You may use the button above, or follow these steps to open this repo in a Codes
1515
1. Click **Create codespace on master**.
1616

1717
For more info, check out the [GitHub documentation](https://docs.github.com/en/free-pro-team@latest/github/developing-online-with-codespaces/creating-a-codespace#creating-a-codespace).
18-
18+
1919
## VS Code Dev Containers
2020

2121
[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/langchain-ai/langchain)
2222

23-
> [!NOTE]
23+
> [!NOTE]
2424
> If you click the link above you will open the main repo (`langchain-ai/langchain`) and *not* your local cloned repo. This is fine if you only want to run and test the library, but if you want to contribute you can use the link below and replace with your username and cloned repo name:
2525
2626
```txt

.devcontainer/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
build:
55
dockerfile: libs/langchain/dev.Dockerfile
66
context: ..
7-
7+
88
networks:
99
- langchain-network
1010

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ For answers to common questions about this code of conduct, see the FAQ at
129129
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130130
[Mozilla CoC]: https://github.com/mozilla/diversity
131131
[FAQ]: https://www.contributor-covenant.org/faq
132-
[translations]: https://www.contributor-covenant.org/translations
132+
[translations]: https://www.contributor-covenant.org/translations

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ To learn how to contribute to LangChain, please follow the [contribution guide h
77

88
## New features
99

10-
For new features, please start a new [discussion](https://forum.langchain.com/), where the maintainers will help with scoping out the necessary changes.
10+
For new features, please start a new [discussion on our forum](https://forum.langchain.com/), where the maintainers will help with scoping out the necessary changes.

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
name: "\U0001F41B Bug Report"
22
description: Report a bug in LangChain. To report a security issue, please instead use the security option below. For questions, please use the LangChain forum.
33
labels: ["bug"]
4+
type: bug
45
body:
56
- type: markdown
67
attributes:
78
value: |
8-
Thank you for taking the time to file a bug report.
9+
Thank you for taking the time to file a bug report.
910
1011
Use this to report BUGS in LangChain. For usage questions, feature requests and general design questions, please use the [LangChain Forum](https://forum.langchain.com/).
1112
1213
Relevant links to check before filing a bug report to see if your issue has already been reported, fixed or
1314
if there's another way to solve your problem:
1415
1516
* [LangChain Forum](https://forum.langchain.com/),
16-
* [LangChain Github Issues](https://github.com/langchain-ai/langchain/issues?q=is%3Aissue),
17-
* [LangChain documentation with the integrated search](https://python.langchain.com/docs/get_started/introduction),
18-
* [LangChain how-to guides](https://python.langchain.com/docs/how_to/),
17+
* [LangChain documentation with the integrated search](https://docs.langchain.com/oss/python/langchain/overview),
1918
* [API Reference](https://python.langchain.com/api_reference/),
2019
* [LangChain ChatBot](https://chat.langchain.com/)
2120
* [GitHub search](https://github.com/langchain-ai/langchain),
@@ -25,7 +24,7 @@ body:
2524
label: Checked other resources
2625
description: Please confirm and check all the following options.
2726
options:
28-
- label: This is a bug, not a usage question. For questions, please use the LangChain Forum (https://forum.langchain.com/).
27+
- label: This is a bug, not a usage question.
2928
required: true
3029
- label: I added a clear and descriptive title that summarizes this issue.
3130
required: true
@@ -35,6 +34,8 @@ body:
3534
required: true
3635
- label: The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
3736
required: true
37+
- label: This is not related to the langchain-community package.
38+
required: true
3839
- label: I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example).
3940
required: true
4041
- label: I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS.
@@ -50,22 +51,22 @@ body:
5051
5152
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.
5253
53-
**Important!**
54+
**Important!**
5455
5556
* Avoid screenshots when possible, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
5657
* Reduce your code to the minimum required to reproduce the issue if possible. This makes it much easier for others to help you.
5758
* Use code tags (e.g., ```python ... ```) to correctly [format your code](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting).
5859
* INCLUDE the language label (e.g. `python`) after the first three backticks to enable syntax highlighting. (e.g., ```python rather than ```).
5960
6061
placeholder: |
61-
The following code:
62+
The following code:
6263
6364
```python
6465
from langchain_core.runnables import RunnableLambda
6566
6667
def bad_code(inputs) -> int:
6768
raise NotImplementedError('For demo purpose')
68-
69+
6970
chain = RunnableLambda(bad_code)
7071
chain.invoke('Hello!')
7172
```
@@ -118,3 +119,7 @@ body:
118119
python -m langchain_core.sys_info
119120
validations:
120121
required: true
122+
123+
124+
125+

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
blank_issues_enabled: false
22
version: 2.1
33
contact_links:
4-
- name: LangChain Forum
5-
url: https://forum.langchain.com/
6-
about: General community discussions, support, and feature requests
4+
- name: 📚 Documentation
5+
url: https://github.com/langchain-ai/docs/issues/new?template=langchain.yml
6+
about: Report an issue related to the LangChain documentation
7+
- name: 💬 LangChain Forum
8+
url: https://forum.langchain.com/
9+
about: General community discussions and support

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
name: "✨ Feature Request"
2+
description: Request a new feature or enhancement for LangChain. For questions, please use the LangChain forum.
3+
labels: ["feature request"]
4+
type: feature
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for taking the time to request a new feature.
10+
11+
Use this to request NEW FEATURES or ENHANCEMENTS in LangChain. For bug reports, please use the bug report template. For usage questions and general design questions, please use the [LangChain Forum](https://forum.langchain.com/).
12+
13+
Relevant links to check before filing a feature request to see if your request has already been made or
14+
if there's another way to achieve what you want:
15+
16+
* [LangChain Forum](https://forum.langchain.com/),
17+
* [LangChain documentation with the integrated search](https://docs.langchain.com/oss/python/langchain/overview),
18+
* [API Reference](https://python.langchain.com/api_reference/),
19+
* [LangChain ChatBot](https://chat.langchain.com/)
20+
* [GitHub search](https://github.com/langchain-ai/langchain),
21+
- type: checkboxes
22+
id: checks
23+
attributes:
24+
label: Checked other resources
25+
description: Please confirm and check all the following options.
26+
options:
27+
- label: This is a feature request, not a bug report or usage question.
28+
required: true
29+
- label: I added a clear and descriptive title that summarizes the feature request.
30+
required: true
31+
- label: I used the GitHub search to find a similar feature request and didn't find it.
32+
required: true
33+
- label: I checked the LangChain documentation and API reference to see if this feature already exists.
34+
required: true
35+
- label: This is not related to the langchain-community package.
36+
required: true
37+
- type: textarea
38+
id: feature-description
39+
validations:
40+
required: true
41+
attributes:
42+
label: Feature Description
43+
description: |
44+
Please provide a clear and concise description of the feature you would like to see added to LangChain.
45+
46+
What specific functionality are you requesting? Be as detailed as possible.
47+
placeholder: |
48+
I would like LangChain to support...
49+
50+
This feature would allow users to...
51+
- type: textarea
52+
id: use-case
53+
validations:
54+
required: true
55+
attributes:
56+
label: Use Case
57+
description: |
58+
Describe the specific use case or problem this feature would solve.
59+
60+
Why do you need this feature? What problem does it solve for you or other users?
61+
placeholder: |
62+
I'm trying to build an application that...
63+
64+
Currently, I have to work around this by...
65+
66+
This feature would help me/users to...
67+
- type: textarea
68+
id: proposed-solution
69+
validations:
70+
required: false
71+
attributes:
72+
label: Proposed Solution
73+
description: |
74+
If you have ideas about how this feature could be implemented, please describe them here.
75+
76+
This is optional but can be helpful for maintainers to understand your vision.
77+
placeholder: |
78+
I think this could be implemented by...
79+
80+
The API could look like...
81+
82+
```python
83+
# Example of how the feature might work
84+
```
85+
- type: textarea
86+
id: alternatives
87+
validations:
88+
required: false
89+
attributes:
90+
label: Alternatives Considered
91+
description: |
92+
Have you considered any alternative solutions or workarounds?
93+
94+
What other approaches have you tried or considered?
95+
placeholder: |
96+
I've tried using...
97+
98+
Alternative approaches I considered:
99+
1. ...
100+
2. ...
101+
102+
But these don't work because...
103+
- type: textarea
104+
id: additional-context
105+
validations:
106+
required: false
107+
attributes:
108+
label: Additional Context
109+
description: |
110+
Add any other context, screenshots, examples, or references that would help explain your feature request.
111+
placeholder: |
112+
Related issues: #...
113+
114+
Similar features in other libraries:
115+
- ...
116+
117+
Additional context or examples:
118+
- ...

.github/ISSUE_TEMPLATE/privileged.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ body:
44
- type: markdown
55
attributes:
66
value: |
7-
Thanks for your interest in LangChain! 🚀
8-
9-
If you are not a LangChain maintainer or were not asked directly by a maintainer to create an issue, then please start the conversation on the [LangChain Forum](https://forum.langchain.com/) instead.
10-
11-
You are a LangChain maintainer if you maintain any of the packages inside of the LangChain repository
12-
or are a regular contributor to LangChain with previous merged pull requests.
7+
If you are not a LangChain maintainer, employee, or were not asked directly by a maintainer to create an issue, then please start the conversation on the [LangChain Forum](https://forum.langchain.com/) instead.
138
- type: checkboxes
149
id: privileged
1510
attributes:

0 commit comments

Comments
 (0)