You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,4 +3,8 @@
3
3
Hi there! Thank you for even being interested in contributing to LangChain.
4
4
As an open-source project in a rapidly developing field, we are extremely open to contributions, whether they involve new features, improved infrastructure, better documentation, or bug fixes.
5
5
6
-
To learn how to contribute to LangChain, please follow the [contribution guide here](https://python.langchain.com/docs/contributing/).
6
+
To learn how to contribute to LangChain, please follow the [contribution guide here](https://python.langchain.com/docs/contributing/).
7
+
8
+
## New features
9
+
10
+
For new features, please start a new [discussion](https://forum.langchain.com/), where the maintainers will help with scoping out the necessary changes.
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug-report.yml
+33-29Lines changed: 33 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -1,40 +1,42 @@
1
1
name: "\U0001F41B Bug Report"
2
-
description: Report a bug in LangChain. To report a security issue, please instead use the security option below. For questions, please use the GitHub Discussions.
3
-
labels: ["02 Bug Report"]
2
+
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.
3
+
labels: ["bug"]
4
4
body:
5
5
- type: markdown
6
6
attributes:
7
-
value: >
7
+
value: |
8
8
Thank you for taking the time to file a bug report.
9
-
10
-
Use this to report bugs in LangChain.
11
-
12
-
If you're not certain that your issue is due to a bug in LangChain, please use [GitHub Discussions](https://github.com/langchain-ai/langchain/discussions)
13
-
to ask for help with your issue.
14
-
9
+
10
+
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/).
11
+
15
12
Relevant links to check before filing a bug report to see if your issue has already been reported, fixed or
16
13
if there's another way to solve your problem:
17
-
18
-
[LangChain documentation with the integrated search](https://python.langchain.com/docs/get_started/introduction),
description: Please confirm and check all the following options.
29
27
options:
30
-
- label: I added a very descriptive title to this issue.
28
+
- label: This is a bug, not a usage question. For questions, please use the LangChain Forum (https://forum.langchain.com/).
29
+
required: true
30
+
- label: I added a clear and descriptive title that summarizes this issue.
31
31
required: true
32
32
- label: I used the GitHub search to find a similar question and didn't find it.
33
33
required: true
34
34
- label: I am sure that this is a bug in LangChain rather than my code.
35
35
required: true
36
36
- label: The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
37
37
required: true
38
+
- label: I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example).
39
+
required: true
38
40
- label: I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS.
39
41
required: true
40
42
- type: textarea
@@ -45,19 +47,19 @@ body:
45
47
label: Example Code
46
48
description: |
47
49
Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.
48
-
50
+
49
51
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.
50
-
52
+
51
53
**Important!**
52
-
54
+
55
+
* Avoid screenshots when possible, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
56
+
* Reduce your code to the minimum required to reproduce the issue if possible. This makes it much easier for others to help you.
53
57
* 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).
54
58
* INCLUDE the language label (e.g. `python`) after the first three backticks to enable syntax highlighting. (e.g., ```python rather than ```).
55
-
* Reduce your code to the minimum required to reproduce the issue if possible. This makes it much easier for others to help you.
56
-
* Avoid screenshots when possible, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
57
59
58
60
placeholder: |
59
61
The following code:
60
-
62
+
61
63
```python
62
64
from langchain_core.runnables import RunnableLambda
63
65
@@ -99,16 +101,18 @@ body:
99
101
Please share your system info with us. Do NOT skip this step and please don't trim
100
102
the output. Most users don't include enough information here and it makes it harder
101
103
for us to help you.
102
-
104
+
103
105
Run the following command in your terminal and paste the output here:
104
-
105
-
python -m langchain_core.sys_info
106
-
106
+
107
+
`python -m langchain_core.sys_info`
108
+
107
109
or if you have an existing python interpreter running:
108
-
110
+
111
+
```python
109
112
from langchain_core import sys_info
110
113
sys_info.print_sys_info()
111
-
114
+
```
115
+
112
116
alternatively, put the entire output of `pip freeze` here.
0 commit comments