2023-05-04 23:33:52 +00:00
name : "\U0001F41B Bug Report"
2023-08-21 19:48:33 +00:00
description : Submit a bug report to help us improve LangChain. To report a security issue, please instead use the security option below.
2023-05-04 23:33:52 +00:00
labels : [ "02 Bug Report" ]
body :
- type : markdown
attributes :
value : >
2024-01-10 18:16:02 +00:00
Thank you for taking the time to file a bug report.
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)
2024-01-10 17:35:41 +00:00
- type : checkboxes
id : checks
2023-05-04 23:33:52 +00:00
attributes :
2024-01-10 17:35:41 +00:00
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
2024-01-10 18:16:02 +00:00
- label : I searched the LangChain documentation with the integrated search.
2024-01-10 17:35:41 +00:00
required : true
- label : I used the GitHub search to find a similar question and didn't find it.
required : true
- type : textarea
id : reproduction
2023-05-04 23:33:52 +00:00
validations :
required : true
2024-01-10 17:35:41 +00:00
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.
If you're including an error message, please include the full stack trace not just the last error.
2024-01-10 18:16:02 +00:00
**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
2024-01-10 17:35:41 +00:00
Avoid screenshots when possible, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
2023-05-04 23:33:52 +00:00
2024-01-10 17:35:41 +00:00
placeholder : |
The following code :
```python
2024-01-10 18:16:02 +00:00
from langchain_core.runnables import RunnableLambda
def bad_code(inputs) -> int :
raise NotImplementedError('For demo purpose')
chain = RunnableLambda(bad_code)
chain.invoke('Hello!')
2024-01-10 17:35:41 +00:00
```
2024-01-10 18:16:02 +00:00
Include both the error and the full stack trace if reporting an exception!
2023-05-04 23:33:52 +00:00
- type : textarea
2024-01-10 17:35:41 +00:00
id : description
2023-05-04 23:33:52 +00:00
attributes :
2024-01-10 17:35:41 +00:00
label : Description
2023-05-04 23:33:52 +00:00
description : |
2024-01-10 17:35:41 +00:00
What is the problem, question, or error?
2023-05-04 23:33:52 +00:00
2024-01-10 17:35:41 +00:00
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
2023-05-04 23:33:52 +00:00
attributes :
2024-01-10 17:35:41 +00:00
label : System Info
description : Please share your system info with us.
2024-01-10 17:39:08 +00:00
placeholder : |
"pip freeze | grep langchain"
platform
python version
2024-01-10 17:35:41 +00:00
validations :
required : true
2023-05-04 23:33:52 +00:00
- type : checkboxes
id : related-components
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"