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" ]
### Feature request Is it possible to use QLoRA adapter finetuned for literature with langchain. Not to train by normal way? ### Motivation - ### Your contribution -
Can 'adapter_model.bin' be used with langchain, not to train by normal way?
https://api.github.com/repos/langchain-ai/langchain/issues/6343/comments
1
2023-06-17T16:57:52Z
2023-09-23T16:04:48Z
https://github.com/langchain-ai/langchain/issues/6343
1,761,923,834
6,343
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. This issue is created at langchain v0.0.202 Consider the [ListDirectoryTool](https://github.com/hwchase17/langchain/blob/0475d015fe0eb4a997c7d37867e316a23dde8aaa/langchain/tools/file_management/list_dir.py#L21) Its only parameter has a default value as the `.` current dir. It...
Tools with only default arguments still require a parameter to `run()`
https://api.github.com/repos/langchain-ai/langchain/issues/6337/comments
1
2023-06-17T16:24:00Z
2023-06-19T02:17:36Z
https://github.com/langchain-ai/langchain/issues/6337
1,761,912,722
6,337
[ "hwchase17", "langchain" ]
### System Info It seems that the library is only supported when the deployment type on AzureOpenAI is an engine. When I try to use a deployment_id which is the new way to deploy models on Azure I can't make it work. This code works well outside of long-chain. Note that I am not using an engine here, but the deplo...
Azure OpenAI with deployment_id is not working.
https://api.github.com/repos/langchain-ai/langchain/issues/6336/comments
5
2023-06-17T15:44:30Z
2023-10-26T16:07:19Z
https://github.com/langchain-ai/langchain/issues/6336
1,761,901,187
6,336
[ "hwchase17", "langchain" ]
### Issue with current documentation: In the left panel, can't list all sub-topics properly ![image](https://github.com/hwchase17/langchain/assets/17263036/ce0b8737-8044-41cf-b390-51e2ffe89745) I am using https://python.langchain.com/docs/modules/model_io/prompts/example_selectors/, it was correct at least 24H ...
DOC: CSS for the left panel seems broken
https://api.github.com/repos/langchain-ai/langchain/issues/6335/comments
1
2023-06-17T13:57:41Z
2023-06-27T07:44:00Z
https://github.com/langchain-ai/langchain/issues/6335
1,761,865,066
6,335
[ "hwchase17", "langchain" ]
### System Info LangChain = 0.0.202 Python = 3.9.16 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Par...
Pass custom System Message to OpenAI Functions Agent
https://api.github.com/repos/langchain-ai/langchain/issues/6334/comments
32
2023-06-17T13:14:16Z
2024-01-08T23:35:03Z
https://github.com/langchain-ai/langchain/issues/6334
1,761,843,166
6,334
[ "hwchase17", "langchain" ]
### System Info Versions of the libs: langchain 0.0.202 langchainplus-sdk 0.0.10 numpy 1.24.3 In the lambda I have python 3.10 running I have imported langchain i an AWS lambda function and I get this error, hay anyone encoutered the same issue when running lanchgain in l...
error in AWS Lambda when importing langchain library
https://api.github.com/repos/langchain-ai/langchain/issues/6333/comments
11
2023-06-17T12:42:07Z
2024-06-19T10:44:38Z
https://github.com/langchain-ai/langchain/issues/6333
1,761,816,699
6,333
[ "hwchase17", "langchain" ]
### System Info LangChain: `langchain==0.0.202` GPT4All: `gpt4all==0.3.4` Python version: `Python 3.11.3` OS: Windows 11 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Mod...
Cannot instantiate a GPT4All integration in LangChain
https://api.github.com/repos/langchain-ai/langchain/issues/6330/comments
1
2023-06-17T10:13:04Z
2023-06-17T16:10:32Z
https://github.com/langchain-ai/langchain/issues/6330
1,761,763,566
6,330
[ "hwchase17", "langchain" ]
### Issue with current documentation: Dated 17th June 2023 , I am not able to get access to pandas agent and csv agent pages on the documentation page. Is it because langchain is updating? ### Idea or request for content: _No response_
Pandas Agent and CSV Agent documemtation page missing
https://api.github.com/repos/langchain-ai/langchain/issues/6329/comments
1
2023-06-17T07:48:40Z
2023-09-23T16:04:54Z
https://github.com/langchain-ai/langchain/issues/6329
1,761,695,436
6,329
[ "hwchase17", "langchain" ]
### System Info Langchain version langchain==0.0.201 ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [ ] Vector Stores / Retrievers - [ ] Memory - [ ] Agents / Agent Executors - [X] T...
format_tool_to_openai_function includes title and description, when it is not necessary
https://api.github.com/repos/langchain-ai/langchain/issues/6324/comments
7
2023-06-17T04:34:20Z
2024-02-05T23:13:10Z
https://github.com/langchain-ai/langchain/issues/6324
1,761,634,904
6,324
[ "hwchase17", "langchain" ]
### System Info langchain ver: 0.0.202 python: 3.10_3 I've got this error: ```python Traceback (most recent call last): File "C:\Users\catsk\SourceCode\azure_openai_poc\venv\lib\site-packages\langchain\agents\chat\output_parser.py", line 18, in parse action = text.split("```")[1] IndexError: list index ...
langchain\agents\chat\output_parser.py line 18, IndexError: list index out of range
https://api.github.com/repos/langchain-ai/langchain/issues/6322/comments
5
2023-06-17T02:35:41Z
2023-10-09T16:06:41Z
https://github.com/langchain-ai/langchain/issues/6322
1,761,594,228
6,322
[ "hwchase17", "langchain" ]
### Issue with current documentation: https://python.langchain.com/en/latest/ gives 404 ### Idea or request for content: _No response_
DOC: langchain py docs broken fulling on latest
https://api.github.com/repos/langchain-ai/langchain/issues/6312/comments
3
2023-06-16T20:58:30Z
2023-09-18T16:21:33Z
https://github.com/langchain-ai/langchain/issues/6312
1,761,334,387
6,312
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.202 qdrant-client==1.2.0 ### 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 Selec...
Qdrant from LangChain failed
https://api.github.com/repos/langchain-ai/langchain/issues/6298/comments
3
2023-06-16T16:55:11Z
2023-10-05T16:09:16Z
https://github.com/langchain-ai/langchain/issues/6298
1,760,994,973
6,298
[ "hwchase17", "langchain" ]
### System Info Version: 0.0.170 Platform: Ubuntu 20.04 Python: 3.8.10 ### Who can help? @agol ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ...
Langchain running on 8000 port (and colliding with my API server)
https://api.github.com/repos/langchain-ai/langchain/issues/6294/comments
4
2023-06-16T15:40:12Z
2023-12-26T16:07:36Z
https://github.com/langchain-ai/langchain/issues/6294
1,760,874,414
6,294
[ "hwchase17", "langchain" ]
### Feature request This adds support for Apache Cassandra's vector search capabilities (see [CEP-30](https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-30%3A+Approximate+Nearest+Neighbor(ANN)+Vector+Search+via+Storage-Attached+Indexes). ### Motivation The importance of Vector Search in nowaday's AI/LL...
[FEATURE] Cassandra-based Vector Store
https://api.github.com/repos/langchain-ai/langchain/issues/6291/comments
1
2023-06-16T14:32:39Z
2023-09-22T16:08:41Z
https://github.com/langchain-ai/langchain/issues/6291
1,760,763,193
6,291
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. **BACKGROUND:** We want to assign a personality to the agent. We simultaneously want this agent to be capable of running/selecting/using multiple tools. We tried passing the personality in the "PREFIX". We tried using prompt template. It didn't really work - it wouldn't stick to the...
Making principal agent stick to a personality (while also robustly selecting tools)
https://api.github.com/repos/langchain-ai/langchain/issues/6290/comments
6
2023-06-16T14:26:54Z
2023-10-15T16:06:23Z
https://github.com/langchain-ai/langchain/issues/6290
1,760,751,500
6,290
[ "hwchase17", "langchain" ]
### Feature request support other metrics in faiss except Euclidean distance ### Motivation the code in faiss had only supprt euclidean distance, like code below index = faiss.IndexFlatL2(len(embeddings[0])) ```python @classmethod def __from( cls, texts: List[str], embeddings: ...
support other metrics in faiss except Euclidean distance
https://api.github.com/repos/langchain-ai/langchain/issues/6289/comments
1
2023-06-16T14:24:14Z
2023-09-22T16:06:35Z
https://github.com/langchain-ai/langchain/issues/6289
1,760,746,792
6,289
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.201 Python 3.10.8 ### 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 Selectors - [X] Outp...
load_summarize_chain with Pydantic format instructions return cut at the end output (as it stops writing in the middle of the sentence)
https://api.github.com/repos/langchain-ai/langchain/issues/6288/comments
2
2023-06-16T14:09:32Z
2023-09-22T16:08:13Z
https://github.com/langchain-ai/langchain/issues/6288
1,760,717,146
6,288
[ "hwchase17", "langchain" ]
### System Info ==versions== python 3.9 langchain 0.0.186 pydantic 1.10.8 windows 11 ### Who can help? @agola ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prom...
CohereEmbeddings do not work in Context class
https://api.github.com/repos/langchain-ai/langchain/issues/6284/comments
1
2023-06-16T13:01:20Z
2023-09-22T16:07:27Z
https://github.com/langchain-ai/langchain/issues/6284
1,760,598,894
6,284
[ "hwchase17", "langchain" ]
### System Info LangChain version 0.0.201 ### Who can help? @hwchase17 @agola ### 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 - ...
LLMRequestsChain not enforcing headers when making http requests
https://api.github.com/repos/langchain-ai/langchain/issues/6282/comments
0
2023-06-16T12:44:22Z
2023-06-16T23:21:02Z
https://github.com/langchain-ai/langchain/issues/6282
1,760,571,834
6,282
[ "hwchase17", "langchain" ]
### System Info Setting LANGCHAIN_SESSION through env variable gives the following error: WARNING:root:Failed to load dev session, using empty session: list index out of range ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Comp...
Setting session name through env variable LANGCHAIN_SESSION
https://api.github.com/repos/langchain-ai/langchain/issues/6279/comments
1
2023-06-16T11:14:52Z
2023-06-16T11:24:05Z
https://github.com/langchain-ai/langchain/issues/6279
1,760,412,224
6,279
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.201 python 3.11 debian bookworm ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Out...
The base Chain acall method is not truly async should I want to implement a AsyncpgEntityStore
https://api.github.com/repos/langchain-ai/langchain/issues/6272/comments
4
2023-06-16T07:52:58Z
2023-12-26T08:06:42Z
https://github.com/langchain-ai/langchain/issues/6272
1,760,126,147
6,272
[ "hwchase17", "langchain" ]
### Feature request class PyPDFLoader in [document_loaders/pdf.py](https://github.com/hwchase17/langchain/blob/master/langchain/document_loaders/pdf.py) to accept bytes object as well. ### Motivation When a PDF file is uploaded using a REST API call, there is no specific file_path to load from. The solution ca...
PyPDFLoader to accept bytes objects as well
https://api.github.com/repos/langchain-ai/langchain/issues/6265/comments
13
2023-06-16T06:07:23Z
2024-07-11T16:05:44Z
https://github.com/langchain-ai/langchain/issues/6265
1,759,982,748
6,265
[ "hwchase17", "langchain" ]
### System Info ![hi](https://github.com/hwchase17/langchain/assets/5000490/b22c82e7-6d78-4eb6-9c46-5d888ed1d7cf) ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ]...
I just said hi. model is in multiple rounds of conversations with himself. Why?
https://api.github.com/repos/langchain-ai/langchain/issues/6264/comments
9
2023-06-16T05:09:08Z
2024-06-04T17:33:57Z
https://github.com/langchain-ai/langchain/issues/6264
1,759,930,467
6,264
[ "hwchase17", "langchain" ]
### System Info If we do not pass the model_name in the AzureOpenAI() wrapper, it picks up text-davinci-003 as the default model which in turn makes the cost calculation of tokens incorrect. Should model_name be made mandatory parameter for AzureOpenAI() ### Who can help? @hwchase17 @agola11 ### Information - [...
For AzureOpenAI() wrapper deafault model_name is text-davinci-003
https://api.github.com/repos/langchain-ai/langchain/issues/6259/comments
4
2023-06-16T01:41:22Z
2024-01-30T00:43:55Z
https://github.com/langchain-ai/langchain/issues/6259
1,759,782,359
6,259
[ "hwchase17", "langchain" ]
### System Info Python 3.10, langchain=0.0.201 ### Who can help? @eyurtsev ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [X...
GoogleDriveLoader no longer filters based on file_type paramter
https://api.github.com/repos/langchain-ai/langchain/issues/6257/comments
1
2023-06-15T22:56:58Z
2023-06-19T00:47:59Z
https://github.com/langchain-ai/langchain/issues/6257
1,759,648,276
6,257
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have loaded a csv and I am reading it using create_pandas_dataframe_agent , when i query to gpt 3.5 turbo, i usually get the token exceeded over 4097 issue, is there a way i can subside that for example there are features like chain_type='refine', 'map_reduce' in document summarizer to...
Issue: create_pandas_dataframe_agent token size issue
https://api.github.com/repos/langchain-ai/langchain/issues/6254/comments
5
2023-06-15T20:43:52Z
2023-12-28T16:07:47Z
https://github.com/langchain-ai/langchain/issues/6254
1,759,522,409
6,254
[ "hwchase17", "langchain" ]
### System Info Langchain version >= 0.0.198 and python version 3.9 ### 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 -...
Can not import NotRequired from typing_extensions.py
https://api.github.com/repos/langchain-ai/langchain/issues/6245/comments
2
2023-06-15T18:24:08Z
2023-09-22T16:07:01Z
https://github.com/langchain-ai/langchain/issues/6245
1,759,338,462
6,245
[ "hwchase17", "langchain" ]
### Feature request Allow a way within the source documents to determine if identified text in the map step has relevant information that was extracted or not, as well as find the text that was extracted from the sources. ### Motivation Currently, when the output returns the source documents, it identifies all of th...
Map Reduce in Document Chain within a Conversational Retrieval Chains: Allow a way to determine if sources are relevant in output
https://api.github.com/repos/langchain-ai/langchain/issues/6240/comments
2
2023-06-15T16:53:57Z
2023-09-23T16:05:14Z
https://github.com/langchain-ai/langchain/issues/6240
1,759,218,101
6,240
[ "hwchase17", "langchain" ]
### System Info It's currently not possible to switch from making calls from AzureChatOpenAI to ChatOpenAI in the same process. This is an issue for folks who use OpenAI's API as a fallback (in case Azure returns a filtered response, or you hit the (usually much lower) rate limit). ### Who can help? _No response_ #...
Cannot switch from AzureChatOpenAI to ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/6238/comments
1
2023-06-15T16:49:15Z
2023-09-21T16:07:36Z
https://github.com/langchain-ai/langchain/issues/6238
1,759,212,317
6,238
[ "hwchase17", "langchain" ]
### System Info Gmail toolkit cannot handle sending email to one person correctly - if I want to send email to one person it doesn't consider that `action_input` should look like: ``` { ... to: ["email@gmail.com"] ... } ``` Instead it look like: ``` { ... to: "email@gmail.com" ...
Gmail toolkit cannot handle sending email to one person correctly
https://api.github.com/repos/langchain-ai/langchain/issues/6234/comments
0
2023-06-15T15:30:50Z
2023-06-21T08:25:51Z
https://github.com/langchain-ai/langchain/issues/6234
1,759,091,335
6,234
[ "hwchase17", "langchain" ]
https://github.com/hwchase17/langchain/blob/c7db9febb0edeba1ea108adc4423b789404ce5f2/langchain/experimental/plan_and_execute/schema.py#L31 From `class ListStepContainer(BaseModel):` To `class ListStepContainer(BaseStepContainer):`
correct the base class
https://api.github.com/repos/langchain-ai/langchain/issues/6231/comments
0
2023-06-15T15:16:56Z
2023-07-13T07:03:03Z
https://github.com/langchain-ai/langchain/issues/6231
1,759,059,676
6,231
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.190 ### 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 - [ ] Output Parsers - [...
The parameter 'n' in ChatOpenAI only creates one completion
https://api.github.com/repos/langchain-ai/langchain/issues/6227/comments
2
2023-06-15T13:56:28Z
2023-06-15T18:21:51Z
https://github.com/langchain-ai/langchain/issues/6227
1,758,900,392
6,227
[ "hwchase17", "langchain" ]
### System Info Version: 0.0.200 ### Who can help? @hwchase17 , @agola11 - I have a PR ready ... creating an issue so I can pair it ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Pro...
OpenAI functions dont work with async streaming...
https://api.github.com/repos/langchain-ai/langchain/issues/6225/comments
0
2023-06-15T13:22:11Z
2023-06-19T00:05:18Z
https://github.com/langchain-ai/langchain/issues/6225
1,758,831,104
6,225
[ "hwchase17", "langchain" ]
### System Info langchain version: 0.0.200 OS: Ubuntu 22.04 on WSL python: 3.9.17 ### Who can help? @hwchase17 @thecoo ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templat...
APIChain: Prompt injection can lead to SSRF / API requests to arbitrary endpoints
https://api.github.com/repos/langchain-ai/langchain/issues/6224/comments
2
2023-06-15T13:18:58Z
2023-09-21T16:07:41Z
https://github.com/langchain-ai/langchain/issues/6224
1,758,824,963
6,224
[ "hwchase17", "langchain" ]
### System Info Langchain v0.0.200 I want to use GPTCache in my project based on langchain. But I find `langchain.llm_cache` only supports in `BaseLLM`, and it has no support in `BaseChatModel`. So I can't use llm_cache when using ChatOpenAI. instead, i can only use it by using OpenAI. Related langchain source c...
why llm_cache only supports in BaseLLM, not in BaseChatModel? I can't use llm_cache when using ChatOpenAI. instead, i can only use it by using OpenAI.
https://api.github.com/repos/langchain-ai/langchain/issues/6220/comments
1
2023-06-15T12:15:18Z
2023-06-19T02:20:01Z
https://github.com/langchain-ai/langchain/issues/6220
1,758,699,712
6,220
[ "hwchase17", "langchain" ]
I just started a new project in langchain and when I try to create a OpenAIEmbeddings object, I'm asked for a client which has a type Any. This is not in documentation anywhere and it's hard to figure out what client is required. It would be amazing if someone can clarify the use-case for this. I would be happy to r...
No Documentation for constructor parameter client
https://api.github.com/repos/langchain-ai/langchain/issues/6217/comments
2
2023-06-15T11:10:31Z
2023-09-22T16:07:02Z
https://github.com/langchain-ai/langchain/issues/6217
1,758,591,163
6,217
[ "hwchase17", "langchain" ]
I just checked the token usage for the summay generation after I set the max_token_limit to 100 and wondered why I had a token usage over 1000 tokens. I think the call in the following line should pass the messages that are left in the buffer and not the pruned messages, https://github.com/hwchase17/langchain/blob/...
Summary is run on pruned messages, not remaining messages
https://api.github.com/repos/langchain-ai/langchain/issues/6215/comments
2
2023-06-15T10:21:30Z
2023-06-15T10:46:41Z
https://github.com/langchain-ai/langchain/issues/6215
1,758,511,259
6,215
[ "hwchase17", "langchain" ]
### System Info LangChain v0.0.198 ### 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 - [ ] Output Parsers - [ ] Documen...
The Agent is incompatible with the GPT-3.5-turbo-16k model.
https://api.github.com/repos/langchain-ai/langchain/issues/6214/comments
3
2023-06-15T10:18:16Z
2023-09-23T16:04:52Z
https://github.com/langchain-ai/langchain/issues/6214
1,758,506,158
6,214
[ "hwchase17", "langchain" ]
### System Info macos ### 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 - [x] Output Parsers - [ ] Document Loaders - [...
ValueError: invalid literal for int() with base 10: '0<|im_end|>' use it will throw an exception
https://api.github.com/repos/langchain-ai/langchain/issues/6210/comments
6
2023-06-15T08:40:40Z
2023-12-13T16:08:58Z
https://github.com/langchain-ai/langchain/issues/6210
1,758,334,841
6,210
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.200 Python 3.11 ### 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 - [ ...
OPENAI_FUNCTIONS agent doesn't accept python_repl or google-search or wolfram-alpha tool
https://api.github.com/repos/langchain-ai/langchain/issues/6209/comments
4
2023-06-15T08:15:08Z
2023-06-16T10:05:53Z
https://github.com/langchain-ai/langchain/issues/6209
1,758,290,677
6,209
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.200 platform: macOS python: 3.10.11 clickhouse: version 23.5.2.7 (official build) ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embed...
ClickHouse ERROR: Distance function argument of Annoy index must be of type String.
https://api.github.com/repos/langchain-ai/langchain/issues/6208/comments
4
2023-06-15T07:41:38Z
2023-06-19T00:34:55Z
https://github.com/langchain-ai/langchain/issues/6208
1,758,232,832
6,208
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.188 (but same would happen in the latest master too) python 3.10 Linux Apparently, when model generates no text (it will depend on a specific set of prompts, messages, NO stopwords is used), Azure OpenAI API responds with something like this: ``` { "choices": [ { ...
Azure OpenAPI sometimes returns message without text, but also missing "content" key. Langchain should handle it gracefuly.
https://api.github.com/repos/langchain-ai/langchain/issues/6205/comments
3
2023-06-15T06:56:52Z
2023-10-24T16:07:48Z
https://github.com/langchain-ai/langchain/issues/6205
1,758,166,345
6,205
[ "hwchase17", "langchain" ]
### System Info Version: 0.0.188 (but I don't see any change in the latest master that would fix that) Python: 3.10 Linux Problem description: In one of our environments we have multiple Azure OpenAPI base URLs and have to change them on a fly. We do it by changing LLM within the Chain, basically recreating LLM ...
On API base URL change, underlying connection doesn't always change.
https://api.github.com/repos/langchain-ai/langchain/issues/6202/comments
3
2023-06-15T06:45:19Z
2023-10-25T16:08:12Z
https://github.com/langchain-ai/langchain/issues/6202
1,758,150,424
6,202
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.198 and current HEAD AzureChat inherits from OpenAIChat ![image](https://github.com/hwchase17/langchain/assets/877883/11b94aef-6dd0-4f75-882a-9558b6550c1b) Which throws on Azure's model name ![image](https://github.com/hwchase17/langchain/assets/877883/fa995f5c-ba8b-4a3b-a877-998...
AzureChatOpenAI.get_num_tokens_from_messages does not work
https://api.github.com/repos/langchain-ai/langchain/issues/6200/comments
8
2023-06-15T05:19:24Z
2024-05-07T22:30:58Z
https://github.com/langchain-ai/langchain/issues/6200
1,758,056,575
6,200
[ "hwchase17", "langchain" ]
### System Info Langchain version : 0.0.199 Python Version: Python 3.9.16 MacOS @CodeDevNinja @dev2049 PR https://github.com/hwchase17/langchain/pull/5058 introduced a change to ElasticVectorSearch from_texts which broke, kind of coincidentally, ElasticKnnSearch from_texts I discovered this issue when runn...
Elasticsearch : ElasticKnnSearch.from_texts throws AttributeError
https://api.github.com/repos/langchain-ai/langchain/issues/6198/comments
0
2023-06-15T04:45:12Z
2023-07-13T23:55:22Z
https://github.com/langchain-ai/langchain/issues/6198
1,758,024,992
6,198
[ "hwchase17", "langchain" ]
### System Info 0.200 ### 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 - [ ] D...
ValueError: Too many arguments to single-input tool Calculator. Args: ['age ^ 0.43', {'age': 26}]
https://api.github.com/repos/langchain-ai/langchain/issues/6197/comments
11
2023-06-15T03:45:49Z
2024-04-08T16:07:39Z
https://github.com/langchain-ai/langchain/issues/6197
1,757,980,392
6,197
[ "hwchase17", "langchain" ]
### Feature request https://openai.com/blog/function-calling-and-other-api-updates I think we should update the ChatOpenAi models behavior with tools so that it used the native API. ### Motivation Their model is likely trained to handle functions this way, and will have a lot better support. It also supposedly gu...
OpenAI: Function calling and other API updates
https://api.github.com/repos/langchain-ai/langchain/issues/6196/comments
8
2023-06-15T03:15:17Z
2023-06-19T07:24:03Z
https://github.com/langchain-ai/langchain/issues/6196
1,757,957,689
6,196
[ "hwchase17", "langchain" ]
### System Info python 3.9 current version ### Who can help? @agola11 @eyurtsev @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / P...
TypeError: similarity_search_with_score_by_vector() got an unexpected keyword argument 'score_threshold'
https://api.github.com/repos/langchain-ai/langchain/issues/6194/comments
5
2023-06-15T02:16:22Z
2024-05-29T05:30:19Z
https://github.com/langchain-ai/langchain/issues/6194
1,757,913,609
6,194
[ "hwchase17", "langchain" ]
### System Info Basically, when using "llm.generate" in combination with get_openai_callback the total_cost just outputs 0. Code Snippet ``` from langchain.chat_models import ChatOpenAI from langchain.schema import ( AIMessage, HumanMessage, SystemMessage ) from langchain.callbacks import get_op...
get_openai_callback total_cost BROKEN
https://api.github.com/repos/langchain-ai/langchain/issues/6193/comments
5
2023-06-15T02:05:58Z
2023-09-21T16:08:01Z
https://github.com/langchain-ai/langchain/issues/6193
1,757,906,824
6,193
[ "hwchase17", "langchain" ]
### System Info When I'm using "gpt-3.5-turbo-16k" model,This model supports 16k token.However, using the mp-reduce algorithm, if the answer obtained at A time exceeds 4000 tokens, this will be reported. "A single document was longer than the context length,we cannot handle this." Error. ![image](https://github.com/h...
About map_reduce.py
https://api.github.com/repos/langchain-ai/langchain/issues/6191/comments
8
2023-06-15T01:36:42Z
2023-07-05T15:15:46Z
https://github.com/langchain-ai/langchain/issues/6191
1,757,882,954
6,191
[ "hwchase17", "langchain" ]
### System Info Python 3.9.7 langchain '0.0.200' ### Who can help? @hwchase17 @agola11 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates...
Segmentation fault (core dumped)
https://api.github.com/repos/langchain-ai/langchain/issues/6184/comments
1
2023-06-14T21:11:13Z
2023-09-20T16:07:35Z
https://github.com/langchain-ai/langchain/issues/6184
1,757,654,642
6,184
[ "hwchase17", "langchain" ]
### System Info OS: Ubuntu 20.04 LTS branch: master Python: 3.9 ### 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 - [ ]...
following contributing.md results in being unable to run make
https://api.github.com/repos/langchain-ai/langchain/issues/6182/comments
13
2023-06-14T20:12:59Z
2023-10-16T14:28:59Z
https://github.com/langchain-ai/langchain/issues/6182
1,757,571,414
6,182
[ "hwchase17", "langchain" ]
### Issue with current documentation: This is not documented. An example is provided, with no explanation whatsoever. As such this [page](https://python.langchain.com/en/latest/modules/agents/agents/examples/openai_functions_agent.html) contributes nothing over and above the source code. ### Idea or request for conte...
DOC: No explanation of OPENAI_FUNCTIONS agent
https://api.github.com/repos/langchain-ai/langchain/issues/6178/comments
4
2023-06-14T19:00:52Z
2023-09-21T16:08:06Z
https://github.com/langchain-ai/langchain/issues/6178
1,757,479,011
6,178
[ "hwchase17", "langchain" ]
### System Info torch.__version__ '2.0.1+cu117' langchain.__version__ '0.0.199' transformers.__version__ '4.30.2' ### Who can help? @hwchase17 @agola11 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Em...
Only using GPU:0 for vector embedding.
https://api.github.com/repos/langchain-ai/langchain/issues/6174/comments
7
2023-06-14T17:51:44Z
2024-05-11T16:05:47Z
https://github.com/langchain-ai/langchain/issues/6174
1,757,386,307
6,174
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi folks! 👋 My name is Brigit, and I'm a PM on the VS Code team working on dev containers and [their open spec](https://containers.dev/). Thank you so much for [adding a dev container to this repo](https://github.com/hwchase17/langchain/pull/4035) and [langchainjs](https://github.com/hw...
Issue: Update dev container configuration
https://api.github.com/repos/langchain-ai/langchain/issues/6172/comments
3
2023-06-14T17:41:55Z
2023-06-16T22:42:15Z
https://github.com/langchain-ai/langchain/issues/6172
1,757,374,044
6,172
[ "hwchase17", "langchain" ]
### System Info langchain=0.0.199 Python=3.9.13 ### Who Can Help @eyurtsev @hwchase17 ### Information - [x] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [x] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Select...
KeyError: 'content' using `AzureCognitiveSearchRetreiver`
https://api.github.com/repos/langchain-ai/langchain/issues/6171/comments
2
2023-06-14T17:20:57Z
2023-09-20T16:07:45Z
https://github.com/langchain-ai/langchain/issues/6171
1,757,345,891
6,171
[ "hwchase17", "langchain" ]
### System Info Windows 11 Langchain - 0.0.184 Python 3.11.1 ### Who can help? @eyu ### 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 Pa...
Missing documents when using embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/6168/comments
1
2023-06-14T14:56:11Z
2023-09-20T16:07:50Z
https://github.com/langchain-ai/langchain/issues/6168
1,757,100,849
6,168
[ "hwchase17", "langchain" ]
### System Info LnagChain v0.0.200 ### 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 Parsers - [ ] Documen...
TypeError: FAISS.similarity_search_with_score_by_vector() got an unexpected keyword argument 'score_threshold'
https://api.github.com/repos/langchain-ai/langchain/issues/6167/comments
2
2023-06-14T14:38:07Z
2023-09-20T16:07:55Z
https://github.com/langchain-ai/langchain/issues/6167
1,757,063,965
6,167
[ "hwchase17", "langchain" ]
### System Info langchain version = 0.0.198 while using the lagchain create_pandas_dataframe_agent, it was able to generate the correct intermediate command, but when it came to execute it, it says pd is not defined. its not able to detect that pandas is to imported as pd i am using AzureOpenAI service with ...
NameError: Name pd not found with PythonRepl
https://api.github.com/repos/langchain-ai/langchain/issues/6166/comments
12
2023-06-14T13:09:38Z
2024-04-10T16:10:22Z
https://github.com/langchain-ai/langchain/issues/6166
1,756,874,033
6,166
[ "hwchase17", "langchain" ]
### System Info **The problem seem to be in below code:** exception: dict is not iterable Working version: langchain==0.0.164 usecase : https://python.langchain.com/en/latest/modules/chains/index_examples/vector_db_qa.html Issue in below method: ``` def dict(self, **kwargs: Any) -> Dict: """Retur...
Retrieval Question/Answering Example not working in 0.0.200
https://api.github.com/repos/langchain-ai/langchain/issues/6162/comments
5
2023-06-14T12:37:22Z
2023-06-27T06:42:45Z
https://github.com/langchain-ai/langchain/issues/6162
1,756,809,915
6,162
[ "hwchase17", "langchain" ]
Can I improve loading time of Llama Cpp 7b/13b? I am using LlamaCpp function with LLMChain and RetrievalQA.from_chain_type in my python code.
LlamaCpp loading time
https://api.github.com/repos/langchain-ai/langchain/issues/6160/comments
2
2023-06-14T11:59:36Z
2023-10-30T16:06:23Z
https://github.com/langchain-ai/langchain/issues/6160
1,756,732,814
6,160
[ "hwchase17", "langchain" ]
### System Info langchain : 0.0.197 docker python alpine image : 3.11.3 ConversationalRetrievalChain works perfectly and i get awesome output. at the same time i also need to track my usage on openai api call. Im setting the qa object as below ``` qa = ConversationalRetrievalChain.from_llm( model, ...
OpenAICallbackHandler is not updating values when used in ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/6158/comments
3
2023-06-14T11:44:21Z
2023-08-24T07:06:53Z
https://github.com/langchain-ai/langchain/issues/6158
1,756,703,219
6,158
[ "hwchase17", "langchain" ]
### System Info Hi, I'm trying to reproduce this example https://python.langchain.com/en/latest/modules/agents/toolkits/examples/powerbi.html When i launch this part of the code : toolkit = PowerBIToolkit( powerbi=PowerBIDataset.update_forward_refs(dataset_id=dataset-id, table_names=['Tables'], credential=...
Impossible to connect PowerBI Dataset Agent to Azure services
https://api.github.com/repos/langchain-ai/langchain/issues/6157/comments
6
2023-06-14T11:39:46Z
2024-01-09T09:56:23Z
https://github.com/langchain-ai/langchain/issues/6157
1,756,695,978
6,157
[ "hwchase17", "langchain" ]
### System Info Recently, we do a few test on the ConversationalRetrievalChain + Memory, and notice that, the customer's question is rephrased by Langchain to a totally different meaning. Anyone knows how to avoid this? The conversation is to introduce the different package of a mobile plan to the customer. and C...
langchain rephrased the human input to a completely different meaning in the prompts
https://api.github.com/repos/langchain-ai/langchain/issues/6152/comments
4
2023-06-14T09:37:59Z
2023-10-24T16:08:03Z
https://github.com/langchain-ai/langchain/issues/6152
1,756,473,541
6,152
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.200 ### 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 - [ ]...
Tracking total cost for gpt-3.5-turbo-0613 yields $0.0
https://api.github.com/repos/langchain-ai/langchain/issues/6150/comments
8
2023-06-14T09:33:38Z
2023-06-20T07:26:02Z
https://github.com/langchain-ai/langchain/issues/6150
1,756,466,498
6,150
[ "hwchase17", "langchain" ]
### System Info This impacts both JS and Python versions ### Who can help? @hwchase17 @nfcampos ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Pr...
Core MapReduceChain token counting before combine step - Performance
https://api.github.com/repos/langchain-ai/langchain/issues/6147/comments
2
2023-06-14T09:19:36Z
2023-06-14T09:27:58Z
https://github.com/langchain-ai/langchain/issues/6147
1,756,441,925
6,147
[ "hwchase17", "langchain" ]
### System Info when > Finished chain. output: [article] but not complete, it still has something to write. how can I make article completely? ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Cha...
create_csv_agent incomplete response
https://api.github.com/repos/langchain-ai/langchain/issues/6145/comments
1
2023-06-14T08:50:25Z
2023-09-20T16:08:00Z
https://github.com/langchain-ai/langchain/issues/6145
1,756,386,963
6,145
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.200 Platform: Ubuntu 20.04 LTS Python version: 3.10.4 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] P...
ValueError for tutorial about JSONLoader
https://api.github.com/repos/langchain-ai/langchain/issues/6144/comments
4
2023-06-14T08:38:29Z
2023-11-09T16:12:34Z
https://github.com/langchain-ai/langchain/issues/6144
1,756,363,223
6,144
[ "hwchase17", "langchain" ]
### Feature request [Guidance](https://github.com/microsoft/guidance) is a language for controlling large language models developed by Microsoft. "Guidance allows to interleave generation, prompting, and logical control into a single continuous flow [...] more effectively and efficiently than traditional prompti...
Microsoft Guidance Integration
https://api.github.com/repos/langchain-ai/langchain/issues/6142/comments
18
2023-06-14T07:22:51Z
2024-03-18T16:04:45Z
https://github.com/langchain-ai/langchain/issues/6142
1,756,237,161
6,142
[ "hwchase17", "langchain" ]
### System Info ubuntu python 3.10.16 langchain 0.0.200 ### 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 - [ ] Outpu...
getting error: while implementing chatopenai module with gpt-4-0613
https://api.github.com/repos/langchain-ai/langchain/issues/6140/comments
2
2023-06-14T06:39:33Z
2023-09-21T16:08:11Z
https://github.com/langchain-ai/langchain/issues/6140
1,756,168,272
6,140
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.195 python==3.9.6 ### Who can help? @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 - [ ] Output Parser...
ConversationChain default prompt leads the model to converse with itself
https://api.github.com/repos/langchain-ai/langchain/issues/6138/comments
8
2023-06-14T06:00:02Z
2024-02-13T16:16:18Z
https://github.com/langchain-ai/langchain/issues/6138
1,756,118,915
6,138
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am a beginner in langchain, thank you for your patience in reading this problem description, I would appreciate if you could suggest sth. <img width="614" alt="image" src="https://github.com/hwchase17/langchain/assets/18730237/ad9c718c-7a23-40a4-8dd1-acebc4305553"> ``` loader = Un...
OSError: UnstructuredPDFLoader Show invalid argument Error when passing the url as a file_path parameter
https://api.github.com/repos/langchain-ai/langchain/issues/6135/comments
0
2023-06-14T05:03:49Z
2023-06-14T05:38:47Z
https://github.com/langchain-ai/langchain/issues/6135
1,756,061,596
6,135
[ "hwchase17", "langchain" ]
### Feature request Currently the AzureSearch VectorStore allows the user to specify a filter that can be used to filter (in the traditional search engine sense) a search index become doing a vector similarity search. This reduces the search space to improve speed as well as to help focus the vector search on the c...
Add ability to add extra fields to AzureSearch VectorStore when adding documents
https://api.github.com/repos/langchain-ai/langchain/issues/6134/comments
9
2023-06-14T03:42:05Z
2023-10-16T16:16:00Z
https://github.com/langchain-ai/langchain/issues/6134
1,755,994,897
6,134
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.199 Python 3.10.11 Windows 11 (but will occur on any platform. ### Who can help? @hwchase17 @ruoccofabrizio ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Promp...
Azure Cognitive Search Vector Store doesn't apply search_kwargs when performing queries
https://api.github.com/repos/langchain-ai/langchain/issues/6131/comments
5
2023-06-14T02:08:49Z
2023-08-15T08:39:21Z
https://github.com/langchain-ai/langchain/issues/6131
1,755,911,246
6,131
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. https://openai.com/blog/function-calling-and-other-api-updates chatgpt-3.5-turbo model can receive 16k so need fixing code l`lm.chains` and `get_openai_callback` if use max_tokens parameters `openai.error.InvalidRequestError` ```bash openai.error.InvalidRequestError: This model's...
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/6129/comments
2
2023-06-14T01:23:57Z
2023-06-14T02:31:12Z
https://github.com/langchain-ai/langchain/issues/6129
1,755,875,136
6,129
[ "hwchase17", "langchain" ]
### System Info Upon the `poetry install -E all ` command, I'm unable to install awadb version or azure-ai-vision specified in pyproject.toml awadb = {version = "^0.3.2", optional = true} azure-ai-vision = {version = "^0.11.1b1", optional = true} ``` Package operations: 1 install, 1 update, 0 removals • Up...
awadb and azure-ai-vision Version issue
https://api.github.com/repos/langchain-ai/langchain/issues/6125/comments
6
2023-06-13T23:52:47Z
2023-10-15T16:06:28Z
https://github.com/langchain-ai/langchain/issues/6125
1,755,805,306
6,125
[ "hwchase17", "langchain" ]
### System Info ``` langchain==0.0.194 weaviate-client==3.19.1 ``` ### 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...
Bug with Weaviate vectorstore
https://api.github.com/repos/langchain-ai/langchain/issues/6121/comments
1
2023-06-13T21:53:58Z
2023-06-14T16:54:42Z
https://github.com/langchain-ai/langchain/issues/6121
1,755,693,610
6,121
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. The blog post here https://openai.com/blog/function-calling-and-other-api-updates specifies > - new 16k context version of gpt-3.5-turbo (vs the standard 4k version) The `langchain/llms/openai.py` `model_token_mapping` should be changed to reflect this. ### Suggestion: Add `...
Issue: Update OpenAI model token mapping to reflect new API update 2023-06-13
https://api.github.com/repos/langchain-ai/langchain/issues/6118/comments
4
2023-06-13T21:22:21Z
2023-06-21T08:37:19Z
https://github.com/langchain-ai/langchain/issues/6118
1,755,665,020
6,118
[ "hwchase17", "langchain" ]
### Feature request The proposal here is pretty simple, we add two methods to the `Embeddings` base class, `aembed_documents` and `aembed_query`, allowing for async versions of the equivalent synchronous methods. The first implementation of this would be for OpenAI, since that's a popular embedding API. ### Motivatio...
Async request support for Embeddings, with initial support for OpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/6109/comments
1
2023-06-13T20:19:56Z
2023-07-03T13:25:23Z
https://github.com/langchain-ai/langchain/issues/6109
1,755,590,974
6,109
[ "hwchase17", "langchain" ]
### Feature request Currently few vectorstores like Qdrant has support for MMR (Maximal Marginal Relevance) Opensearch does not have it. ### Motivation Since we use OpenSearch as our Vectorstore and we want variance in our results for best entropy I'd like to have MMR implemented for `OpenSearchVectorStore` ...
MMR Support for OpenSearch
https://api.github.com/repos/langchain-ai/langchain/issues/6108/comments
3
2023-06-13T19:55:07Z
2023-09-12T16:38:13Z
https://github.com/langchain-ai/langchain/issues/6108
1,755,560,292
6,108
[ "hwchase17", "langchain" ]
### System Info langchain version 0.0.198, windows, SQL Server 16.0.4025.1 windows docker container (linux) In the output I get the message: Incorrect syntax near the keyword 'TO' and program not ends correctly ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts ...
Incorrect syntax near the keyword 'TO'
https://api.github.com/repos/langchain-ai/langchain/issues/6105/comments
5
2023-06-13T18:04:04Z
2023-10-21T16:08:40Z
https://github.com/langchain-ai/langchain/issues/6105
1,755,410,046
6,105
[ "hwchase17", "langchain" ]
### Feature request OpenAI released several major updates today (2023-06-13) that likely have major implications for what is possible. At the very least, it will make things more reliable. Here's a shortlist from [the blog post](https://openai.com/blog/function-calling-and-other-api-updates): - Dramatically impr...
Support and make use of function calling and other OpenAI updates on 2023-06-13
https://api.github.com/repos/langchain-ai/langchain/issues/6104/comments
8
2023-06-13T17:57:29Z
2023-09-23T16:05:43Z
https://github.com/langchain-ai/langchain/issues/6104
1,755,398,854
6,104
[ "hwchase17", "langchain" ]
### System Info Python Version: 3.9.11 Langchain version = 0.0.199 I'm getting a validation error with GPT4All where I'm following the instructions of the notebook and installed all packages but apparently there's some parameters called n_parts that isn't part of the GPT4All attribute ``` from langchain impo...
Validation Error
https://api.github.com/repos/langchain-ai/langchain/issues/6101/comments
5
2023-06-13T17:43:13Z
2023-10-12T16:08:42Z
https://github.com/langchain-ai/langchain/issues/6101
1,755,378,721
6,101
[ "hwchase17", "langchain" ]
https://github.com/hwchase17/langchain/blame/ee3d0513addae0680a30afa384431a032244e76b/langchain/chains/graph_qa/cypher.py#L40 @tomasonjo This new feature **return_intermediate_steps=True** is not working as intended, can you please update There is some issue in line number 258 of "langchain\chains\base.py" **re...
This new feature return_intermediate_steps=True is not working as intended, can you please update
https://api.github.com/repos/langchain-ai/langchain/issues/6098/comments
2
2023-06-13T17:05:24Z
2023-06-14T05:59:32Z
https://github.com/langchain-ai/langchain/issues/6098
1,755,327,431
6,098
[ "hwchase17", "langchain" ]
### System Info I've run a prompt that said `1 + 1 = ?` with my agent, I've used `get_openai_callback` to show some metric (see the image): ![test](https://i.imgur.com/YS2pBh7.png) Used LLM model is `GPT-3.5-turbo` On OpenAI website we have for `GPT-3.5-turbo` model a `0.002/1k tokens`, that means my test/...
OpenAI Cost calculation could have a bug!
https://api.github.com/repos/langchain-ai/langchain/issues/6097/comments
2
2023-06-13T17:02:34Z
2023-09-19T16:08:11Z
https://github.com/langchain-ai/langchain/issues/6097
1,755,322,847
6,097
[ "hwchase17", "langchain" ]
### System Info from this format (example): [Document(page_content='Team: **Athletics**'', metadata={'source': '**my source1**', 'row': **0**}, lookup_index=0), Document(page_content='Team: **Rangers**', lookup_str='', metadata={'source': '**my source2**', 'row': **1**}, lookup_index=0), Document(page_content='Te...
A change in the output format of documents loaded with CSVLoader: (+ weird redundancy in the output)
https://api.github.com/repos/langchain-ai/langchain/issues/6096/comments
2
2023-06-13T16:08:21Z
2023-09-26T16:05:53Z
https://github.com/langchain-ai/langchain/issues/6096
1,755,240,397
6,096
[ "hwchase17", "langchain" ]
### Feature request when comparison.value is int the "valueText" should change to "valueInt" ### Motivation when comparison.value is int the "valueText" should change to "valueInt" ### Your contribution self_query.weaviate ```python def visit_comparison(self, comparison: Comparison) -> Dict: if isinstance...
when comparison.value is int the "valueText" should change to "valueInt"
https://api.github.com/repos/langchain-ai/langchain/issues/6092/comments
1
2023-06-13T12:36:27Z
2023-09-19T16:08:03Z
https://github.com/langchain-ai/langchain/issues/6092
1,754,787,976
6,092
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.198 Platform: Ubuntu 20.04 LTS Python version: 3.10.4 ### 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 Tem...
'ValueError: "SQLiteEntityStore" object has no field "conn"' error for tutorial "Entity Memory with SQLite storage"
https://api.github.com/repos/langchain-ai/langchain/issues/6091/comments
8
2023-06-13T10:50:00Z
2024-04-05T16:05:40Z
https://github.com/langchain-ai/langchain/issues/6091
1,754,597,112
6,091
[ "hwchase17", "langchain" ]
### Feature request While, I could pass gl and hl parameters in SerperAPI, one cannot do it for the GoogleSearchAPIWrapper even though the CSE API supports it. ### Motivation This should be a priority addition to make the library more inclusive. I have tried passing it with serper and it does a great job at languag...
Non English Language Support in GoogleSearchAPIWrapper
https://api.github.com/repos/langchain-ai/langchain/issues/6090/comments
2
2023-06-13T09:55:50Z
2023-09-20T16:08:20Z
https://github.com/langchain-ai/langchain/issues/6090
1,754,499,202
6,090
[ "hwchase17", "langchain" ]
### System Info If the dyanamodb table does not exist when retrieving conversation history then a generic "local variable 'response' referenced before assignment" error is returned. This is due to the exception handling at https://github.com/hwchase17/langchain/blob/master/langchain/memory/chat_message_histories/dyn...
Issue: If DynamoDB table does not exist conversation message history fails with "local variable 'response' referenced before assignment"
https://api.github.com/repos/langchain-ai/langchain/issues/6088/comments
1
2023-06-13T09:41:41Z
2023-06-19T00:39:20Z
https://github.com/langchain-ai/langchain/issues/6088
1,754,472,871
6,088
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.198, Python 3.10 AWS Sagemaker environment ### Who can help? @agola11, @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prom...
Conversational Retriever Chain - condense_question_prompt parameter is not being considered.
https://api.github.com/repos/langchain-ai/langchain/issues/6087/comments
2
2023-06-13T09:35:40Z
2023-09-22T16:08:04Z
https://github.com/langchain-ai/langchain/issues/6087
1,754,459,647
6,087
[ "hwchase17", "langchain" ]
### search tool only uses its snippets to answer the question, that is not sufficient I found that when calling search tools like 'bing search', 'google search' in an agent, these original api simply returns several urls and their snippets(main topic of the whole webpage). However, LangChain directly use these sni...
Issue: <search tool only uses its snippets to answer the question, that is not sufficient>
https://api.github.com/repos/langchain-ai/langchain/issues/6085/comments
2
2023-06-13T09:31:24Z
2023-07-17T10:25:04Z
https://github.com/langchain-ai/langchain/issues/6085
1,754,450,599
6,085
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Custom Prompt formatted and used by `load_qa_with_sources` chain is not giving the answer and saying "Sorry, I am unable to answer" (message to be given in the prompt) but the same prompt when used with simple `LLMChain` or `LLM` directly gives back the expected answer. 1) custom prom...
Weird: Same prompt works with LLMChain but not with load_qa_with_sources Chain
https://api.github.com/repos/langchain-ai/langchain/issues/6084/comments
1
2023-06-13T09:24:12Z
2023-09-19T16:08:19Z
https://github.com/langchain-ai/langchain/issues/6084
1,754,435,752
6,084
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.198 Platform: Ubuntu 20.04 LTS Python version: 3.10.4 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Pro...
"Error in on_chain_start callback: 'name'" warning for tutorial "How to add Memory to an LLMChain"
https://api.github.com/repos/langchain-ai/langchain/issues/6083/comments
14
2023-06-13T09:12:55Z
2024-02-01T10:19:43Z
https://github.com/langchain-ai/langchain/issues/6083
1,754,411,684
6,083
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When executing `arun()` of the `MapReduceDocumentsChain` multiple times in an async loop, the requests are not run concurrently. Given the example: ```python import asyncio from langchain.llms import OpenAI from langchain.chains.summarize import load_summarize_chain from lang...
Enhancement: Multiple calls of MapReduceDocumentsChain should run asynchronously
https://api.github.com/repos/langchain-ai/langchain/issues/6082/comments
3
2023-06-13T07:28:16Z
2023-07-06T07:30:03Z
https://github.com/langchain-ai/langchain/issues/6082
1,754,224,763
6,082
[ "hwchase17", "langchain" ]
### Feature request It will be really cool if we can specify a website like : www.example.edu/* and it would get all the possible accessible pages from it and load it using WebBaseLoader. ### Motivation I'm always frustrated when I have to make a list of websites and pass it in the loader. Instead, using this way we...
For web page loaders
https://api.github.com/repos/langchain-ai/langchain/issues/6081/comments
3
2023-06-13T05:45:49Z
2023-09-12T16:17:01Z
https://github.com/langchain-ai/langchain/issues/6081
1,754,083,714
6,081
[ "hwchase17", "langchain" ]
### HuggingFaceEmbeddings can not take trust_remote_code argument ![image](https://github.com/hwchase17/langchain/assets/48760936/5400f6ca-d06b-49f0-a889-68f4e8e41598) ### Suggestion: _No response_
Issue: HuggingFaceEmbeddings can not take trust_remote_code argument
https://api.github.com/repos/langchain-ai/langchain/issues/6080/comments
19
2023-06-13T05:42:23Z
2024-05-19T15:11:34Z
https://github.com/langchain-ai/langchain/issues/6080
1,754,080,865
6,080
[ "hwchase17", "langchain" ]
### I want to load in the webpage below. Hi, Trying to extract some webpage using webbaseloader: """ loader = WebBaseLoader("https://researchadmin.asu.edu/) data = loader.load() """ But gives the following error: SSLError: HTTPSConnectionPool(host='researchadmin.asu.edu', port=443): Max retries exceeded with ...
Issue: Can't load a public webpage
https://api.github.com/repos/langchain-ai/langchain/issues/6079/comments
1
2023-06-13T05:40:52Z
2023-06-17T18:10:50Z
https://github.com/langchain-ai/langchain/issues/6079
1,754,079,026
6,079
[ "hwchase17", "langchain" ]
### System Info when trying to connect to azure redis I get the following error: unknown command `MODULE`, with args beginning with: `LIST`, Here is the code: fileName = "somefile.pdf" loader = PyPDFLoader(fileName) docs = loader.load_and_split() redis_conn = f"rediss://:{utils.REDIS_PWD}@{utils.REDIS_HOST}:{...
unknown command `MODULE`, with args beginning with: `LIST`,
https://api.github.com/repos/langchain-ai/langchain/issues/6075/comments
13
2023-06-13T03:03:19Z
2024-02-14T10:19:47Z
https://github.com/langchain-ai/langchain/issues/6075
1,753,945,024
6,075
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I want to use the chroma where_document parameter to do precise filtering of the content during data retrieval, but I found that the where_document parameter is not passed after the similarity_search_by_vector method is finally called in the source code ![image](https://github.com/hwcha...
Issue: chroma where_document parameter passed in search_kwargs is invalid
https://api.github.com/repos/langchain-ai/langchain/issues/6073/comments
2
2023-06-13T02:46:14Z
2023-12-08T16:06:50Z
https://github.com/langchain-ai/langchain/issues/6073
1,753,930,104
6,073