-
Notifications
You must be signed in to change notification settings - Fork 16k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into features/add_validation_error_handler_to_b…
…asetool
- Loading branch information
Showing
2,611 changed files
with
188,760 additions
and
87,308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
labels: [Question] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for your interest in 🦜️🔗 LangChain! | ||
Please follow these instructions, fill every question, and do every step. 🙏 | ||
We're asking for this because answering questions and solving problems in GitHub takes a lot of time -- | ||
this is time that we cannot spend on adding new features, fixing bugs, write documentation or reviewing pull requests. | ||
By asking questions in a structured way (following this) it will be much easier to help you. | ||
And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎 | ||
As there are too many questions, we will **DISCARD** and close the incomplete ones. | ||
That will allow us (and others) to focus on helping people like you that follow the whole process. 🤓 | ||
Relevant links to check before opening a question to see if your question has already been answered, fixed or | ||
if there's another way to solve your problem: | ||
[LangChain documentation with the integrated search](https://python.langchain.com/docs/get_started/introduction), | ||
[API Reference](https://api.python.langchain.com/en/stable/), | ||
[GitHub search](https://github.com/langchain-ai/langchain), | ||
[LangChain Github Discussions](https://github.com/langchain-ai/langchain/discussions), | ||
[LangChain Github Issues](https://github.com/langchain-ai/langchain/issues?q=is%3Aissue), | ||
[LangChain ChatBot](https://chat.langchain.com/) | ||
- type: checkboxes | ||
id: checks | ||
attributes: | ||
label: Checked other resources | ||
description: Please confirm and check all the following options. | ||
options: | ||
- label: I added a very descriptive title to this question. | ||
required: true | ||
- label: I searched the LangChain documentation with the integrated search. | ||
required: true | ||
- label: I used the GitHub search to find a similar question and didn't find it. | ||
required: true | ||
- type: checkboxes | ||
id: help | ||
attributes: | ||
label: Commit to Help | ||
description: | | ||
After submitting this, I commit to one of: | ||
* Read open questions until I find 2 where I can help someone and add a comment to help there. | ||
* I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future. | ||
* Once my question is answered, I will mark the answer as "accepted". | ||
options: | ||
- label: I commit to help with one of those options 👆 | ||
required: true | ||
- type: textarea | ||
id: example | ||
attributes: | ||
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., ```python ... ```) 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. `python`) after the first three backticks to enable syntax highlighting. (e.g., ```python 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: | | ||
from langchain_core.runnables import RunnableLambda | ||
def bad_code(inputs) -> int: | ||
raise NotImplementedError('For demo purpose') | ||
chain = RunnableLambda(bad_code) | ||
chain.invoke('Hello!') | ||
render: python | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: | | ||
What is the problem, question, or error? | ||
Write a short description explaining what you are doing, what you expect to happen, and what is currently happening. | ||
placeholder: | | ||
* I'm trying to use the `langchain` library to do X. | ||
* I expect to see Y. | ||
* Instead, it does Z. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: system-info | ||
attributes: | ||
label: System Info | ||
description: | | ||
Please share your system info with us. | ||
"pip freeze | grep langchain" | ||
platform (windows / linux / mac) | ||
python version | ||
OR if you're on a recent version of langchain-core you can paste the output of: | ||
python -m langchain_core.sys_info | ||
placeholder: | | ||
"pip freeze | grep langchain" | ||
platform | ||
python version | ||
Alternatively, if you're on a recent version of langchain-core you can paste the output of: | ||
python -m langchain_core.sys_info | ||
These will only surface LangChain 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 `pip freeze`). | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,106 +1,118 @@ | ||
name: "\U0001F41B Bug Report" | ||
description: Submit a bug report to help us improve LangChain. To report a security issue, please instead use the security option below. | ||
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. | ||
labels: ["02 Bug Report"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: > | ||
Thank you for taking the time to file a bug report. Before creating a new | ||
issue, please make sure to take a few moments to check the issue tracker | ||
for existing issues about the bug. | ||
- type: textarea | ||
id: system-info | ||
Thank you for taking the time to file a bug report. | ||
Use this to report bugs in LangChain. | ||
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) | ||
to ask for help with your issue. | ||
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: | ||
[LangChain documentation with the integrated search](https://python.langchain.com/docs/get_started/introduction), | ||
[API Reference](https://api.python.langchain.com/en/stable/), | ||
[GitHub search](https://github.com/langchain-ai/langchain), | ||
[LangChain Github Discussions](https://github.com/langchain-ai/langchain/discussions), | ||
[LangChain Github Issues](https://github.com/langchain-ai/langchain/issues?q=is%3Aissue), | ||
[LangChain ChatBot](https://chat.langchain.com/) | ||
- type: checkboxes | ||
id: checks | ||
attributes: | ||
label: System Info | ||
description: Please share your system info with us. | ||
placeholder: LangChain version, platform, python version, ... | ||
label: Checked other resources | ||
description: Please confirm and check all the following options. | ||
options: | ||
- label: I added a very descriptive title to this issue. | ||
required: true | ||
- label: I searched the LangChain documentation with the integrated search. | ||
required: true | ||
- label: I used the GitHub search to find a similar question and didn't find it. | ||
required: true | ||
- label: I am sure that this is a bug in LangChain rather than my code. | ||
required: true | ||
- type: textarea | ||
id: reproduction | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: who-can-help | ||
attributes: | ||
label: Who can help? | ||
label: Example Code | ||
description: | | ||
Your issue will be replied to more quickly if you can figure out the right person to tag with @ | ||
If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**. | ||
The core maintainers strive to read all issues, but tagging them will help them prioritize. | ||
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., ```python ... ```) 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. `python`) after the first three backticks to enable syntax highlighting. (e.g., ```python 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. | ||
Please tag fewer than 3 people. | ||
@hwchase17 - project lead | ||
Tracing / Callbacks | ||
- @agola11 | ||
Async | ||
- @agola11 | ||
DataLoader Abstractions | ||
- @eyurtsev | ||
LLM/Chat Wrappers | ||
- @hwchase17 | ||
- @agola11 | ||
Tools / Toolkits | ||
- ... | ||
placeholder: "@Username ..." | ||
|
||
- type: checkboxes | ||
id: information-scripts-examples | ||
placeholder: | | ||
The following code: | ||
```python | ||
from langchain_core.runnables import RunnableLambda | ||
def bad_code(inputs) -> int: | ||
raise NotImplementedError('For demo purpose') | ||
chain = RunnableLambda(bad_code) | ||
chain.invoke('Hello!') | ||
``` | ||
- type: textarea | ||
id: error | ||
validations: | ||
required: false | ||
attributes: | ||
label: Information | ||
description: "The problem arises when using:" | ||
options: | ||
- label: "The official example notebooks/scripts" | ||
- label: "My own modified scripts" | ||
|
||
- type: checkboxes | ||
id: related-components | ||
label: Error Message and Stack Trace (if applicable) | ||
description: | | ||
If you are reporting an error, please include the full error message and stack trace. | ||
placeholder: | | ||
Exception + full stack trace | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Related Components | ||
description: "Select the components related to the issue (if applicable):" | ||
options: | ||
- label: "LLMs/Chat Models" | ||
- label: "Embedding Models" | ||
- label: "Prompts / Prompt Templates / Prompt Selectors" | ||
- label: "Output Parsers" | ||
- label: "Document Loaders" | ||
- label: "Vector Stores / Retrievers" | ||
- label: "Memory" | ||
- label: "Agents / Agent Executors" | ||
- label: "Tools / Toolkits" | ||
- label: "Chains" | ||
- label: "Callbacks/Tracing" | ||
- label: "Async" | ||
label: Description | ||
description: | | ||
What is the problem, question, or error? | ||
- type: textarea | ||
id: reproduction | ||
Write a short description telling what you are doing, what you expect to happen, and what is currently happening. | ||
placeholder: | | ||
* I'm trying to use the `langchain` library to do X. | ||
* I expect to see Y. | ||
* Instead, it does Z. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: system-info | ||
attributes: | ||
label: Reproduction | ||
label: System Info | ||
description: | | ||
Please provide a [code sample](https://stackoverflow.com/help/minimal-reproducible-example) that reproduces the problem you ran into. It can be a Colab link or just a code snippet. | ||
If you have code snippets, error messages, stack traces please provide them here as well. | ||
Important! Use code tags to correctly format your code. See https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting | ||
Avoid screenshots when possible, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code. | ||
Please share your system info with us. | ||
"pip freeze | grep langchain" | ||
platform (windows / linux / mac) | ||
python version | ||
OR if you're on a recent version of langchain-core you can paste the output of: | ||
python -m langchain_core.sys_info | ||
placeholder: | | ||
Steps to reproduce the behavior: | ||
1. | ||
2. | ||
3. | ||
- type: textarea | ||
id: expected-behavior | ||
"pip freeze | grep langchain" | ||
platform | ||
python version | ||
Alternatively, if you're on a recent version of langchain-core you can paste the output of: | ||
python -m langchain_core.sys_info | ||
These will only surface LangChain 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 `pip freeze`). | ||
validations: | ||
required: true | ||
attributes: | ||
label: Expected behavior | ||
description: "A clear and concise description of what you would expect to happen." |
Oops, something went wrong.