issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am currently working on the task of **article rewriting**, and both the QA chain and Summarize chain are not quite suitable for my task.
Since I need to rewrite **multiple "lengthy"** articles, I would like to know how to use the chain_type in LLMchain. Alternatively, are there any o... | Issue: How to use chain_type args in LLMchain? | https://api.github.com/repos/langchain-ai/langchain/issues/8565/comments | 2 | 2023-08-01T06:55:55Z | 2023-11-08T16:07:15Z | https://github.com/langchain-ai/langchain/issues/8565 | 1,830,592,050 | 8,565 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add embedding support to the callback system. Here is one approach I have in mind.
- [ ] Add `on_embedding_start` method on `CallbackManagerMixin` in `libs/langchain/langchain/callbacks/base.py`.
- [ ] Implement `EmbeddingManagerMixin` with `on_embedding_end` and `on_embedding_error` methods ... | Add callback support for embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/8564/comments | 2 | 2023-08-01T06:13:53Z | 2023-11-07T16:06:08Z | https://github.com/langchain-ai/langchain/issues/8564 | 1,830,536,926 | 8,564 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently, langchain supports petals, but I think we should also support using a petals API endpoint. https://github.com/petals-infra/chat.petals.dev
### Motivation
The idea here is that users don't need to run the base application on their system, and can just use the API directly.
I think th... | Petals API Support | https://api.github.com/repos/langchain-ai/langchain/issues/8563/comments | 2 | 2023-08-01T05:38:35Z | 2023-11-28T11:01:45Z | https://github.com/langchain-ai/langchain/issues/8563 | 1,830,501,646 | 8,563 |
[
"hwchase17",
"langchain"
] | ### Feature request
Most databases include comment metadata on both tables and columns in a table. It would be nice to be able to pass this additional context to the LLM to get a better response.
The implementation could include adding two parameters to the [SQLDatabase](https://github.com/langchain-ai/langchain... | Add metadata parameter(s) to SQLDatabase class | https://api.github.com/repos/langchain-ai/langchain/issues/8558/comments | 2 | 2023-08-01T01:08:42Z | 2023-11-07T16:06:18Z | https://github.com/langchain-ai/langchain/issues/8558 | 1,830,288,016 | 8,558 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.248
Python: 3.9.17
OS version: Linux 6.1.27-43.48.amzn2023.x86_64
### Who can help?
I will submit a PR for a solution to this problem
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [ ] LLMs/Chat M... | ValueError: Expected metadata value to be a str, int, or float, got [{'text': 'Git', 'url': '#git'}] which is a <class 'list'> when storing into Chroma vector stores using using element mode of UnstructuredMarkdownLoader | https://api.github.com/repos/langchain-ai/langchain/issues/8556/comments | 17 | 2023-08-01T00:31:42Z | 2024-04-14T15:47:48Z | https://github.com/langchain-ai/langchain/issues/8556 | 1,830,261,522 | 8,556 |
[
"hwchase17",
"langchain"
] | ### System Info
Python: v3.11
Langchain: v0.0.248
### Who can help?
I'll submit a PR for it tonight, just wanted to get the Issue in before.
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding ... | Vector Store: Azure Cognitive Search :: add_texts throws an error if called with no metadata | https://api.github.com/repos/langchain-ai/langchain/issues/8544/comments | 2 | 2023-07-31T21:13:43Z | 2023-11-06T16:05:33Z | https://github.com/langchain-ai/langchain/issues/8544 | 1,830,035,282 | 8,544 |
[
"hwchase17",
"langchain"
] | ### System Info
**LangChain:** 0.0.248
**Python:** 3.10.10
**OS version:** Linux 5.10.178-162.673.amzn2.x86_64
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompt... | Error: 'OpenAICallbackHandler' object has no attribute 'on_retry'` | https://api.github.com/repos/langchain-ai/langchain/issues/8542/comments | 3 | 2023-07-31T21:01:43Z | 2023-08-14T23:45:18Z | https://github.com/langchain-ai/langchain/issues/8542 | 1,830,021,223 | 8,542 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://api.python.langchain.com/en/latest/utilities/langchain.utilities.sql_database.SQLDatabase.html
### Idea or request for content:
Documentation is missing, although i can import this class in the lateste version. | DOC: Missing documentation langchain.utilities.SQLDatabase | https://api.github.com/repos/langchain-ai/langchain/issues/8535/comments | 1 | 2023-07-31T19:01:18Z | 2023-11-06T16:05:38Z | https://github.com/langchain-ai/langchain/issues/8535 | 1,829,840,969 | 8,535 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain ==0.0.248
Platform Windows 10
Python == 3.10.9
Whenever I use from langchain.schema import HumanMessage I get error,
**ImportError: cannot import name 'HumanMessage' from 'langchain.schema'**
I have tried updating llama-index but still getting same error
@agola11
### Who can... | Cannot import name 'HumanMessage' from 'langchain.schema' | https://api.github.com/repos/langchain-ai/langchain/issues/8527/comments | 8 | 2023-07-31T17:47:47Z | 2023-08-01T16:35:32Z | https://github.com/langchain-ai/langchain/issues/8527 | 1,829,736,076 | 8,527 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
search = SerpAPIWrapper()
tools = define_tools(llm_chain,search)
tools = [
Tool(
name="Search",
func=search.run,
description="useful for when you need to answer questions about current events",
# return_direct = True
),
... | how to Stream Search tool responses | https://api.github.com/repos/langchain-ai/langchain/issues/8526/comments | 2 | 2023-07-31T17:26:05Z | 2023-11-16T16:06:41Z | https://github.com/langchain-ai/langchain/issues/8526 | 1,829,703,530 | 8,526 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am just trying to from langchain import LLMMathChain, SerpAPIWrapper, SQLDatabase, SQLDatabaseChain
Traceback (most recent call last):
File "/home/huangj/01_LangChain/LangChainCHSample/05_05_SQL_Chain.py", line 1, in <module>
from langchain import OpenAI, SQLDatabase, SQLDat... | Issue: ImportError: cannot import name 'SQLDatabaseChain' from 'langchain' | https://api.github.com/repos/langchain-ai/langchain/issues/8524/comments | 9 | 2023-07-31T16:53:56Z | 2024-01-26T19:04:33Z | https://github.com/langchain-ai/langchain/issues/8524 | 1,829,657,483 | 8,524 |
[
"hwchase17",
"langchain"
] | ### Feature request
MMR Support for Vertex AI Matching Engine
### Motivation
The results of Matching Engine are not optimal
### Your contribution
MMR Support for Vertex AI Matching Engine
| MMR Support for Matching Engine | https://api.github.com/repos/langchain-ai/langchain/issues/8514/comments | 1 | 2023-07-31T13:08:29Z | 2023-11-06T16:05:43Z | https://github.com/langchain-ai/langchain/issues/8514 | 1,829,156,986 | 8,514 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
when i want to use openai, i install it with command"pip3 install openai", but i really wanti to use chatglm, when i run "pip3 install chartglm ", it does not work",please help to answer the question
### Suggestion:
_No response_ | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8512/comments | 4 | 2023-07-31T11:47:12Z | 2023-11-07T16:06:23Z | https://github.com/langchain-ai/langchain/issues/8512 | 1,829,012,261 | 8,512 |
[
"hwchase17",
"langchain"
] | ### System Info
I am trying to use `RedisChatMessageHistory` within an agent, but I'm encountering this error:

My redis url I am using looks like that:
`redis_url = "redis+sentinel://:password@host:port/servic... | Add memory to an Agent using RedisChatMessageHistory with sentinels throwing an error | https://api.github.com/repos/langchain-ai/langchain/issues/8511/comments | 3 | 2023-07-31T09:34:40Z | 2023-11-08T16:07:19Z | https://github.com/langchain-ai/langchain/issues/8511 | 1,828,789,616 | 8,511 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
So It's possible to parse "complex" objects with
```python
response_schemas = [
ResponseSchema(name="date", description="The date of the event"),
ResponseSchema(name="place", description="The place where the event will happen"),
]
output_parser = StructuredOutputParser.fr... | Issue: output_parsers to work with lists of custom objects? | https://api.github.com/repos/langchain-ai/langchain/issues/8510/comments | 3 | 2023-07-31T09:34:19Z | 2024-07-14T04:12:39Z | https://github.com/langchain-ai/langchain/issues/8510 | 1,828,789,032 | 8,510 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I did not find this page on https://python.langchain.com/docs/get_started/introduction.html
I'm just wondering, what's the motive ?
### Idea or request for content:
_No response_ | DOC: why remove concepts.md from the latest document page | https://api.github.com/repos/langchain-ai/langchain/issues/8506/comments | 1 | 2023-07-31T07:18:44Z | 2023-11-06T16:05:58Z | https://github.com/langchain-ai/langchain/issues/8506 | 1,828,562,645 | 8,506 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain/document_loaders/web_base.py > works for me only when i change:
```
return await response.text()
```
with:
```
body = await response.read()
return body.decode('utf-8', errors='ignore')
```
otherwise:
der Code produziert leider einen Fehler:
/home/codespace/.py
thon/current/b... | langchain/document_loaders/web_base.py | https://api.github.com/repos/langchain-ai/langchain/issues/8505/comments | 2 | 2023-07-31T07:02:32Z | 2023-11-06T16:06:03Z | https://github.com/langchain-ai/langchain/issues/8505 | 1,828,539,383 | 8,505 |
[
"hwchase17",
"langchain"
] | I have a operation manual pdf file about a website and i want to use langchain let dolly can responed the question about the website
below is my code:
```
from langchain.embeddings import HuggingFaceEmbeddings
from PyPDF2 import PdfReader
from langchain.text_splitter import CharacterTextSplitter
from langchain.ve... | How to use langchain to create my own databricks dolly chat robot | https://api.github.com/repos/langchain-ai/langchain/issues/8503/comments | 0 | 2023-07-31T06:08:19Z | 2023-07-31T06:14:31Z | https://github.com/langchain-ai/langchain/issues/8503 | 1,828,472,740 | 8,503 |
[
"hwchase17",
"langchain"
] | ### System Info
**Langchain**:0.0.247
**Python**:3.10.5
**System**: macOS 13.4 arm64
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Pr... | API Key Leakage in the PromptLayerChatOpenAI Model | https://api.github.com/repos/langchain-ai/langchain/issues/8499/comments | 1 | 2023-07-31T02:14:44Z | 2023-11-02T08:48:45Z | https://github.com/langchain-ai/langchain/issues/8499 | 1,828,243,007 | 8,499 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.247, Python 3.11, Linux.
### Who can help?
@rlancemartin
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output P... | Loading documents from a YouTube url doesn't work. | https://api.github.com/repos/langchain-ai/langchain/issues/8498/comments | 2 | 2023-07-30T20:47:14Z | 2023-07-31T06:48:09Z | https://github.com/langchain-ai/langchain/issues/8498 | 1,828,082,841 | 8,498 |
[
"hwchase17",
"langchain"
] | ### System Info
python 3.11
### Who can help?
@rlancemartin
File langchain/document_loaders/async_html.py:136--> results = asyncio.run(self.fetch_all(self.web_paths))
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ... | RuntimeError: asyncio.run() cannot be called from a running event loop | https://api.github.com/repos/langchain-ai/langchain/issues/8494/comments | 6 | 2023-07-30T19:10:58Z | 2023-12-13T16:07:53Z | https://github.com/langchain-ai/langchain/issues/8494 | 1,828,038,702 | 8,494 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am getting "Agent stopped due to iteration limit or time limit" as the error , As my max_iteration is also 15 then too i am getting this error.
I need some particular output from the model.
Following is my code
agent_executor = AgentExecutor.from_agent_and_tools(agent=agent,
... | Agent stopped due to iteration limit or time limit | https://api.github.com/repos/langchain-ai/langchain/issues/8493/comments | 12 | 2023-07-30T17:37:50Z | 2024-05-28T10:38:44Z | https://github.com/langchain-ai/langchain/issues/8493 | 1,828,012,369 | 8,493 |
[
"hwchase17",
"langchain"
] | ### System Info
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-colab 1.0.0 requires requests==2.27.1, but you have requests 2.31.0 which is incompatible.
Successfully installed b... | Web Research Retriever error, code run in free Colab | https://api.github.com/repos/langchain-ai/langchain/issues/8487/comments | 2 | 2023-07-30T09:28:34Z | 2023-07-30T14:30:15Z | https://github.com/langchain-ai/langchain/issues/8487 | 1,827,868,223 | 8,487 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.242
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document... | no support for loading 70B models via llamacpp | https://api.github.com/repos/langchain-ai/langchain/issues/8486/comments | 3 | 2023-07-30T09:12:42Z | 2023-11-07T16:06:33Z | https://github.com/langchain-ai/langchain/issues/8486 | 1,827,863,684 | 8,486 |
[
"hwchase17",
"langchain"
] | ### Feature request
I propose the addition of a foundational chain feature, namely, the IteratorChain to LangChain. Unlike a convenience function, this feature is intended to enhance the flexibility and usability of LangChain by allowing it to handle collections of inputs for any existing chain, propagating them seq... | IteratorChain | https://api.github.com/repos/langchain-ai/langchain/issues/8484/comments | 2 | 2023-07-30T07:43:44Z | 2023-11-05T16:04:59Z | https://github.com/langchain-ai/langchain/issues/8484 | 1,827,840,103 | 8,484 |
[
"hwchase17",
"langchain"
] | ### System Info
I use this code:
```
search = GoogleSearchAPIWrapper()
tool = Tool(
name="Google Search",
description="Search Google for recent results.",
func=search.run,
)
tool.run("Obama's first name?")
```
The result looks fine. But when I use the code below
```
search = GoogleSearchAPI... | ConnectionResetError: [Errno 54] Connection reset by peer | https://api.github.com/repos/langchain-ai/langchain/issues/8483/comments | 4 | 2023-07-30T07:07:22Z | 2023-11-09T16:08:15Z | https://github.com/langchain-ai/langchain/issues/8483 | 1,827,831,371 | 8,483 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.239
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document... | 3 different google search API varies a lot | https://api.github.com/repos/langchain-ai/langchain/issues/8480/comments | 2 | 2023-07-30T06:00:36Z | 2023-11-13T16:07:20Z | https://github.com/langchain-ai/langchain/issues/8480 | 1,827,816,758 | 8,480 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The INFO: Python Guide links in both https://docs.langchain.com/docs/components/prompts/prompt-template and https://docs.langchain.com/docs/components/prompts/example-selectors are both broken (similar to #8105)
### Idea or request for content:
The pages have simply been m... | DOC: Broken Links in Prompts Sub Categories Pages | https://api.github.com/repos/langchain-ai/langchain/issues/8477/comments | 0 | 2023-07-30T04:41:57Z | 2023-07-31T02:38:53Z | https://github.com/langchain-ai/langchain/issues/8477 | 1,827,802,229 | 8,477 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.247
python version: 3.11.0
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selector... | unsupported operand type(s) for +: 'SystemMessage' and 'HumanMessage' | https://api.github.com/repos/langchain-ai/langchain/issues/8472/comments | 5 | 2023-07-30T02:14:01Z | 2023-11-05T16:05:09Z | https://github.com/langchain-ai/langchain/issues/8472 | 1,827,763,902 | 8,472 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain-version: 0.0.246
AzureCognitiveSearchRetriever always return top 10 results as supposed to what was specified for top k
<img width="1158" alt="image" src="https://github.com/langchain-ai/langchain/assets/19245478/cb0e7317-8eee-4d9b-b71c-95c217451b42">
### Who can help?
_No response_
##... | AzureCognitiveSearchRetriever Issue | https://api.github.com/repos/langchain-ai/langchain/issues/8469/comments | 1 | 2023-07-29T23:12:59Z | 2023-11-04T16:04:30Z | https://github.com/langchain-ai/langchain/issues/8469 | 1,827,714,420 | 8,469 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I just saw a novel error, which appears to be triggered by a failed OpenAI API call (inside an asynchronous block) which is causing an asyncio.run() inside an asyncio.run(). Error pasted below. Is this my (user) error? Or possibly a problem with the acompletion_with_retry() implementa... | Issue: OpenAI Bad Gateway results in Error in on_retry: asyncio.run() cannot be called from a running event loop (coroutine 'AsyncRunManager.on_retry' was never awaited) inside openai.acompletion_with_retry | https://api.github.com/repos/langchain-ai/langchain/issues/8462/comments | 14 | 2023-07-29T17:11:33Z | 2023-09-25T09:44:18Z | https://github.com/langchain-ai/langchain/issues/8462 | 1,827,559,495 | 8,462 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm trying to use the tutorial on langchain but I get this error:
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[11], line 1
----> 1 from langchain.document_loaders import TextLoa... | TypeError: issubclass() arg 1 must be a class | https://api.github.com/repos/langchain-ai/langchain/issues/8458/comments | 2 | 2023-07-29T11:19:47Z | 2023-11-04T16:04:36Z | https://github.com/langchain-ai/langchain/issues/8458 | 1,827,446,765 | 8,458 |
[
"hwchase17",
"langchain"
] | ### System Info
... % python --version
Python 3.11.4
... % pip show langchain | grep Version
Version: 0.0.247
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Mod... | VectorStore.from_documents() takes 3 positional arguments but 4 were given | https://api.github.com/repos/langchain-ai/langchain/issues/8457/comments | 2 | 2023-07-29T10:53:33Z | 2023-07-30T06:26:23Z | https://github.com/langchain-ai/langchain/issues/8457 | 1,827,440,722 | 8,457 |
[
"hwchase17",
"langchain"
] | ### Feature request
I am behind company firewall and I need to set proxy to `SitemapLoader`
### Motivation
I am behind company firewall
### Your contribution
Eg.:
```python
sitemap_loader = SitemapLoader(
web_path="https://langchain.readthedocs.io/sitemap.xml",
https_proxy="https://my.pr... | SitemapLoader: set proxy | https://api.github.com/repos/langchain-ai/langchain/issues/8451/comments | 2 | 2023-07-29T06:02:55Z | 2024-04-15T16:41:40Z | https://github.com/langchain-ai/langchain/issues/8451 | 1,827,335,864 | 8,451 |
[
"hwchase17",
"langchain"
] | ### System Info
```python
from langchain.llms.base import LLM
from langchain.llms import GooglePalm
```
This throws an error saying it requires `google.generativeai`; pervious it used to work, something changed and is it documented?
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official e... | GooglePalm requires google.generativeai? | https://api.github.com/repos/langchain-ai/langchain/issues/8449/comments | 3 | 2023-07-29T04:55:22Z | 2023-11-15T16:06:58Z | https://github.com/langchain-ai/langchain/issues/8449 | 1,827,318,961 | 8,449 |
[
"hwchase17",
"langchain"
] | ### System Info
```shell
$ langchain.__version__
'0.0.234'
$ uname -a
Linux codespaces-92388d 5.15.0-1042-azure #49-Ubuntu SMP Tue Jul 11 17:28:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ python
Python 3.10.8 (main, Jun 15 2023, 01:39:58) [GCC 9.4.0] on linux
```
### Who can help?
@hwchase17 @vowe
### Inf... | Object of type 'FieldInfo' is not JSON serializable | https://api.github.com/repos/langchain-ai/langchain/issues/8448/comments | 2 | 2023-07-29T04:47:30Z | 2023-07-29T08:50:24Z | https://github.com/langchain-ai/langchain/issues/8448 | 1,827,317,440 | 8,448 |
[
"hwchase17",
"langchain"
] | ### System Info
Python = 3.9
Langchain = 0.0.245
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Select... | Huggingface_Pipeline for summarization returning generalized response | https://api.github.com/repos/langchain-ai/langchain/issues/8444/comments | 6 | 2023-07-29T01:15:26Z | 2023-08-02T12:38:17Z | https://github.com/langchain-ai/langchain/issues/8444 | 1,827,254,867 | 8,444 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
## Description
The installation instructions in the Contributor docs are not working and should be updated. For example:
```bash
> poetry install -E all
Installing dependencies from lock file
Extra [all] is not specified.
```
```bash
> poetry install --with dev
Gr... | DOC: Contributor docs are inaccurate | https://api.github.com/repos/langchain-ai/langchain/issues/8440/comments | 2 | 2023-07-28T23:26:09Z | 2023-07-31T18:01:18Z | https://github.com/langchain-ai/langchain/issues/8440 | 1,827,201,525 | 8,440 |
[
"hwchase17",
"langchain"
] | null | Issue: Indexing and querying an XML file | https://api.github.com/repos/langchain-ai/langchain/issues/8436/comments | 0 | 2023-07-28T21:37:19Z | 2023-07-28T21:40:29Z | https://github.com/langchain-ai/langchain/issues/8436 | 1,827,113,761 | 8,436 |
[
"hwchase17",
"langchain"
] | ### System Info
- MacOS 13.4.1 (c)
- Intel Core i9
#### Version
- Python 3.8.17
- Langchain 0.0.245
#### Context
I am trying build a prompt that convert latex string generated by an OCR algo to a text describing that latex. When using the `FewShotPromptTemplate`, the curly brackets in the latex string are som... | FewShotPromptTemplate example formating bug | https://api.github.com/repos/langchain-ai/langchain/issues/8433/comments | 2 | 2023-07-28T20:48:54Z | 2023-11-03T16:05:41Z | https://github.com/langchain-ai/langchain/issues/8433 | 1,827,071,328 | 8,433 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
OpenAI Cookbook
- https://github.com/openai/openai-cookbook/blob/main/examples/How_to_format_inputs_to_ChatGPT_models.ipynb
- `gpt-3.5-turbo-0301` set `tokens_per_message = 4` and `tokens_per_name = -1`
- `gpt-3.5-turbo-*` set `tokens_per_message = 3` and `tokens_per_name = 1`
... | Issue: Azure/OpenAI get_num_tokens_from_messages returns wrong prompt tokens | https://api.github.com/repos/langchain-ai/langchain/issues/8430/comments | 1 | 2023-07-28T19:22:44Z | 2023-07-29T01:13:36Z | https://github.com/langchain-ai/langchain/issues/8430 | 1,826,981,943 | 8,430 |
[
"hwchase17",
"langchain"
] | ### Feature request
Expose text-bison as chat model since it might be useful for some applications.
### Motivation
Sometimes it might be interesting to compare text-bison vs chat-bison for chat scenarios.
### Your contribution
yes, I'm happy to do it. | Expose Vertex text model as chat model | https://api.github.com/repos/langchain-ai/langchain/issues/8427/comments | 2 | 2023-07-28T18:49:53Z | 2023-11-03T16:05:29Z | https://github.com/langchain-ai/langchain/issues/8427 | 1,826,935,451 | 8,427 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Is there anyway to use a different model to generate AGENT THOUGHTS and AGENT FINAL ANSWER?
For example: I want to to use GPT3.5 for generate thoughts and GPT4 to generate the final answer.
### Suggestion:
_No response_ | Different Model to generate thought and answer from Agent. | https://api.github.com/repos/langchain-ai/langchain/issues/8421/comments | 1 | 2023-07-28T15:28:07Z | 2023-11-03T16:05:57Z | https://github.com/langchain-ai/langchain/issues/8421 | 1,826,632,580 | 8,421 |
[
"hwchase17",
"langchain"
] | ### System Info
Firstly sorry if I am posting this in wrong place but I felt like it belongs to here.
I am trying use LlamaCpp for QA for txt documents but on Chromadb I am getting following error
I couldn't find a way to solve this:
```
---------------------------------------------------------------------------... | langchain with LlamaCpp for QA from txt files fails on Chroma part | https://api.github.com/repos/langchain-ai/langchain/issues/8420/comments | 4 | 2023-07-28T14:45:53Z | 2023-10-13T12:13:43Z | https://github.com/langchain-ai/langchain/issues/8420 | 1,826,557,242 | 8,420 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm trying to load some documents, powerpoints and text to train my custom LLm using Langchain.
When I run it I come to a weird error message where it tells I don't have "tokenizers" and "taggers" packages (folders).
I've read the docs, asked Langchain chatbot, pip install nltk, ... | Working with Langchain I get nlkt errors telling me: Package "tokenizers" not found in index and Packaage "taggers" not found in index | https://api.github.com/repos/langchain-ai/langchain/issues/8419/comments | 8 | 2023-07-28T12:23:04Z | 2023-11-03T16:06:43Z | https://github.com/langchain-ai/langchain/issues/8419 | 1,826,332,861 | 8,419 |
[
"hwchase17",
"langchain"
] | I'd like to incorporate this 'system_message' with each whenever I call 'qa.run(prompt)'.
How is this possible. Can someone help?
Here is the code I wrote to initialize the LLM and the RetrievalQA:
```from langchain.chat_models import ChatOpenAI
from langchain.chains.conversation.memory import ConversationBuffe... | Question: How can I include SystemMessage with RetrievalQA | https://api.github.com/repos/langchain-ai/langchain/issues/8418/comments | 5 | 2023-07-28T12:05:32Z | 2023-08-01T06:22:50Z | https://github.com/langchain-ai/langchain/issues/8418 | 1,826,310,026 | 8,418 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.245
gptcache==0.1.37
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Par... | GPTCache object should be created during or before the first lookup | https://api.github.com/repos/langchain-ai/langchain/issues/8415/comments | 1 | 2023-07-28T10:24:52Z | 2023-08-02T15:17:50Z | https://github.com/langchain-ai/langchain/issues/8415 | 1,826,173,560 | 8,415 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
My Chatbot is fairly straight forward. It uses MosaicMLInstructorEmbeddings() as the embedding and MosaicML() as the model. I have a file that I want to retrieve from. When outputting an answer, for instance:
What is AliBi?
It will give a response like:
Answer: LiBi (Attention... | Issue: LangChain is fairly consistently dropping the first one or two characters of the chain answer. | https://api.github.com/repos/langchain-ai/langchain/issues/8413/comments | 7 | 2023-07-28T08:53:41Z | 2023-07-31T22:00:04Z | https://github.com/langchain-ai/langchain/issues/8413 | 1,826,004,866 | 8,413 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have added the tools named A_tool, default_tool to a `ZeroShotAgent`.
The output from one of the execution looks like:
```
Thought: We need to use the A_tool.
Action: Use A_tool
Observation: Use A_tool is not a valid tool, try another one.
Thought:We need to use the defaul... | Issue: prefix `Use ` being added to agent action causing InvalidTool to be invoked again and again | https://api.github.com/repos/langchain-ai/langchain/issues/8407/comments | 7 | 2023-07-28T06:15:22Z | 2024-03-30T16:04:56Z | https://github.com/langchain-ai/langchain/issues/8407 | 1,825,780,100 | 8,407 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Currently, I'm using SequentialChain class to combine two steps in my workflow.
Step1: I'm using the LLM through prompt to identify the intent of the question posed by the user.
Step2: I'm using the csv based agent to answer the question posed by the user based on the csv file, ... | Issue: Unable to define "output_key" param of the LLM chain class for a csv agent while binding to SequentialChain class | https://api.github.com/repos/langchain-ai/langchain/issues/8406/comments | 2 | 2023-07-28T06:13:52Z | 2023-08-02T04:54:40Z | https://github.com/langchain-ai/langchain/issues/8406 | 1,825,778,483 | 8,406 |
[
"hwchase17",
"langchain"
] | ### Feature request
I'm interested in the code segmenters created. So far we have python and javascript. I'm looking for a typescript one in particular, the JS one marks my typescript as invalid. But in general, having the language support shown in the text splitter Language enum would be ideal but with full on parsin... | Add more CodeSegmenters | https://api.github.com/repos/langchain-ai/langchain/issues/8405/comments | 3 | 2023-07-28T06:06:12Z | 2024-02-13T16:45:52Z | https://github.com/langchain-ai/langchain/issues/8405 | 1,825,765,474 | 8,405 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello, I'm currently using the load_summarize_chain function to summarize extensive documents, specifically those about 250 pages or more. In this process, I'm employing the map_reduce chain type along with a custom prompt.
The process works as follows:
In the initial step, the cha... | Questions Regarding load_summarize_chain Implementation and LLM Models Usage | https://api.github.com/repos/langchain-ai/langchain/issues/8399/comments | 2 | 2023-07-28T04:43:43Z | 2023-12-07T16:07:05Z | https://github.com/langchain-ai/langchain/issues/8399 | 1,825,692,044 | 8,399 |
[
"hwchase17",
"langchain"
] | For example: we have two tool, one is search tool, used to search transaction, the other is date tool
for search tool, we have three parameters, if user input less parameters, search tool will feedback user to input missing information, then user will provide supplementary information, agent need to combine dialogue h... | can you provide agent examples for multiple rounds of dialogue? | https://api.github.com/repos/langchain-ai/langchain/issues/8396/comments | 1 | 2023-07-28T03:45:01Z | 2023-11-03T16:05:37Z | https://github.com/langchain-ai/langchain/issues/8396 | 1,825,651,360 | 8,396 |
[
"hwchase17",
"langchain"
] | i just wrote a custom agent to classify intent to choose different tool, but i don't know how to get response from agent, when i print answer, it shows Agent stopped due to iteration limit or time limit. Code is shown as below, thanks
tools = [SearchTool(),DateTool()]
agent = IntentAgent(tools=tools, llm=llm)
agent_... | how can i get response of agent | https://api.github.com/repos/langchain-ai/langchain/issues/8393/comments | 4 | 2023-07-28T02:39:03Z | 2023-11-03T16:06:06Z | https://github.com/langchain-ai/langchain/issues/8393 | 1,825,595,680 | 8,393 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I have tried to make a wrapper around my LLMs but the class cant be instantiated.
Can't even get the example here to work:
https://python.langchain.com/docs/modules/model_io/models/llms/custom_llm
Can someone help out with this?
### Idea or request for content:
_No res... | DOC: Custom LLM Wrappers not functional | https://api.github.com/repos/langchain-ai/langchain/issues/8392/comments | 1 | 2023-07-28T02:06:13Z | 2023-08-06T18:32:16Z | https://github.com/langchain-ai/langchain/issues/8392 | 1,825,568,030 | 8,392 |
[
"hwchase17",
"langchain"
] | ### System Info
(h2ogpt) jon@pseudotensor:~/h2ogpt$ pip freeze | grep langchain
langchain==0.0.235
langchainplus-sdk==0.0.20
Python 3.10
(h2ogpt) jon@pseudotensor:~/h2ogpt$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename... | chain.arun() for summarization no faster than chain() | https://api.github.com/repos/langchain-ai/langchain/issues/8391/comments | 8 | 2023-07-28T01:09:54Z | 2023-07-28T05:12:04Z | https://github.com/langchain-ai/langchain/issues/8391 | 1,825,511,510 | 8,391 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I would like to deploy my langchain project in a shared host server , so I will need tobe able APIs to receive request and return response to the end devices. I think this feature is already done , however, I do not how to implement it in my project
### Idea or request for conten... | DOC: how to setup APIs in my project to receive requests and returns responses from and to end devices | https://api.github.com/repos/langchain-ai/langchain/issues/8390/comments | 4 | 2023-07-28T00:17:12Z | 2024-02-10T16:20:48Z | https://github.com/langchain-ai/langchain/issues/8390 | 1,825,424,441 | 8,390 |
[
"hwchase17",
"langchain"
] | ### System Info
I wonder if the input_documents are combined with relevant_docuemnts from retriever? I have been comparing results, and although wiki_doc provide different context, it is not reflected in response! I have tried both version, and the information by "input_doc" is not reflected in result1. I looked up i... | qa_chain with retriever and input_documents. | https://api.github.com/repos/langchain-ai/langchain/issues/8386/comments | 1 | 2023-07-27T22:35:13Z | 2023-11-02T16:04:35Z | https://github.com/langchain-ai/langchain/issues/8386 | 1,825,313,643 | 8,386 |
[
"hwchase17",
"langchain"
] | ### Feature request
An integration of exllama in Langchain to be able to use 4-bit GPTQ weights, designed to be fast and memory-efficient on modern GPUs.
### Motivation
The benchmarks on the official repo speak for themselves:
https://github.com/turboderp/exllama#results-so-far
### Your contribution
There is a... | Exllama integration to run GPTQ models | https://api.github.com/repos/langchain-ai/langchain/issues/8385/comments | 12 | 2023-07-27T22:26:51Z | 2024-05-31T23:49:27Z | https://github.com/langchain-ai/langchain/issues/8385 | 1,825,307,485 | 8,385 |
[
"hwchase17",
"langchain"
] | ### Feature request
This is related to [HyDE](https://python.langchain.com/docs/modules/chains/additional/hyde). But I feel my feature request puts the HyDE example in a more realistic context, and naturally extends the RetrievalQA chain.
My suggestion would be allow the text passed to the retriever to be differen... | RetrievalQA: Submit different queries to Retriever and LLM | https://api.github.com/repos/langchain-ai/langchain/issues/8380/comments | 3 | 2023-07-27T20:32:27Z | 2023-10-27T16:18:45Z | https://github.com/langchain-ai/langchain/issues/8380 | 1,825,171,219 | 8,380 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.244
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Documen... | GCP Matching Engine support for public index endpoints | https://api.github.com/repos/langchain-ai/langchain/issues/8378/comments | 7 | 2023-07-27T20:14:21Z | 2023-11-21T02:11:30Z | https://github.com/langchain-ai/langchain/issues/8378 | 1,825,144,169 | 8,378 |
[
"hwchase17",
"langchain"
] | ### System Info
**RecursiveUrlLoader** is not working. Please refer to the below code. "docs" size is always 0.
https://python.langchain.com/docs/integrations/document_loaders/recursive_url_loader
from langchain.document_loaders.recursive_url_loader import RecursiveUrlLoader
url = "https://js.langchain.com/do... | RecursiveUrlLoader is not working | https://api.github.com/repos/langchain-ai/langchain/issues/8367/comments | 2 | 2023-07-27T17:30:39Z | 2023-11-02T16:04:39Z | https://github.com/langchain-ai/langchain/issues/8367 | 1,824,862,056 | 8,367 |
[
"hwchase17",
"langchain"
] | ### Feature request
The `_id` field should be populated with these in order:
1. `ids: Optional[List[str]] = None,` -- already in place
2. Document metadata (filename + start_index) -- new feature
3. Leave `_id` empty (instead of uuid) -- new feature
https://github.com/langchain-ai/langchain/blob/cf608f876b0ada... | OpenSearch bulk ingest with deterministic _id if available | https://api.github.com/repos/langchain-ai/langchain/issues/8366/comments | 2 | 2023-07-27T17:23:26Z | 2023-10-26T16:40:38Z | https://github.com/langchain-ai/langchain/issues/8366 | 1,824,852,567 | 8,366 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.244
Numexpr version: 2.8.4
Python version: 3.10.11
### Who can help?
@hwchase17 @vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / ... | Arbitrary code execution in LLMMathChain | https://api.github.com/repos/langchain-ai/langchain/issues/8363/comments | 33 | 2023-07-27T16:00:56Z | 2024-03-13T16:12:31Z | https://github.com/langchain-ai/langchain/issues/8363 | 1,824,692,692 | 8,363 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Following this:https://github.com/levalencia/langchainLuisValencia/blob/master/.github/CONTRIBUTING.md#-common-tasks
On Windows.
Forked the repo, cloned it locally, created a conda environment, (Poetry was already installed), then installed all dependencies.
Error received:... | DOC: Contribution guidelines not working | https://api.github.com/repos/langchain-ai/langchain/issues/8362/comments | 1 | 2023-07-27T14:46:12Z | 2023-10-26T19:39:35Z | https://github.com/langchain-ai/langchain/issues/8362 | 1,824,539,164 | 8,362 |
[
"hwchase17",
"langchain"
] | ### System Info
Mac, command line and jupyter notebook inside VSCode
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates ... | Argument 'bases' has incorrect type | https://api.github.com/repos/langchain-ai/langchain/issues/8361/comments | 2 | 2023-07-27T14:44:05Z | 2023-11-03T16:07:03Z | https://github.com/langchain-ai/langchain/issues/8361 | 1,824,534,625 | 8,361 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version v0.0.5, Python 3.9.13
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output ... | LLM output parsing error for answers including code sections. | https://api.github.com/repos/langchain-ai/langchain/issues/8357/comments | 4 | 2023-07-27T12:40:32Z | 2023-08-03T09:05:28Z | https://github.com/langchain-ai/langchain/issues/8357 | 1,824,290,695 | 8,357 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
if we are passing chathistory as a input in agent
template = """You are a chatbot having a conversation with a human.
{chat_history}
{human_input}
Chatbot:"""
prefix = """Have a conversation with a human, answering the following questio... | Chat History Issue | https://api.github.com/repos/langchain-ai/langchain/issues/8355/comments | 3 | 2023-07-27T11:56:41Z | 2024-02-11T16:17:46Z | https://github.com/langchain-ai/langchain/issues/8355 | 1,824,215,752 | 8,355 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm trying to achieve the least calls to openAI-s API, So I've tried to save my vectorstorage to the disk and then reload it (like its in the "if" part). But if I use OpenAIEmbeddings() as embedding_funcion it still calls to openai's embeddings API. (Maybe it should be a feature request) Is this a bug?... | Loading vectorstore from disk still calls to OpenAI's embeddings API | https://api.github.com/repos/langchain-ai/langchain/issues/8352/comments | 1 | 2023-07-27T11:41:07Z | 2023-11-02T16:17:17Z | https://github.com/langchain-ai/langchain/issues/8352 | 1,824,192,942 | 8,352 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.235
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pars... | No function message compatability in PostgresChatMessageHistory | https://api.github.com/repos/langchain-ai/langchain/issues/8349/comments | 4 | 2023-07-27T10:53:51Z | 2023-07-28T08:24:55Z | https://github.com/langchain-ai/langchain/issues/8349 | 1,824,121,928 | 8,349 |
[
"hwchase17",
"langchain"
] | ### Feature request
Some kind of possibility to make a custom tool with return direct not do so when faced with a error such as a ToolException.
### Motivation
Currently, when a tool with return_direct faces a handled error, it returns the error directly. I would want a tool to return an output directly but only if ... | Custom tool return_direct except when a ToolException occurs. | https://api.github.com/repos/langchain-ai/langchain/issues/8348/comments | 2 | 2023-07-27T10:03:00Z | 2024-02-06T16:32:01Z | https://github.com/langchain-ai/langchain/issues/8348 | 1,824,041,459 | 8,348 |
[
"hwchase17",
"langchain"
] | ### Feature request
The Playwright toolkit is awesome. But it would be great to be able to see what the agent is doing. We could add a feature that takes screenshoots of the current state of the web page
### Motivation
It feels strange to use the toolkit but being blind, we cannot see what the agent is doing. The or... | Playwright Browser Tools: add screenshot feature | https://api.github.com/repos/langchain-ai/langchain/issues/8347/comments | 1 | 2023-07-27T09:51:26Z | 2023-11-02T16:14:07Z | https://github.com/langchain-ai/langchain/issues/8347 | 1,824,020,139 | 8,347 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/5410
<div type='discussions-op-text'>
<sup>Originally posted by **luca-git** May 29, 2023</sup>
My goal is to extend the tools used by baby AGI, more specifically to use at least the basic WriteFileTool() and ReadFileTool(). They use two in... | BabyAGI implementation with tools with multiple inputs (requiring Structured Tool Chat Agent) | https://api.github.com/repos/langchain-ai/langchain/issues/8346/comments | 2 | 2023-07-27T08:14:36Z | 2023-11-02T16:16:00Z | https://github.com/langchain-ai/langchain/issues/8346 | 1,823,850,168 | 8,346 |
[
"hwchase17",
"langchain"
] | ### System Info
gptcache==0.1.37
langchain==0.0.240
python 3.8
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | GPTCache is getting created multiple times for the same llm_string | https://api.github.com/repos/langchain-ai/langchain/issues/8343/comments | 1 | 2023-07-27T06:04:49Z | 2023-07-27T14:47:28Z | https://github.com/langchain-ai/langchain/issues/8343 | 1,823,677,777 | 8,343 |
[
"hwchase17",
"langchain"
] | ### System Info
While using both URL-Playwriter or PlayWright Browser Toolkit I am getting this error.
The solution I used:
1. I used asyncio.create_task
2. I used nest_asyncio.apply
but the error is the same. Please help if someone is also getting the same error and found some solution
** in the documentation.
## This is the code (from docs)
```python
from langchain.tools.playwright.utils import c... | Issue: ModuleNotFoundError: No module named 'playwright' | https://api.github.com/repos/langchain-ai/langchain/issues/8338/comments | 6 | 2023-07-27T03:55:02Z | 2024-07-21T10:37:18Z | https://github.com/langchain-ai/langchain/issues/8338 | 1,823,563,453 | 8,338 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When I have a single PDF file it works very well, when I have several files it does not find the same question as if it did when there was only one pdf file, I have the following code
store = PGVector(
collection_name=COLLECTION_NAME,
connection_string=CONNECTION_STRING,
... | Error finding in multiple pdfs | https://api.github.com/repos/langchain-ai/langchain/issues/8334/comments | 2 | 2023-07-27T02:05:37Z | 2023-11-02T16:05:14Z | https://github.com/langchain-ai/langchain/issues/8334 | 1,823,486,705 | 8,334 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have a csv file I would like to interact with but when I start using it says:
Retrying langchain.embeddings.openai.embed_with_retry.<locals>._embed_with_retry in 4.0 seconds as it raised APIError: OpenAI API returned an empty embedding.
Retrying langchain.embeddings.openai.embed_wi... | Issue: Max CSV Size | https://api.github.com/repos/langchain-ai/langchain/issues/8332/comments | 2 | 2023-07-27T01:49:19Z | 2023-11-02T16:05:40Z | https://github.com/langchain-ai/langchain/issues/8332 | 1,823,470,170 | 8,332 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version=0.0.237
python version = 3.11.4
### Who can help?
@hwchase17
The RDFGraph class appears to throw an exception when an OWL ontology contains a Restriction.
For example, a Turtle ontology contains the following restriction causes the error "Unexpected IRI 'n16c4af590.........",... | RDFGraph throws exception when ontology contains blank nodes | https://api.github.com/repos/langchain-ai/langchain/issues/8331/comments | 1 | 2023-07-27T01:25:11Z | 2023-08-09T07:44:41Z | https://github.com/langchain-ai/langchain/issues/8331 | 1,823,441,492 | 8,331 |
[
"hwchase17",
"langchain"
] | ### Feature request
I propose to make BaseMemoryAsync, BaseChatMessageHistoryAsync, SummarizerMixinAsync, BaseChatMemoryAsync and add support for async save_context to the main Chain class. For web development, everything is asynchronous, and this is critical.
### Motivation
I've faced a problem when writing a chatb... | Async Memory | https://api.github.com/repos/langchain-ai/langchain/issues/8329/comments | 1 | 2023-07-27T00:31:00Z | 2023-11-02T16:05:19Z | https://github.com/langchain-ai/langchain/issues/8329 | 1,823,401,369 | 8,329 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
This might be a general issue with LLM tools but I wanted to pose it here since this community is very active.
When you feed a huge CSV file with thousands of comments, you are trying to summarize them but also extract some quotes.
When feeding this file into Langchain, it will s... | Issue: How to extract quotes from a large file | https://api.github.com/repos/langchain-ai/langchain/issues/8328/comments | 2 | 2023-07-26T23:19:52Z | 2023-11-01T16:04:50Z | https://github.com/langchain-ai/langchain/issues/8328 | 1,823,346,330 | 8,328 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add support for passing CustomAttributes to the `SagemakerEnpiontLLM` wrapper around `client.invoke_enpoint()`
With the release of LLama-v2 on Sagemaker Jumpstart, we are required to pass EULA=TRUE # END USER LICENSE AGREEMENT
Endstate
```python
class SagemakerEndpoint(LLM):
...
... | SagemakerEndpoint LLM does not support InvokeEndpoint CustomAttributes needed for Llama-V2 | https://api.github.com/repos/langchain-ai/langchain/issues/8326/comments | 9 | 2023-07-26T22:59:57Z | 2024-05-22T16:06:57Z | https://github.com/langchain-ai/langchain/issues/8326 | 1,823,323,149 | 8,326 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I am converting from CONVERSATIONAL_REACT agent to Functions and having a tough time figuring out how to customize the prompt. Memory was not obvious, but worked as expected. However, adding additional inputs does not:
``` Python
memory = ConversationBufferMemory(memory_key=... | DOC: How to use OPENAI_MULTI_FUNCTIONS with custom prompt? | https://api.github.com/repos/langchain-ai/langchain/issues/8325/comments | 2 | 2023-07-26T22:58:19Z | 2023-09-08T17:18:24Z | https://github.com/langchain-ai/langchain/issues/8325 | 1,823,322,018 | 8,325 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi,
this repo on huggingface implements word-level timestamps into locally run whisper models: https://huggingface.co/spaces/Matthijs/whisper_word_timestamps/tree/main
I have created a simple modification of this for generating simple CSVs with words and timestamps, a functionality i'd love t... | Whisper with word-level timestamps | https://api.github.com/repos/langchain-ai/langchain/issues/8319/comments | 1 | 2023-07-26T20:28:13Z | 2023-11-01T16:04:55Z | https://github.com/langchain-ai/langchain/issues/8319 | 1,823,113,323 | 8,319 |
[
"hwchase17",
"langchain"
] | ### Feature request
According to the [Amazon Kendra documentation](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Query.html), a query response contains three types of results:
- **Relevant suggested answers.** The answers can be either a text excerpt or table excerpt. The answer can be highlighted in the... | In the AmazonKendraRetriever, allow selection of which API to use: query or retrieve (default) | https://api.github.com/repos/langchain-ai/langchain/issues/8315/comments | 2 | 2023-07-26T19:22:38Z | 2023-11-01T16:05:00Z | https://github.com/langchain-ai/langchain/issues/8315 | 1,823,016,792 | 8,315 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.243
```
@property
def embeddings(self) -> Embeddings:
return self.embeddings
```
is referencing itself instead of `self.embedding` resulting in Recursion error.
```
return self.embeddings
^^^^^^^^^^^^^^^
[Previous line repeated 993 more times]
Recurs... | ElasticVectorSearch().as_retriever() throwingRecursionError: maximum recursion depth exceeded | https://api.github.com/repos/langchain-ai/langchain/issues/8310/comments | 1 | 2023-07-26T18:35:13Z | 2023-07-26T19:15:41Z | https://github.com/langchain-ai/langchain/issues/8310 | 1,822,953,914 | 8,310 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi All,
I tried to run Apify tutorial and I ran on the issue of ImportError: cannot import name 'ApifyWrapper' from 'langchain.utilities'. I checked the Utilities library under utilities/__init__.py and I couldn't find anything under the Generic integrations with third-party systems and packages.
Any... | ImportError: cannot import name 'ApifyWrapper' from 'langchain.utilities' | https://api.github.com/repos/langchain-ai/langchain/issues/8307/comments | 11 | 2023-07-26T18:18:22Z | 2023-12-08T16:05:50Z | https://github.com/langchain-ai/langchain/issues/8307 | 1,822,932,353 | 8,307 |
[
"hwchase17",
"langchain"
] | ### Feature request
Possibility to make a direct return of a tool's output on certain cases.
### Motivation
Under specific circumstances, it would be extremely beneficial to be able to return a tool's output directly to the user. For instance, this feature would be helpful when using a search tool. If a searc... | Make a return_direct of a tool's output under certain conditions | https://api.github.com/repos/langchain-ai/langchain/issues/8306/comments | 8 | 2023-07-26T18:13:52Z | 2024-07-30T16:05:49Z | https://github.com/langchain-ai/langchain/issues/8306 | 1,822,926,870 | 8,306 |
[
"hwchase17",
"langchain"
] | ### System Info
Pop!_OS 22.04 LTS
Python 3.11.4
Langchain v0.0.242
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt S... | VertexAI using `text-bison` returns no output | https://api.github.com/repos/langchain-ai/langchain/issues/8304/comments | 3 | 2023-07-26T17:33:31Z | 2023-12-20T22:59:35Z | https://github.com/langchain-ai/langchain/issues/8304 | 1,822,865,052 | 8,304 |
[
"hwchase17",
"langchain"
] | ### System Info
When i install for the first time using this command
```
pip install 'langchain[all]'
```
It installs the older version `langchain 0.0.39`
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] L... | installing pip install langchain[all] installs the old version of langchain 0.0.39 | https://api.github.com/repos/langchain-ai/langchain/issues/8298/comments | 3 | 2023-07-26T16:32:22Z | 2023-08-07T18:29:02Z | https://github.com/langchain-ai/langchain/issues/8298 | 1,822,776,944 | 8,298 |
[
"hwchase17",
"langchain"
] | ### System Info
python = 3.9
es = 8.9
langchain = 0.0.237
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Se... | ElasticVectorSearch.from_documents failed | https://api.github.com/repos/langchain-ai/langchain/issues/8293/comments | 1 | 2023-07-26T14:08:01Z | 2023-07-27T02:20:53Z | https://github.com/langchain-ai/langchain/issues/8293 | 1,822,500,823 | 8,293 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version - 0.0.208
openAI - 3.5-turbo
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ]... | cannot clear memory when token limit exceeded | https://api.github.com/repos/langchain-ai/langchain/issues/8291/comments | 1 | 2023-07-26T12:59:35Z | 2023-07-27T11:05:00Z | https://github.com/langchain-ai/langchain/issues/8291 | 1,822,369,188 | 8,291 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have defined several Chains (LLM Chains, RetrievalQA and ConversationalRelationChain) and have used an agent to route between them after I created for each their respective Tool.
I realised that when each chain was defined outside of the agent, their performance was amazing. But once ... | Issue: Performance of Agents or Chains dropping when used as routers in an Agent. | https://api.github.com/repos/langchain-ai/langchain/issues/8287/comments | 2 | 2023-07-26T12:20:31Z | 2023-11-01T16:05:04Z | https://github.com/langchain-ai/langchain/issues/8287 | 1,822,298,506 | 8,287 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.144
python3 == 3.11.4
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pa... | AttributeError: `Document` object has not attribute `replace` | https://api.github.com/repos/langchain-ai/langchain/issues/8286/comments | 5 | 2023-07-26T12:15:13Z | 2024-08-02T05:44:32Z | https://github.com/langchain-ai/langchain/issues/8286 | 1,822,290,214 | 8,286 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm using a SQL Agent that is connected to BigQuery to build a QA model. I get OutputParserException fairly often. The Agent returns the correct answer some times, but I have never got an answer when the option view_support=True in SQLDatabase.from_uri().
For some questions, the age... | Issue: OutputParserException when using SQL Agent | https://api.github.com/repos/langchain-ai/langchain/issues/8282/comments | 1 | 2023-07-26T10:19:13Z | 2023-11-01T16:05:10Z | https://github.com/langchain-ai/langchain/issues/8282 | 1,822,077,707 | 8,282 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.242
python 3.11.4
### Who can help?
@hwchase17
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | Problem using HuggingFacePipeline by passing pipeline in directly | https://api.github.com/repos/langchain-ai/langchain/issues/8280/comments | 7 | 2023-07-26T10:05:37Z | 2024-02-14T16:12:28Z | https://github.com/langchain-ai/langchain/issues/8280 | 1,822,048,802 | 8,280 |
[
"hwchase17",
"langchain"
] | ### System Info
Macos 13.5, vscode 1.80.1
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers... | devcontainer in vscode is not working | https://api.github.com/repos/langchain-ai/langchain/issues/8277/comments | 3 | 2023-07-26T08:03:16Z | 2023-12-06T17:44:40Z | https://github.com/langchain-ai/langchain/issues/8277 | 1,821,812,670 | 8,277 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, it's my first issue in github. And the first thing I want to say is that LangChain is awesome!
I'm not quite so sure is that a bug or just a little issue of config.So I list it as a other issue.
I built a agent and built some RetrievalQA chains as tools for agent.However,when I... | Issue: LLM makes up new QAs after answering question in a QA chains | https://api.github.com/repos/langchain-ai/langchain/issues/8273/comments | 4 | 2023-07-26T07:34:35Z | 2023-11-02T16:16:04Z | https://github.com/langchain-ai/langchain/issues/8273 | 1,821,769,394 | 8,273 |
[
"hwchase17",
"langchain"
] | ### System Info
platform = mac m2
python = 3.11
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | not enough values to unpack (expected 2, got 1) while LabeledPairwiseStringEvalChain with evaluate_string_pairs | https://api.github.com/repos/langchain-ai/langchain/issues/8272/comments | 1 | 2023-07-26T07:20:57Z | 2023-07-26T13:15:05Z | https://github.com/langchain-ai/langchain/issues/8272 | 1,821,748,208 | 8,272 |
[
"hwchase17",
"langchain"
] | Hi , I am using an existing open search vector store and trying to perform below queries using langchain and python. But i am unable to see the documents returned.
Queries:
docs = result.similarity_search(
"show me results for rest API throwing 500 exceptions", search_type="painless_scripting",space_type="cos... | similarity_search on nested fields not returning results | https://api.github.com/repos/langchain-ai/langchain/issues/8269/comments | 2 | 2023-07-26T05:38:54Z | 2023-11-08T16:07:34Z | https://github.com/langchain-ai/langchain/issues/8269 | 1,821,620,134 | 8,269 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.