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 |
|---|---|---|---|---|---|---|---|---|---|
[
"langchain-ai",
"langchain"
] | ### Feature request
Obsidian markdown documents frequently have additional metadata beyond what is in the frontmatter: tags within the document, and (for many users) dataview plugin values.
Add support for this.
### Motivation
Surfacing tags and dataview fields would unlock more abilities for self-querying obsidi... | Add support tags and dataview fields to ObsidianLoader | https://api.github.com/repos/langchain-ai/langchain/issues/9800/comments | 2 | 2023-08-26T16:02:26Z | 2023-12-02T16:05:07Z | https://github.com/langchain-ai/langchain/issues/9800 | 1,868,155,973 | 9,800 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello, I tried to use AsyncFinalIteratorCallbackHandler (which inherits from AsyncCallbackHandler) to implement async streaming, then encountered following issue:
libs/langchain/langchain/callbacks/manager.py:301: RuntimeWarning: coroutine 'AsyncCallbackHandler.on_chat_model_start' ... | Issue: RuntimeWarning: coroutine 'AsyncCallbackHandler.on_chat_model_start' was never awaited | https://api.github.com/repos/langchain-ai/langchain/issues/9798/comments | 3 | 2023-08-26T12:46:53Z | 2023-12-02T16:05:12Z | https://github.com/langchain-ai/langchain/issues/9798 | 1,868,085,901 | 9,798 |
[
"langchain-ai",
"langchain"
] | null | Issue: what's the difference between this with RASA | https://api.github.com/repos/langchain-ai/langchain/issues/9792/comments | 4 | 2023-08-26T07:06:24Z | 2023-12-02T16:05:17Z | https://github.com/langchain-ai/langchain/issues/9792 | 1,867,947,019 | 9,792 |
[
"langchain-ai",
"langchain"
] | ### System Info
Colab environment
LangChain version: 0.0.152
### 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
- [ ] O... | GPT4All callup failure | https://api.github.com/repos/langchain-ai/langchain/issues/9786/comments | 2 | 2023-08-26T05:44:11Z | 2023-12-18T23:48:24Z | https://github.com/langchain-ai/langchain/issues/9786 | 1,867,920,013 | 9,786 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi, Actually exists a document loader for Google Drive in the Python version, I would like to propose this feature in the javascript version, it is important to our company.
### Motivation
Hi, Actually exists a document loader for Google Drive in the Python version, I would like to propose this f... | document loader google drive for javascript version | https://api.github.com/repos/langchain-ai/langchain/issues/9783/comments | 2 | 2023-08-26T02:19:29Z | 2023-12-02T16:05:22Z | https://github.com/langchain-ai/langchain/issues/9783 | 1,867,861,639 | 9,783 |
[
"langchain-ai",
"langchain"
] | ### System Info
pydantic==1.10.12
langchain==0.0.271
System: MacOS Ventura 13.5 (22G74)
Python 3.9.6
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] ... | RetrievalQA for document comparison is not working for similar type of questions. | https://api.github.com/repos/langchain-ai/langchain/issues/9780/comments | 2 | 2023-08-25T21:54:12Z | 2023-12-01T16:06:23Z | https://github.com/langchain-ai/langchain/issues/9780 | 1,867,724,844 | 9,780 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Some urls will return status code 403 if the right headers are not passed to the requests.get(path) function. My workaround was to provide the headers of that website to get the approval from the server. Would be great to be able to pass headers to PyMuPDFLoader and all the other web based document... | Pass headers arg (requests library) to loaders that fetch from web | https://api.github.com/repos/langchain-ai/langchain/issues/9778/comments | 3 | 2023-08-25T20:39:29Z | 2024-05-28T08:23:07Z | https://github.com/langchain-ai/langchain/issues/9778 | 1,867,657,651 | 9,778 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version 0.0.273
Python version 3.8.10
Ubuntu 20.04.5 LTS
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prom... | ConversationChain sends malformatted requests to server | https://api.github.com/repos/langchain-ai/langchain/issues/9776/comments | 3 | 2023-08-25T19:37:16Z | 2023-12-07T16:06:30Z | https://github.com/langchain-ai/langchain/issues/9776 | 1,867,592,455 | 9,776 |
[
"langchain-ai",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/709a67d9bfcff475356924d8461140052dd418f7/libs/langchain/langchain/chains/qa_with_sources/base.py#L123
I've noticed that the retrieval qa chain doesn't always return SOURCES, it sometimes returns "Sources", "sources" or "source". | The RetrievalQAWithSourcesChain with the ExamplePrompt doesn't always return SOURCES as part of it's answers. | https://api.github.com/repos/langchain-ai/langchain/issues/9774/comments | 3 | 2023-08-25T17:57:20Z | 2023-12-02T16:05:32Z | https://github.com/langchain-ai/langchain/issues/9774 | 1,867,473,509 | 9,774 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Right now, the Sagemaker Inference Endpoint LLM does not allow for async requests and it's a performance bottleneck.
I have an API gateway set up such that I have a restful api endpoint backed by the sagemaker inference endpoint.
In an ideal world:
1. Langchain should allow for ar... | Issue: SagemakerEndpoint does not support async calls | https://api.github.com/repos/langchain-ai/langchain/issues/9773/comments | 1 | 2023-08-25T17:21:24Z | 2023-12-01T16:06:42Z | https://github.com/langchain-ai/langchain/issues/9773 | 1,867,424,178 | 9,773 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
The issue with PySpark messages is that they could become quite lengthy and after some iterations they could potentially causing problems with token limits. In this context, I would like to initiate a discussion about this topic and explore potential solutions.
### Suggestion:
My... | PySpark error message and token limits in spark_sql | https://api.github.com/repos/langchain-ai/langchain/issues/9767/comments | 1 | 2023-08-25T14:22:11Z | 2023-12-01T16:06:48Z | https://github.com/langchain-ai/langchain/issues/9767 | 1,867,149,666 | 9,767 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.273
### 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
- [ ] Output Parsers
- [ ] Document... | AzureSearch.py is using constant field names instead of ours | https://api.github.com/repos/langchain-ai/langchain/issues/9765/comments | 14 | 2023-08-25T14:18:44Z | 2024-07-11T07:54:13Z | https://github.com/langchain-ai/langchain/issues/9765 | 1,867,141,839 | 9,765 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version : 0.0.273
Python version : 3.10.8
Platform : macOS 13.5.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Temp... | Streaming doesn't work correctly with caching | https://api.github.com/repos/langchain-ai/langchain/issues/9762/comments | 5 | 2023-08-25T13:35:30Z | 2024-04-23T09:58:26Z | https://github.com/langchain-ai/langchain/issues/9762 | 1,867,071,726 | 9,762 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.191
llama-cpp-python==0.1.78
chromadb==0.3.22
python3.10
wizard-vicuna-13B.ggmlv3.q4_0.bin
### Who can help?
@hwchase17 @agol
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
... | SelfQueryRetriever creates attributes that do not exist | https://api.github.com/repos/langchain-ai/langchain/issues/9761/comments | 5 | 2023-08-25T13:31:11Z | 2024-01-12T11:56:38Z | https://github.com/langchain-ai/langchain/issues/9761 | 1,867,063,910 | 9,761 |
[
"langchain-ai",
"langchain"
] | ### System Info
- LangChain version: 0.0.105
- Platform: Macbook Pro M1 - Mac OS Ventura
- Node.js version: v18.17.1
- qdrant/js-client-rest: 1.4.0
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ]... | JavaScript LangChain Qdrant semantic search results: pageContent in each Document is undefined | https://api.github.com/repos/langchain-ai/langchain/issues/9760/comments | 3 | 2023-08-25T13:08:16Z | 2023-08-25T13:27:22Z | https://github.com/langchain-ai/langchain/issues/9760 | 1,867,029,264 | 9,760 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello,
have two separate docker images as follows.
1. for the purpose of Loading documents and then tokenizing and creating embeddings and storing in Vector store DB like this `vector_store_db:Weaviate = weaviateInstance.from_documents(documents, self.embeddings, by_text=False) `
2.... | Issue: To be able to store Weaviate (for that matter any vector store) Vector Store in REDIS | https://api.github.com/repos/langchain-ai/langchain/issues/9758/comments | 10 | 2023-08-25T12:46:04Z | 2023-12-03T16:04:41Z | https://github.com/langchain-ai/langchain/issues/9758 | 1,866,995,735 | 9,758 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hey wanted to request a feature within the map-reduce chain where a person can send his own list of chunks data of a corpus instead of creating chunks of data based on sending a textsplitter and a corpus.
### Motivation
Sometime one might see map-reduce cases where one wants to use their own chun... | Custom Map-Reduce chain | https://api.github.com/repos/langchain-ai/langchain/issues/9757/comments | 2 | 2023-08-25T12:39:58Z | 2023-12-01T16:07:08Z | https://github.com/langchain-ai/langchain/issues/9757 | 1,866,987,071 | 9,757 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
can i load my local model by chain = LLMChain(llm=chat, prompt=chat_prompt)
### Suggestion:
_No response_ | Issue: can i load my local model by chain = LLMChain(llm=chat, prompt=chat_prompt) | https://api.github.com/repos/langchain-ai/langchain/issues/9752/comments | 4 | 2023-08-25T09:51:51Z | 2023-12-01T16:07:13Z | https://github.com/langchain-ai/langchain/issues/9752 | 1,866,736,311 | 9,752 |
[
"langchain-ai",
"langchain"
] | ### System Info
## Description:
### Context:
I'm using LangChain to develop an application that interacts with the gpt-3.5-turbo-16k model to handle long chains of up to 16384 tokens.
### Problem:
While the first message processes quickly **(specially if i have not previues context in the inputs)**, from the s... | Prolonged execution times when using ConversationChain and ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/9750/comments | 4 | 2023-08-25T09:08:55Z | 2023-12-27T16:05:53Z | https://github.com/langchain-ai/langchain/issues/9750 | 1,866,661,448 | 9,750 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/9605
<div type='discussions-op-text'>
<sup>Originally posted by **nima-cp** August 22, 2023</sup>
Hello everyone, I wanna have a Q&A over some documents including pdf, xml and csv. I'm having some difficulty to write a DirectoryLoader for dif... | DirectoryLoader for different file types | https://api.github.com/repos/langchain-ai/langchain/issues/9749/comments | 5 | 2023-08-25T09:03:10Z | 2024-04-22T10:04:26Z | https://github.com/langchain-ai/langchain/issues/9749 | 1,866,651,760 | 9,749 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I would like to have BambooHR Tool here(https://python.langchain.com/docs/integrations/tools/).
To make it possible to request information about employees within the company, their vacations, and so on.
### Motivation
BambooHR is quite a popular service, so I believe this tool will be used a l... | BambooHR Tool | https://api.github.com/repos/langchain-ai/langchain/issues/9748/comments | 16 | 2023-08-25T08:56:25Z | 2023-12-01T16:07:18Z | https://github.com/langchain-ai/langchain/issues/9748 | 1,866,641,171 | 9,748 |
[
"langchain-ai",
"langchain"
] | Hi, I would like to build a chat bot to support multple users to access the chat bot.
Since the llm model size is very big, my VRAM can only load only one copy of LLM.
I would like to know if there is any way to load the model once and multiple access concurrently.
Here is what I just tried.
I tried to create t... | Issue: LLM Multiple access problem | https://api.github.com/repos/langchain-ai/langchain/issues/9747/comments | 4 | 2023-08-25T08:42:02Z | 2023-12-01T16:07:23Z | https://github.com/langchain-ai/langchain/issues/9747 | 1,866,620,005 | 9,747 |
[
"langchain-ai",
"langchain"
] | ### Feature request
1. Ideally, current `input_variables` should be separated into `required_variables` and `allowed_variables`
2. `allowed_variables` should consist of `required_variables` + `optional_variables`
3. Current implementation of `format_document` requires some overhaul, as suggested by #7239. Since... | Add `optional_variables` for templates and make `format_document` customizable | https://api.github.com/repos/langchain-ai/langchain/issues/9746/comments | 0 | 2023-08-25T07:46:15Z | 2023-08-28T08:18:56Z | https://github.com/langchain-ai/langchain/issues/9746 | 1,866,525,826 | 9,746 |
[
"langchain-ai",
"langchain"
] | ### System Info
As stated in the title, the query is returning, but not the relevant documents. The code snippet below illustrates the issue:
```python
query = 'building bridges'
filter = Comparison(comparator=<Comparator.EQ: 'eq'>, attribute='construction_material', value='steel')
limit = None
[]
```
I k... | unexpected behavior: retriever.get_relevant_documents | https://api.github.com/repos/langchain-ai/langchain/issues/9744/comments | 2 | 2023-08-25T06:54:26Z | 2023-12-01T16:07:28Z | https://github.com/langchain-ai/langchain/issues/9744 | 1,866,443,166 | 9,744 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I've been using Langchain to connect with the MongoDB vector store. While the file upload functionality works seamlessly, I encounter an error when trying to use the similarity search feature. Here's the error message I receive:
 when calling the InvokeEndpoint operation: Received client error (424) from primary with message "{
