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.
When using the new gpt's json mode by setting response_format={ "type": "json_object" }, the langchain agent failed to parse the openai output, is there any plan to support that?
### Suggestion:
_No response_ | Issue: langchain agent doesnt work with the new json mode of gpt4-1106-preview | https://api.github.com/repos/langchain-ai/langchain/issues/13003/comments | 11 | 2023-11-07T15:52:22Z | 2024-04-12T16:14:06Z | https://github.com/langchain-ai/langchain/issues/13003 | 1,981,682,406 | 13,003 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/12598
<div type='discussions-op-text'>
<sup>Originally posted by **nelsoni-talentu** October 30, 2023</sup>
Hi community,
I am developing an app to interact (Q&A) with several documents previously embedded and stored into a MongoDB Atlas clu... | ConversationalRetrievalChain.from_llm with MongoDB is failing. | https://api.github.com/repos/langchain-ai/langchain/issues/12996/comments | 3 | 2023-11-07T14:00:15Z | 2023-11-16T20:37:46Z | https://github.com/langchain-ai/langchain/issues/12996 | 1,981,433,036 | 12,996 |
[
"hwchase17",
"langchain"
] | When we employ the new models introduced during DevDay, gpt-3.5-turbo-1106 and gpt-4-1106-preview, get_openai_callback() does not accurately display their total cost, which includes both the prompt and completion token cost. The subsequent minimal working example illustrates this issue. The costs should not be $0.0, bu... | get_openai_callback() does not show the cost taken from new OpenAI's model ("gpt-4-1106-preview" and "gpt-3.5-turbo-1106") | https://api.github.com/repos/langchain-ai/langchain/issues/12994/comments | 7 | 2023-11-07T13:12:17Z | 2024-02-02T12:14:09Z | https://github.com/langchain-ai/langchain/issues/12994 | 1,981,323,192 | 12,994 |
[
"hwchase17",
"langchain"
] | ### Feature request
We need to be able to customize `PYDANTIC_FORMAT_INSTRUCTIONS` (https://statics.teams.cdn.office.net/evergreen-assets/safelinks/1/atp-safelinks.html) in `PydanticOutputParser`. If our prompt is written in a different language e.g. in spanish, then the english `PYDANTIC_FORMAT_INSTRUCTIONS` causes p... | Parametrize hardcoded PYDANTIC_FORMAT_INSTRUCTIONS in PydanticOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/12992/comments | 2 | 2023-11-07T11:45:08Z | 2024-02-13T16:07:18Z | https://github.com/langchain-ai/langchain/issues/12992 | 1,981,164,657 | 12,992 |
[
"hwchase17",
"langchain"
] | ### System Info
latest langchain
### Who can help?
@rlancemarti
### 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
- [ ] Document L... | GPT4AllEmbeddings should get n_threads like Embed4All | https://api.github.com/repos/langchain-ai/langchain/issues/12991/comments | 2 | 2023-11-07T10:44:38Z | 2024-02-13T16:07:22Z | https://github.com/langchain-ai/langchain/issues/12991 | 1,981,060,545 | 12,991 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.331
python 3.10.13
openai 1.1.1
### 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 / Prompt Selectors
- [ ]... | Bugs of cookbook/openai_v1_cookbook.ipynb | https://api.github.com/repos/langchain-ai/langchain/issues/12990/comments | 6 | 2023-11-07T10:26:27Z | 2024-02-07T19:26:01Z | https://github.com/langchain-ai/langchain/issues/12990 | 1,981,028,074 | 12,990 |
[
"hwchase17",
"langchain"
] | ### System Info
```
Python 3.11.5
langchain 0.0.315
macOS 14.2
```
### 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 ... | Wikipedia Agent confabulates answers | https://api.github.com/repos/langchain-ai/langchain/issues/12989/comments | 5 | 2023-11-07T09:51:37Z | 2024-02-13T16:07:27Z | https://github.com/langchain-ai/langchain/issues/12989 | 1,980,958,342 | 12,989 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.11.4
LangChain 0.0.321
Platform info (WSL2):
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Relat... | Requests to the Embeddings_Create Operation under Azure OpenAI API version 2023-07-01-preview have exceeded call rate limit of your current OpenAI S0 pricing tier | https://api.github.com/repos/langchain-ai/langchain/issues/12986/comments | 5 | 2023-11-07T09:09:31Z | 2024-03-13T11:04:00Z | https://github.com/langchain-ai/langchain/issues/12986 | 1,980,878,758 | 12,986 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hello.
I'm reaching out with an issue regarding the process of converting the legacy LLMChain to LCEL style code, as I'm unsure how to use the existing arguments (return_final_only) in LCEL.
* my legacy code
```
chain = LLMChain(llm=llm, prompt=prompt, return_final_only=Fal... | How can I use `return_final_only=False` with LCEL? | https://api.github.com/repos/langchain-ai/langchain/issues/12983/comments | 3 | 2023-11-07T07:46:24Z | 2024-02-13T16:07:37Z | https://github.com/langchain-ai/langchain/issues/12983 | 1,980,747,712 | 12,983 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm using a locally hosted LLM and want to apply Langchain's ConversationalRetrievalChain or RetrievalQA in an offline setting for chatbot developments, however there is an error as the current configuration do not support local hosted tokenizer.
Appreciate if you can help advise on the modificatio... | ConversationalRetrievalChain using local LLM models and tokenizers | https://api.github.com/repos/langchain-ai/langchain/issues/12982/comments | 8 | 2023-11-07T07:11:23Z | 2024-03-05T18:59:12Z | https://github.com/langchain-ai/langchain/issues/12982 | 1,980,695,813 | 12,982 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version 0.0.331rc1, python3.9, ubuntu 21.04
### Who can help?
@hwchase17 @agola
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templat... | Broken ConversationSummaryBufferMemory and more | https://api.github.com/repos/langchain-ai/langchain/issues/12980/comments | 4 | 2023-11-07T06:03:23Z | 2024-02-13T16:07:48Z | https://github.com/langchain-ai/langchain/issues/12980 | 1,980,609,049 | 12,980 |
[
"hwchase17",
"langchain"
] | ### System Info
LC: `v0.0.331rc1`
### Who can help?
The latest LC release candidate does not support the new embeddings API of the OpenAI SDK.
```
AttributeError: module 'openai' has no attribute 'Embedding'
```
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### R... | Update `OpenAIEmbeddings` to work with OpenAI SDK updates | https://api.github.com/repos/langchain-ai/langchain/issues/12970/comments | 9 | 2023-11-07T00:31:37Z | 2024-02-14T16:07:39Z | https://github.com/langchain-ai/langchain/issues/12970 | 1,980,316,909 | 12,970 |
[
"hwchase17",
"langchain"
] | ### System Info
Downloading langchain-0.0.331-py3-none-any.whl (2.0 MB)
Downloading openai-1.1.1-py3-none-any.whl (217 kB)
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Mo... | AttributeError: module 'openai' has no attribute 'Completion' | https://api.github.com/repos/langchain-ai/langchain/issues/12967/comments | 25 | 2023-11-07T00:07:47Z | 2023-11-12T23:49:19Z | https://github.com/langchain-ai/langchain/issues/12967 | 1,980,294,255 | 12,967 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi , I was working on QA using a large csv dataset.
I am using a local llm model (llama2) along with create_csv_agent. Following is my code snippet.
`from langchain.llms import OpenAI
from langchain.chat_models import ChatOpenAI
from langchain.agents.agent_types import AgentType
f... | Issue: QA with a large csv dataset | https://api.github.com/repos/langchain-ai/langchain/issues/12962/comments | 3 | 2023-11-06T22:33:41Z | 2024-02-12T16:07:14Z | https://github.com/langchain-ai/langchain/issues/12962 | 1,980,194,390 | 12,962 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.331 (also tested 0.0.326)
Python Version: 3.11.6
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [x] Embedding Models
- [ ] Prompt... | OpenAIEmbeddings doesn't allow specifying API key in parameters | https://api.github.com/repos/langchain-ai/langchain/issues/12959/comments | 3 | 2023-11-06T22:01:28Z | 2024-02-12T16:07:19Z | https://github.com/langchain-ai/langchain/issues/12959 | 1,980,143,971 | 12,959 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain: v0.0.331
openai: v1.1.0
platform: Mac M2
python: 3.11.2
### 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 / ... | Recent langchain version not matching openai v1.0.0+ release spec for client | https://api.github.com/repos/langchain-ai/langchain/issues/12958/comments | 12 | 2023-11-06T21:53:47Z | 2024-07-19T16:06:46Z | https://github.com/langchain-ai/langchain/issues/12958 | 1,980,132,466 | 12,958 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, It's me again. I'm trying to create my own ConversationSummaryMemory and make _DEFAULT_ENTITY_EXTRACTION_TEMPLATE in JSON format. Is there a way to do so?
### Suggestion:
_No response_ | Issue: rewrite the _DEFAULT_ENTITY_EXTRACTION_TEMPLATE in JSON format | https://api.github.com/repos/langchain-ai/langchain/issues/12957/comments | 3 | 2023-11-06T21:53:23Z | 2024-02-12T16:07:29Z | https://github.com/langchain-ai/langchain/issues/12957 | 1,980,131,843 | 12,957 |
[
"hwchase17",
"langchain"
] | ### System Info
all last versions as of 6/11/2023
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parser... | A ton of Bugs after OpenAI API update today | https://api.github.com/repos/langchain-ai/langchain/issues/12956/comments | 9 | 2023-11-06T21:41:02Z | 2023-12-11T12:03:14Z | https://github.com/langchain-ai/langchain/issues/12956 | 1,980,109,527 | 12,956 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.331 latest
Openai v0.28.1
Python v3.11.6
Deeplake 3.8.4 latest
### Who can help?
@eyurtsev
@hwchase17
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Emb... | Using RunnablePassthrough with Deeplake gives RuntimeError: std::get: wrong index for variant | https://api.github.com/repos/langchain-ai/langchain/issues/12955/comments | 3 | 2023-11-06T21:38:34Z | 2024-02-12T16:07:34Z | https://github.com/langchain-ai/langchain/issues/12955 | 1,980,103,620 | 12,955 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.331
OpenAI: 1.1.0
Python: 3.11.2
### 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 Sele... | Module 'openai' has no attribute 'Embedding' | https://api.github.com/repos/langchain-ai/langchain/issues/12954/comments | 24 | 2023-11-06T21:31:20Z | 2024-01-18T18:53:59Z | https://github.com/langchain-ai/langchain/issues/12954 | 1,980,093,720 | 12,954 |
[
"hwchase17",
"langchain"
] | ### "response_format" parameter on the new GPT-4-turbo model
I can sucessfully call the new GPT-4-turbo model by using:
`const model = new ChatOpenAI({modelName:"gpt-4-1106-preview"})`
But I can't add the "response_format" parameter to set its response explicitly to be a json, as stated in:
https://platform... | Issue: "response_format" parameter on the new GPT-4-turbo model | https://api.github.com/repos/langchain-ai/langchain/issues/12953/comments | 11 | 2023-11-06T21:16:44Z | 2024-05-15T18:04:28Z | https://github.com/langchain-ai/langchain/issues/12953 | 1,980,073,140 | 12,953 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain v0.0.323
Openai v1.0.1 (latest)
Python v3.11.6
### 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... | openai has no ChatCompletion attribute, this is likely due to an old version of the openai package. | https://api.github.com/repos/langchain-ai/langchain/issues/12949/comments | 34 | 2023-11-06T20:49:17Z | 2024-02-19T16:07:56Z | https://github.com/langchain-ai/langchain/issues/12949 | 1,980,034,271 | 12,949 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Whenever my agent does not require a tool, (tool has already been used, or query does not require a tool), it continues output.
```
datetimetool = Tool(
name="datetimetool",
func=lambda x: datetime.now().strftime('%A %d %B %Y, %I:%M%p'),
description="Retrieve and retu... | Issue: Agent runs on loop, "Observation: Invalid Format: Missing 'Action:' after 'Thought:" | https://api.github.com/repos/langchain-ai/langchain/issues/12944/comments | 22 | 2023-11-06T18:00:50Z | 2024-06-21T07:34:37Z | https://github.com/langchain-ai/langchain/issues/12944 | 1,979,742,044 | 12,944 |
[
"hwchase17",
"langchain"
] | ### System Info
Python Version: 3.11
LangChain Version: 0.0.331
OpenAI Version: 1.0.0
### Who can help?
@hwchase17, @agola11, @eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models... | OpenAIEmbeddings() does not work because of these bugs | https://api.github.com/repos/langchain-ai/langchain/issues/12943/comments | 18 | 2023-11-06T17:56:29Z | 2023-11-08T21:38:33Z | https://github.com/langchain-ai/langchain/issues/12943 | 1,979,733,329 | 12,943 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain v0.0.287
Windows 10
Python 3.9
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output P... | BaseCombineDocumentsChain's "input_documents" parameter not overridden by child classes | https://api.github.com/repos/langchain-ai/langchain/issues/12942/comments | 5 | 2023-11-06T17:23:19Z | 2024-05-13T16:08:32Z | https://github.com/langchain-ai/langchain/issues/12942 | 1,979,664,993 | 12,942 |
[
"hwchase17",
"langchain"
] | ### Feature request
When trying to concurrently fetch many collections from a single postgres server using PGVector, this will currently produce this error:
```
(psycopg2.errors.InternalError_) tuple concurrently updated
```
This is the expected behaviour for the code as it is and is produced by this line:
```... | PGVector: support for concurrency | https://api.github.com/repos/langchain-ai/langchain/issues/12933/comments | 1 | 2023-11-06T14:19:17Z | 2023-11-06T19:03:36Z | https://github.com/langchain-ai/langchain/issues/12933 | 1,979,277,387 | 12,933 |
[
"hwchase17",
"langchain"
] | Hi, could you please share me an working example for text classification using Langchain with LlamaCPP or llama-cpp-python module, when tried the following with Llama2 7B Q5_K_M
```
prompt_template = """A message can be classified as one of the following categories: book, cancel, change.
Examples:
- Book: "I w... | Example prompt for text classification | https://api.github.com/repos/langchain-ai/langchain/issues/12931/comments | 5 | 2023-11-06T13:44:57Z | 2023-11-09T04:59:23Z | https://github.com/langchain-ai/langchain/issues/12931 | 1,979,196,378 | 12,931 |
[
"hwchase17",
"langchain"
] | ### System Info
### Issue you'd like to raise.
Bedrock Streaming support was added in the [PR](https://github.com/langchain-ai/langchain/pull/10393/files#diff-9874347f7fa335df661ff4089b0922b3214e08a92e9879610424522f806358f7R62)
But there is an issue if streaming is enabled with `stop sequence`, See the below... | Amazon Bedrock streaming not working with stop sequence | https://api.github.com/repos/langchain-ai/langchain/issues/12926/comments | 1 | 2023-11-06T11:03:20Z | 2023-11-06T11:24:18Z | https://github.com/langchain-ai/langchain/issues/12926 | 1,978,862,164 | 12,926 |
[
"hwchase17",
"langchain"
] | I created a pandas dataframe agent when i am querying over multiple csv files sometimes it is giving correct answer some time it is hallucinates by giving the python code to run to get the answer.
Here's the response I am getting:
```
To determine the region with the highest total revenue, we can group the data by ... | Pandas data frame agent hallucinates when asking a quesry: Sending python code insted of actual result | https://api.github.com/repos/langchain-ai/langchain/issues/12925/comments | 7 | 2023-11-06T10:38:37Z | 2024-02-13T16:08:07Z | https://github.com/langchain-ai/langchain/issues/12925 | 1,978,817,037 | 12,925 |
[
"hwchase17",
"langchain"
] | Wanted to merge confluence and githubissue loader. But facing a problem as confluence loader requires additional arguments while loading. So, I am unable to use the MergedDataLoader here.
Code:
loader = ConfluenceLoader(url="URL", username="USER", api_key="API")
loader1 = GitHubIssuesLoader(repo="REPO", access_to... | Issue: Unable to Merge confluence and githubissues loader | https://api.github.com/repos/langchain-ai/langchain/issues/12923/comments | 3 | 2023-11-06T08:54:54Z | 2024-02-12T16:07:44Z | https://github.com/langchain-ai/langchain/issues/12923 | 1,978,615,854 | 12,923 |
[
"hwchase17",
"langchain"
] | ### System Info
Python == 3.11.3
Langchain == 0.0.330
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output P... | Issue: StructuredChatOutputParser regex may prevent agent's actions | https://api.github.com/repos/langchain-ai/langchain/issues/12922/comments | 3 | 2023-11-06T08:20:11Z | 2023-11-06T23:43:40Z | https://github.com/langchain-ai/langchain/issues/12922 | 1,978,555,611 | 12,922 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I've created a tool of parsing text content from pdf files, by adding it to the llm, the tool can get called correclty if I input the text, but the problem is the tool get called many times(I just wait there for minitues and then stopped.), could you help:
```
class ChatLlmWithTool... | Issue: tool get called many times | https://api.github.com/repos/langchain-ai/langchain/issues/12919/comments | 3 | 2023-11-06T05:43:34Z | 2024-02-12T16:07:49Z | https://github.com/langchain-ai/langchain/issues/12919 | 1,978,337,091 | 12,919 |
[
"hwchase17",
"langchain"
] | ### System Info
python 3.10.0
langchain 0.3.300
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output ... | ChatTongyi do not support AsyncIteratorCallbackHandler | https://api.github.com/repos/langchain-ai/langchain/issues/12917/comments | 3 | 2023-11-06T03:48:40Z | 2024-02-12T16:07:54Z | https://github.com/langchain-ai/langchain/issues/12917 | 1,978,229,664 | 12,917 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.330
Python 3.10.8
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ]... | DocArrayInMemorySearch | Pydantic 2+ Breaking Changes | https://api.github.com/repos/langchain-ai/langchain/issues/12916/comments | 3 | 2023-11-06T02:46:56Z | 2024-04-25T16:21:57Z | https://github.com/langchain-ai/langchain/issues/12916 | 1,978,179,255 | 12,916 |
[
"hwchase17",
"langchain"
] | ### System Info
Any system.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loade... | subclassing VectorStoreRetriever causes unjustifiable infinite recursion | https://api.github.com/repos/langchain-ai/langchain/issues/12913/comments | 2 | 2023-11-06T01:17:11Z | 2023-11-06T01:48:44Z | https://github.com/langchain-ai/langchain/issues/12913 | 1,978,090,823 | 12,913 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version: 0.0.330
Windows 11
Python 3.11.3
SQLAlchemy version: 2.0.23
### 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 ... | create_sql_agent Error: table_names {"'<table name>'"} not found in database. | https://api.github.com/repos/langchain-ai/langchain/issues/12911/comments | 5 | 2023-11-05T20:09:44Z | 2024-07-19T16:06:59Z | https://github.com/langchain-ai/langchain/issues/12911 | 1,977,943,019 | 12,911 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using RedisChatMessageHistory from langchain and i am trying to deploy it using docker and i am facing issues in connecting to the redis . can someone help me over here @hwchase17
### Suggestion:
_No response_ | Issue: How to deploy langchain using docker and redis used by langchain | https://api.github.com/repos/langchain-ai/langchain/issues/12910/comments | 8 | 2023-11-05T18:40:09Z | 2023-11-08T12:13:13Z | https://github.com/langchain-ai/langchain/issues/12910 | 1,977,910,131 | 12,910 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://blog.langchain.dev/plan-and-execute-agents/
Links at the end of the Conclusion section do not work.
[here (Python)](https://python.langchain.com/docs/modules/agents/agent_types/plan_and_execute?ref=blog.langchain.dev
) and [here (JS)](https://js.langchain.com/docs... | DOC: Links at the bottom of Plan and Execute Agents blog do not work | https://api.github.com/repos/langchain-ai/langchain/issues/12904/comments | 3 | 2023-11-05T13:34:23Z | 2024-02-11T16:06:36Z | https://github.com/langchain-ai/langchain/issues/12904 | 1,977,791,576 | 12,904 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
``I am using Google Palm,Faiss,HF Instruct Embeddings.When ever I am Quering with RetrievalQAWithSourcesChain.
I am getting
```
[chain/error] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain] [2.01s] Chain run errored with error:
"IndexErro... | Issue: <[chain/error] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain] [2.01s] Chain run errored with error: "IndexError('list index out of range')"> | https://api.github.com/repos/langchain-ai/langchain/issues/12903/comments | 9 | 2023-11-05T12:19:52Z | 2024-06-30T16:03:18Z | https://github.com/langchain-ai/langchain/issues/12903 | 1,977,763,705 | 12,903 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
My openai llm see to run fine but some how not getting the answer in Finished chain.
Model used
```
def llm_function(csv_file_name):
agent = create_csv_agent(
ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613", request_timeout=120),
csv_file_name,
... | Finished chain - None, when I run an csv_agent on a csv file. | https://api.github.com/repos/langchain-ai/langchain/issues/12900/comments | 3 | 2023-11-05T09:30:48Z | 2024-02-11T16:06:41Z | https://github.com/langchain-ai/langchain/issues/12900 | 1,977,689,238 | 12,900 |
[
"hwchase17",
"langchain"
] | ### System Info
I have successfully installed the apoc plugin by pressing the neo4j document, and run ` return apoc.version() ` on the neo4j client to return successfully.
However, when Neo4jGraph was used in Langchain connection, errors were still reported.
```
ValueError: Could not use APOC procedures. Please en... | Langchain connects Neo4j v5.9 error Could not use APOC procedures | https://api.github.com/repos/langchain-ai/langchain/issues/12901/comments | 14 | 2023-11-05T09:13:20Z | 2024-05-20T05:19:27Z | https://github.com/langchain-ai/langchain/issues/12901 | 1,977,701,382 | 12,901 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.330
Python 3.10.12
### 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 Selectors
- [ ] Output Parsers
... | Encounter KeyError: 'user_agent' while using CohereRerank() | https://api.github.com/repos/langchain-ai/langchain/issues/12899/comments | 6 | 2023-11-05T07:40:49Z | 2024-03-14T10:18:11Z | https://github.com/langchain-ai/langchain/issues/12899 | 1,977,674,946 | 12,899 |
[
"hwchase17",
"langchain"
] | ### System Info
Platform: macOS Sonoma 14.0
Python Version: 3.11
LangChain Version: 0.0.330
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Temp... | LLMChain does not stream | https://api.github.com/repos/langchain-ai/langchain/issues/12894/comments | 7 | 2023-11-04T22:00:53Z | 2024-07-18T16:07:19Z | https://github.com/langchain-ai/langchain/issues/12894 | 1,977,527,950 | 12,894 |
[
"hwchase17",
"langchain"
] | ### System Info
pip freeze
attrs==19.3.0
Automat==0.8.0
blinker==1.4
certifi==2019.11.28
chardet==3.0.4
Click==7.0
cloud-init==23.3.1
colorama==0.4.3
command-not-found==0.3
configobj==5.0.6
constantly==15.1.0
cryptography==2.8
dbus-python==1.2.16
diskcache==5.6.3
distro==1.4.0
distro-info==0.23+ubuntu... | It seems that stop does not work with ollama models. | https://api.github.com/repos/langchain-ai/langchain/issues/12892/comments | 8 | 2023-11-04T21:30:07Z | 2024-05-16T16:07:34Z | https://github.com/langchain-ai/langchain/issues/12892 | 1,977,518,229 | 12,892 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Page link: https://python.langchain.com/docs/modules/agents/agent_types/react#using-chat-models
Under "Using chat models", second paragraph:
```The main difference here is a different prompt. We will use JSON to encode the agent's actions (chat models are a bit tougher to s... | DOC: Typo under docs for using chat models for ReAct agents | https://api.github.com/repos/langchain-ai/langchain/issues/12891/comments | 2 | 2023-11-04T20:46:53Z | 2024-02-10T16:06:38Z | https://github.com/langchain-ai/langchain/issues/12891 | 1,977,501,097 | 12,891 |
[
"hwchase17",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.308
Macos ventura 13.2.1
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Te... | Langchain Structured_Chat_Zero_Shot_Description agent use no tools | https://api.github.com/repos/langchain-ai/langchain/issues/12883/comments | 3 | 2023-11-04T13:49:20Z | 2024-02-10T16:06:42Z | https://github.com/langchain-ai/langchain/issues/12883 | 1,977,348,240 | 12,883 |
[
"hwchase17",
"langchain"
] | ### System Info
Name: langchain Version: 0.0.308
Macos 13.2.1
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selecto... | Langchain OPENAI_MULTI_FUNCTIONS Agent doesn't retrieve the data from the second Input (Chain). Can OPENAI_MULTI_FUNCTIONS Agent realize two actions, one after the other ? | https://api.github.com/repos/langchain-ai/langchain/issues/12882/comments | 5 | 2023-11-04T13:41:28Z | 2024-02-12T16:07:58Z | https://github.com/langchain-ai/langchain/issues/12882 | 1,977,343,851 | 12,882 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
lass Node(BaseModel):
problem:str=Field(...,description="the problem related to fan")
causes:List[str]=Field(...,description="causes related to particular problem")
component:Dict[str,str]=Field(...,description='key should be component of fan and value should be descriptio... | Issue: <getting error in create_structured_output_chain prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/12879/comments | 5 | 2023-11-04T10:40:46Z | 2024-02-13T16:08:12Z | https://github.com/langchain-ai/langchain/issues/12879 | 1,977,275,775 | 12,879 |
[
"hwchase17",
"langchain"
] | ### System Info
Cohere embeddings v3 model requires a input_type parameter . This is specific to the new models as per cohere API doc. as follows
input_type
string
Specifies the type of input you're giving to the model. Not required for older versions of the embedding models (i.e. anything lower than v3), but is ... | Cohere embeddings API error . Doesnot work with its new v3 model | https://api.github.com/repos/langchain-ai/langchain/issues/12877/comments | 2 | 2023-11-04T08:18:38Z | 2023-11-04T13:25:35Z | https://github.com/langchain-ai/langchain/issues/12877 | 1,977,229,050 | 12,877 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version 0.0.330
Chroma version 0.4.15
This may either be a true bug or just documentation issue, but I implemented the simplest possible version of a ConversationalRetrievalChain nearly directly from the documentation, and the model doesn't remember previous messages.
```
from langcha... | Conversation memory example - previous messages not remembered | https://api.github.com/repos/langchain-ai/langchain/issues/12875/comments | 6 | 2023-11-04T06:41:49Z | 2024-03-29T12:25:48Z | https://github.com/langchain-ai/langchain/issues/12875 | 1,977,200,742 | 12,875 |
[
"hwchase17",
"langchain"
] | ### System Info
- OS: macOS Monterey Version 12.6 Chip Apple M1
- Python: 3.10.8
- langchain: 0.0.330
- google-auth: 2.23.4
Details:
```
python -V
Python 3.10.8
```
```
pip freeze
aiohttp==3.8.6
aiosignal==1.3.1
annotated-types==0.6.0
anyio==3.7.1
async-timeout==4.0.3
attrs==23.1.0
cachetools=... | GoogleDriveLoader with ADC default error | https://api.github.com/repos/langchain-ai/langchain/issues/12870/comments | 3 | 2023-11-04T01:36:09Z | 2024-07-22T17:43:34Z | https://github.com/langchain-ai/langchain/issues/12870 | 1,977,102,464 | 12,870 |
[
"hwchase17",
"langchain"
] | ### Feature request
I propose the addition of a testing module within the Langchain library that provides "Fake" implementations of various components, such as language models, chat models, document stores, retrievers, agents, and tools (I may have forgotten some key components). The purpose of these fake components i... | `langchain.testing` Module with Fake Components for Testing Downstream Langchain Applications | https://api.github.com/repos/langchain-ai/langchain/issues/12867/comments | 1 | 2023-11-03T22:44:46Z | 2024-02-09T16:07:48Z | https://github.com/langchain-ai/langchain/issues/12867 | 1,977,020,002 | 12,867 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version - 0.0.330
Python version - 3.10
### 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 Templ... | 'super' object has no attribute 'parse_obj' | https://api.github.com/repos/langchain-ai/langchain/issues/12866/comments | 6 | 2023-11-03T22:39:46Z | 2024-06-20T16:09:05Z | https://github.com/langchain-ai/langchain/issues/12866 | 1,977,015,555 | 12,866 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
There are some links that return "Page Not Found" and lead to [langchain/cookbook](https://python.langchain.com/cookbook) when refreshed.
The three links are under [Other types of agent runtimes](https://python.langchain.com/docs/modules/agents/#other-types-of-agent-runtimes).
... | DOC: Links for agent runtimes do not work | https://api.github.com/repos/langchain-ai/langchain/issues/12864/comments | 3 | 2023-11-03T22:24:15Z | 2024-02-09T16:07:53Z | https://github.com/langchain-ai/langchain/issues/12864 | 1,977,005,054 | 12,864 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
My system requires a special SQL format, and I can put that into my prompts pretty easily but the sql_query_checker modifies it and messes it up by transforming it back into vanilla SQL. How can I turn the checker off?
### Suggestion:
_No response_ | How can I disable the sql_query_checker? | https://api.github.com/repos/langchain-ai/langchain/issues/12863/comments | 3 | 2023-11-03T22:10:10Z | 2024-02-09T16:07:58Z | https://github.com/langchain-ai/langchain/issues/12863 | 1,976,990,108 | 12,863 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.263
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Documen... | OpenAIEmbeddings Sending TikToken Tokens Rather than Texts | https://api.github.com/repos/langchain-ai/langchain/issues/12854/comments | 6 | 2023-11-03T19:18:13Z | 2024-07-04T19:10:15Z | https://github.com/langchain-ai/langchain/issues/12854 | 1,976,794,880 | 12,854 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Here is the Error I am getting when I am Importing from langchain.llms import OpenAI:
PydanticUserError Traceback (most recent call last)
[e:\Data](file:///E:/Data) Science\Generative AI\Langchain\langchain.ipynb Cell 1 line 1
----> [1](vscode-notebook-cell:/... | "PydanticUserError" when importing OpenAI using Langchain.llms | https://api.github.com/repos/langchain-ai/langchain/issues/12852/comments | 4 | 2023-11-03T18:22:35Z | 2024-02-12T16:08:14Z | https://github.com/langchain-ai/langchain/issues/12852 | 1,976,736,591 | 12,852 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
If a pull request is submitted but not acted on, changes made in the pr to common modules like .toml and __init__.py can quickly become dated and require hand-reconciliation. Thn, when the pr is tested, it will fail and mayr enter a loop where it doesn't get tested again until it is agai... | Issue: Unclear timeline and process for PR | https://api.github.com/repos/langchain-ai/langchain/issues/12850/comments | 6 | 2023-11-03T17:45:47Z | 2024-02-13T16:08:23Z | https://github.com/langchain-ai/langchain/issues/12850 | 1,976,663,529 | 12,850 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I was following the tutorial [here](https://python.langchain.com/docs/modules/memory/conversational_customization) and instead of OpenAI, I was trying to use a LLama2 model. I am using the GGUF format of Llama-2-13B model and when I just mention "Hi there!" it goes into the following q... | Llama model entering into a lenghty question answer mode | https://api.github.com/repos/langchain-ai/langchain/issues/12848/comments | 7 | 2023-11-03T17:37:34Z | 2024-03-28T14:44:20Z | https://github.com/langchain-ai/langchain/issues/12848 | 1,976,652,400 | 12,848 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
def delete_document_embeddings_by_filename(file_path, persist_directory):
chroma_db = chromadb.PersistentClient(path=persist_directory)
print(chroma_db)
collection = chroma_db.get_collection(name="langchain")
print(collection)
collection.delete(where={"source": file_path})
output o... | Issue: not able to delete embeddings of a pdf from the embeddings folder | https://api.github.com/repos/langchain-ai/langchain/issues/12846/comments | 3 | 2023-11-03T17:23:36Z | 2024-02-09T16:08:19Z | https://github.com/langchain-ai/langchain/issues/12846 | 1,976,633,201 | 12,846 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.329
Python 3.10.11
MacOS 12.7.1 (21G920)
### 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 Select... | vectorstores/docarray: `_similarity_search_with_relevance_scores` raises a NotImplementedError | https://api.github.com/repos/langchain-ai/langchain/issues/12843/comments | 6 | 2023-11-03T16:33:14Z | 2024-03-22T16:05:55Z | https://github.com/langchain-ai/langchain/issues/12843 | 1,976,559,861 | 12,843 |
[
"hwchase17",
"langchain"
] | I am new to Langchain and OpenAI models. I am creating a custom PDF reading in Python using Langchain ChatOpenAI model to interact with the chat completion endpoint. I keep getting this error message and I don't know what to do. Please help. All suggestions are welcome!
Here is a part of my code where the error mess... | Issue: Langchain ChatOpenAI chat_model.complete error message: 'chatopenai' object has no attribute 'complete' | https://api.github.com/repos/langchain-ai/langchain/issues/12842/comments | 3 | 2023-11-03T16:26:06Z | 2023-11-15T17:05:49Z | https://github.com/langchain-ai/langchain/issues/12842 | 1,976,543,428 | 12,842 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.329
Python 3.9
Windows 10
### 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
- [ ] Outpu... | `ChatAnyscale` not working because of OpenAI API Key | https://api.github.com/repos/langchain-ai/langchain/issues/12841/comments | 8 | 2023-11-03T15:28:38Z | 2024-02-17T16:06:33Z | https://github.com/langchain-ai/langchain/issues/12841 | 1,976,450,097 | 12,841 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain = 0.0.329
I have the following code, and it works fine as long as the JSON file does not exist.
```
try:
content_formatter = LlamaContentFormatter()
formatter_template = "Write a {word_count} word essay about {topic}."
prompt = PromptTemplate(
... | When saving an LLM to JSON, and retrieving it back the content_formatter is null | https://api.github.com/repos/langchain-ai/langchain/issues/12840/comments | 3 | 2023-11-03T14:26:28Z | 2024-02-09T16:08:23Z | https://github.com/langchain-ai/langchain/issues/12840 | 1,976,320,267 | 12,840 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I use debian 11,
python 3.10,
anaconda3
langchain==0.0.240
RAM = 16 Go
swap = 10 Go
SSD = 60 GO
I try to use the simplest program with Ctransfors:
```
from langchain.llms import CTransformers
from langchain.chains import LLMChain
from langchain import PromptTemplate
... | Issue: core dumped / segmentation fault | https://api.github.com/repos/langchain-ai/langchain/issues/12835/comments | 3 | 2023-11-03T12:36:30Z | 2024-02-09T16:08:28Z | https://github.com/langchain-ai/langchain/issues/12835 | 1,976,111,325 | 12,835 |
[
"hwchase17",
"langchain"
] | ### System Info
Python == 3.9.18
Langchain == 0.0.327
### Who can help?
MultiRetrievalQAChain
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prom... | MultiRetrievalQAChain - unable to return source document when I use multiple documents | https://api.github.com/repos/langchain-ai/langchain/issues/12834/comments | 3 | 2023-11-03T12:32:47Z | 2024-02-09T16:08:33Z | https://github.com/langchain-ai/langchain/issues/12834 | 1,976,102,264 | 12,834 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
def delete_document_embeddings_by_filename(file_name, persist_directory):
print(file_name,"file_name is ")
print(persist_directory,"persist_directory is")
chroma_db = chromadb.PersistentClient(path=persist_directory)
print(chroma_db,"chroma_db is ---------------->>>... | Issue: Not able to delete embeddings of a file | https://api.github.com/repos/langchain-ai/langchain/issues/12833/comments | 6 | 2023-11-03T12:28:42Z | 2024-02-12T16:08:34Z | https://github.com/langchain-ai/langchain/issues/12833 | 1,976,092,559 | 12,833 |
[
"hwchase17",
"langchain"
] | ### System Info
- Langchain=0.0.325
- Python=3.10.0
- Windows
### Who can help?
@IlyaMichlin @hwchase17 @baskaryan
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / P... | RecursiveCharacterTextSplitter with regex separator raises error if there is only 1 match of the regex | https://api.github.com/repos/langchain-ai/langchain/issues/12832/comments | 4 | 2023-11-03T12:25:13Z | 2024-02-09T16:08:43Z | https://github.com/langchain-ai/langchain/issues/12832 | 1,976,083,720 | 12,832 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am wondering if I need to adjust the prompt template of the combine_docs_chain (combine_docs_chain.llm_chain.prompt.template) to account for the needs of llama 2 models that require the following format:
[INST] <<SYS>> You are a HR-assistant that answers questions:
<</SYS>>
{que... | Issue: Is langchain automatically adjusting its prompts to account for required formats of models such as llama2? | https://api.github.com/repos/langchain-ai/langchain/issues/12826/comments | 4 | 2023-11-03T10:56:15Z | 2024-04-09T13:23:54Z | https://github.com/langchain-ai/langchain/issues/12826 | 1,975,931,873 | 12,826 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain=0.0.208
platform=Windows
python=3.9.16
### 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
- ... | Extraction of contents from docx files through UnstructuredWordDocumentLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12825/comments | 18 | 2023-11-03T10:03:17Z | 2024-02-21T16:07:54Z | https://github.com/langchain-ai/langchain/issues/12825 | 1,975,828,491 | 12,825 |
[
"hwchase17",
"langchain"
] | ### Feature request
In OpenSearchVectorSearch langchain wrapper there is no way to delete the indexes from vector DB.
### Motivation
I was working on a project and had to delete some indexes because they already existed in DB.
Had to write the code myself to do that.
### Your contribution
Yes I can create a PR... | Request to add OpenSearchVectorSearch delete index method | https://api.github.com/repos/langchain-ai/langchain/issues/12824/comments | 1 | 2023-11-03T09:43:28Z | 2024-02-09T16:08:53Z | https://github.com/langchain-ai/langchain/issues/12824 | 1,975,799,508 | 12,824 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When you give a query, it rephrases the query(which isn't the issue), but the rephrased query gets shown which is very problematic because it delays response and the rephrase gets shown to the user.
example, if I ask What is an apple is, i get shown something like " What is the definiti... | Issue: rephrasing of question in Conversational retrieval chain which delays responses and users see it | https://api.github.com/repos/langchain-ai/langchain/issues/12823/comments | 3 | 2023-11-03T09:10:55Z | 2024-02-09T16:08:58Z | https://github.com/langchain-ai/langchain/issues/12823 | 1,975,736,883 | 12,823 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I want to read otp using gmail tool kit but I am getting an errror when the email is in form of HTML or in image form .
How do I fix this ?
### Suggestion:
_No response_ | Unable to read OTP from an email whose content is in form of HTML/Image | https://api.github.com/repos/langchain-ai/langchain/issues/12820/comments | 3 | 2023-11-03T06:34:28Z | 2024-02-09T16:09:03Z | https://github.com/langchain-ai/langchain/issues/12820 | 1,975,535,523 | 12,820 |
[
"hwchase17",
"langchain"
] | ### Feature request
Move Chat [LangChain](https://github.com/langchain-ai/chat-langchain) into a template.
### Motivation
ChatLangchain has useful features (prompts, etc) that should be captured in a templates.
### Your contribution
Add template | [Chat template] Chat LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/12818/comments | 2 | 2023-11-03T04:14:37Z | 2024-02-09T16:09:08Z | https://github.com/langchain-ai/langchain/issues/12818 | 1,975,429,808 | 12,818 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Converting https://python.langchain.com/ to a pdf using https://github.com/jean-humann/docs-to-pdf runs forever because https://python.langchain.com/docs/expression_language/cookbook/tools --next leads to a previous page.
`npx docs-to-pdf --initialDocURLs="https://python.langch... | DOC: docs/expression_language/cookbook/tools --next leads to a previous page | https://api.github.com/repos/langchain-ai/langchain/issues/12815/comments | 5 | 2023-11-03T02:53:58Z | 2024-02-12T16:08:39Z | https://github.com/langchain-ai/langchain/issues/12815 | 1,975,379,949 | 12,815 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.311
### 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
- [X] Docum... | Langchain ConfluenceLoader.load(): Get "when" field in metadata | https://api.github.com/repos/langchain-ai/langchain/issues/12812/comments | 4 | 2023-11-03T00:26:16Z | 2024-05-14T16:06:46Z | https://github.com/langchain-ai/langchain/issues/12812 | 1,975,246,193 | 12,812 |
[
"hwchase17",
"langchain"
] | ### Feature request
Example of what NOT to do:
https://github.com/langchain-ai/langchain/issues/12507
Langchain, PLEASE stop doing this. PLEASE make all your updates backwards compatible. As it is, if you keep making changes like moving modules around, existing scripts break with every new update of Langchain.
##... | PLEASE make all subsequent versions of Langchain backwards compatible!!! | https://api.github.com/repos/langchain-ai/langchain/issues/12803/comments | 3 | 2023-11-02T21:07:39Z | 2024-02-09T16:09:18Z | https://github.com/langchain-ai/langchain/issues/12803 | 1,975,037,118 | 12,803 |
[
"hwchase17",
"langchain"
] | ### Feature request
The new cohere V3 embed endpoints have a new required parameter - input_type.
Langchain currently doesn't support this parameter
https://txt.cohere.com/introducing-embed-v3/
### Motivation
Being able to use the newest multilingual embedding capabilities is something users who are developing a... | Add support for Cohere embed V3 | https://api.github.com/repos/langchain-ai/langchain/issues/12793/comments | 10 | 2023-11-02T17:15:12Z | 2023-11-07T14:22:53Z | https://github.com/langchain-ai/langchain/issues/12793 | 1,974,708,436 | 12,793 |
[
"hwchase17",
"langchain"
] | ### System Info
Sample Snippet:
```
from langchain.chains.question_answering import load_qa_chain
chain = load_qa_chain(llm, chain_type = "stuff")
query = "decentralized identity"
docs = docsearch.similarity_search(query)
text = chain({"input_documents": docs, "question": query, "verbose": True})
```
E... | Issue: Amazon Bedrock Cohere Command LLM - Malformed input request: 2 schema violations found | https://api.github.com/repos/langchain-ai/langchain/issues/12790/comments | 4 | 2023-11-02T16:06:47Z | 2024-02-12T16:08:43Z | https://github.com/langchain-ai/langchain/issues/12790 | 1,974,583,805 | 12,790 |
[
"hwchase17",
"langchain"
] | when i used vocab_only=True for tokenize and add documents to opensearch vectors store, facing the following issue. could you please help me to fix,
GGML_ASSERT: C:\Users\pip-install-vabntc\project\llama-cpp-python\vendor\llama.cpp\llama.cpp:4032: !!kv_self.ctx | GGML_ASSERT when using LlamaCppEmbeddings using langchain with quantized Llama 7B chat model | https://api.github.com/repos/langchain-ai/langchain/issues/12788/comments | 4 | 2023-11-02T15:23:06Z | 2023-11-03T04:00:11Z | https://github.com/langchain-ai/langchain/issues/12788 | 1,974,495,685 | 12,788 |
[
"hwchase17",
"langchain"
] | ### System Info
Version 0.0.328, macOS, Python 3.11.5
In [_convert_website_search_response() ](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/retrievers/google_vertex_ai_search.py#L120-L154) of [langchain.retrievers.google_vertex_ai_search](https://github.com/langchain-ai/langchain/b... | UnboundLocalError in langchain.retrievers.google_vertex_ai_search | https://api.github.com/repos/langchain-ai/langchain/issues/12780/comments | 5 | 2023-11-02T13:07:25Z | 2024-02-05T22:55:14Z | https://github.com/langchain-ai/langchain/issues/12780 | 1,974,212,272 | 12,780 |
[
"hwchase17",
"langchain"
] | ### Feature request
WebResearchRetriever is a really great way to build a RAG based solution on public data. The challenge with using it in production is two things:
1. WebResearchRetriever contains a field called url_database and its an in memory python list, it would be good to provide some sort of alternative (m... | WebResearchRetriever enhancement with Memory and Reingestion of Documents | https://api.github.com/repos/langchain-ai/langchain/issues/12776/comments | 2 | 2023-11-02T12:35:11Z | 2024-02-08T16:10:20Z | https://github.com/langchain-ai/langchain/issues/12776 | 1,974,157,607 | 12,776 |
[
"hwchase17",
"langchain"
] | ### System Info
linux: 6.5.0-asahi-15-1-edge-ARCH
python=3.11.5
langchain=0.0.327
sentence-transformers=2.2.2
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Pr... | Core dump with Hugginface Embedding on aarch64 (M1 macbook) | https://api.github.com/repos/langchain-ai/langchain/issues/12775/comments | 14 | 2023-11-02T11:51:02Z | 2024-02-18T16:06:42Z | https://github.com/langchain-ai/langchain/issues/12775 | 1,974,087,849 | 12,775 |
[
"hwchase17",
"langchain"
] | ### Feature request
**Status Quo**
Currently, the [MathpixPDFLoader](https://api.python.langchain.com/en/latest/_modules/langchain/document_loaders/pdf.html#MathpixPDFLoader) sets its data property as follows:
```
@property
def data(self) -> dict:
options = {"conversion_formats": {self.proce... | Add option to set request parameters for MathpixPDFLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12773/comments | 3 | 2023-11-02T10:29:26Z | 2024-02-01T19:02:45Z | https://github.com/langchain-ai/langchain/issues/12773 | 1,973,949,972 | 12,773 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The error
{'error': [{'message': "'id' is a reserved property name, no such prop with name 'id' found in class 'LangChain_14ee2519c3154dcb9ea3f47a8967d0e8' in the schema. Check your schema files for which properties in this class are available"}]}
loader = ConfluenceLoader(
url="URL... | Issue: Schema error when ingesting documents | https://api.github.com/repos/langchain-ai/langchain/issues/12772/comments | 2 | 2023-11-02T10:19:42Z | 2024-02-09T16:09:28Z | https://github.com/langchain-ai/langchain/issues/12772 | 1,973,933,503 | 12,772 |
[
"hwchase17",
"langchain"
] | ### System Info
Running langchain in Nextjs app
```
"langchain": "^0.0.175",
"next": "^13.5.2",
"react": "18.2.0",
```
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] E... | YoutubeLoader throws 'module not found' error | https://api.github.com/repos/langchain-ai/langchain/issues/12771/comments | 4 | 2023-11-02T10:15:03Z | 2024-02-12T16:08:54Z | https://github.com/langchain-ai/langchain/issues/12771 | 1,973,925,566 | 12,771 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When using FAISS vector store, how can I get the size of vector store?
For example, I used FAISS.load_local(path, embeddings) to load a vector store, how to get the size of the loaded vector store? Which should be the total number of documents in it.
### Suggestion:
_No response_ | Issue: When using FAISS vector store, how can I get the size of vector store | https://api.github.com/repos/langchain-ai/langchain/issues/12767/comments | 5 | 2023-11-02T07:38:15Z | 2024-03-21T04:37:09Z | https://github.com/langchain-ai/langchain/issues/12767 | 1,973,677,488 | 12,767 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain == 0.0.327
sqlite3
Here's how the setup is done
Entity memory
```
memory = ConversationEntityMemory(
llm=llm,
input_key='question',
entity_store=store,
chat_history_key='chat_history',
return_messages=True
)... | ConversationEntityMemory + SQLiteEntityStore doesn't store chat_history to the database at all | https://api.github.com/repos/langchain-ai/langchain/issues/12766/comments | 2 | 2023-11-02T07:34:53Z | 2024-02-08T16:10:36Z | https://github.com/langchain-ai/langchain/issues/12766 | 1,973,673,398 | 12,766 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
In create_Sql_agent, when the agent is querying a table schema with partition field, it nevers adds parition and the program goes wrong, how to let the agent add partition field everytime it queries a table schema? Many thanks.
### Suggestion:
_No response_ | create_sql_agent checks schema of a table with partiton field always goes wrong | https://api.github.com/repos/langchain-ai/langchain/issues/12765/comments | 2 | 2023-11-02T06:38:16Z | 2024-02-08T16:10:40Z | https://github.com/langchain-ai/langchain/issues/12765 | 1,973,604,467 | 12,765 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I tried to use webscraping by using langchain and used the async chromium loader as per the lanchain documentation but I was getting error asyncio.run() error so I made some chnages that i found on web but its still not working .
below is the code:
import asyncio
import playwright
fr... | Issue: getting not implemented error when using async chromium loader | https://api.github.com/repos/langchain-ai/langchain/issues/12763/comments | 7 | 2023-11-02T04:34:54Z | 2024-07-06T16:05:28Z | https://github.com/langchain-ai/langchain/issues/12763 | 1,973,488,881 | 12,763 |
[
"hwchase17",
"langchain"
] | ### Feature request
DPP (Determinantal Point Process) retriever for retrieve examples.
### Motivation
DPPRetriever can obtain diverse examples. Therefore, I think DDP is needed in langchain.
### Your contribution
NO | DPP retriever | https://api.github.com/repos/langchain-ai/langchain/issues/12761/comments | 3 | 2023-11-02T03:08:49Z | 2024-02-20T16:07:41Z | https://github.com/langchain-ai/langchain/issues/12761 | 1,973,423,287 | 12,761 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I provide the agent a get_date function as a tool,but when I ask the agent what is today's date, the agent provide the action and action input, but instead of executing it, it directly finished the chain。
 for the backend and Streamlit for the frontend. It works, but for some users' questions, it takes too much time to output anything. If I look at the output of intermediate steps, I can see that the chatbot tries to pri... | Issue: analytic chatbot that's based on Langchain (with agents and tools) and Streamlit is too slow | https://api.github.com/repos/langchain-ai/langchain/issues/12758/comments | 2 | 2023-11-02T01:05:08Z | 2024-04-08T16:07:51Z | https://github.com/langchain-ai/langchain/issues/12758 | 1,973,327,167 | 12,758 |
[
"hwchase17",
"langchain"
] | ### System Info
Running with `langchain==0.0.327` on Fedora Linux and Windows.
Finetuning with `gpt-3.5-turbo-16k-0613`.
Language: `Python 3.10.11`
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components... | Langchain Agent Duplicates Response Separated by "\n" with Finetuned LLM | https://api.github.com/repos/langchain-ai/langchain/issues/12752/comments | 3 | 2023-11-01T23:15:52Z | 2024-03-27T12:43:12Z | https://github.com/langchain-ai/langchain/issues/12752 | 1,973,243,397 | 12,752 |
[
"hwchase17",
"langchain"
] | ### Feature request
Template that show routing across N datastores
### Motivation
Reasoning about [where to fetch information (https://python.langchain.com/docs/expression_language/how_to/routing) from a natural language query is important for retrieval across data sources.
### Your contribution
Add template | [Extraction template] Query decomposition + routing | https://api.github.com/repos/langchain-ai/langchain/issues/12745/comments | 2 | 2023-11-01T21:05:55Z | 2024-02-07T16:09:43Z | https://github.com/langchain-ai/langchain/issues/12745 | 1,973,112,630 | 12,745 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add template to simplify fine-tuning
### Motivation
[LLM fine-tuning](https://blog.langchain.dev/using-langsmith-to-support-fine-tuning-of-open-source-llms/) can improve task-specific performance
### Your contribution
Add template | [Fine tuning template] Fine-tune LLM | https://api.github.com/repos/langchain-ai/langchain/issues/12744/comments | 1 | 2023-11-01T21:00:11Z | 2024-02-07T16:09:48Z | https://github.com/langchain-ai/langchain/issues/12744 | 1,973,104,857 | 12,744 |
[
"hwchase17",
"langchain"
] | ### Feature request
Set up template to simplify fine-tuning of embedding models.
### Motivation
[Fine-tuning](https://blog.langchain.dev/using-langsmith-to-support-fine-tuning-of-open-source-llms/) of embedding models can improve RAG.
### Your contribution
Add template | [Fine tuning template] Fine-tune embedding model | https://api.github.com/repos/langchain-ai/langchain/issues/12743/comments | 2 | 2023-11-01T20:57:07Z | 2024-02-08T16:10:50Z | https://github.com/langchain-ai/langchain/issues/12743 | 1,973,100,842 | 12,743 |
[
"hwchase17",
"langchain"
] | ### Feature request
Given a runnable (e.g., RAG pipeline) automatically run eval against a given (public) dataset
### Motivation
Made evaluation simple by abstracting w/ a template and passing in only a runnable.
(Template can be called as RemoteRunnable.)
Benchmark your runnable on an existing public LangSmith d... | [Evaluation template] Runs evaluation against LangSmith (public) dataset | https://api.github.com/repos/langchain-ai/langchain/issues/12742/comments | 1 | 2023-11-01T20:53:55Z | 2024-02-07T16:09:58Z | https://github.com/langchain-ai/langchain/issues/12742 | 1,973,096,837 | 12,742 |
[
"hwchase17",
"langchain"
] | ### Feature request
Synthetic dataset generation and extraction (to JSON or similar)
### Motivation
Datasets (for eval or fine-tuning) are challenging to generate. Some prompts have used LLMs to [generate](https://smith.langchain.com/hub/homanp/question-answer-pair?ref=blog.langchain.dev&organizationId=1fa8b1f4-fcb9... | [Data generation template] Synthetic QA pairs from input document | https://api.github.com/repos/langchain-ai/langchain/issues/12741/comments | 1 | 2023-11-01T20:40:08Z | 2024-02-07T16:10:03Z | https://github.com/langchain-ai/langchain/issues/12741 | 1,973,076,333 | 12,741 |
[
"hwchase17",
"langchain"
] | ### Feature request
Summarization on audio content (podcasts, YT videos, lectures) would be useful.
### Motivation
Prior work by [AssemblyAI](https://github.com/AssemblyAI/youtube-tutorials/blob/main/podcast-summary-app/podcasts.py) has focused on this.
### Your contribution
Add template | [Summarization template] Audio | https://api.github.com/repos/langchain-ai/langchain/issues/12740/comments | 5 | 2023-11-01T20:36:18Z | 2024-06-18T09:12:29Z | https://github.com/langchain-ai/langchain/issues/12740 | 1,973,071,476 | 12,740 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.