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 with current documentation:
I have translated a Chinese document and hope it is useful for Chinese developers.
在中国的 langchain 开发者,可以看中文了。
[www.langchain.com.cn](https://www.langchain.com.cn/)
### Idea or request for content:
_No response_ | 我翻译了中文文档,希望对中国开发者有用 | https://api.github.com/repos/langchain-ai/langchain/issues/4548/comments | 5 | 2023-05-12T03:41:53Z | 2023-09-16T13:22:15Z | https://github.com/langchain-ai/langchain/issues/4548 | 1,706,868,540 | 4,548 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I write a pyqt5 GUI and use the langchain to realize chat function. But it seems I cannot pack the langchian package by pyinstaller.
### Suggestion:
_No response_ | Issue: Can we use pyinstaller to pack the program with langchain | https://api.github.com/repos/langchain-ai/langchain/issues/4547/comments | 30 | 2023-05-12T03:04:05Z | 2024-03-18T16:04:25Z | https://github.com/langchain-ai/langchain/issues/4547 | 1,706,846,676 | 4,547 |
[
"hwchase17",
"langchain"
] | ### Feature request
Implement new output parser that looks for the first of either `self.true_val` or `self.false_val` in the output.
### Motivation
LLMs like to elaborate. Unfortunately, `BooleanOutputParser` requires an exact match. `SmartBooleanOutputParser` should provide a more flexible communication interface.... | SmartBooleanOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/4544/comments | 1 | 2023-05-12T02:19:17Z | 2023-09-10T16:18:52Z | https://github.com/langchain-ai/langchain/issues/4544 | 1,706,817,880 | 4,544 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain:0.0.163
python:3.9
### 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
... | UnstructuredWordDocumentLoader can not load .docx file | https://api.github.com/repos/langchain-ai/langchain/issues/4543/comments | 5 | 2023-05-12T01:58:17Z | 2023-09-19T16:11:17Z | https://github.com/langchain-ai/langchain/issues/4543 | 1,706,804,209 | 4,543 |
[
"hwchase17",
"langchain"
] | ### System Info
The creat_csv_agent function may have some bugs on the latest version of Langchain. I had a slightly older version on my local environment and the csv_agent was working with any csv. When i moved over the function to AWS Lambda where i was working with the latest version of Langchain, I keep getting an... | create_csv_agent prompt errors in latest version | https://api.github.com/repos/langchain-ai/langchain/issues/4541/comments | 2 | 2023-05-12T01:29:51Z | 2023-09-10T16:18:57Z | https://github.com/langchain-ai/langchain/issues/4541 | 1,706,787,552 | 4,541 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I noticed that the max_token can be only set on the OpenAI object.
I'm using the followin, where the openai object is initialized at startup:
```
llm_chain = LLMChain(prompt=prompt_template, llm=openai)
results = llm_chain.apply(prompt_batch)
```
I pass 20 items per call, a... | Issue: max_tokens should be more flexible for OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/4540/comments | 4 | 2023-05-12T01:05:42Z | 2023-12-06T08:16:31Z | https://github.com/langchain-ai/langchain/issues/4540 | 1,706,770,187 | 4,540 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.166
Python 3.8.10
pygpt4all 1.1.0
### Who can help?
@Vowe
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | gpt4all-j memory issue | https://api.github.com/repos/langchain-ai/langchain/issues/4536/comments | 9 | 2023-05-11T20:57:02Z | 2023-09-15T22:12:56Z | https://github.com/langchain-ai/langchain/issues/4536 | 1,706,545,458 | 4,536 |
[
"hwchase17",
"langchain"
] | ### Feature request
If unaware, Google has opened PaLM into public preview in Vertex AI in GCP. This uses different client libraries from the general-use PaLM API that was implemented in the base Langchain support for PaLM.
### Motivation
As an enterprise user, I'd like to leverage the model endpoints that meet my ... | Vertex AI PaLM Support | https://api.github.com/repos/langchain-ai/langchain/issues/4532/comments | 4 | 2023-05-11T19:43:07Z | 2023-05-25T19:01:42Z | https://github.com/langchain-ai/langchain/issues/4532 | 1,706,438,031 | 4,532 |
[
"hwchase17",
"langchain"
] | ### System Info
ryzen 3600, 16gb ram, b450m
### 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
- [ ] Document Loaders
... | Openai chat query call error | https://api.github.com/repos/langchain-ai/langchain/issues/4530/comments | 2 | 2023-05-11T18:45:58Z | 2023-09-10T16:19:01Z | https://github.com/langchain-ai/langchain/issues/4530 | 1,706,357,431 | 4,530 |
[
"hwchase17",
"langchain"
] | ### Feature request
As a user of LangChain, I would like to request the integration of HuggingFace Agents ([announcement](https://twitter.com/huggingface/status/1656334778407297027) and [docs](https://huggingface.co/docs/transformers/transformers_agents)) into LangChain. HuggingFace Agents is an experimental API that ... | HuggingFace Agents | https://api.github.com/repos/langchain-ai/langchain/issues/4528/comments | 1 | 2023-05-11T17:09:12Z | 2023-09-22T16:09:19Z | https://github.com/langchain-ai/langchain/issues/4528 | 1,706,226,555 | 4,528 |
[
"hwchase17",
"langchain"
] | @agola11 + @hwchase17 + @dev2049 thanks for the review and pushing the PR over the finish line!
I'd like to add a few more tests in a follow up - are you willing to add mlflow + azureml-mlflow packages as test dependencies or should we explore some other options?
_Originally posted by @akshaya-a in https://githu... | Adding mlflow tests | https://api.github.com/repos/langchain-ai/langchain/issues/4527/comments | 3 | 2023-05-11T16:32:34Z | 2023-09-12T16:23:08Z | https://github.com/langchain-ai/langchain/issues/4527 | 1,706,167,855 | 4,527 |
[
"hwchase17",
"langchain"
] | ### System Info
I was able to somehow fetch the document chunk id's from chroma db, but I did not get how can I delete a specific document using its document name or document id. I have gone thru all references did not find a solution for it. Insertion, Updation is there but not deletion. Can you please help on this?
... | Deletion issue in Chroma Vectorstore & its info on seeing doc id and embeddinsg stored | https://api.github.com/repos/langchain-ai/langchain/issues/4519/comments | 11 | 2023-05-11T10:45:23Z | 2024-02-14T16:14:03Z | https://github.com/langchain-ai/langchain/issues/4519 | 1,705,554,723 | 4,519 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.165 on Google Colab
### 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
- ... | The scores of `similarity_search_with_score` are not standardized across Vector Stores | https://api.github.com/repos/langchain-ai/langchain/issues/4517/comments | 8 | 2023-05-11T09:19:18Z | 2024-03-18T21:50:45Z | https://github.com/langchain-ai/langchain/issues/4517 | 1,705,414,556 | 4,517 |
[
"hwchase17",
"langchain"
] | ### System Info
**Langchain version:** 0.0.162
**Platform**: Windows
**python version**: 3.11.3
I am trying to load all **.eml** files from my Directory with LoaderClass: UnstructuredEmailLoader to build index , but i am getting error on load function.
**error:** 'utf-8' codec can't decode byte 0x92 in pos... | Unable to load .eml email filed from DirectoryLoader with class UnstructuredEmailLoader: utf-8' codec can't decode byte 0x92 in position | https://api.github.com/repos/langchain-ai/langchain/issues/4515/comments | 4 | 2023-05-11T08:00:31Z | 2023-09-29T16:07:45Z | https://github.com/langchain-ai/langchain/issues/4515 | 1,705,280,664 | 4,515 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain[openai]==0.0.165
Ubuntu 22.04.2 LTS (Jammy Jellyfish)
python 3.10.6
### Who can help?
@vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] ... | [pyproject.toml] add `tiktoken` to `tool.poetry.extras.openai` | https://api.github.com/repos/langchain-ai/langchain/issues/4513/comments | 0 | 2023-05-11T07:54:40Z | 2023-05-11T19:21:07Z | https://github.com/langchain-ai/langchain/issues/4513 | 1,705,271,162 | 4,513 |
[
"hwchase17",
"langchain"
] | I have developed a chatbot using **Langchain's OpenAI LLM (text-davinci)** model and added my own contextual data using the **llama index (GPT index)** on top of GPT's existing data.
I'm facing an issue with a specific scenario in my chatbot. I have included the following FAQ in my training data, which consists of a... | Get response from my training data using a GPT-based chatbot | https://api.github.com/repos/langchain-ai/langchain/issues/4512/comments | 4 | 2023-05-11T07:23:16Z | 2023-09-15T16:13:58Z | https://github.com/langchain-ai/langchain/issues/4512 | 1,705,225,886 | 4,512 |
[
"hwchase17",
"langchain"
] | ### System Info
I am trying to use latest gpt-4-32k model with langchain ChatOpenAI
but I am getting the error
``` The model: `gpt-4-32k` does not exist```.
so can we use other models except base model of openai ?
### Who can help?
_No response_
### Information
- [x] The official example notebooks/script... | Can't use gpt-4-32k model with ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/4511/comments | 5 | 2023-05-11T07:18:18Z | 2023-11-16T16:07:57Z | https://github.com/langchain-ai/langchain/issues/4511 | 1,705,219,365 | 4,511 |
[
"hwchase17",
"langchain"
] | ### System Info
- langchain: 0.0.163
- python: 3.9.16
- OS: Ubuntu 22.04
### Who can help?
@shibanovp
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Pr... | Cannot subclass OpenAIEmbeddings | https://api.github.com/repos/langchain-ai/langchain/issues/4498/comments | 0 | 2023-05-11T04:42:23Z | 2023-05-17T01:35:21Z | https://github.com/langchain-ai/langchain/issues/4498 | 1,705,053,735 | 4,498 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.165 (and 0.0.151)
python: 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 Templates / Prompt Selectors... | `LLMChainExtractor` doesn't gracefully fail on empty compressed results | https://api.github.com/repos/langchain-ai/langchain/issues/4496/comments | 4 | 2023-05-11T02:23:22Z | 2023-10-21T16:09:15Z | https://github.com/langchain-ai/langchain/issues/4496 | 1,704,926,712 | 4,496 |
[
"hwchase17",
"langchain"
] | ### Feature request
The `EverNoteLoader` treats an export from Evernote as a very large text document by [combining the content from all notes](https://github.com/hwchase17/langchain/blob/master/langchain/document_loaders/evernote.py#L64-L68) into a single long text string.
It also only saves the name of the [expo... | Evernote Document Loader Concatenates All Notes Together | https://api.github.com/repos/langchain-ai/langchain/issues/4493/comments | 1 | 2023-05-11T01:58:37Z | 2023-05-19T21:28:19Z | https://github.com/langchain-ai/langchain/issues/4493 | 1,704,886,910 | 4,493 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.72
Next.js version: v13.4.1
### Who can help?
@hwchase17 @vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Promp... | [Urgent] Module build failed: UnhandledSchemeError: Reading from "node:fs/promises" is not handled by plugins (Unhandled scheme). | https://api.github.com/repos/langchain-ai/langchain/issues/4491/comments | 10 | 2023-05-11T00:45:19Z | 2024-05-30T12:07:38Z | https://github.com/langchain-ai/langchain/issues/4491 | 1,704,804,178 | 4,491 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version 0.0.164
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Doc... | Return Intermediate Steps for Plan and Execute | https://api.github.com/repos/langchain-ai/langchain/issues/4485/comments | 2 | 2023-05-10T22:04:36Z | 2023-11-16T16:08:02Z | https://github.com/langchain-ai/langchain/issues/4485 | 1,704,687,837 | 4,485 |
[
"hwchase17",
"langchain"
] | ### Feature request
Allow the `TextLoader` to optionally auto detect the loaded file encoding. If the option is enabled the loader will try all detected encodings by order of detection confidence or raise an error.
Also enhances the default raised exception to indicate which read path raised the exception.
### Mo... | TextLoader: auto detect file encodings | https://api.github.com/repos/langchain-ai/langchain/issues/4479/comments | 0 | 2023-05-10T20:46:24Z | 2023-05-18T13:55:16Z | https://github.com/langchain-ai/langchain/issues/4479 | 1,704,607,580 | 4,479 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://docs.langchain.com/docs/components/schema/text
This has a typo. I cannot locate the Concepts docs in the git repo.
### Idea or request for content:
Please provide this so I can begin proofing the docs | DOC: Cleanup text | https://api.github.com/repos/langchain-ai/langchain/issues/4474/comments | 1 | 2023-05-10T19:34:08Z | 2023-09-10T16:19:17Z | https://github.com/langchain-ai/langchain/issues/4474 | 1,704,519,100 | 4,474 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.164
python=3.11
system: Ubuntu
### Who can help?
@eyurtsev @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt... | SQL databasechain InvalidRequestError | https://api.github.com/repos/langchain-ai/langchain/issues/4469/comments | 10 | 2023-05-10T18:29:16Z | 2024-04-09T17:03:08Z | https://github.com/langchain-ai/langchain/issues/4469 | 1,704,436,744 | 4,469 |
[
"hwchase17",
"langchain"
] | ### Feature request
@hwchase17 Can we implement this [**SmartGPT** workflow](https://youtu.be/wVzuvf9D9BU)?
Probably, it is also implemented but I didn't find it.
Thi method looks like something simple but very effective.
### Motivation
Improving the quality of the prompts and the resulting generation quality.
... | `SmartGPT` workflow | https://api.github.com/repos/langchain-ai/langchain/issues/4463/comments | 3 | 2023-05-10T15:52:11Z | 2023-08-11T22:44:29Z | https://github.com/langchain-ai/langchain/issues/4463 | 1,704,219,508 | 4,463 |
[
"hwchase17",
"langchain"
] | ### System Info
win 11 ,
### 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
- [ ] Output Parsers
- [ ] Document L... | unable to set the max_tokens with ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/4461/comments | 1 | 2023-05-10T15:35:24Z | 2023-09-15T16:14:03Z | https://github.com/langchain-ai/langchain/issues/4461 | 1,704,193,973 | 4,461 |
[
"hwchase17",
"langchain"
] | disregard. error in dataframe construction (needed dataframe.apply(pd.to_numeric, errors='coerce'))
attempting to run code:
pandas_agent = create_pandas_dataframe_agent(llm=llm, df=dataframe, verbose=True, max_iterations=4)
output = pandas_agent.run(question_phrase)
LOGGING main.py line 346 dataframe data:
... | Toolkits - Pandas Dataframe Agent python_repl_ast can't seem to convert float to string to concatenate output | https://api.github.com/repos/langchain-ai/langchain/issues/4460/comments | 0 | 2023-05-10T15:31:03Z | 2023-05-10T15:49:00Z | https://github.com/langchain-ai/langchain/issues/4460 | 1,704,187,744 | 4,460 |
[
"hwchase17",
"langchain"
] | ### System Info
llm = AzureChatOpenAI(deployment_name="JacobTextDavinci03", model_name="text-davinci-003", max_tokens=1500)
File "C:\Users\jwei\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\openai\api_requestor.py", line 687, in _... | AzureOpenAI can't support other model like text-davinci-003 | https://api.github.com/repos/langchain-ai/langchain/issues/4453/comments | 7 | 2023-05-10T12:13:05Z | 2023-09-19T16:11:27Z | https://github.com/langchain-ai/langchain/issues/4453 | 1,703,792,846 | 4,453 |
[
"hwchase17",
"langchain"
] | ### Feature request
`YoutubeLoader.from_youtube_url` accepts single URL format. It should be able to handle at least the most common types of Youtube urls out there.
### Motivation
Current video id extraction is pretty naive. It doesn't handle anything than single specific type of youtube url. Any valid but differen... | YoutubeLoader.from_youtube_url should handle common YT url formats | https://api.github.com/repos/langchain-ai/langchain/issues/4451/comments | 0 | 2023-05-10T11:09:22Z | 2023-05-15T14:45:21Z | https://github.com/langchain-ai/langchain/issues/4451 | 1,703,681,221 | 4,451 |
[
"hwchase17",
"langchain"
] | ### System Info
Latest version of langchain.
### 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
- [... | Import error from official example (documentation) | https://api.github.com/repos/langchain-ai/langchain/issues/4448/comments | 2 | 2023-05-10T10:34:18Z | 2023-09-10T16:19:27Z | https://github.com/langchain-ai/langchain/issues/4448 | 1,703,613,599 | 4,448 |
[
"hwchase17",
"langchain"
] | ### System Info
Got this error with the official example from the documentation.
ImportError: cannot import name 'PlanAndExecute' from 'langchain.agents'
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs... | ImportError: cannot import name 'PlanAndExecute' from 'langchain.agents' | https://api.github.com/repos/langchain-ai/langchain/issues/4446/comments | 3 | 2023-05-10T09:17:47Z | 2023-09-15T16:14:13Z | https://github.com/langchain-ai/langchain/issues/4446 | 1,703,477,667 | 4,446 |
[
"hwchase17",
"langchain"
] | ### System Info
os : windows 11
I am trying to test the langchain selfretiever using chromadb and getting the below error.
retriever = SelfQueryRetriever.from_llm(llm, vectorstore = vectordb, document_contents = document_content_description,metadata_field_info = metadata_field_info, verbose=True)
I have also... | Langchain -self query retreiver using chromadb/faiss | https://api.github.com/repos/langchain-ai/langchain/issues/4441/comments | 2 | 2023-05-10T06:56:08Z | 2024-03-12T01:51:50Z | https://github.com/langchain-ai/langchain/issues/4441 | 1,703,245,543 | 4,441 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain: 0.0.162
Python: 3.10
Platform: Linux
### 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
- [... | Splitting response in Generative Agents truncates the result too much | https://api.github.com/repos/langchain-ai/langchain/issues/4440/comments | 4 | 2023-05-10T06:35:34Z | 2023-12-04T16:08:14Z | https://github.com/langchain-ai/langchain/issues/4440 | 1,703,221,602 | 4,440 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
We are unable to make multi input tools work consistently with conversational agent.
Here is the scenario: User asks a question. Based on the question the agent needs to extract two inputs from the question and route it to the right tool for answer. If the user has not provided the tw... | Issue: Multi input tools do not work consistently with conversational agent | https://api.github.com/repos/langchain-ai/langchain/issues/4439/comments | 3 | 2023-05-10T06:14:56Z | 2023-10-23T16:08:43Z | https://github.com/langchain-ai/langchain/issues/4439 | 1,703,199,089 | 4,439 |
[
"hwchase17",
"langchain"
] | ### System Info
langchainversion: 0.0.163
llama_index version: 0.6.4
PyTorch version: 2.0.0+cu118
Transformers version: 4.30.0.dev0
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat M... | Run locally google flan t5 large issue with local embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/4438/comments | 2 | 2023-05-10T05:20:10Z | 2023-10-31T16:07:30Z | https://github.com/langchain-ai/langchain/issues/4438 | 1,703,146,087 | 4,438 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version : 0.0.158
Python version: 11
Mac OS Ventura 13.2.1
### 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 /... | Unable to provide llm_chain (instead of llm) to initialize_agent() while initializing the agent | https://api.github.com/repos/langchain-ai/langchain/issues/4437/comments | 6 | 2023-05-10T04:32:01Z | 2023-10-09T16:07:58Z | https://github.com/langchain-ai/langchain/issues/4437 | 1,703,106,397 | 4,437 |
[
"hwchase17",
"langchain"
] | ### Feature request
HuggingFace has a nice API for serving local LLMs in their [`text-generation`](https://github.com/huggingface/text-generation-inference) repo. I'd like to have a wrapper for this implemented in `langchain.llms`.
**Resolves Issues**
* [Feature Request Issue 4433](https://github.com/hwchase1... | Add LLM wrapper for HuggingFace text-generation local inference server | https://api.github.com/repos/langchain-ai/langchain/issues/4433/comments | 1 | 2023-05-10T02:40:16Z | 2023-05-13T16:12:28Z | https://github.com/langchain-ai/langchain/issues/4433 | 1,703,020,333 | 4,433 |
[
"hwchase17",
"langchain"
] | ### Feature request
The current version of CharacterTextSplitter does not provide support for a regular expression in the separator argument.
### Motivation
Many documents can be split by slightly different patterns that can be handled by regular expression
### Your contribution
- | Add support for regular expression in CharacterTextSplitter | https://api.github.com/repos/langchain-ai/langchain/issues/4429/comments | 7 | 2023-05-10T00:08:27Z | 2023-12-25T16:10:45Z | https://github.com/langchain-ai/langchain/issues/4429 | 1,702,904,262 | 4,429 |
[
"hwchase17",
"langchain"
] | ### Feature request
I like to add more metadata, such as keywords, highlights, questions to be answered together when building an embedding for a document, other than only page_content, I wonder how can it be achieved today?
### Motivation
allow to annotate source document to better embedding. but without changing... | I wonder for embedding, we can allow passing other than page_content for embedding service | https://api.github.com/repos/langchain-ai/langchain/issues/4425/comments | 4 | 2023-05-09T22:53:11Z | 2023-09-15T16:14:18Z | https://github.com/langchain-ai/langchain/issues/4425 | 1,702,855,007 | 4,425 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I want to do Q/A with csv agent and multiple txt files at the same time. But I do not want to use csv loader and txt loader because they did not perform very well when handling cross file scenario. For example, the model needs to find answers from both the csv and txt file and then retur... | Do Q/A with csv agent and multiple txt files at the same time. | https://api.github.com/repos/langchain-ai/langchain/issues/4423/comments | 7 | 2023-05-09T22:33:44Z | 2023-05-26T17:54:10Z | https://github.com/langchain-ai/langchain/issues/4423 | 1,702,839,837 | 4,423 |
[
"hwchase17",
"langchain"
] | ### System Info
Appears in LangChain 0.0.150
### Who can help?
@eyurtsev @vowelparrot
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selector... | Regression: ConfluenceDataloader strips away Markdown formatting | https://api.github.com/repos/langchain-ai/langchain/issues/4407/comments | 1 | 2023-05-09T15:34:06Z | 2023-08-29T06:29:37Z | https://github.com/langchain-ai/langchain/issues/4407 | 1,702,282,488 | 4,407 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have this code running smoothly before,
llm=HuggingFaceHub(repo_id="google/flan-t5-xxl", model_kwargs={"temperature":0.7, "max_length":512}).
Bu today, it says "HfHubHTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/models/google/flan-t5-xxl (Request ID: ... | Issue: <Model google/flan-t5-xxl does not exist> | https://api.github.com/repos/langchain-ai/langchain/issues/4404/comments | 2 | 2023-05-09T14:53:57Z | 2023-09-10T16:19:43Z | https://github.com/langchain-ai/langchain/issues/4404 | 1,702,210,282 | 4,404 |
[
"hwchase17",
"langchain"
] | In databricks I cant able to import langchain.
`TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'`
<img width="1266" alt="Capture d’écran 2023-05-09 à 16 18 05" src="https://github.com/hwchase17/langchain/assets/22887323/dad2700a-ad90-4d36-bb25-c5c00e6eb42f">
Thanks in ... | ERROR-Import Langchain : TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers' | https://api.github.com/repos/langchain-ai/langchain/issues/4401/comments | 26 | 2023-05-09T14:25:59Z | 2023-11-14T16:08:49Z | https://github.com/langchain-ai/langchain/issues/4401 | 1,702,155,760 | 4,401 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently, Weaviate vectorstore doesn't provide option for updation of vector embeddings on existing index and deletion of index.
### Motivation
This feature request is related to an experiment project for which we need CRUD operations on Weaviate vectorstore.
### Your contribution
I c... | [Feature Request] update and delete index operation on Weaviate vectorstore | https://api.github.com/repos/langchain-ai/langchain/issues/4399/comments | 3 | 2023-05-09T14:10:15Z | 2023-09-19T16:11:32Z | https://github.com/langchain-ai/langchain/issues/4399 | 1,702,126,607 | 4,399 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hey, we are trying to make use of a pandas dataframe agent. Most querys are working quite good but we cant get it working with time span querys. If we ask the agent "what date is it?" the answer is correct. But if we ask give me the revenue of the last week...the pandas query it generate... | Agent not getting time spans correctly.. | https://api.github.com/repos/langchain-ai/langchain/issues/4397/comments | 3 | 2023-05-09T13:34:39Z | 2023-09-15T16:14:28Z | https://github.com/langchain-ai/langchain/issues/4397 | 1,702,053,499 | 4,397 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi, can't update langchain. any insight ?
```
Building wheels for collected packages: jq
Building wheel for jq (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for jq (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
... | Building wheels for collected package: jq failed in Windows | https://api.github.com/repos/langchain-ai/langchain/issues/4396/comments | 27 | 2023-05-09T12:58:59Z | 2024-06-12T05:00:12Z | https://github.com/langchain-ai/langchain/issues/4396 | 1,701,984,751 | 4,396 |
[
"hwchase17",
"langchain"
] | ### System Info
Weaviate vectorstore not getting initialized with Azure OpenAI embeddings.
Code:
```
from langchain.embeddings import OpenAIEmbeddings
from langchain.vectorstores import Weaviate
from langchain.embeddings.base import Embeddings
auth_config = weaviate.auth.AuthApiKey(api_key=WEAVIATE_API... | Weaviate Vectorstore not initialized with Azure OpenAI embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/4395/comments | 5 | 2023-05-09T12:57:24Z | 2023-12-28T12:21:38Z | https://github.com/langchain-ai/langchain/issues/4395 | 1,701,981,229 | 4,395 |
[
"hwchase17",
"langchain"
] | ### System Info
windows 11
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- ... | Template injection to arbitrary code execution | https://api.github.com/repos/langchain-ai/langchain/issues/4394/comments | 4 | 2023-05-09T12:28:24Z | 2023-10-10T15:15:44Z | https://github.com/langchain-ai/langchain/issues/4394 | 1,701,910,416 | 4,394 |
[
"hwchase17",
"langchain"
] | ### System Info
**Version Information**
**Platform** : Windows 10
**LangChain** - 0.0.149
**Python** - 3.8.9
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models... | SSLError: HTTPSConnectionPool(host='api.llm.writer.com', port=443): Max retries exceeded | https://api.github.com/repos/langchain-ai/langchain/issues/4391/comments | 1 | 2023-05-09T09:19:32Z | 2023-09-10T16:19:57Z | https://github.com/langchain-ai/langchain/issues/4391 | 1,701,688,968 | 4,391 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
ConversationalChatAgent places `FORMAT_INSTRUCTIONS` as well as tools section within human message, not within system message.
This is fine as long as ChatGPT-3.5 is being used where LLM gives more weightage to human message than system message. But, that is not the case for ChatGP... | Option for ConversationalChatAgent to place format instruction and tools within System Message for ChatGPT 4.0 | https://api.github.com/repos/langchain-ai/langchain/issues/4385/comments | 2 | 2023-05-09T07:32:07Z | 2023-09-19T16:11:37Z | https://github.com/langchain-ai/langchain/issues/4385 | 1,701,519,474 | 4,385 |
[
"hwchase17",
"langchain"
] | ### System Info
chain = load_summarize_chain(llm, chain_type="refine", verbose=True)
when llm use AzureOpenAI, it will fail to send request, and will get this error
File "C:\Users\\.conda\envs\captionSummary\lib\site-packages\openai\api_requestor.py", line 230, in request
resp, got_stream = self._interpret_... | Could not use load_summarize_chain with Azure API. | https://api.github.com/repos/langchain-ai/langchain/issues/4384/comments | 6 | 2023-05-09T05:54:19Z | 2024-07-15T14:19:28Z | https://github.com/langchain-ai/langchain/issues/4384 | 1,701,388,720 | 4,384 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.162
python 3.8
HuggingFace free tier server
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templ... | https://huggingface.co/api/models/sentence-transformers/all-mpnet-base-v2 not found? HTTP 401 | https://api.github.com/repos/langchain-ai/langchain/issues/4379/comments | 9 | 2023-05-09T04:46:22Z | 2023-05-09T18:47:14Z | https://github.com/langchain-ai/langchain/issues/4379 | 1,701,318,779 | 4,379 |
[
"hwchase17",
"langchain"
] | ### Feature request
I propose refactoring the TimeWeightedVectorStore to use epoch milliseconds as the time format instead of directly passing in a python `datetime` object as the `created_at` and `last_accessed_at` fields.
The current implementation _does_ allow users to specify a current_time when adding docume... | (De)Serializing memories in TimeWeightedVectorStore | https://api.github.com/repos/langchain-ai/langchain/issues/4377/comments | 2 | 2023-05-09T02:40:31Z | 2024-06-26T06:05:36Z | https://github.com/langchain-ai/langchain/issues/4377 | 1,701,213,657 | 4,377 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version: 0.0.162
Python version: 3.8.10
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | ConvoOutputParser fails to parse a valid output which contains a code block | https://api.github.com/repos/langchain-ai/langchain/issues/4371/comments | 3 | 2023-05-09T01:22:18Z | 2023-11-14T16:08:54Z | https://github.com/langchain-ai/langchain/issues/4371 | 1,701,154,334 | 4,371 |
[
"hwchase17",
"langchain"
] | ### Feature request
Redis vectorstore allows for three different distance metrics: `L2` (flat L2), `COSINE`, and `IP` (inner product). Currently, the `Redis._create_index` method hard codes the distance metric to COSINE.
```py
def _create_index(self, dim: int = 1536) -> None:
try:
from redis... | Add distance metric param to to redis vectorstore index | https://api.github.com/repos/langchain-ai/langchain/issues/4368/comments | 0 | 2023-05-09T00:40:32Z | 2023-05-11T07:20:03Z | https://github.com/langchain-ai/langchain/issues/4368 | 1,701,125,645 | 4,368 |
[
"hwchase17",
"langchain"
] | ### System Info
Consider the following python code snippet below.
On the example, the code will provide an error. This is due to the fact that it is not correctly parsing the JSON strings.
For some reason, the template will try to look for the variable "Person", when that is just a JSON output form.
This me... | FewShotPromptTemplate bug on examples with JSON strings | https://api.github.com/repos/langchain-ai/langchain/issues/4367/comments | 7 | 2023-05-08T23:29:13Z | 2024-07-08T10:32:17Z | https://github.com/langchain-ai/langchain/issues/4367 | 1,701,078,306 | 4,367 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain v0.0.162
python3.10
### Who can help?
@hwchase17 I believe issue was introduced here: https://github.com/hwchase17/langchain/pull/2963
This works when calling `__init__` directly, but the model_name is not passed to `__init__` when using `from_tiktoken_encoder()`
### Information
-... | TokenTextSplitter ignores model_name when using from_tiktoken_encoder | https://api.github.com/repos/langchain-ai/langchain/issues/4357/comments | 0 | 2023-05-08T19:47:49Z | 2023-05-08T23:36:41Z | https://github.com/langchain-ai/langchain/issues/4357 | 1,700,828,804 | 4,357 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm creating a pdf chatbot with memory and the chain I use is ConversationalRetrievalChain + ConversationBufferMemory, but it seems that it can only remember some chat history. Does anyone have an idea of the reason?
It works well on a question like `can you summarize the answer?`... | ConversationalRetrievalChain + Memory: Can only remember partial memory | https://api.github.com/repos/langchain-ai/langchain/issues/4355/comments | 3 | 2023-05-08T19:34:53Z | 2023-11-26T16:09:44Z | https://github.com/langchain-ai/langchain/issues/4355 | 1,700,812,707 | 4,355 |
[
"hwchase17",
"langchain"
] | ### System Info
(.venv) C:\Users\hbb9279\OpenAI\Files\10K\2019>python
Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
langchain-0.0.162
import os
import openai
openai.api_type = "azu... | Azure OpenAIEmbeddings(chunk_size=1) is changing the API version of the openai | https://api.github.com/repos/langchain-ai/langchain/issues/4352/comments | 8 | 2023-05-08T18:08:59Z | 2023-09-06T21:03:28Z | https://github.com/langchain-ai/langchain/issues/4352 | 1,700,692,794 | 4,352 |
[
"hwchase17",
"langchain"
] | ### System Info
Latest langchain version.
### Who can help?
_No response_
### Information
- [X] 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
- ... | HuggingFacePipeline trust_remote_code:True allows download but not inference | https://api.github.com/repos/langchain-ai/langchain/issues/4351/comments | 6 | 2023-05-08T18:01:54Z | 2023-09-22T16:09:25Z | https://github.com/langchain-ai/langchain/issues/4351 | 1,700,680,363 | 4,351 |
[
"hwchase17",
"langchain"
] | ### System Info
When specifying a materialized view in include_tables, the following error occurs:
include_tables {'table_name'} not found in database
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ]... | Materialized Views not accessible | https://api.github.com/repos/langchain-ai/langchain/issues/4349/comments | 8 | 2023-05-08T16:51:57Z | 2024-07-19T13:43:53Z | https://github.com/langchain-ai/langchain/issues/4349 | 1,700,590,442 | 4,349 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/hwchase17/langchain/discussions/4341
<div type='discussions-op-text'>
<sup>Originally posted by **mattia-bolognesi** May 8, 2023</sup>
I have a problem when running this script, basically gives an error on the ZeroAgent class:
```
prompt = ZeroShotAgent.create_prompt(
... | Problem with ZeroShotAgent.create_prompt() | https://api.github.com/repos/langchain-ai/langchain/issues/4345/comments | 1 | 2023-05-08T15:27:44Z | 2023-09-10T16:20:07Z | https://github.com/langchain-ai/langchain/issues/4345 | 1,700,472,614 | 4,345 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.161
Platform: Ubuntu 22.04.2 LTS
Python Version: 3.10.6
When trying to use the new OneDriveLoader, I get the below error.
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/.cache/pypoetry/virtualenvs/test-r_fbvPX4-py3.10/lib/pyth... | OneDriveLoader: NameError: name 'Account' is not defined. Did you mean: 'account'? | https://api.github.com/repos/langchain-ai/langchain/issues/4343/comments | 8 | 2023-05-08T14:57:18Z | 2023-11-13T16:09:26Z | https://github.com/langchain-ai/langchain/issues/4343 | 1,700,415,939 | 4,343 |
[
"hwchase17",
"langchain"
] | ### System Info
System: Linux
Kernel: Linux version 5.15.0-1026-aws (buildd@lcy02-amd64-088) ( gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 )
Python version: 3.8.16
LangChain version: 0.0.157
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modifi... | Empty API token in HuggingFaceEndpoint unless explicitly passed to Constructor | https://api.github.com/repos/langchain-ai/langchain/issues/4334/comments | 6 | 2023-05-08T11:48:06Z | 2024-02-11T16:20:22Z | https://github.com/langchain-ai/langchain/issues/4334 | 1,700,100,642 | 4,334 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, we frequently encounter breaking issues during development recently due to LangChain daily release. May I ask how do you plan to solve this problem in the future and recommend users to use LangChain with compatibility issues? Thanks!
For example, we import CallbackManager like t... | Issue: Compatibility issues with LangChain between different versions | https://api.github.com/repos/langchain-ai/langchain/issues/4332/comments | 1 | 2023-05-08T11:06:34Z | 2023-09-19T16:11:47Z | https://github.com/langchain-ai/langchain/issues/4332 | 1,700,049,036 | 4,332 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Argument `model_name` is the standard way of defining a model in LangChain's [ChatOpenAI](https://github.com/hwchase17/langchain/blob/65c95f9fb2b86cf3281f2f3939b37e71f048f741/langchain/chat_models/openai.py#L115). However, OpenAI uses `model` in their own [API](https://platform.openai.co... | Issue: Model and model_name inconsistency in OpenAI LLMs such as ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/4331/comments | 0 | 2023-05-08T10:49:23Z | 2023-05-08T23:37:37Z | https://github.com/langchain-ai/langchain/issues/4331 | 1,700,026,427 | 4,331 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.11.2
Langchain 0.0.161
Debian GNU/Linux 12 (bookworm)
### 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 ... | Langchain isn't verbose any more [run_manager gets dropped] | https://api.github.com/repos/langchain-ai/langchain/issues/4329/comments | 11 | 2023-05-08T09:43:07Z | 2024-03-02T07:54:51Z | https://github.com/langchain-ai/langchain/issues/4329 | 1,699,909,725 | 4,329 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Currently, the base URL of Serpapi is been hard coded.
While some search services(e.g. Bing, `BING_SEARCH_URL`) are configurable.
In some companies, the original can not be allowed to access. We need to use nginx redirect proxy.
So we need to make the base URL configurable via e... | Issue: Can not configure serpapi base url via env | https://api.github.com/repos/langchain-ai/langchain/issues/4328/comments | 2 | 2023-05-08T09:27:24Z | 2023-05-15T21:25:26Z | https://github.com/langchain-ai/langchain/issues/4328 | 1,699,888,708 | 4,328 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello,
While trying to import `from langchain.memory import ConversationBufferMemory` I am getting the error ```
ModuleNotFoundError: No module named 'langchain.memory'
Traceback:
```
File "c:\users\aviparna.biswas\appdata\local\programs\python\python37\lib\site-packages\stream... | ModuleNotFoundError: No module named 'langchain.memory' | https://api.github.com/repos/langchain-ai/langchain/issues/4327/comments | 10 | 2023-05-08T08:09:09Z | 2024-02-28T16:10:30Z | https://github.com/langchain-ai/langchain/issues/4327 | 1,699,755,334 | 4,327 |
[
"hwchase17",
"langchain"
] | ### System Info
In langchain 0.0.161, if I call
`S3DirectoryLoader(bucket, prefix)` where `prefix` is a "folder name" e.g. "documents/" you get a IsADirectoryError: [Errno 21] Is a directory exception.
It looks like the code is doing a filter on the bucket objects and the filter returns the files as well as the f... | S3DirectoryLoader throws S3DirectoryLoader exception when prefix is a directory | https://api.github.com/repos/langchain-ai/langchain/issues/4326/comments | 7 | 2023-05-08T08:05:02Z | 2024-02-13T16:16:53Z | https://github.com/langchain-ai/langchain/issues/4326 | 1,699,748,061 | 4,326 |
[
"hwchase17",
"langchain"
] | ### System Info
We are using the below Power BI Agent guide to try to connect to Power BI dashboard.
[Power BI Dataset Agent](https://python.langchain.com/en/latest/modules/agents/toolkits/examples/powerbi.html)
We are able to connect to OpenAI API but facing issues with the below line of code.
`powerbi=Power... | Power BI Dataset Agent Issue | https://api.github.com/repos/langchain-ai/langchain/issues/4325/comments | 14 | 2023-05-08T07:57:11Z | 2024-01-21T13:11:59Z | https://github.com/langchain-ai/langchain/issues/4325 | 1,699,733,507 | 4,325 |
[
"hwchase17",
"langchain"
] | ### System Info
We use langchain for processing medical related questions. Some of the questions are about STIs, mental health issues, etc. some of these questions are marked as inappropriate and are filtered by Azure's prompt filter. The problem is that the response sent by Azure in this case is of the wrong forma... | Invalid response object from API due to Azure content filter | https://api.github.com/repos/langchain-ai/langchain/issues/4324/comments | 4 | 2023-05-08T07:36:54Z | 2023-12-14T16:08:42Z | https://github.com/langchain-ai/langchain/issues/4324 | 1,699,709,093 | 4,324 |
[
"hwchase17",
"langchain"
] | I have two databases as vectorstores and I want to use VectoreStoreRouterToolkit to choose which vectorstore to use or in which order if both of them are needed. It seems the chain wouldn't stop even when the machine already gets the answer to the question. I have tried adjusting the prompt a bit but it doesn't work. C... | Issue: VectorStoreRouterToolkit wouldn't stop after getting the correct answer | https://api.github.com/repos/langchain-ai/langchain/issues/4317/comments | 1 | 2023-05-08T03:41:59Z | 2023-09-15T22:12:55Z | https://github.com/langchain-ai/langchain/issues/4317 | 1,699,454,978 | 4,317 |
[
"hwchase17",
"langchain"
] | ### System Info
m1 mac
### 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
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Doc... | import error ContextualCompressionRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/4316/comments | 8 | 2023-05-08T03:13:16Z | 2023-09-22T16:09:35Z | https://github.com/langchain-ai/langchain/issues/4316 | 1,699,435,926 | 4,316 |
[
"hwchase17",
"langchain"
] | ### Feature request
Lazily determines which output parser to use based on the docstrings of langchain output parser implementations or optionally, user supplied choices to route to. It'd look like this:
```python
parser = RouterOutputParser()
response = "2022-04-05T05:32:55"
parser.parse(response)
# decides to ... | `RouterOutputParser` | https://api.github.com/repos/langchain-ai/langchain/issues/4312/comments | 1 | 2023-05-08T00:38:13Z | 2023-09-10T16:20:13Z | https://github.com/langchain-ai/langchain/issues/4312 | 1,699,318,496 | 4,312 |
[
"hwchase17",
"langchain"
] | ### Feature request
data about usage patterns for tools
### Motivation
i recently added a jira toolkit, i'm interested to see if it is being used at all, and if so what are the usage patterns. because the tool is very primitive and there's a lot of areas i can improve it, want a bit of data on what's most useful for... | data about usage patterns for tools | https://api.github.com/repos/langchain-ai/langchain/issues/4311/comments | 1 | 2023-05-08T00:27:29Z | 2023-09-10T16:20:18Z | https://github.com/langchain-ai/langchain/issues/4311 | 1,699,313,751 | 4,311 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When trying to deploy the model on fly.io I am getting the following error. Can you please guide me on how to resolve it.
"ValidationError: 1 validation error for ChatVectorDBChain qa_prompt extra fields not permitted (type=value_error.extra)"
### Suggestion:
_No response_ | Issue: <Please write a comprehensive title after the 'Issue: ' ValidationError> | https://api.github.com/repos/langchain-ai/langchain/issues/4307/comments | 1 | 2023-05-07T23:56:57Z | 2023-09-10T16:20:23Z | https://github.com/langchain-ai/langchain/issues/4307 | 1,699,298,046 | 4,307 |
[
"hwchase17",
"langchain"
] | ### Feature request
Problem:
Unable to set binary_location for the Webdriver via SeleniumURLLoader
Proposal:
The proposal is to adding a new arguments parameter to the SeleniumURLLoader that allows users to pass binary_location
### Motivation
To deploy Selenium on Heroku ([tutorial](https://romik-kelesh.m... | [Feature Request] Allow users to pass binary location to Selenium WebDriver | https://api.github.com/repos/langchain-ai/langchain/issues/4304/comments | 0 | 2023-05-07T23:25:37Z | 2023-05-08T15:05:57Z | https://github.com/langchain-ai/langchain/issues/4304 | 1,699,284,650 | 4,304 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm serving a conversational chain in fastapi.
Here's the snippet where I run the chain asynchronously
```
chain = ConversationalRetrievalChain.from_llm(
llm=llm,
retriever=retriever,
chain_type="stuff",
)
response = await chain.acall({"que... | running asynchronous chain results in verbose output log info "INFO - openai.log_info - " | https://api.github.com/repos/langchain-ai/langchain/issues/4303/comments | 1 | 2023-05-07T23:04:39Z | 2023-09-10T16:20:28Z | https://github.com/langchain-ai/langchain/issues/4303 | 1,699,276,583 | 4,303 |
[
"hwchase17",
"langchain"
] | ### Feature request
I believe langchain agents could benefit from management knowledge.
Check this first: https://en.m.wikipedia.org/wiki/Viable_system_model
So i propose to have multiple agents that follow the viable system model, and prompts to performs the actions required by system 1 to 5 autonomously in o... | Having a viable agent | https://api.github.com/repos/langchain-ai/langchain/issues/4301/comments | 0 | 2023-05-07T22:53:26Z | 2024-05-10T16:05:44Z | https://github.com/langchain-ai/langchain/issues/4301 | 1,699,271,818 | 4,301 |
[
"hwchase17",
"langchain"
] | ### System Info
(not relevant)
```
$ uname -a
Linux jacob-latitude5580 5.15.0-71-lowlatency #78-Ubuntu SMP PREEMPT Wed Apr 19 12:17:25 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
```
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Relate... | Can't instantiate abstract class <subclass of `SimpleChatModel`> with abstract method `_agenerate` | https://api.github.com/repos/langchain-ai/langchain/issues/4299/comments | 3 | 2023-05-07T21:38:01Z | 2023-09-12T16:16:11Z | https://github.com/langchain-ai/langchain/issues/4299 | 1,699,247,019 | 4,299 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to work with Snowflake using `create_sql_agent`
Very often getting token limit error.
This is my code
```
from langchain.agents import create_sql_agent
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain.sql_database import SQLDatabase
fro... | Issue: Token Limit Exceeded Error in SQL Database Agent | https://api.github.com/repos/langchain-ai/langchain/issues/4293/comments | 19 | 2023-05-07T18:01:00Z | 2024-04-22T11:15:03Z | https://github.com/langchain-ai/langchain/issues/4293 | 1,699,171,342 | 4,293 |
[
"hwchase17",
"langchain"
] | ### Feature request
Log intermediate step to file on chain_type "refine" to help with the debugging process.
Have the library dump the intermediate step to a file on every step, even before the final output is calculated. This would the debugging process in the case of an error like this:
```
InvalidRequestError:... | Feature request: Log intermediate step to file on chain_type "refine" to help with the debugging process. | https://api.github.com/repos/langchain-ai/langchain/issues/4290/comments | 1 | 2023-05-07T17:05:41Z | 2023-09-10T16:20:39Z | https://github.com/langchain-ai/langchain/issues/4290 | 1,699,151,077 | 4,290 |
[
"hwchase17",
"langchain"
] | ### Feature request
The Searxng tool has num_results argument to return user wanted number of results...But while using 'pubmed' as engine its not working if num_results are set >10 because it is sought of hardcoded in pubmed engine module of searx api to 10. I tried to figure out how searxng tool is calling searx api... | enhance the code in searxng tool to define 'retmax' value when using pubmed as engine | https://api.github.com/repos/langchain-ai/langchain/issues/4289/comments | 1 | 2023-05-07T17:04:19Z | 2023-09-10T16:20:43Z | https://github.com/langchain-ai/langchain/issues/4289 | 1,699,150,560 | 4,289 |
[
"hwchase17",
"langchain"
] | ### Feature request
Dynamic Docs Chunk: Solution for people who keep hitting the "model's maximum context length" limit on chain_type refine.
On refine type, we sequentially combine the existing answer + new context. There are times when the existing answer gets sufficiently big, that the existing answer + new cont... | Dynamic Docs Chunk: Solution for people who keep hitting "model's maximum context length" limit on chain_type refine | https://api.github.com/repos/langchain-ai/langchain/issues/4288/comments | 1 | 2023-05-07T17:01:30Z | 2023-09-10T16:20:48Z | https://github.com/langchain-ai/langchain/issues/4288 | 1,699,149,432 | 4,288 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain-0.0.161-py3-none-any.whl
google colab
gpt-3.5-turbo
### 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... | Strange calculation for "multiplier" agent from example | https://api.github.com/repos/langchain-ai/langchain/issues/4286/comments | 1 | 2023-05-07T15:30:02Z | 2023-09-10T16:20:54Z | https://github.com/langchain-ai/langchain/issues/4286 | 1,699,113,918 | 4,286 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm in the process of developing a chatbot that responds to questions using some PDF files, which I've uploaded to Pinecone in vector format. During testing, I noticed that the 'chain({"input_documents": docs, "question": query}, return_only_outputs=True)' function sometimes returns ... | Issue: How to retrieve the full response for load_qa_chain? | https://api.github.com/repos/langchain-ai/langchain/issues/4282/comments | 1 | 2023-05-07T10:52:23Z | 2023-05-07T11:26:55Z | https://github.com/langchain-ai/langchain/issues/4282 | 1,699,007,813 | 4,282 |
[
"hwchase17",
"langchain"
] | ### System Info
I am getting an error when using LLMChain with openai model, here is the code :
```python
# prepare the prompt
prompt = PromptTemplate(
input_variables=give_assistance_input_variables,
template=give_assistance_prompt
)
prompt = prompt.format(command=query, cont... | LLMChain throwing error > value is not a valid | https://api.github.com/repos/langchain-ai/langchain/issues/4281/comments | 2 | 2023-05-07T09:14:39Z | 2023-06-23T09:00:07Z | https://github.com/langchain-ai/langchain/issues/4281 | 1,698,971,813 | 4,281 |
[
"hwchase17",
"langchain"
] | ### Feature request
Official support for self hosted [Text Generation Inference](https://github.com/huggingface/text-generation-inference) which is a Rust, Python and gRPC server for generating text using LLMs.
### Motivation
Expanding the langchain to support the Text Generation Inference server.
### Your contribu... | Official support for self hosted Text Generation Inference server by Huggingface. | https://api.github.com/repos/langchain-ai/langchain/issues/4280/comments | 1 | 2023-05-07T08:34:32Z | 2023-05-15T09:51:20Z | https://github.com/langchain-ai/langchain/issues/4280 | 1,698,958,064 | 4,280 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.161
Python 3.11.2
MacOS 13.3
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [X] The official documentation
### Related Components
- [X] Callbacks/Tracing
### Reproduction
Model output is not seen any more. Up to lang... | Callbacks stopped outputting anything | https://api.github.com/repos/langchain-ai/langchain/issues/4278/comments | 8 | 2023-05-07T07:12:03Z | 2024-07-19T12:01:52Z | https://github.com/langchain-ai/langchain/issues/4278 | 1,698,931,618 | 4,278 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: `langchain==0.0.161` (installed with `pip`)
Python version: `Python 3.11.2`
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [... | NameError when importing `GenerativeAgent` | https://api.github.com/repos/langchain-ai/langchain/issues/4275/comments | 6 | 2023-05-07T06:42:08Z | 2023-09-22T16:09:40Z | https://github.com/langchain-ai/langchain/issues/4275 | 1,698,923,172 | 4,275 |
[
"hwchase17",
"langchain"
] | ### Feature request
Define corresponding primitive structures and interfaces for images, audio, and video as has already been done for text.
Currently we have [this base Document class](https://github.com/hwchase17/langchain/blob/04b74d0446bdb8fc1f9e544d2f164a59bbd0df0c/langchain/schema.py#L269):
```python
class ... | Native Multimodal support | https://api.github.com/repos/langchain-ai/langchain/issues/4274/comments | 11 | 2023-05-07T06:41:51Z | 2024-03-28T17:58:46Z | https://github.com/langchain-ai/langchain/issues/4274 | 1,698,923,099 | 4,274 |
[
"hwchase17",
"langchain"
] | ### System Info
LanChain version: 0.0.158
Platform: macOS 13.3.1
Python version: 3.11
### Who can help?
@vowelparrot
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates /... | GetElementsTool produce unicode when the elements contain non-ascii text | https://api.github.com/repos/langchain-ai/langchain/issues/4265/comments | 1 | 2023-05-07T06:05:34Z | 2023-09-10T16:20:58Z | https://github.com/langchain-ai/langchain/issues/4265 | 1,698,912,826 | 4,265 |
[
"hwchase17",
"langchain"
] | ### Feature request
Stitches together multiple inputs until the combined input is complete. This allows the combined input to be larger than the token limit of the LLM. It also allow code blocks that get cut off to be correctly merged back together.
### Motivation
Most LLMs have a finite token limit. This uses LLMs ... | StitchedOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/4260/comments | 2 | 2023-05-07T05:16:57Z | 2023-09-10T16:21:04Z | https://github.com/langchain-ai/langchain/issues/4260 | 1,698,897,836 | 4,260 |
[
"hwchase17",
"langchain"
] | ### Feature request
Like `RetryWithErrorOutputParser`, but gives the LLM multiple attempt to succeed.
### Motivation
I have had not negligable success in some output parsing cases by merely giving the LLM a non-zero temperature (1.0 in my case) and more chances.
### Your contribution
Implemented `MultiAttemptRetry... | MultiAttemptRetryWithErrorOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/4259/comments | 3 | 2023-05-07T05:14:34Z | 2023-09-10T16:21:09Z | https://github.com/langchain-ai/langchain/issues/4259 | 1,698,897,205 | 4,259 |
[
"hwchase17",
"langchain"
] | ### Feature request
Different from ListOutputParser (see Motivation section)
Applies an output parser to each item in a newline separated list output
### Motivation
The ListOutputParser does not actually parse the list items. They are merely returned as string values and must be parsed downstream. However the `Retr... | ItemParsedListOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/4258/comments | 2 | 2023-05-07T05:12:10Z | 2023-09-10T16:21:14Z | https://github.com/langchain-ai/langchain/issues/4258 | 1,698,896,587 | 4,258 |
[
"hwchase17",
"langchain"
] | ### Feature request
Parses an `Enum` value from the output
This builds on #4256
### Motivation
- Enums provide a standard multiple choice representation format in python and are deeply integrated in many codebases. Why doesn't langchain introduce native support for them?
- This OutputParser should simplify the p... | EnumOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/4257/comments | 2 | 2023-05-07T05:08:30Z | 2023-09-10T16:21:19Z | https://github.com/langchain-ai/langchain/issues/4257 | 1,698,895,686 | 4,257 |
[
"hwchase17",
"langchain"
] | ### Feature request
Output parser that returns one of a set of options
### Motivation
- Many decisions are multiple choice. This makes it easier to elicidate this information from LLMs
### Your contribution
Implemented `ChoiceOutputParser`
Details in PR | ChoiceOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/4256/comments | 2 | 2023-05-07T05:06:21Z | 2023-09-10T16:21:25Z | https://github.com/langchain-ai/langchain/issues/4256 | 1,698,895,177 | 4,256 |
[
"hwchase17",
"langchain"
] | ### Feature request
Parses a datetime object against a datetime format string
### Motivation
- Date / Time information is usually given a native place in modern standard libraries. Why not langchain also?
- Save the time of having to (re)write pydantic model, dicts, etc. for each datetime parser
- Gives devs freed... | DatetimeOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/4255/comments | 2 | 2023-05-07T05:04:21Z | 2023-09-19T16:12:13Z | https://github.com/langchain-ai/langchain/issues/4255 | 1,698,894,704 | 4,255 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.