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"
] | ### System Info
Langchain version: 0.0.320
Python 3.9.6
Issue:
The LLM output ` ```json \n{\n \"action\": \"...``` ` for a StructuredChatAgent using StructuredChatOutputParser.
The regex in the parser `re.compile(r"```(?:json)?\n(.*?)```", re.DOTALL)` does not allow for a space after `json`.
LLM: Claude v2
... | StructuredChatOutputParser regex not accounting for space | https://api.github.com/repos/langchain-ai/langchain/issues/12158/comments | 1 | 2023-10-23T14:15:02Z | 2023-10-27T09:37:53Z | https://github.com/langchain-ai/langchain/issues/12158 | 1,957,280,320 | 12,158 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi,
I am working on a student teacher model . I am running into a problem where I agent does not generate final answer after the expected observations. Below is my code and output
Code
```
assignment_instruction_2 = """
1. Ask his name and then welcome him
2. Ask the topic he wants to unders... | Agent is not stopping after each answer | https://api.github.com/repos/langchain-ai/langchain/issues/12157/comments | 2 | 2023-10-23T13:32:40Z | 2024-02-08T16:15:15Z | https://github.com/langchain-ai/langchain/issues/12157 | 1,957,182,305 | 12,157 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hey folks, I think i stumbled on a bug (or i'm using langchain wrong)
Langchain version : 0.0.320
Platform Ubuntu 23.04
Python: 3.11.4
### Who can help?
@hwchase17 , @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related C... | Langchain crashes when retrieving results from vertexai codey models | https://api.github.com/repos/langchain-ai/langchain/issues/12156/comments | 2 | 2023-10-23T13:02:18Z | 2024-02-08T16:15:20Z | https://github.com/langchain-ai/langchain/issues/12156 | 1,957,115,754 | 12,156 |
[
"langchain-ai",
"langchain"
] | ### System Info
`langchain==0.0.320`
### 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
- [ ] Docum... | MatchingEngine.add_texts() doesn't work | https://api.github.com/repos/langchain-ai/langchain/issues/12154/comments | 1 | 2023-10-23T12:28:00Z | 2023-11-19T18:10:42Z | https://github.com/langchain-ai/langchain/issues/12154 | 1,957,048,261 | 12,154 |
[
"langchain-ai",
"langchain"
] | ### System Info
`langchain==0.0.320`
Example file: https://drive.google.com/file/d/1zDj3VXohUO7x4udu9RY9KxWbzBUIrsvb/view?usp=sharing
```
from PyPDF2 import PdfReader
from langchain.text_splitter import CharacterTextSplitter
# Specify the PDF file to be processed
pdf = "Deep Learning.pdf"
# Initialize a... | CharacterTextSplitter return incorrect chunks | https://api.github.com/repos/langchain-ai/langchain/issues/12151/comments | 2 | 2023-10-23T09:37:40Z | 2024-02-08T16:15:26Z | https://github.com/langchain-ai/langchain/issues/12151 | 1,956,756,560 | 12,151 |
[
"langchain-ai",
"langchain"
] | ### System Info
Ubuntu: 22.04.3 LTS
python: 3.10
pip: 22.0.2
langchain: 0.0.319
vector stores: faiss
llm model: llama-2-13b-chat.Q4_K_M.gguf and mistral-7b-openorca.Q4_K_M.gguf
embeddings model: thenlper/gte-large
### Who can help?
anyone
### Information
- [ ] The official example notebooks/scripts... | LlamaCpp truncates the response from LLM, and CTransformers gives a token overrun error | https://api.github.com/repos/langchain-ai/langchain/issues/12150/comments | 2 | 2023-10-23T09:32:40Z | 2024-02-13T16:10:07Z | https://github.com/langchain-ai/langchain/issues/12150 | 1,956,747,660 | 12,150 |
[
"langchain-ai",
"langchain"
] | ### System Info
python == 3.10.12
langchain == 0.0.312
### 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 ... | LCEL not working with MultiPromptChain | https://api.github.com/repos/langchain-ai/langchain/issues/12149/comments | 7 | 2023-10-23T09:10:57Z | 2024-06-26T05:16:03Z | https://github.com/langchain-ai/langchain/issues/12149 | 1,956,707,298 | 12,149 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11, langchain 0.0.315 and mac
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selecto... | Langchain Document schema explodes with FastAPI | https://api.github.com/repos/langchain-ai/langchain/issues/12147/comments | 2 | 2023-10-23T07:35:17Z | 2023-10-23T13:17:32Z | https://github.com/langchain-ai/langchain/issues/12147 | 1,956,539,711 | 12,147 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello, I have this use-case where there are different types of documents. I can parse documents using document loaders using langchain. But, there are images also in these documents. I want to store them as metadata and if answer generated from a context chunk it show the image also. Ple... | How to show images from PDFs, PPT, DOCs documents as part of answer? | https://api.github.com/repos/langchain-ai/langchain/issues/12144/comments | 2 | 2023-10-23T02:16:49Z | 2024-02-08T16:15:35Z | https://github.com/langchain-ai/langchain/issues/12144 | 1,956,221,942 | 12,144 |
[
"langchain-ai",
"langchain"
] | ### System Info
version:
- langchain-0.0.320
- py311
### 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 Pars... | AttributeError: partially initialized module 'arxiv' has no attribute 'Search' (most likely due to a circular import) | https://api.github.com/repos/langchain-ai/langchain/issues/12143/comments | 2 | 2023-10-23T01:04:04Z | 2023-12-06T02:37:31Z | https://github.com/langchain-ai/langchain/issues/12143 | 1,956,153,788 | 12,143 |
[
"langchain-ai",
"langchain"
] | ### System Info
latest version langchain locks peer dependency: "googleapis" version to 126.0.1, wondering why it has to be googleapis v126.0.1. it introduces tech debts.
Please fix the peer dep version for `googleapis` if there is no specific reasons.
### Who can help?
@hwchase17
### Information
- [ ] The off... | latest version langchain locks peer dependency: "googleapis" version to 126.0.1 | https://api.github.com/repos/langchain-ai/langchain/issues/12142/comments | 2 | 2023-10-23T00:55:32Z | 2024-01-31T16:33:43Z | https://github.com/langchain-ai/langchain/issues/12142 | 1,956,147,176 | 12,142 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
On this page
This example:
```
class SearchInput(BaseModel):
query: str = Field(description="should be a search query")
@tool("search", return_direct=True, args_schema=SearchInput)
def search_api(query: str) -> str:
"""Searches the API for the query."""
... | DOC: Example from Custom Tool documentation fails | https://api.github.com/repos/langchain-ai/langchain/issues/12138/comments | 2 | 2023-10-22T18:25:42Z | 2023-10-22T18:48:16Z | https://github.com/langchain-ai/langchain/issues/12138 | 1,956,004,892 | 12,138 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
When starting Docusaurus in a local container environment using the `make docs_build` command, it runs at `localhost:3000`, but a connection from the host machine is not possible.
The container has both `poetry` and `yarn` installed.
Even though port 3000 is forwarded to the h... | DOC: Issue Connecting to Docusaurus in Local Container Environment | https://api.github.com/repos/langchain-ai/langchain/issues/12127/comments | 1 | 2023-10-22T06:06:45Z | 2024-02-06T16:16:26Z | https://github.com/langchain-ai/langchain/issues/12127 | 1,955,775,678 | 12,127 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Microsoft OneNote loader like EverNoteLoader or ObsidianLoader
### Motivation
N/A
### Your contribution
N/A | Is there any loader for Microsoft OneNote like EverNoteLoader or ObsidianLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12125/comments | 10 | 2023-10-22T04:36:08Z | 2024-06-07T11:49:38Z | https://github.com/langchain-ai/langchain/issues/12125 | 1,955,757,359 | 12,125 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I found that using a `RetrievalQA` for streaming outputs gibberish response. For example, using a `RetrievalQA` with code below on the `state_of_the_union.txt` example:
```
doc_chain = load_qa_chain(
llm=ChatOpenAI(
streaming=True,
openai_api_key=api_key,
... | Issue: `VectorDBQA` is a better chain than `RetrievalQA` when it comes to streaming model response | https://api.github.com/repos/langchain-ai/langchain/issues/12124/comments | 2 | 2023-10-22T04:31:46Z | 2024-02-06T16:16:31Z | https://github.com/langchain-ai/langchain/issues/12124 | 1,955,756,498 | 12,124 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Feature request to Integrate a new Langchain tool that make recommandtions on steam games based on user's Steam ID and provide game information based on given Steam game name.
### Motivation
We recognize the current challenges users face when discovering games on Steam—cluttered search resu... | Feature: Steam game recommendation tool | https://api.github.com/repos/langchain-ai/langchain/issues/12120/comments | 8 | 2023-10-21T20:44:10Z | 2023-12-15T04:37:11Z | https://github.com/langchain-ai/langchain/issues/12120 | 1,955,656,927 | 12,120 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.285, python 3.11.5, Windows 11
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outp... | ConversationalRetrievalChain cannot return source documents when using ConversationBufferWindowMemory | https://api.github.com/repos/langchain-ai/langchain/issues/12118/comments | 2 | 2023-10-21T20:06:18Z | 2023-10-22T00:11:00Z | https://github.com/langchain-ai/langchain/issues/12118 | 1,955,647,569 | 12,118 |
[
"langchain-ai",
"langchain"
] | ### Feature request
There seems to be a conflation between configuration code and inheritance trees that make it nearly impossible to extend langchain functionality without recreating entire class inheritance. I ran into this almost immediately when trying to customize agents and executors to my application needs, but... | Architecture: Decouple Configuration from Inheritance for better extensibility | https://api.github.com/repos/langchain-ai/langchain/issues/12117/comments | 2 | 2023-10-21T19:33:24Z | 2024-02-06T16:16:36Z | https://github.com/langchain-ai/langchain/issues/12117 | 1,955,638,250 | 12,117 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Feature request to integrate the SendGrid API into Langchain for enhanced email communication and notifications.
**Relevant links:**
1. [SendGrid API Documentation](https://sendgrid.com/docs/API_Reference/index.html): The official documentation for the SendGrid API, offering comprehensive infor... | SendGrid API Integration For Enhanced Email Communication | https://api.github.com/repos/langchain-ai/langchain/issues/12116/comments | 2 | 2023-10-21T19:00:04Z | 2024-02-09T16:13:23Z | https://github.com/langchain-ai/langchain/issues/12116 | 1,955,627,328 | 12,116 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Request to Integrate Stack Exchange API into Langchain for enhanced information access and interaction.
**Relevant links:**
1. **Stack Exchange API Documentation**: The official documentation for the Stack Exchange API, providing detailed information on how to interact with the API and retrieve... | Stack Exchange API Integration | https://api.github.com/repos/langchain-ai/langchain/issues/12115/comments | 2 | 2023-10-21T18:49:17Z | 2024-02-06T16:16:46Z | https://github.com/langchain-ai/langchain/issues/12115 | 1,955,624,167 | 12,115 |
[
"langchain-ai",
"langchain"
] | ### System Info
#### Description:
I encountered an issue with the UnstructuredURLLoader class from the "langchain" library, specifically in the libs/langchain/langchain/document_loaders/url.py module. When trying to handle exceptions for a failed request, I observed that the exception raised by the library doesn't ... | Issue with Exception Handling: UnstructuredURLLoader Does Not Raise Exceptions Inheriting from Base Class Exception | https://api.github.com/repos/langchain-ai/langchain/issues/12112/comments | 2 | 2023-10-21T16:52:54Z | 2024-02-06T16:16:51Z | https://github.com/langchain-ai/langchain/issues/12112 | 1,955,575,850 | 12,112 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain:0.0.319
Python:3.11.2
System: macOS 13.5.2 arm64
### 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 / Pr... | API Key Leakage in the BaseLanguageModel | https://api.github.com/repos/langchain-ai/langchain/issues/12110/comments | 3 | 2023-10-21T16:08:21Z | 2024-02-10T16:11:07Z | https://github.com/langchain-ai/langchain/issues/12110 | 1,955,553,596 | 12,110 |
[
"langchain-ai",
"langchain"
] | ### System Info
When upgrading from version 0.317 to 0.318, there is a bug regarding the Pydantic model validations. This issue doesn't happen in versions before 0.318.
File "...venv/lib/python3.10/site-packages/langchain/retrievers/google_vertex_ai_search.py", line 268, in __init__
self._serving_config = self... | "GoogleVertexAISearchRetriever" object has no field "_serving_config". It's a Pydantic-related bug. | https://api.github.com/repos/langchain-ai/langchain/issues/12100/comments | 2 | 2023-10-21T11:31:24Z | 2023-10-24T08:20:04Z | https://github.com/langchain-ai/langchain/issues/12100 | 1,955,451,984 | 12,100 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Feature request to Integrate a new Langchain tool that summarizes reddit user interactions/discussion based on user input.
### Motivation
Reddit is a vast platform with numerous discussions and threads covering a wide range of topics. Users often seek information, insights, and opinions on ... | feature: Reddit API Tool | https://api.github.com/repos/langchain-ai/langchain/issues/12097/comments | 3 | 2023-10-21T05:49:41Z | 2023-12-03T17:29:57Z | https://github.com/langchain-ai/langchain/issues/12097 | 1,955,338,588 | 12,097 |
[
"langchain-ai",
"langchain"
] | When running on colab, it has following error:
```
[nltk_data] Downloading package punkt to /root/nltk_data...
[nltk_data] Unzipping tokenizers/punkt.zip.
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] /root/nltk_data...
[nltk_data] Unzipping taggers/averaged_perceptron_tagger.z... | How to run Semi_structured_and_multi_modal_RAG.ipynb | https://api.github.com/repos/langchain-ai/langchain/issues/12096/comments | 2 | 2023-10-21T02:51:14Z | 2024-02-08T16:15:50Z | https://github.com/langchain-ai/langchain/issues/12096 | 1,955,247,057 | 12,096 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Cohere's upcoming (currently in BETA) Co.Chat + RAG API Endpoint will offer additional parameters such as "documents" and "connectors" that can be used for RAG. This is the major new feature of the Cohere Coral models (RAG)
See https://docs.cohere.com/reference/chat
GPT-4 (and the Other Cha... | Chat API Endpoints with RAG | https://api.github.com/repos/langchain-ai/langchain/issues/12094/comments | 3 | 2023-10-21T00:44:36Z | 2024-02-01T21:05:22Z | https://github.com/langchain-ai/langchain/issues/12094 | 1,955,167,241 | 12,094 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Implement MemGPT for better memory management with local and hosted models:
https://github.com/cpacker/MemGPT
### Motivation
This can help automate the manually creation and retrieval of vector stores.
### Your contribution
I'm not really familiar with the langchain repo at the moment, I cou... | Integrate MemGPT | https://api.github.com/repos/langchain-ai/langchain/issues/12091/comments | 8 | 2023-10-20T20:33:10Z | 2024-07-10T16:05:21Z | https://github.com/langchain-ai/langchain/issues/12091 | 1,954,978,462 | 12,091 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Many of the non-OpenAI LLMs struggle to complete the first "Thought" part of the prompt. Falcon, Llama, Mistral, Zephyr, and many others will successfully choose the action and action input, but leave out an initial thought.
### Motivation
For the very first interaction, the agent scratchpad is e... | Improve flexibility of ReAct agent on the first iteration | https://api.github.com/repos/langchain-ai/langchain/issues/12087/comments | 1 | 2023-10-20T19:18:11Z | 2023-10-25T15:54:28Z | https://github.com/langchain-ai/langchain/issues/12087 | 1,954,895,641 | 12,087 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.0.317
atlassian-python-api 3.41.3
### 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 S... | Confluence document loader not handling pagination correctly anymore (when using Confluence Cloud) | https://api.github.com/repos/langchain-ai/langchain/issues/12082/comments | 5 | 2023-10-20T15:41:10Z | 2024-05-20T07:16:20Z | https://github.com/langchain-ai/langchain/issues/12082 | 1,954,551,450 | 12,082 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello,
I am using langchain offline on a local machine. I'd like to split document over tokens user TokenTextSplitter.
Unfortunately, I can't get to make the class to user a local tokenizer.
I tried to do
`text_splitter = TokenTextSplitter(model_name='/my/path/to/my/tokeniz... | Issue: TokenTextSplitter with local tokenizer ? | https://api.github.com/repos/langchain-ai/langchain/issues/12078/comments | 4 | 2023-10-20T13:46:35Z | 2023-10-20T14:30:20Z | https://github.com/langchain-ai/langchain/issues/12078 | 1,954,330,346 | 12,078 |
[
"langchain-ai",
"langchain"
] | ### System Info
Running SQLDatabaseChain with LangChain version 0.0.319 and Snowflake return SQL query which is to be executed on snowflake database in next step. But returned query contains the prefix "SQLQuery:\n" which will broke the whole chain when the query gets executed on snowflake. How to get rid of this "SQL... | Running SQLDatabaseChain adds prefix "SQLQuery:\n" infront of returned SQL by LLM, causing invalid query when ran on Database using chain | https://api.github.com/repos/langchain-ai/langchain/issues/12077/comments | 11 | 2023-10-20T13:14:25Z | 2024-04-14T16:17:56Z | https://github.com/langchain-ai/langchain/issues/12077 | 1,954,271,029 | 12,077 |
[
"langchain-ai",
"langchain"
] | ### System Info
MacOS Ventura 13.6
Python 3.10.13
langchain 0.0.306
### 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... | Function get_relevant_docs() returning AttributeError | https://api.github.com/repos/langchain-ai/langchain/issues/12076/comments | 4 | 2023-10-20T12:49:04Z | 2024-02-21T16:08:04Z | https://github.com/langchain-ai/langchain/issues/12076 | 1,954,222,876 | 12,076 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
#### **Description**
In various places within the documentation, the import statement is being used:
```python
from langchain.llms import OpenAI
```
However, as hinted in https://github.com/langchain-ai/langchain/commit/779790167e37f49b3eec5d04dfd30b0447d4a32a, this s... | DOC: Deprecated Import Statement in Documentation for OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/12074/comments | 1 | 2023-10-20T12:31:33Z | 2024-02-06T16:17:06Z | https://github.com/langchain-ai/langchain/issues/12074 | 1,954,194,603 | 12,074 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.316 - Python 3.8.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Ou... | system_message in agent_kwargs not updating System Message in AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION | https://api.github.com/repos/langchain-ai/langchain/issues/12072/comments | 3 | 2023-10-20T11:21:19Z | 2023-11-06T08:27:49Z | https://github.com/langchain-ai/langchain/issues/12072 | 1,954,083,040 | 12,072 |
[
"langchain-ai",
"langchain"
] | ### System Info
Platform: local development on MacOS Ventura
Python version: 3.9.7
langchain.version: 0.0.315
faiss.version: 1.7.4
openai.version: 0.28.1
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Compone... | AttributeError: 'OpenAIEmbeddings' object has no attribute 'skip_empty' | https://api.github.com/repos/langchain-ai/langchain/issues/12071/comments | 2 | 2023-10-20T11:01:54Z | 2024-02-13T16:10:13Z | https://github.com/langchain-ai/langchain/issues/12071 | 1,954,054,770 | 12,071 |
[
"langchain-ai",
"langchain"
] | ### Feature request
At the moment huggingface_hub.py supports only sentence-transformers because there is a validation:
```
if not repo_id.startswith("sentence-transformers"):
raise ValueError(
"Currently only 'sentence-transformers' embedding models "
f"a... | Support other embedder in Hugginface Hub | https://api.github.com/repos/langchain-ai/langchain/issues/12069/comments | 1 | 2023-10-20T08:39:34Z | 2024-01-30T05:53:04Z | https://github.com/langchain-ai/langchain/issues/12069 | 1,953,813,752 | 12,069 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Textract released the [LAYOUT](https://docs.aws.amazon.com/textract/latest/dg/layoutresponse.html) feature, which identifies different layout elements like tables, lists, figures, text-paragraphs and titles. This should be used by the AmazonTextractPDFParser to generate a linearized output to impro... | feat: Add Linearized output to Textract PDFLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12068/comments | 1 | 2023-10-20T08:28:07Z | 2023-10-31T01:02:11Z | https://github.com/langchain-ai/langchain/issues/12068 | 1,953,794,419 | 12,068 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The current documentation for rag does not focus on adding metadata to chunks to make sure before even doing similarity search on vector db only the relevant docs with correct metadata are retrieved from vector db.
The issue is with open source embedding models having only mostl... | DOC: Improve MarkDown Splitting and Metadata as Part of RAG. | https://api.github.com/repos/langchain-ai/langchain/issues/12067/comments | 2 | 2023-10-20T08:02:52Z | 2024-03-16T16:05:11Z | https://github.com/langchain-ai/langchain/issues/12067 | 1,953,754,290 | 12,067 |
[
"langchain-ai",
"langchain"
] | ### System Info
accelerate==0.23.0
aiohttp==3.8.6
aiosignal==1.3.1
altair==5.1.2
annotated-types==0.6.0
anyio==3.7.1
appdirs==1.4.4
asgiref==3.7.2
asttokens==2.4.0
async-timeout==4.0.3
attrs==23.1.0
auto-gptq==0.4.2
backcall==0.2.0
bentoml==1.1.7
bitsandbytes==0.41.1
blinker==1.6.3
build==1.0.3
cachet... | qdrant.py doesn't contain any allowed_operators | https://api.github.com/repos/langchain-ai/langchain/issues/12061/comments | 3 | 2023-10-20T03:00:01Z | 2024-02-12T16:10:44Z | https://github.com/langchain-ai/langchain/issues/12061 | 1,953,416,596 | 12,061 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.319, mac, python 3.10
### Who can help?
@hwchase17 @agola11
I'm trying to use this exact example from: https://python.langchain.com/docs/expression_language/cookbook/memory
```
model = ChatOpenAI()
prompt = ChatPromptTemplate.from_messages([
("system", "You are a he... | The LCEL memory example returns KeyError | https://api.github.com/repos/langchain-ai/langchain/issues/12057/comments | 9 | 2023-10-20T00:04:37Z | 2024-05-29T07:56:57Z | https://github.com/langchain-ai/langchain/issues/12057 | 1,953,239,021 | 12,057 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently Bedrock and BedrockChat models do not sypport async calls and streaming.
it would be very useful to have working ChatOpenAI methods like _acall and _astream in Bedrock llms too so that we can use Claude2 and other Bedrock Models in production easily
### Motivation
without async functio... | Add Async _acall and _astream to Bedrock | https://api.github.com/repos/langchain-ai/langchain/issues/12054/comments | 4 | 2023-10-19T21:16:32Z | 2024-02-05T22:56:23Z | https://github.com/langchain-ai/langchain/issues/12054 | 1,953,068,062 | 12,054 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
In the [documentation](https://python.langchain.com/docs/modules/agents/tools/custom_tools), it's mentioned that expected input parameters could be defined though `args_schema` for the custom tool:
```
class CalculatorInput(BaseModel):
question: str = Field()
class CustomCalcul... | Issue: description for the custom tool's output | https://api.github.com/repos/langchain-ai/langchain/issues/12050/comments | 1 | 2023-10-19T20:56:28Z | 2024-02-06T16:17:16Z | https://github.com/langchain-ai/langchain/issues/12050 | 1,953,042,836 | 12,050 |
[
"langchain-ai",
"langchain"
] | ### System Info
I filed an issue with llama-cpp here https://github.com/ggerganov/llama.cpp/issues/3689
langchain
```Name: langchain
Version: 0.0.208
Summary: Building applications with LLMs through composability
Home-page: https://www.github.com/hwchase17/langchain
Author:
Author-email:
License: MIT
Loca... | Toy vectordb embedding example adopted to llama-cpp-python causes failure | https://api.github.com/repos/langchain-ai/langchain/issues/12049/comments | 4 | 2023-10-19T20:43:27Z | 2024-02-12T16:10:49Z | https://github.com/langchain-ai/langchain/issues/12049 | 1,953,025,897 | 12,049 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It would be nice to have agents that could access dictionary APIs such as the Merriam-Webster API or Urban Dictionary API (for slang).
### Motivation
It can be useful to be able to look up definitions for words using a dictionary to provide additional context. With no current dictionary tools ava... | Tools for Dictionary APIs | https://api.github.com/repos/langchain-ai/langchain/issues/12039/comments | 1 | 2023-10-19T18:31:45Z | 2023-11-30T01:28:30Z | https://github.com/langchain-ai/langchain/issues/12039 | 1,952,840,501 | 12,039 |
[
"langchain-ai",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.317
### 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
-... | Bedrock chain not working with AsyncCallbackHandler | https://api.github.com/repos/langchain-ai/langchain/issues/12035/comments | 11 | 2023-10-19T18:09:39Z | 2024-03-29T00:45:02Z | https://github.com/langchain-ai/langchain/issues/12035 | 1,952,806,485 | 12,035 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi, I'd love if we could create conversational retrieval agents using BedrockChat LLMs!
### Motivation
This feature would be very useful for many users. | create_conversational_retrieval_agent with BedrockChat models | https://api.github.com/repos/langchain-ai/langchain/issues/12028/comments | 4 | 2023-10-19T15:57:59Z | 2024-05-07T16:06:13Z | https://github.com/langchain-ai/langchain/issues/12028 | 1,952,599,482 | 12,028 |
[
"langchain-ai",
"langchain"
] | ### Feature request
We want some output parser or feature that will restrict llm to generate specifi number of words.in json or any format.
some times user want 10 lines output,sometime only 2 words etc
so this is very helpful feature .thanks
### Motivation
i want to build the next word auto suggetion model usin... | how can i get only 1 or 2 words output from my llm? | https://api.github.com/repos/langchain-ai/langchain/issues/12024/comments | 4 | 2023-10-19T13:06:06Z | 2024-02-11T16:10:01Z | https://github.com/langchain-ai/langchain/issues/12024 | 1,952,216,333 | 12,024 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
```
import os
from langchain.llms import AzureOpenAI
os.environ["OPENAI_API_TYPE"] = "azure"
os.environ["OPENAI_API_VERSION"] = "2023-07-01-preview"
os.environ["OPENAI_API_BASE"] = "https://myurlid.openai.azure.com/"
os.environ["OPENAI_API_KEY"] = "my key"
llm = AzureOpenAI(
... | Issue:The completion operation does not work with the specified model for azure openai api | https://api.github.com/repos/langchain-ai/langchain/issues/12019/comments | 6 | 2023-10-19T09:49:05Z | 2024-02-11T16:10:06Z | https://github.com/langchain-ai/langchain/issues/12019 | 1,951,757,935 | 12,019 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.312
Python 3.11.6
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers... | self._scrape in lazy_load method is not taken any parameters except path given instantiating WebBaseLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12018/comments | 2 | 2023-10-19T08:23:38Z | 2024-02-06T16:17:36Z | https://github.com/langchain-ai/langchain/issues/12018 | 1,951,581,376 | 12,018 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm currently working on accessing a Confluence space using Langchain and performing question answering on its data. The embeddings of this data are stored in a Chromadb vector database once I provide user name,API keyand Space key.
However, I'm looking for a way to automatically genera... | Issue: How to Automatically Generate Embeddings for Updated Documents in a Confluence Space and Enable Real-Time Question Answering on the Updated Data? | https://api.github.com/repos/langchain-ai/langchain/issues/12013/comments | 2 | 2023-10-19T06:09:01Z | 2024-02-06T16:17:42Z | https://github.com/langchain-ai/langchain/issues/12013 | 1,951,360,189 | 12,013 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
**Below code is for generating embeddings from pdf**
loader = PyPDFLoader(f"{file_path}")
document = loader.load()
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
texts = text_splitter.split_documents(documents=document)
embed... | Issue:doubt about generating embeddings for both PDF documents and Confluence content and storing them in a single 'embeddings' folder | https://api.github.com/repos/langchain-ai/langchain/issues/12012/comments | 5 | 2023-10-19T06:05:13Z | 2024-02-11T16:10:11Z | https://github.com/langchain-ai/langchain/issues/12012 | 1,951,355,497 | 12,012 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi, I am facing an issue when attempting to run the "Semi_structured_multi_modal_RAG_LLaMA2.ipynb" notebook from the cookbook.

**Environment Details**
Langchain Version: 0.0.317
I would apprecia... | TypeError: UnstructuredYoloXModel.initialize() got an unexpected keyword argument 'extract_images_in_pdf' while running Semi_structured_multi_modal_RAG_LLaMA2.ipynb | https://api.github.com/repos/langchain-ai/langchain/issues/12010/comments | 9 | 2023-10-19T05:14:22Z | 2024-02-14T16:09:13Z | https://github.com/langchain-ai/langchain/issues/12010 | 1,951,253,426 | 12,010 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hello! Even though [API](https://api.python.langchain.com/en/latest/retrievers/langchain.retrievers.kay.KayAiRetriever.html) mentions a metadata param, it's not found in [code](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/retrievers/kay.py#L9).
Without metadata f... | KayAiRetriever: without metadata filtering, wrong results | https://api.github.com/repos/langchain-ai/langchain/issues/12008/comments | 8 | 2023-10-19T04:29:06Z | 2023-10-24T15:12:17Z | https://github.com/langchain-ai/langchain/issues/12008 | 1,951,178,914 | 12,008 |
[
"langchain-ai",
"langchain"
] | i have 1 folder called with data, in it there are 2 .txt files which are obama.txt and trump.txt, each file contains summary of each person from wikipedia and on the root of the folder, i have anthropic.py and below is the code
```
from langchain.document_loaders import DirectoryLoader
from langchain.indexes impor... | langchain answers change drastically | https://api.github.com/repos/langchain-ai/langchain/issues/12005/comments | 10 | 2023-10-19T03:18:24Z | 2024-02-14T16:09:18Z | https://github.com/langchain-ai/langchain/issues/12005 | 1,951,117,494 | 12,005 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have checked the documentation, although both are supported in langchain, but I could not find a way for streaming output.
### Suggestion:
_No response_ | Is there any way to stream output for VLLM and Together ai? | https://api.github.com/repos/langchain-ai/langchain/issues/12004/comments | 3 | 2023-10-19T02:37:53Z | 2024-02-13T12:41:33Z | https://github.com/langchain-ai/langchain/issues/12004 | 1,951,079,170 | 12,004 |
[
"langchain-ai",
"langchain"
] | hi team,
Can I return source documents when using MultiRetrievalQAChain?
I want to fetch the metadata of source.
thx | MultiRetrievalQAChain return source documents | https://api.github.com/repos/langchain-ai/langchain/issues/12002/comments | 3 | 2023-10-19T01:16:15Z | 2024-02-10T16:11:52Z | https://github.com/langchain-ai/langchain/issues/12002 | 1,951,006,205 | 12,002 |
[
"langchain-ai",
"langchain"
] | This is the default class of VectorstoreIndexCreator
```
class VectorstoreIndexCreator(
*,
vectorstore_cls: type[VectorStore] = Chroma,
embedding: Embeddings = OpenAIEmbeddings,
text_splitter: TextSplitter = _get_default_text_splitter,
vectorstore_kwargs: dict = dict
)
```
the default ... | Overriding VectorstoreIndexCreator() embedding | https://api.github.com/repos/langchain-ai/langchain/issues/12001/comments | 4 | 2023-10-19T01:04:25Z | 2023-10-19T03:07:29Z | https://github.com/langchain-ai/langchain/issues/12001 | 1,950,996,772 | 12,001 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain_version: "0.0.306"
library: "langchain"
library_version: "0.0.306"
platform: "Windows-10-10.0.22621-SP0"
py_implementation: "CPython"
runtime: "python"
runtime_version: "3.9.0rc2"
sdk_version: "0.0.41"
### Who can help?
@hwchase17
### Information
- [ ] The official examp... | Streaming not working when routing between Runnables in LCEL | https://api.github.com/repos/langchain-ai/langchain/issues/11998/comments | 10 | 2023-10-19T00:24:22Z | 2023-12-26T20:49:20Z | https://github.com/langchain-ai/langchain/issues/11998 | 1,950,952,387 | 11,998 |
[
"langchain-ai",
"langchain"
] | ### Feature request
We propose the integration of a new tool into Langchain that will provide comprehensive support for queries on the AlphaVantage Trading API. AlphaVantage offers a wide range of financial data and services, and this integration will enhance Langchain's capabilities for financial data analysis.
... | Add Alpha Vantage API Tool | https://api.github.com/repos/langchain-ai/langchain/issues/11994/comments | 8 | 2023-10-18T20:15:47Z | 2024-03-13T19:58:04Z | https://github.com/langchain-ai/langchain/issues/11994 | 1,950,574,553 | 11,994 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I want to interact with my database so I'm using SQLDatabaseChain and SQL Agent to convert natural language query to sql query then execute on the database.
So I want to save the chat history here so that if a user asks anything related previous question/answer it should pick and then a... | Issue: Which memory type i need to use for db-backed history | https://api.github.com/repos/langchain-ai/langchain/issues/11985/comments | 6 | 2023-10-18T16:15:42Z | 2024-02-13T16:10:27Z | https://github.com/langchain-ai/langchain/issues/11985 | 1,950,139,790 | 11,985 |
[
"langchain-ai",
"langchain"
] | ### System Info
**Description:**
It's not possible to use the ParentDocumentRetriever and MultiVectorRetriever at the same time.
But, it's a good idea to generate multiple vector for one fragment, then manage the life cycle of all vertions the ParentDocumentRetriever.
I think, the `MultiVectorRetriever` is not ... | ParentDocumentRetriever is incompatible with MultiVectorRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/11983/comments | 4 | 2023-10-18T15:48:45Z | 2024-03-13T19:58:53Z | https://github.com/langchain-ai/langchain/issues/11983 | 1,950,071,972 | 11,983 |
[
"langchain-ai",
"langchain"
] | ### System Info
**description**
With parent_splitter, it's not possible to know the number of IDs before the split.
So, it's not possible to know the ID of each fragment.
Then, it's not possible to manage the life cycle of the fragment because it's impossible to know the list of IDs associated with the original big... | ParentDocumentRetriever: parent_splitter and ids are incompatible | https://api.github.com/repos/langchain-ai/langchain/issues/11982/comments | 4 | 2023-10-18T15:39:29Z | 2024-03-13T19:58:37Z | https://github.com/langchain-ai/langchain/issues/11982 | 1,950,052,502 | 11,982 |
[
"langchain-ai",
"langchain"
] | ### System Info
latest version of langchain. python=3.11.4
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outp... | how to connect to sql view in database | https://api.github.com/repos/langchain-ai/langchain/issues/11980/comments | 9 | 2023-10-18T14:22:33Z | 2024-04-22T16:39:16Z | https://github.com/langchain-ai/langchain/issues/11980 | 1,949,883,986 | 11,980 |
[
"langchain-ai",
"langchain"
] | # Issue:
UnstructuredEmailLoader only returning first or no `element` of the mail irrespective of the `mode`.
### System Info
langchain version: 0.0.316
unstructured version: 0.10.18
### Who can help?
@eyurtsev
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own m... | UnstructuredEmailLoader just returning the first element | https://api.github.com/repos/langchain-ai/langchain/issues/11978/comments | 4 | 2023-10-18T13:40:37Z | 2023-10-19T06:05:51Z | https://github.com/langchain-ai/langchain/issues/11978 | 1,949,786,869 | 11,978 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using the LLMChain with the ConversationBufferMemory and it works pretty well. There is a case where the chain throws this exception: ValueError: unexpected '{' in field name. This happens only when I use the word "field" in my question. The code I have written is down below:
F... | Specific word crashing LLMChain | https://api.github.com/repos/langchain-ai/langchain/issues/11977/comments | 2 | 2023-10-18T13:27:44Z | 2024-02-06T16:18:01Z | https://github.com/langchain-ai/langchain/issues/11977 | 1,949,759,853 | 11,977 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi!
I was taking a look to the Confluence integration at https://python.langchain.com/docs/integrations/document_loaders/confluence , and in our team we have the following doubt:
from langchain.document_loaders import ConfluenceLoader
loader = ConfluenceLoader(
url="https://y... | Issue: Doubt about Confluence Loader | https://api.github.com/repos/langchain-ai/langchain/issues/11976/comments | 1 | 2023-10-18T10:32:57Z | 2023-10-18T13:00:26Z | https://github.com/langchain-ai/langchain/issues/11976 | 1,949,413,017 | 11,976 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: v0.0.316
I am following the langchain documentation to add memory to the chat with LLMChain: https://python.langchain.com/docs/modules/memory/adding_memory
```py
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
CYPHER_GENERATION_TEMPLA... | ValueError: Missing some input keys: {'chat_history'} when adding memory to GraphCypherQAChain | https://api.github.com/repos/langchain-ai/langchain/issues/11975/comments | 7 | 2023-10-18T10:23:57Z | 2024-06-03T12:12:30Z | https://github.com/langchain-ai/langchain/issues/11975 | 1,949,395,838 | 11,975 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi developers, I am trying to run SeleniumURLLoader inside a Docker container.
When I tried to do a web-scraping on the URLs I am met with this error:
`ERROR MESSAGE: Message: Service /root/.cache/selenium/chromedriver/linux64/118.0.5993.70/chromedriver unexpectedly exited. Status ... | SeleniumURLLoader in Docker Container | https://api.github.com/repos/langchain-ai/langchain/issues/11974/comments | 6 | 2023-10-18T09:52:41Z | 2024-05-08T10:53:28Z | https://github.com/langchain-ai/langchain/issues/11974 | 1,949,335,904 | 11,974 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Being able to set a SelfQueryRetriever's kwargs from the output of the Condese_question chain or any chain that runs just before.
### Motivation
The motivation behind this is enabling the ConversationalRetrievalChain based on a vectordb to tackle a big range of queries in a more specific way, for... | ConversationalRetrievalChain : make the condense_question chain choose the SelfQueryRetriever kwargs | https://api.github.com/repos/langchain-ai/langchain/issues/11971/comments | 4 | 2023-10-18T08:55:23Z | 2024-02-10T16:12:03Z | https://github.com/langchain-ai/langchain/issues/11971 | 1,949,221,723 | 11,971 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: 0.0.316
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ]... | ISSUE: Not able to log CustomLLM using mlflow.pyfunc.log_model | https://api.github.com/repos/langchain-ai/langchain/issues/11966/comments | 2 | 2023-10-18T08:11:09Z | 2024-02-08T16:16:56Z | https://github.com/langchain-ai/langchain/issues/11966 | 1,949,137,515 | 11,966 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I got this error when I built a ChatBot with Langchain using VertexAI. I'm seeing this error and couldn't find any details so far.
File /opt/conda/lib/python3.10/site-packages/langchain/llms/vertexai.py:100, in completion_with_retry.<locals>._completion_with_retry(*args, **kwargs)
... | Issue: TypeError: TextGenerationModel.predict() got an unexpected keyword argument 'candidate_count' | https://api.github.com/repos/langchain-ai/langchain/issues/11961/comments | 11 | 2023-10-18T07:06:38Z | 2024-02-15T16:08:25Z | https://github.com/langchain-ai/langchain/issues/11961 | 1,949,009,892 | 11,961 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Currently in the streaming documentation page, there is no guidance on how to interrupt the streaming once the model start generation. I want to implement the same "Stop generation" button functionality in chatGPT web, which should stopped the streaming generation. I tried to use ... | DOC: There is no documentation about how to interrupt the streaming generation once the model started generation. | https://api.github.com/repos/langchain-ai/langchain/issues/11959/comments | 17 | 2023-10-18T06:27:34Z | 2024-06-21T20:54:46Z | https://github.com/langchain-ai/langchain/issues/11959 | 1,948,952,565 | 11,959 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm experimenting with natural language to SQL conversion using SQLDatabaseChain and SQLDatabaseAgent. In this experiment, I'm utilizing the ConversationBufferWindowMemory. However, I've encountered an issue where the memory is not functioning as expected. When I ask a question related t... | Issue: <ConversationBufferWindowMemory doesn't work with db based chat history> | https://api.github.com/repos/langchain-ai/langchain/issues/11958/comments | 7 | 2023-10-18T03:44:58Z | 2024-04-24T16:37:15Z | https://github.com/langchain-ai/langchain/issues/11958 | 1,948,740,305 | 11,958 |
[
"langchain-ai",
"langchain"
] | ### System Info
It was unexpected that I had to provide the accss_token when using QianfanLLMEndpoint
Name: langchain
Version: 0.0.312
Name: qianfan
Version: 0.0.6
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [X] My own modified scripts
... | It was unexpected that I had to provide the accss_token when using QianfanLLMEndpoint | https://api.github.com/repos/langchain-ai/langchain/issues/11957/comments | 3 | 2023-10-18T03:27:29Z | 2024-05-07T16:06:08Z | https://github.com/langchain-ai/langchain/issues/11957 | 1,948,721,975 | 11,957 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.316
langserve 0.0.10
python 3.11.4 on darwin
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ]... | Streaming support with ConversationChain | https://api.github.com/repos/langchain-ai/langchain/issues/11945/comments | 13 | 2023-10-17T20:36:50Z | 2024-06-21T13:11:39Z | https://github.com/langchain-ai/langchain/issues/11945 | 1,948,210,943 | 11,945 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
When looking at the documentation for agents, memory, and the Agent Executor, I noticed you pass in tools to both the agent and the executor. What's the purpose of passing the tools to both? Shouldn't you need to just pass it to one?
https://python.langchain.com/docs/use_case... | DOC: Agent & AgentExecutioner | https://api.github.com/repos/langchain-ai/langchain/issues/11937/comments | 2 | 2023-10-17T18:29:39Z | 2024-02-08T16:17:01Z | https://github.com/langchain-ai/langchain/issues/11937 | 1,948,013,473 | 11,937 |
[
"langchain-ai",
"langchain"
] | ### System Info
I compared the speed of indexing with and without using the Indexing API, and I notice a significant difference. Using Indexing API is 30-50% slower. Also for experiment, I tried to index the exact same data twice, and the Indexing API is taking extremely long time for the second time. Any help would b... | Indexing API slow | https://api.github.com/repos/langchain-ai/langchain/issues/11935/comments | 10 | 2023-10-17T17:36:09Z | 2024-02-14T03:47:19Z | https://github.com/langchain-ai/langchain/issues/11935 | 1,947,924,672 | 11,935 |
[
"langchain-ai",
"langchain"
] | ### Feature request
My feature proposal involves the integration of both a greeting module and a gratitude module into the Langchain SQLDatabaseToolkit. The greeting module is designed to deliver an introductory message about the SQL-helpful bot, and the gratitude module aims to express appreciation when users inter... | Enhancing Human-Level Interaction: Incorporating Greeting and Gratitude Modules into the Langchain SQLDatabaseToolkit | https://api.github.com/repos/langchain-ai/langchain/issues/11931/comments | 2 | 2023-10-17T17:07:58Z | 2024-02-06T16:18:21Z | https://github.com/langchain-ai/langchain/issues/11931 | 1,947,880,043 | 11,931 |
[
"langchain-ai",
"langchain"
] | ### System Info
latest version of all modules
### Who can help?
here's my PROMPT and code:
from langchain.prompts.chat import ChatPromptTemplate
updated_prompt = ChatPromptTemplate.from_messages(
[
("system",
"""
You are a knowledgeable AI assistant specializin... | Langchain prompt not working as expected , it's not consistence and not able to understand examples | https://api.github.com/repos/langchain-ai/langchain/issues/11929/comments | 3 | 2023-10-17T16:44:09Z | 2024-02-08T16:17:05Z | https://github.com/langchain-ai/langchain/issues/11929 | 1,947,841,518 | 11,929 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
It seems the default prompts do not support passing a JSON-Schema in create_json_agent to provide description to each field and nested fields. Wanted to understand if this hasn't been deemed necessary?
In addition, if there is a list of JSON objects, with some fields in each JSON obje... | Passing a JSON-Schema in create_json_agent | https://api.github.com/repos/langchain-ai/langchain/issues/11927/comments | 3 | 2023-10-17T16:20:36Z | 2024-02-08T16:17:10Z | https://github.com/langchain-ai/langchain/issues/11927 | 1,947,798,052 | 11,927 |
[
"langchain-ai",
"langchain"
] | ### Feature request
A tool to allow agents to search and retrieve data from IMDb (https://www.imdb.com/).
### Motivation
IMDb is one of the largest movie databases available online. Adding this tool would allow agents to intelligently retrieve up-to-date movie information from IMDb, enhancing the experience of its u... | Adding an IMDb tool | https://api.github.com/repos/langchain-ai/langchain/issues/11926/comments | 2 | 2023-10-17T15:52:11Z | 2024-03-13T20:01:05Z | https://github.com/langchain-ai/langchain/issues/11926 | 1,947,748,350 | 11,926 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am calling LLM `ChatOpenAI` models through `load_qa_with_sources_chain` as shown in the following code snippet.
```python
llm=ChatOpenAI(
model_name=....,
temperature=0,
openai_api_key=...,
max_tokens=...,
)
chain = load_qa_with_sources_chain(
llm, chain_... | Is there a way to obtain `finish_reason` value from OpenAI response when using `load_qa_with_sources_chain` | https://api.github.com/repos/langchain-ai/langchain/issues/11924/comments | 2 | 2023-10-17T15:32:03Z | 2024-02-06T16:18:36Z | https://github.com/langchain-ai/langchain/issues/11924 | 1,947,709,822 | 11,924 |
[
"langchain-ai",
"langchain"
] | ### System Info
Here chain example:
Thought:I can query the 'information_enquiry' table to find out who is assigned to a job.
Action: SQL Query
Action Input: SELECT name FROM nformation_enquiry WHERE job_id = '123'
Observation: SQL Query is not a valid tool, try one of [sql_db_query, sql_db_schema, sql_db_li... | Langchain SQLDatabaseToolkit providing incorrect results. it's faking the results using the top k rows | https://api.github.com/repos/langchain-ai/langchain/issues/11922/comments | 3 | 2023-10-17T15:02:23Z | 2024-02-09T16:14:38Z | https://github.com/langchain-ai/langchain/issues/11922 | 1,947,647,017 | 11,922 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I want to modify the prompt of the open ai function agent, so i can add more parameters that i can pass as inputs during execution
initialize_agent(tools=tool_items,
llm=llm,
agent=AgentType.OPENAI_FUNCTIONS)
and during execution such as
result = agent_chain.run({"input": "... | Issue: How to modify the actual prompt to add in new input parameters of the open ai functions agent, so that during the running of the agent, we pass those parameters also | https://api.github.com/repos/langchain-ai/langchain/issues/11921/comments | 4 | 2023-10-17T15:00:56Z | 2024-02-12T16:11:14Z | https://github.com/langchain-ai/langchain/issues/11921 | 1,947,643,981 | 11,921 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.272
Python Version: 3.11.0
### Who can help?
@hwchase17
@ag
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors... | ConversationTokenBufferMemory doesn't work with db based chat history | https://api.github.com/repos/langchain-ai/langchain/issues/11919/comments | 4 | 2023-10-17T14:28:09Z | 2024-02-11T16:10:42Z | https://github.com/langchain-ai/langchain/issues/11919 | 1,947,569,327 | 11,919 |
[
"langchain-ai",
"langchain"
] | we are trying to use langchain s3 loader to load files from the bucket using python, once we create any subfolder we are getting no such directory error. also we are not able to load the files from those sub folders.
How to fix these errors? | langchain s3 loader not able to load files from subfolders | https://api.github.com/repos/langchain-ai/langchain/issues/11917/comments | 4 | 2023-10-17T13:00:11Z | 2024-02-09T16:14:53Z | https://github.com/langchain-ai/langchain/issues/11917 | 1,947,371,287 | 11,917 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11
Lanchain 315
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parser... | Support for OpenAI quotas | https://api.github.com/repos/langchain-ai/langchain/issues/11914/comments | 2 | 2023-10-17T10:02:45Z | 2024-02-06T16:19:01Z | https://github.com/langchain-ai/langchain/issues/11914 | 1,947,039,933 | 11,914 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/11846
<div type='discussions-op-text'>
<sup>Originally posted by **Marbyun** October 16, 2023</sup>
Hi folks!
i have case to create chatbot that will use 2 sources as the dataset (text file and sqlite). I use Multiple Retrieaval Sources [doc... | How to use Multiple Retrieaval Sources and Added Memory at SQLDatabaseChain | https://api.github.com/repos/langchain-ai/langchain/issues/11908/comments | 2 | 2023-10-17T07:13:01Z | 2024-02-06T16:19:07Z | https://github.com/langchain-ai/langchain/issues/11908 | 1,946,710,273 | 11,908 |
[
"langchain-ai",
"langchain"
] | @dosu-bot
When I use chromadb instead of deeplake, my code worked fine but with deeplake, I am facing this error when I use deeplake for some reason despite everything is the exact same thing:
creating embeddings: 12%|██████████▏ | 3/26 [00:... | RateLimitError | https://api.github.com/repos/langchain-ai/langchain/issues/11907/comments | 2 | 2023-10-17T06:43:59Z | 2024-02-08T16:17:35Z | https://github.com/langchain-ai/langchain/issues/11907 | 1,946,665,722 | 11,907 |
[
"langchain-ai",
"langchain"
] | ### Feature request
There should be a callback handler like [OpenAICallbackHandler](https://github.com/langchain-ai/langchain/blob/31f264169db4ab23689f2e179983f1cfdfd1a33a/libs/langchain/langchain/callbacks/openai_info.py#L120) for AWS Bedrock models, so that we can easily get the token usage and monitor cost.
It l... | Enable token usage count for AWS Bedrock | https://api.github.com/repos/langchain-ai/langchain/issues/11906/comments | 7 | 2023-10-17T05:16:38Z | 2024-03-30T14:02:02Z | https://github.com/langchain-ai/langchain/issues/11906 | 1,946,564,023 | 11,906 |
[
"langchain-ai",
"langchain"
] | @dosu-bot
Below is my code in python about creating a Q & A using Langchain with openai API. I have 3 issues I want to fix:
1) The answer is always being repeated twice.
2) I am using ConversationalRetrievalChain from LangChain therefore, I want to retrieve the source of the document when I get my answer.
3) I... | Repetitive answer and not getting source of documents | https://api.github.com/repos/langchain-ai/langchain/issues/11905/comments | 2 | 2023-10-17T04:03:05Z | 2024-02-06T16:19:17Z | https://github.com/langchain-ai/langchain/issues/11905 | 1,946,493,093 | 11,905 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I want to load doc type file use UnstructuredFileLoader, andI installed all require library, but I got this mistake:
Traceback (most recent call last):
File "D:\soft\Anaconda3\lib\site-packages\unstructured\partition\doc.py", line 67, in partition_doc
convert_office_doc(
... | logger.info(output.decode().strip()) of common.py will raise a mistake when use convert_office_doc to convert .doc file to .docx file because it is not encode by 'utf-8' | https://api.github.com/repos/langchain-ai/langchain/issues/11898/comments | 2 | 2023-10-17T01:16:58Z | 2024-02-07T00:57:56Z | https://github.com/langchain-ai/langchain/issues/11898 | 1,946,344,621 | 11,898 |
[
"langchain-ai",
"langchain"
] | ### Feature request
combines LangChain with Stable Diffusion to generate a text-related image
### Motivation
The motivation behind this feature proposal is to enhance the capabilities of LangChain by integrating it with Stable Diffusion to enable the generation of images based on text inputs. This integration serves... | LangChain with Stable Diffusion | https://api.github.com/repos/langchain-ai/langchain/issues/11894/comments | 8 | 2023-10-16T21:53:29Z | 2024-03-18T16:05:49Z | https://github.com/langchain-ai/langchain/issues/11894 | 1,946,164,422 | 11,894 |
[
"langchain-ai",
"langchain"
] | ### System Info
I'm using jupyter notebook and Azure OpenAI
Python 3.11.5
langchain==0.0.315
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Pro... | API deployment not found when using Azure with embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/11893/comments | 3 | 2023-10-16T21:00:04Z | 2023-10-17T14:16:56Z | https://github.com/langchain-ai/langchain/issues/11893 | 1,946,085,853 | 11,893 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11.6
Langchain 0.0.315
Device name Precision7760
Processor 11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz 2.61 GHz
Installed RAM 32.0 GB (31.2 GB usable)
Device ID 049EB0D9-D534-47A1-9F59-62B1F3D578D4
Product ID 00355-60713-95419-AAOEM
System type 64-bit operating system, x64-based ... | HumanMessage error expecting a str type in content | https://api.github.com/repos/langchain-ai/langchain/issues/11882/comments | 4 | 2023-10-16T19:31:43Z | 2024-06-03T00:42:51Z | https://github.com/langchain-ai/langchain/issues/11882 | 1,945,944,555 | 11,882 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am uing the code provided in the Chat-Langchain implementation
```python
def load_langchain_docs():
return SitemapLoader(
"https://python.langchain.com/sitemap.xml",
filter_urls=["https://python.langchain.com/"],
parsing_function=langchain_docs_extractor,
... | No current event loop in thread 'MainThread' error while using SitemapLoader() | https://api.github.com/repos/langchain-ai/langchain/issues/11879/comments | 10 | 2023-10-16T19:06:17Z | 2024-02-13T16:10:38Z | https://github.com/langchain-ai/langchain/issues/11879 | 1,945,907,441 | 11,879 |
[
"langchain-ai",
"langchain"
] | ### System Info
Name: kuzu
Version: 0.0.10 (latest)
Name: langchain
Version: 0.0.311
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Template... | KuzuGraph not working | https://api.github.com/repos/langchain-ai/langchain/issues/11874/comments | 5 | 2023-10-16T18:10:46Z | 2024-02-15T19:17:09Z | https://github.com/langchain-ai/langchain/issues/11874 | 1,945,812,797 | 11,874 |
[
"langchain-ai",
"langchain"
] | ### Feature request
connect langchain to denodo database. while support for mysql, postgres etc exists, there is currently none for more niche platforms like denodo. Somthing like this

](https://python.langchain.com/docs/use_cases/question_answering/#quickstart))
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Componen... | Dead Links in Retrieval-Augmented Generation (RAG) Tutorial | https://api.github.com/repos/langchain-ai/langchain/issues/11871/comments | 2 | 2023-10-16T16:19:47Z | 2024-02-06T16:19:37Z | https://github.com/langchain-ai/langchain/issues/11871 | 1,945,627,705 | 11,871 |
[
"langchain-ai",
"langchain"
] | ### System Info
Subject: Bug Report - Langchain API Query Limitation
I am currently utilizing the following code snippet:
```typescript
let data: JsonObject;
try {
const jsonFile = await fs.readFileSync(
'./src/openAI/data/formattedResults.json',
'utf8',
);
data = JSON.parse(jsonFile) as Jso... | createJsonAgent returns answer based on top 5 data only | https://api.github.com/repos/langchain-ai/langchain/issues/11867/comments | 2 | 2023-10-16T15:15:52Z | 2024-02-08T16:17:50Z | https://github.com/langchain-ai/langchain/issues/11867 | 1,945,481,349 | 11,867 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.