Skip to content

Commit 6bca87f

Browse files
authored
Merge branch 'master' into feat/pretty-repr-html-partials
2 parents 9d9f7fe + 8a3bb73 commit 6bca87f

Some content is hidden

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

54 files changed

+4393
-2480
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 49 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@ body:
88
value: |
99
Thank you for taking the time to file a bug report.
1010
11-
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+
For usage questions, feature requests and general design questions, please use the [LangChain Forum](https://forum.langchain.com/).
1212
13-
Relevant links to check before filing a bug report to see if your issue has already been reported, fixed or
14-
if there's another way to solve your problem:
13+
Check these before submitting to see if your issue has already been reported, fixed or if there's another way to solve your problem:
1514
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://reference.langchain.com/python/),
15+
* [Documentation](https://docs.langchain.com/oss/python/langchain/overview),
16+
* [API Reference Documentation](https://reference.langchain.com/python/),
1917
* [LangChain ChatBot](https://chat.langchain.com/)
2018
* [GitHub search](https://github.com/langchain-ai/langchain),
19+
* [LangChain Forum](https://forum.langchain.com/),
2120
- type: checkboxes
2221
id: checks
2322
attributes:
@@ -36,50 +35,76 @@ body:
3635
required: true
3736
- label: This is not related to the langchain-community package.
3837
required: true
39-
- label: I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example).
40-
required: true
4138
- label: I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS.
4239
required: true
40+
- type: checkboxes
41+
id: package
42+
attributes:
43+
label: Package (Required)
44+
description: |
45+
Which `langchain` package(s) is this bug related to? Select at least one.
46+
47+
Note that if the package you are reporting for is not listed here, it is not in this repository (e.g. `langchain-google-genai` is in [`langchain-ai/langchain-google`](https://github.com/langchain-ai/langchain-google/)).
48+
49+
Please report issues for other packages to their respective repositories.
50+
options:
51+
- label: langchain
52+
- label: langchain-openai
53+
- label: langchain-anthropic
54+
- label: langchain-classic
55+
- label: langchain-core
56+
- label: langchain-cli
57+
- label: langchain-model-profiles
58+
- label: langchain-tests
59+
- label: langchain-text-splitters
60+
- label: langchain-chroma
61+
- label: langchain-deepseek
62+
- label: langchain-exa
63+
- label: langchain-fireworks
64+
- label: langchain-groq
65+
- label: langchain-huggingface
66+
- label: langchain-mistralai
67+
- label: langchain-nomic
68+
- label: langchain-ollama
69+
- label: langchain-perplexity
70+
- label: langchain-prompty
71+
- label: langchain-qdrant
72+
- label: langchain-xai
73+
- label: Other / not sure / general
4374
- type: textarea
4475
id: reproduction
4576
validations:
4677
required: true
4778
attributes:
48-
label: Example Code
79+
label: Example Code (Python)
4980
description: |
5081
Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.
5182
5283
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.
5384
5485
**Important!**
5586
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-
* Reduce your code to the minimum required to reproduce the issue if possible. This makes it much easier for others to help you.
58-
* 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).
59-
* INCLUDE the language label (e.g. `python`) after the first three backticks to enable syntax highlighting. (e.g., ```python rather than ```).
87+
* Avoid screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
88+
* Reduce your code to the minimum required to reproduce the issue if possible.
6089
90+
(This will be automatically formatted into code, so no need for backticks.)
91+
render: python
6192
placeholder: |
62-
The following code:
63-
64-
```python
6593
from langchain_core.runnables import RunnableLambda
6694
6795
def bad_code(inputs) -> int:
6896
raise NotImplementedError('For demo purpose')
6997
7098
chain = RunnableLambda(bad_code)
7199
chain.invoke('Hello!')
72-
```
73100
- type: textarea
74-
id: error
75-
validations:
76-
required: false
77101
attributes:
78102
label: Error Message and Stack Trace (if applicable)
79103
description: |
80-
If you are reporting an error, please include the full error message and stack trace.
81-
placeholder: |
82-
Exception + full stack trace
104+
If you are reporting an error, please copy and paste the full error message and
105+
stack trace.
106+
(This will be automatically formatted into code, so no need for backticks.)
107+
render: shell
83108
- type: textarea
84109
id: description
85110
attributes:
@@ -99,9 +124,7 @@ body:
99124
attributes:
100125
label: System Info
101126
description: |
102-
Please share your system info with us. Do NOT skip this step and please don't trim
103-
the output. Most users don't include enough information here and it makes it harder
104-
for us to help you.
127+
Please share your system info with us.
105128
106129
Run the following command in your terminal and paste the output here:
107130
@@ -113,8 +136,6 @@ body:
113136
from langchain_core import sys_info
114137
sys_info.print_sys_info()
115138
```
116-
117-
alternatively, put the entire output of `pip freeze` here.
118139
placeholder: |
119140
python -m langchain_core.sys_info
120141
validations:

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
blank_issues_enabled: false
22
version: 2.1
33
contact_links:
4-
- name: 📚 Documentation
4+
- name: 📚 Documentation issue
55
url: https://github.com/langchain-ai/docs/issues/new?template=01-langchain.yml
66
about: Report an issue related to the LangChain documentation
77
- name: 💬 LangChain Forum
88
url: https://forum.langchain.com/
99
about: General community discussions and support
10+
- name: 📚 LangChain Documentation
11+
url: https://docs.langchain.com/oss/python/langchain/overview
12+
about: View the official LangChain documentation
13+
- name: 📚 API Reference Documentation
14+
url: https://reference.langchain.com/python/
15+
about: View the official LangChain API reference documentation
16+
- name: 💬 LangChain Forum
17+
url: https://forum.langchain.com/
18+
about: Ask questions and get help from the community

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ body:
1313
Relevant links to check before filing a feature request to see if your request has already been made or
1414
if there's another way to achieve what you want:
1515
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://reference.langchain.com/python/),
16+
* [Documentation](https://docs.langchain.com/oss/python/langchain/overview),
17+
* [API Reference Documentation](https://reference.langchain.com/python/),
1918
* [LangChain ChatBot](https://chat.langchain.com/)
2019
* [GitHub search](https://github.com/langchain-ai/langchain),
20+
* [LangChain Forum](https://forum.langchain.com/),
2121
- type: checkboxes
2222
id: checks
2323
attributes:
@@ -34,6 +34,40 @@ body:
3434
required: true
3535
- label: This is not related to the langchain-community package.
3636
required: true
37+
- type: checkboxes
38+
id: package
39+
attributes:
40+
label: Package (Required)
41+
description: |
42+
Which `langchain` package(s) is this request related to? Select at least one.
43+
44+
Note that if the package you are requesting for is not listed here, it is not in this repository (e.g. `langchain-google-genai` is in `langchain-ai/langchain`).
45+
46+
Please submit feature requests for other packages to their respective repositories.
47+
options:
48+
- label: langchain
49+
- label: langchain-openai
50+
- label: langchain-anthropic
51+
- label: langchain-classic
52+
- label: langchain-core
53+
- label: langchain-cli
54+
- label: langchain-model-profiles
55+
- label: langchain-tests
56+
- label: langchain-text-splitters
57+
- label: langchain-chroma
58+
- label: langchain-deepseek
59+
- label: langchain-exa
60+
- label: langchain-fireworks
61+
- label: langchain-groq
62+
- label: langchain-huggingface
63+
- label: langchain-mistralai
64+
- label: langchain-nomic
65+
- label: langchain-ollama
66+
- label: langchain-perplexity
67+
- label: langchain-prompty
68+
- label: langchain-qdrant
69+
- label: langchain-xai
70+
- label: Other / not sure / general
3771
- type: textarea
3872
id: feature-description
3973
validations:

.github/ISSUE_TEMPLATE/privileged.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,33 @@ body:
1818
attributes:
1919
label: Issue Content
2020
description: Add the content of the issue here.
21+
- type: checkboxes
22+
id: package
23+
attributes:
24+
label: Package (Required)
25+
description: |
26+
Please select package(s) that this issue is related to.
27+
options:
28+
- label: langchain
29+
- label: langchain-openai
30+
- label: langchain-anthropic
31+
- label: langchain-classic
32+
- label: langchain-core
33+
- label: langchain-cli
34+
- label: langchain-model-profiles
35+
- label: langchain-tests
36+
- label: langchain-text-splitters
37+
- label: langchain-chroma
38+
- label: langchain-deepseek
39+
- label: langchain-exa
40+
- label: langchain-fireworks
41+
- label: langchain-groq
42+
- label: langchain-huggingface
43+
- label: langchain-mistralai
44+
- label: langchain-nomic
45+
- label: langchain-ollama
46+
- label: langchain-perplexity
47+
- label: langchain-prompty
48+
- label: langchain-qdrant
49+
- label: langchain-xai
50+
- label: Other / not sure / general

.github/ISSUE_TEMPLATE/task.yml

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ body:
2525
label: Task Description
2626
description: |
2727
Provide a clear and detailed description of the task.
28-
28+
2929
What needs to be done? Be specific about the scope and requirements.
3030
placeholder: |
3131
This task involves...
32-
32+
3333
The goal is to...
34-
34+
3535
Specific requirements:
3636
- ...
3737
- ...
@@ -43,7 +43,7 @@ body:
4343
label: Acceptance Criteria
4444
description: |
4545
Define the criteria that must be met for this task to be considered complete.
46-
46+
4747
What are the specific deliverables or outcomes expected?
4848
placeholder: |
4949
This task will be complete when:
@@ -58,15 +58,15 @@ body:
5858
label: Context and Background
5959
description: |
6060
Provide any relevant context, background information, or links to related issues/PRs.
61-
61+
6262
Why is this task needed? What problem does it solve?
6363
placeholder: |
6464
Background:
6565
- ...
66-
66+
6767
Related issues/PRs:
6868
- #...
69-
69+
7070
Additional context:
7171
- ...
7272
validations:
@@ -77,15 +77,45 @@ body:
7777
label: Dependencies
7878
description: |
7979
List any dependencies or blockers for this task.
80-
80+
8181
Are there other tasks, issues, or external factors that need to be completed first?
8282
placeholder: |
8383
This task depends on:
8484
- [ ] Issue #...
8585
- [ ] PR #...
8686
- [ ] External dependency: ...
87-
87+
8888
Blocked by:
8989
- ...
9090
validations:
9191
required: false
92+
- type: checkboxes
93+
id: package
94+
attributes:
95+
label: Package (Required)
96+
description: |
97+
Please select package(s) that this task is related to.
98+
options:
99+
- label: langchain
100+
- label: langchain-openai
101+
- label: langchain-anthropic
102+
- label: langchain-classic
103+
- label: langchain-core
104+
- label: langchain-cli
105+
- label: langchain-model-profiles
106+
- label: langchain-tests
107+
- label: langchain-text-splitters
108+
- label: langchain-chroma
109+
- label: langchain-deepseek
110+
- label: langchain-exa
111+
- label: langchain-fireworks
112+
- label: langchain-groq
113+
- label: langchain-huggingface
114+
- label: langchain-mistralai
115+
- label: langchain-nomic
116+
- label: langchain-ollama
117+
- label: langchain-perplexity
118+
- label: langchain-prompty
119+
- label: langchain-qdrant
120+
- label: langchain-xai
121+
- label: Other / not sure / general

0 commit comments

Comments
 (0)