"code":424,
"message":"predictio... | AWS Sagemaker | https://api.github.com/repos/langchain-ai/langchain/issues/9733/comments | 9 | 2023-08-25T02:57:42Z | 2023-12-01T16:07:32Z | https://github.com/langchain-ai/langchain/issues/9733 | 1,866,186,574 | 9,733 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.271
Platform: Ubuntu 20.04
Device: Nvidia-T4
Python version: 3.9.17
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] E... | `Chatbots` use case example is not working | https://api.github.com/repos/langchain-ai/langchain/issues/9732/comments | 3 | 2023-08-25T00:48:21Z | 2023-12-02T16:05:42Z | https://github.com/langchain-ai/langchain/issues/9732 | 1,866,073,423 | 9,732 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.271
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] ... | Langchain agent doesn't complete reasoning sequence stops halfway and can't use structured tools | https://api.github.com/repos/langchain-ai/langchain/issues/9728/comments | 3 | 2023-08-24T23:02:33Z | 2024-02-25T19:01:25Z | https://github.com/langchain-ai/langchain/issues/9728 | 1,866,002,041 | 9,728 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi there,
Currently using PGVector you can pass a filter object. But this filter object only allows key value pairs.
`Dict[str, str].
`
I am requesting the ability to also send a list of strings for easy filter across many pieces of data.
`Dict[str, list[str]]
`
### Motivation
... | Pgvector support to filter by List | https://api.github.com/repos/langchain-ai/langchain/issues/9726/comments | 3 | 2023-08-24T22:50:34Z | 2023-12-11T16:05:58Z | https://github.com/langchain-ai/langchain/issues/9726 | 1,865,993,227 | 9,726 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.258
Python Version 3.8.10
Ubuntu 20.04.5 LTS
We are following the instructions from the blog posted at https://python.langchain.com/docs/use_cases/question_answering/
We find that this works on small documents/directories. However when we run it on larger data sets, we... | Langchain QA over large documents results in Rate limit errors | https://api.github.com/repos/langchain-ai/langchain/issues/9717/comments | 6 | 2023-08-24T19:54:13Z | 2023-12-12T16:33:44Z | https://github.com/langchain-ai/langchain/issues/9717 | 1,865,791,331 | 9,717 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
It looks like it's creating new dataframes to answer complex questions, but in the answer it provides it keeps referencing the variable name rather than the printed variable.
Does the current agent not have the ability to create and use new variables?
Note: I'm using the CSV agent ... | Issue: pandas agent tries to create new variables but returns along the lines of "the top 10 are {top_10_df}" | https://api.github.com/repos/langchain-ai/langchain/issues/9715/comments | 8 | 2023-08-24T19:07:43Z | 2024-07-04T16:06:38Z | https://github.com/langchain-ai/langchain/issues/9715 | 1,865,729,449 | 9,715 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain Version: 0.0.271, Python 3.11
Like the title says, _aget_relevant_documents isn't implemented in ParentDocumentRetriever so async calls are not working. It throws an NotImplementedError in BaseRetriever:
```
async def _aget_relevant_documents(
self, query: str, *, run_manag... | ParentDocumentRetriever doesn't implement BaseRetriever._aget_relevant_documents | https://api.github.com/repos/langchain-ai/langchain/issues/9707/comments | 5 | 2023-08-24T15:28:16Z | 2023-12-01T16:07:43Z | https://github.com/langchain-ai/langchain/issues/9707 | 1,865,405,504 | 9,707 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The "Creating a Custom Prompt Template" documentation is outdated with Pydantic v2.
```
class FunctionExplainerPromptTemplate(StringPromptTemplate, BaseModel):
"""A custom prompt template that takes in the function name as input, and formats the prompt template to provide... | DOC: Custom Templates issue with Pydantic v2 | https://api.github.com/repos/langchain-ai/langchain/issues/9702/comments | 20 | 2023-08-24T14:13:41Z | 2024-02-16T16:09:02Z | https://github.com/langchain-ai/langchain/issues/9702 | 1,865,260,343 | 9,702 |
[
"langchain-ai",
"langchain"
] | ### System Info
Platform - AWS
Python version: 3.11.4
OS - Mac
### Who can help?
@3coins , @hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prom... | Calude models not able to output more than 8191 tokens. | https://api.github.com/repos/langchain-ai/langchain/issues/9697/comments | 6 | 2023-08-24T12:21:25Z | 2024-03-14T06:18:03Z | https://github.com/langchain-ai/langchain/issues/9697 | 1,865,041,669 | 9,697 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Initialization with Database Connection: When an instance of the PGVector class is created, it automatically establish a connection with the PostgreSQL Vector database.
Method for Closing Connection: we need to implement a method within the PGVector class that allows you to close the established... | No way to Close an open connection in PGVector.py | https://api.github.com/repos/langchain-ai/langchain/issues/9696/comments | 3 | 2023-08-24T11:57:09Z | 2023-11-15T20:34:38Z | https://github.com/langchain-ai/langchain/issues/9696 | 1,865,001,390 | 9,696 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
It will always output
```
responded: {content}
```
I suppose this [line](https://github.com/langchain-ai/langchain/blob/v0.0.271/libs/langchain/langchain/agents/openai_functions_agent/base.py#L130) is not correct.
### Suggestion:
Is the following code the way you need?
... | Agent by AgentType.OPENAI_FUNCTIONS cannot output message content. | https://api.github.com/repos/langchain-ai/langchain/issues/9695/comments | 1 | 2023-08-24T10:03:15Z | 2023-11-30T16:06:01Z | https://github.com/langchain-ai/langchain/issues/9695 | 1,864,822,137 | 9,695 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
eroory msg:
Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/ch... | Issue: APIConnectionError: Error communicating with OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/9688/comments | 2 | 2023-08-24T06:59:49Z | 2023-11-30T02:15:30Z | https://github.com/langchain-ai/langchain/issues/9688 | 1,864,533,468 | 9,688 |
[
"langchain-ai",
"langchain"
] | 
The Prompt was to explain tables in the data. in this case it should query into the SQL database. | DQL DB Langchain : When running an db_run query based on the prompt it should execute sql query only when needed. | https://api.github.com/repos/langchain-ai/langchain/issues/9686/comments | 5 | 2023-08-24T06:35:24Z | 2024-01-24T10:41:11Z | https://github.com/langchain-ai/langchain/issues/9686 | 1,864,499,596 | 9,686 |
[
"langchain-ai",
"langchain"
] | ### System Info
> Entering new AgentExecutor chain...
Invoking: `duckduckgo_search` with `2023年8月的新闻`
An error occurred: 'DDGS' object does not support the context manager protocol
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scri... | An error occurred: 'DDGS' object does not support the context manager protocol | https://api.github.com/repos/langchain-ai/langchain/issues/9685/comments | 2 | 2023-08-24T05:50:09Z | 2023-11-30T16:06:11Z | https://github.com/langchain-ai/langchain/issues/9685 | 1,864,451,518 | 9,685 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Enable the option to specify arbitrary keyword arguments (e.g. gpu_memory_utilization=0.98) in langchain.llms.VLLM() constructor
### Motivation
Currently, vllm library provides many useful keyword arguments which enables a lot of usages on a wide variety of devices, but langchain doesn't.
e.g.... | Allow specifying arbitrary keyword arguments in `langchain.llms.VLLM` | https://api.github.com/repos/langchain-ai/langchain/issues/9682/comments | 2 | 2023-08-24T05:41:55Z | 2023-11-30T16:06:16Z | https://github.com/langchain-ai/langchain/issues/9682 | 1,864,443,617 | 9,682 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version == 0.0.271
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ]... | initialize_agent not saving and returning messages in memory | https://api.github.com/repos/langchain-ai/langchain/issues/9681/comments | 1 | 2023-08-24T05:30:13Z | 2023-08-24T05:40:45Z | https://github.com/langchain-ai/langchain/issues/9681 | 1,864,433,344 | 9,681 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The basic documents for the output parser are out of date for pydantic. Tried with python 3.9 and 3.11.
```
pip install langchain
pip install python-dotenv
```
The copied code:
```
from langchain.prompts import PromptTemplate, ChatPromptTemplate, HumanMessagePromptTem... | DOC: <Please write a comprehensive title after the 'DOC: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/9680/comments | 2 | 2023-08-24T05:17:48Z | 2023-11-30T16:06:21Z | https://github.com/langchain-ai/langchain/issues/9680 | 1,864,422,532 | 9,680 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version == 0.0.271
### Who can help?
@hw
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Documen... | Initialize_agent not storing messages when memory is present | https://api.github.com/repos/langchain-ai/langchain/issues/9679/comments | 1 | 2023-08-24T05:04:25Z | 2023-08-24T05:25:36Z | https://github.com/langchain-ai/langchain/issues/9679 | 1,864,411,414 | 9,679 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I tried to use Erine Bot as an agent like below
```python
tools = [faq_tool, query_order_tool]
FORMAT_INSTRUCTIONS = """要使用工具,请按照以下格式返回:
Thought: 我是否需要使用一个工具? 是
Action: 采取的action应该是以下之一:[{tool_names}]
Action Input: action的输入参数
Observation: action的返回结果
如果你不需要使用工具, 请按以下格式返回:
... | Issue: ERNIE Bot is not able to call tool | https://api.github.com/repos/langchain-ai/langchain/issues/9678/comments | 5 | 2023-08-24T03:51:14Z | 2023-11-30T16:06:26Z | https://github.com/langchain-ai/langchain/issues/9678 | 1,864,353,926 | 9,678 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
_No response_
### Idea or request for content:
_No response_ | Please share a complete document PDF OR markdown etc about langchain | https://api.github.com/repos/langchain-ai/langchain/issues/9677/comments | 2 | 2023-08-24T03:07:12Z | 2023-11-30T16:06:31Z | https://github.com/langchain-ai/langchain/issues/9677 | 1,864,308,955 | 9,677 |
[
"langchain-ai",
"langchain"
] | ### Feature request
We are currently using OpenAI's ChatCompletion API with custom ChatPromptTemplate, as converting langchain's ChatPromptTemplate to dict (or vice versa) seems not working well.
So I'd like to suggest new feature, to enable loading [ChatPromptTemplate](https://github.com/langchain-ai/langchain/blo... | Support load ChatPromptTemplate from config dict | https://api.github.com/repos/langchain-ai/langchain/issues/9676/comments | 2 | 2023-08-24T03:04:38Z | 2023-11-30T16:06:36Z | https://github.com/langchain-ai/langchain/issues/9676 | 1,864,307,161 | 9,676 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
langchain==0.0.250
platform = macOS
Python version 3.11
I am not sure if this is by design, I think it is not and hence reporting this as an issue.
When looping through a list of pdf files to get a summary for each I am creating an index using - VectorstoreIndexCreator().from_doc... | Issue: vectorstore hence indexes and embeddings are persisting when they should not be. | https://api.github.com/repos/langchain-ai/langchain/issues/9668/comments | 3 | 2023-08-23T23:32:29Z | 2023-11-30T16:06:41Z | https://github.com/langchain-ai/langchain/issues/9668 | 1,864,147,213 | 9,668 |
[
"langchain-ai",
"langchain"
] | ### System Info
- Version: 0.0.271
- Platform: Macbook Pro M1 macos 13.5
- Python Version: 3.11.4
### Who can help?
@...
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templat... | Could not parse LLM output: `Action: json_spec_list_keys(data)` | https://api.github.com/repos/langchain-ai/langchain/issues/9658/comments | 2 | 2023-08-23T15:39:38Z | 2023-11-29T16:06:24Z | https://github.com/langchain-ai/langchain/issues/9658 | 1,863,582,262 | 9,658 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Modules -> prompt templates
This set code which is there in documentation is throwing error
`from langchain import PromptTemplate`
`invalid_prompt = PromptTemplate(`
` input_variables=["adjective"],`
` template="Tell me a {adjective} joke about {content}."`
`)`
Be... | Error in the code given in the prompt template | https://api.github.com/repos/langchain-ai/langchain/issues/9656/comments | 3 | 2023-08-23T15:02:55Z | 2023-12-04T16:05:28Z | https://github.com/langchain-ai/langchain/issues/9656 | 1,863,519,793 | 9,656 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.235 / python 3.10.11 /
File: libs/langchain/langchain/output_parsers/json.py
There is a bug in the function `parse_json_markdown`.
When the input json_string contains \`\`\` $code \`\`\` . It mistakenly interprets $code as json format and fails to parse.
### Who can help?
_No... | output_parser has a bug while the output string has ``` code ``` | https://api.github.com/repos/langchain-ai/langchain/issues/9654/comments | 1 | 2023-08-23T11:58:25Z | 2023-11-29T16:06:34Z | https://github.com/langchain-ai/langchain/issues/9654 | 1,863,187,495 | 9,654 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Link not working: [OpenAPI](https://python.langchain.com/docs/use_cases/apis/openapi_openai)
where is the link? https://python.langchain.com/docs/modules/chains/how_to/openai_functions
### Idea or request for content:
_No response_ | DOC: Not working: <OpenAPI spec and create + execute valid requests against the API> | https://api.github.com/repos/langchain-ai/langchain/issues/9653/comments | 2 | 2023-08-23T11:28:20Z | 2023-11-29T16:06:39Z | https://github.com/langchain-ai/langchain/issues/9653 | 1,863,141,243 | 9,653 |
[
"langchain-ai",
"langchain"
] | I wrote a ChatGLM class that inherits LLM class as below.
```
class ChatGLM(LLM):
def _call(self, prompt: str,
stop: Optional[List[str]] = None) -> str:
message = [{"role": "user", "content": prompt}]
payload = {"model": "string", ...}
headers = {"Content-Type": "appl... | sql_cmd Error: SQLDatabaseChain with ChatGLM2-6B | https://api.github.com/repos/langchain-ai/langchain/issues/9651/comments | 2 | 2023-08-23T10:31:14Z | 2023-11-30T16:06:51Z | https://github.com/langchain-ai/langchain/issues/9651 | 1,863,049,747 | 9,651 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.268
python 3.9
Windows 10
### 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 Sele... | PydanticOutputParser not called by chain | https://api.github.com/repos/langchain-ai/langchain/issues/9650/comments | 2 | 2023-08-23T10:00:55Z | 2023-08-23T11:45:35Z | https://github.com/langchain-ai/langchain/issues/9650 | 1,862,997,610 | 9,650 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using ConversationalRetrievalChain for the RAG question-answer bot.
There is one LLM call that I have not configured and it is reducing the quality of responses and increasing the time.
The prompt in the LLM call is:
> Given the following conversation and a follow up question... | Issue: How to stop extra LLM call in ConversationalRetrievalChain for question rephrasing | https://api.github.com/repos/langchain-ai/langchain/issues/9649/comments | 17 | 2023-08-23T09:53:18Z | 2024-06-24T20:10:42Z | https://github.com/langchain-ai/langchain/issues/9649 | 1,862,983,742 | 9,649 |
[
"langchain-ai",
"langchain"
] | ### System Info
VLLM from langchain gives the below error and stops executing:
code: `python
from langchain.llms import VLLM
llm = VLLM(model="facebook/opt-125m"
tensor_parallel_size=2,
trust_remote_code=True, # mandatory for hf models
max_new_tokens=128,
top_k=1... | VLLM from langchain.llms | https://api.github.com/repos/langchain-ai/langchain/issues/9646/comments | 3 | 2023-08-23T09:05:03Z | 2023-11-29T16:06:49Z | https://github.com/langchain-ai/langchain/issues/9646 | 1,862,893,898 | 9,646 |
[
"langchain-ai",
"langchain"
] | ### System Info
win10
### 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
- [ ] Document Loaders
- [... | Load a jpg using UnstructuredImageLoader from Langchain. | https://api.github.com/repos/langchain-ai/langchain/issues/9644/comments | 2 | 2023-08-23T08:39:20Z | 2023-11-29T16:06:54Z | https://github.com/langchain-ai/langchain/issues/9644 | 1,862,851,384 | 9,644 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
def get_connection():
user=os.environ.get('DB_USERNAME')
database= os.environ.get('DB_DATABASE')
password=os.environ.get('DB_PASSWORD')
host= os.environ.get('DB_HOST')
port= os.environ.get('DB_PORT')
return create_engine(
url="mysql+pymysql:/... | Issue: I am working with SQLChain and initialize_agent it is not answering from the connected database. | https://api.github.com/repos/langchain-ai/langchain/issues/9641/comments | 4 | 2023-08-23T06:54:38Z | 2023-11-29T16:06:59Z | https://github.com/langchain-ai/langchain/issues/9641 | 1,862,687,289 | 9,641 |
[
"langchain-ai",
"langchain"
] | ### System Info
Win10
### 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
- [ ] Document Loaders
- [... | When using Langchain to upload a .docx file to the Milvus database, an error occurs. | https://api.github.com/repos/langchain-ai/langchain/issues/9640/comments | 2 | 2023-08-23T06:25:55Z | 2023-11-29T16:07:05Z | https://github.com/langchain-ai/langchain/issues/9640 | 1,862,651,370 | 9,640 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
There is a notebook link in [QA using a Retriever
](https://python.langchain.com/docs/use_cases/question_answering/how_to/vector_db_qa)
that should open a [notebook](https://python.langchain.com/docs/modules/chains/additional/question_answering.html)
But link is boken. Page d... | DOC: Broken notebook link | https://api.github.com/repos/langchain-ai/langchain/issues/9639/comments | 2 | 2023-08-23T06:17:03Z | 2023-11-29T16:07:11Z | https://github.com/langchain-ai/langchain/issues/9639 | 1,862,640,640 | 9,639 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.271
### Who can help?
@hwchase17
### 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
- [ ] Document L... | PipelinePromptTemplate does not respect partial_variables | https://api.github.com/repos/langchain-ai/langchain/issues/9636/comments | 2 | 2023-08-23T02:31:08Z | 2023-11-29T16:07:15Z | https://github.com/langchain-ai/langchain/issues/9636 | 1,862,450,431 | 9,636 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: 0.0.266
Python3.11.4
Sample python snippet:
```with open("openapi_request_body.yaml") as f:
raw_api_spec = yaml.load(f, Loader=yaml.Loader)
api_spec = reduce_openapi_spec(raw_api_spec)
requests_wrapper = RequestsWrapper()
from langchain.llms.openai import OpenAI
fro... | create_openapi_agent always generating same chain no matter what question | https://api.github.com/repos/langchain-ai/langchain/issues/9634/comments | 2 | 2023-08-23T00:54:53Z | 2023-08-23T05:08:57Z | https://github.com/langchain-ai/langchain/issues/9634 | 1,862,387,605 | 9,634 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add the option to output progress bar Methods that add documents to an index, e.g., `from_documents`.
### Motivation
Methods that add documents to an index can take a long time to execute, e.g., `from_documents`. When executing from a notebook or CLI it would be very convenient to be able to tr... | Monitoring the progress of long running vectorDB index updates | https://api.github.com/repos/langchain-ai/langchain/issues/9630/comments | 2 | 2023-08-22T22:08:51Z | 2024-02-25T16:06:52Z | https://github.com/langchain-ai/langchain/issues/9630 | 1,862,271,039 | 9,630 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.246
Python 3.11.4
SQLAlchemy 1.4.39
### Who can help?
_No response_
### 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
-... | SQLDatabaseChain: sqlite3.Warning: You can only execute one statement at a time. | https://api.github.com/repos/langchain-ai/langchain/issues/9627/comments | 3 | 2023-08-22T20:04:19Z | 2023-11-29T16:07:20Z | https://github.com/langchain-ai/langchain/issues/9627 | 1,862,121,036 | 9,627 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The current documentation recommends running the following SQL function to create a table and function for using a supabase postgres database as a vector store.
```postgres
-- Enable the pgvector extension to work with embedding vectors
create extension vector;
-- Create ... | DOC: Langchain Supabase Vectorstore ID Incompatability | https://api.github.com/repos/langchain-ai/langchain/issues/9624/comments | 6 | 2023-08-22T19:07:33Z | 2023-12-04T20:18:50Z | https://github.com/langchain-ai/langchain/issues/9624 | 1,862,041,049 | 9,624 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.193
python 3.8.10
### 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 Templa... | duckdb too small to be a Parquet file | https://api.github.com/repos/langchain-ai/langchain/issues/9616/comments | 3 | 2023-08-22T15:12:51Z | 2024-02-08T16:26:11Z | https://github.com/langchain-ai/langchain/issues/9616 | 1,861,679,027 | 9,616 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain-0.0.270
Croma Db Wrapper not considering the **kwargs for querying the collection
Method: similarity_search_with_score
Code :
results = self.__query_collection(
query_embeddings=[query_embedding], n_results=k, where=filter
)
the query collection does... | Croma Db Wrapper not considering the **kwargs for quering the collection | https://api.github.com/repos/langchain-ai/langchain/issues/9611/comments | 2 | 2023-08-22T14:12:14Z | 2023-11-29T16:07:30Z | https://github.com/langchain-ai/langchain/issues/9611 | 1,861,554,770 | 9,611 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version: 0.0.270
python version: 3.11.0
os: Ubuntu 20.04.6 LTS
### 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... | import DirectoryLoader generate error | https://api.github.com/repos/langchain-ai/langchain/issues/9609/comments | 3 | 2023-08-22T13:19:30Z | 2023-08-22T17:00:35Z | https://github.com/langchain-ai/langchain/issues/9609 | 1,861,452,000 | 9,609 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.249
### Who can help?
@hwchase17 @agola11 @eyurtsev
### 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 Pa... | TypeError: Object of type ConversationalRetrievalChain is not JSON serializable | https://api.github.com/repos/langchain-ai/langchain/issues/9607/comments | 4 | 2023-08-22T12:48:52Z | 2024-02-07T16:27:08Z | https://github.com/langchain-ai/langchain/issues/9607 | 1,861,394,996 | 9,607 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Greetings everyone,
I'm interested in directly saving the chromaDB vector store to an S3 bucket. Is there a way to accomplish this?
### Motivation
I want to run my LLM directly in the AWS cloud, but firstly I need to deal with implementation of efficient loading and saving of my db.
### Yo... | Upload ChromDB vectordb from s3 | https://api.github.com/repos/langchain-ai/langchain/issues/9606/comments | 8 | 2023-08-22T12:43:32Z | 2024-02-14T16:11:38Z | https://github.com/langchain-ai/langchain/issues/9606 | 1,861,385,729 | 9,606 |
[
"langchain-ai",
"langchain"
] | ### Describe the feature or improvement you're requesting
When making a direct call to OpenAI's POST /v1/chat/completions endpoint, we receive valuable headers that provide information about the rate limiting, including:
```
x-ratelimit-limit-requests: 3500
x-ratelimit-remaining-requests: 3499
x-ratelimit-rese... | Expose x-ratelimit-* headers from OpenAI API with Langchain | https://api.github.com/repos/langchain-ai/langchain/issues/9601/comments | 3 | 2023-08-22T11:04:51Z | 2024-05-14T16:06:16Z | https://github.com/langchain-ai/langchain/issues/9601 | 1,861,223,410 | 9,601 |
[
"langchain-ai",
"langchain"
] | ### System Info
python==3.9
langchain==0.0.246
### Who can help?
@hwchase17
### 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
- [ ] Output Parsers
- ... | MultiRouteChain not working as expected | https://api.github.com/repos/langchain-ai/langchain/issues/9600/comments | 4 | 2023-08-22T10:31:29Z | 2024-06-15T23:43:20Z | https://github.com/langchain-ai/langchain/issues/9600 | 1,861,170,095 | 9,600 |
[
"langchain-ai",
"langchain"
] | ### System Info
(.venv) yale@LAPTOP-MATEBOOK:~/work/llm-app$ python --version
Python 3.10.12
(.venv) yale@LAPTOP-MATEBOOK:~/work/llm-app$ pip list|grep langchain
langchain 0.0.262
langchainplus-sdk 0.0.20
### Who can help?
_No response_
### Information
- [ ] The official example noteboo... | _to_args_and_kwargs() failed to handle tool definition with no arguments | https://api.github.com/repos/langchain-ai/langchain/issues/9599/comments | 2 | 2023-08-22T10:20:56Z | 2023-11-28T16:07:40Z | https://github.com/langchain-ai/langchain/issues/9599 | 1,861,150,371 | 9,599 |
[
"langchain-ai",
"langchain"
] | Hi Team,
Is there schedule to support plugins with auth?
thanks. | Schedule for supporting plugins with auth | https://api.github.com/repos/langchain-ai/langchain/issues/9597/comments | 1 | 2023-08-22T09:49:48Z | 2023-11-28T16:07:45Z | https://github.com/langchain-ai/langchain/issues/9597 | 1,861,082,845 | 9,597 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version 0.0.270
### Who can help?
@hwchase17
### 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
- [ ] Doc... | List in ChatMessageHistory is not correctly initialized | https://api.github.com/repos/langchain-ai/langchain/issues/9595/comments | 1 | 2023-08-22T09:38:59Z | 2023-08-25T12:08:49Z | https://github.com/langchain-ai/langchain/issues/9595 | 1,861,060,406 | 9,595 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add option to specify dtype (e.g. `float16`) in `langchain.llms.VLLM()` constructor,
### Motivation
Currently, `vllm` library provides an argument to use `float16` dtype, but langchain doesn't.
There is no way to use langchain VLLM with a GPU < 8.0 compute capability.
, _chunk_size))
except ImportError:
_iter = range(0, len(tokens), _chunk_size)
```
Current code does not work very well on jupyter notebook, so replace it with `tqdm.auto`... | Replace `tqdm` with `tqdm.auto` | https://api.github.com/repos/langchain-ai/langchain/issues/9582/comments | 2 | 2023-08-22T06:56:51Z | 2023-08-23T00:41:43Z | https://github.com/langchain-ai/langchain/issues/9582 | 1,860,735,901 | 9,582 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version 0.0.270
### Who can help?
@hwchase17
### 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
- [ ] Doc... | make test in experimental crash | https://api.github.com/repos/langchain-ai/langchain/issues/9581/comments | 2 | 2023-08-22T06:49:07Z | 2023-09-19T08:47:29Z | https://github.com/langchain-ai/langchain/issues/9581 | 1,860,722,360 | 9,581 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add support for DocAI from Google Cloud as a pdf parser
### Motivation
It might be faster for large samples of documents (and maybe better in some cases).
### Your contribution
yep, I'm happy to | Add support for DocAI from Google Cloud as a pdf parser | https://api.github.com/repos/langchain-ai/langchain/issues/9578/comments | 2 | 2023-08-22T05:52:46Z | 2023-11-28T16:07:55Z | https://github.com/langchain-ai/langchain/issues/9578 | 1,860,625,662 | 9,578 |
[
"langchain-ai",
"langchain"
] | ### System Info
HuggingFaceEndpoint Returns an Empty String both when prompted using ._call() method and when used as an LLM in a QA chain. Examples of what I've tried, below:
```
from langchain.llms import HuggingFaceEndpoint
from langchain.chains.question_answering import load_qa_chain
from langchain.vectors... | HuggingFaceEndpoint Returns an Empty String | https://api.github.com/repos/langchain-ai/langchain/issues/9576/comments | 2 | 2023-08-22T03:52:51Z | 2023-11-28T16:08:00Z | https://github.com/langchain-ai/langchain/issues/9576 | 1,860,497,298 | 9,576 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I'm getting this:
Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
When visiting:
- https://python.langchain.com/docs/modules/chains/additional/
-... | Additional/Popular chains Page Not Found | https://api.github.com/repos/langchain-ai/langchain/issues/9575/comments | 2 | 2023-08-22T03:24:06Z | 2023-11-28T16:08:05Z | https://github.com/langchain-ai/langchain/issues/9575 | 1,860,477,232 | 9,575 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It might be very helpful to let users react with each page of the documentation so that contributors, users and people working will know which document has been out-dated / not usable.
### Motivation
I saw many inconsistencies in different docs and some codes are no longer usable as the dependanc... | Adding thumbs-up and thumbs-down for documentations | https://api.github.com/repos/langchain-ai/langchain/issues/9559/comments | 1 | 2023-08-21T19:23:20Z | 2023-11-27T16:06:16Z | https://github.com/langchain-ai/langchain/issues/9559 | 1,859,998,066 | 9,559 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am trying to use a template to pre customize the AI, but my Code is not working!
Any idea why it's not working?
This is the basic part of my code:
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Compo... | using PromptTemplate with initialze_agent | https://api.github.com/repos/langchain-ai/langchain/issues/9553/comments | 8 | 2023-08-21T17:47:57Z | 2023-11-27T16:06:21Z | https://github.com/langchain-ai/langchain/issues/9553 | 1,859,861,388 | 9,553 |
[
"langchain-ai",
"langchain"
] | ### Feature request
appreciate your efforts on show how integrate Hugginface models with langchain: https://python.langchain.com/docs/integrations/llms/huggingface_pipelines
but this is just a shallow port from huggingface to langchain not yet a full integration on the [Chat model](https://github.com/langchain-ai/l... | llama 2 through HF further integration with langchain on chat model | https://api.github.com/repos/langchain-ai/langchain/issues/9550/comments | 2 | 2023-08-21T17:37:45Z | 2023-11-27T16:06:26Z | https://github.com/langchain-ai/langchain/issues/9550 | 1,859,842,021 | 9,550 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The RetryOutputParser class has several drawbacks:
- it must point to a chain different from the one that calls it
- it does not make it possible to specify a number of retries
### Motivation
Following a request, ChatGPT sometimes answers with an invalid format and the same request must be rese... | Being able to retry a chain until the output is valid | https://api.github.com/repos/langchain-ai/langchain/issues/9546/comments | 10 | 2023-08-21T16:17:22Z | 2024-05-21T16:07:30Z | https://github.com/langchain-ai/langchain/issues/9546 | 1,859,715,484 | 9,546 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using the Cognitive search retriever according to the documentation, however I run into an error, regarding the type of return value.
**Reproduction**:
import os
from langchain.retrievers import AzureCognitiveSearchRetriever
os.environ["AZURE_COGNITIVE_SEARCH_SERVICE_NAME"] = ... | Azure cognitive search retriever: ValidationError: 1 validation error for Document page_content | https://api.github.com/repos/langchain-ai/langchain/issues/9545/comments | 2 | 2023-08-21T15:58:11Z | 2023-08-21T19:33:47Z | https://github.com/langchain-ai/langchain/issues/9545 | 1,859,684,763 | 9,545 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.268
Python 3.9
Windows 10
### 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... | Impossible to enrich BaseOutputParser with a custom object member | https://api.github.com/repos/langchain-ai/langchain/issues/9540/comments | 5 | 2023-08-21T14:43:51Z | 2024-06-01T00:07:33Z | https://github.com/langchain-ai/langchain/issues/9540 | 1,859,531,876 | 9,540 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am working with SQLDatabaseChain in Django framework everytime I execute the code it shows below error.
File "C:\Users\ehsuser\AppData\Local\Programs\Python\Python310\lib\socket.py", line 705, in readinto
return self._sock.recv_into(b)
ConnectionAbortedError: [WinError 10053] ... | Issue: I am using GPT-4 with SQLDatabaseChain it shows ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine error | https://api.github.com/repos/langchain-ai/langchain/issues/9538/comments | 2 | 2023-08-21T14:18:28Z | 2023-11-27T16:06:31Z | https://github.com/langchain-ai/langchain/issues/9538 | 1,859,484,256 | 9,538 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
pip freeze | grep langchain
langchain==0.0.268
langchainplus-sdk==0.0.17
```
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts... | Plain models are not calling callbacks when cached | https://api.github.com/repos/langchain-ai/langchain/issues/9537/comments | 7 | 2023-08-21T14:12:46Z | 2024-04-09T16:12:35Z | https://github.com/langchain-ai/langchain/issues/9537 | 1,859,472,931 | 9,537 |
[
"langchain-ai",
"langchain"
] | ### System Info
This regression affects Langchain >=0.0.262. This regression was introduced with #8965.
If an agent's output to input to a tool (e.g. to generate an `AgentAction`) contains either backticks (such as to represent a code block with ```), or embedded JSON (such as a structured JSON string in the `act... | Regression in structured_chat agent's Output parser | https://api.github.com/repos/langchain-ai/langchain/issues/9535/comments | 2 | 2023-08-21T14:05:33Z | 2023-11-27T16:06:36Z | https://github.com/langchain-ai/langchain/issues/9535 | 1,859,456,565 | 9,535 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version = 0.0.268
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ... | SelfQueryRetriever returns duplicate document data using with chromaDB | https://api.github.com/repos/langchain-ai/langchain/issues/9532/comments | 6 | 2023-08-21T12:15:55Z | 2024-03-26T13:13:52Z | https://github.com/langchain-ai/langchain/issues/9532 | 1,859,248,153 | 9,532 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.0.74
Python 3.10
Windows 10
### 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
- [ ] Outpu... | AttributeError: 'RecursiveCharacterTextSplitter' object has no attribute 'split_documents' | https://api.github.com/repos/langchain-ai/langchain/issues/9528/comments | 2 | 2023-08-21T08:54:33Z | 2023-11-27T16:06:46Z | https://github.com/langchain-ai/langchain/issues/9528 | 1,858,916,366 | 9,528 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
Iam using langchain version 0.0.187.
Here are the steps that I have followed to get chat response uisng langchain
```
def initlize_llm_chain_prompt(self):
print("initilizing llm chain prompt")
llm_model=AzureOpenAI(deployment_name=self.AZURE_OPENAI_CHATGPT_... | Chatbot responses are deterorating on using langchain compared to open AI completion | https://api.github.com/repos/langchain-ai/langchain/issues/9526/comments | 2 | 2023-08-21T08:00:24Z | 2023-11-30T16:07:01Z | https://github.com/langchain-ai/langchain/issues/9526 | 1,858,823,860 | 9,526 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Issue you'd like to raise.
langchain==0.0.162
Hi, I am using a fine tuned model that generates user prompts to SQL queries, instead of the default model provided by langchain. The reason for doing this is because langchain does not know about all the data from the database unless you provide co... | Request for using custom fine tuned models | https://api.github.com/repos/langchain-ai/langchain/issues/9523/comments | 2 | 2023-08-21T05:59:17Z | 2023-11-27T16:06:56Z | https://github.com/langchain-ai/langchain/issues/9523 | 1,858,654,621 | 9,523 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
This is my code, I'm not sure if it's correct:
`from langchain.llms import ChatGLM
from langchain.agents import load_tools, initialize_agent
from langchain.agents import AgentType, tool
from datetime import date
@tool
def time(text: str) -> str:
"""返回今天的日期,用于回答用户关于今天日期的问题。
... | Issue: Proxy not successfully used | https://api.github.com/repos/langchain-ai/langchain/issues/9522/comments | 6 | 2023-08-21T03:49:38Z | 2023-11-28T16:08:20Z | https://github.com/langchain-ai/langchain/issues/9522 | 1,858,529,130 | 9,522 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version 0.0.268
### 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
- [ ] O... | AttributeError: 'super' object has no attribute 'parse_obj' when using OpenAPISpec.from_file | https://api.github.com/repos/langchain-ai/langchain/issues/9520/comments | 15 | 2023-08-21T02:28:34Z | 2024-06-26T11:19:14Z | https://github.com/langchain-ai/langchain/issues/9520 | 1,858,436,969 | 9,520 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.268
python=3.9
mac
### Who can help?
I used the FAISS as the vector store. it seems that the `similarity_search_with_score` (supposedly ranked by distance: low to high) and `similarity_search_with_relevance_scores`((supposedly ranked by relevance: high to low) produce conflicti... | FAISS vectorstore `similarity_search_with_relevance_scores` returns strange/false result with `MAX_INNER_PRODUCT` | https://api.github.com/repos/langchain-ai/langchain/issues/9519/comments | 3 | 2023-08-21T02:21:28Z | 2023-12-25T16:09:00Z | https://github.com/langchain-ai/langchain/issues/9519 | 1,858,432,029 | 9,519 |
[
"langchain-ai",
"langchain"
] | https://github.com/langchain-ai/langchain/blame/e51bccdb2890fa193ce7eb5bf7e13c28afef4dc4/libs/langchain/langchain/vectorstores/pgvector.py#L117
@hwchase17 | pgvector extension is not installed | https://api.github.com/repos/langchain-ai/langchain/issues/9511/comments | 2 | 2023-08-20T12:52:42Z | 2023-12-06T17:44:06Z | https://github.com/langchain-ai/langchain/issues/9511 | 1,858,114,722 | 9,511 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.8.16
langchain==0.0.268
### 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 Selec... | missing model_name param in ChatAnthropic | https://api.github.com/repos/langchain-ai/langchain/issues/9510/comments | 4 | 2023-08-20T12:37:45Z | 2023-12-07T16:06:40Z | https://github.com/langchain-ai/langchain/issues/9510 | 1,858,110,406 | 9,510 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.