issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I am trying to stream the response from the llm back to the client by using a callback with a custom StreamHandler, but the on_llm_new_token also includes the output from the rephrase_question step. while the final response does not include the rephrased answer. I don't want the re... | Issue: Rephrased question in included in the on_llm_new_token method while streaming the response from the LLM | https://api.github.com/repos/langchain-ai/langchain/issues/14703/comments | 7 | 2023-12-14T08:47:45Z | 2024-06-30T16:03:41Z | https://github.com/langchain-ai/langchain/issues/14703 | 2,041,224,728 | 14,703 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
my code:
only_recall_inputs = RunnableParallel({
"question": itemgetter('question'),
"history": ????????,
"docs": itemgetter('question') | retriever,
})
just a simple chain
I want the "history" part to be [] or ''
how to do this?
... | Issue: How to set the Chain with valid/empty input | https://api.github.com/repos/langchain-ai/langchain/issues/14702/comments | 1 | 2023-12-14T08:45:49Z | 2024-03-21T16:06:32Z | https://github.com/langchain-ai/langchain/issues/14702 | 2,041,221,683 | 14,702 |
[
"hwchase17",
"langchain"
] | ### System Info
python 3.10
langchain version:0.0.350
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() | https://api.github.com/repos/langchain-ai/langchain/issues/14701/comments | 2 | 2023-12-14T08:24:32Z | 2024-03-21T16:06:27Z | https://github.com/langchain-ai/langchain/issues/14701 | 2,041,187,377 | 14,701 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.348
langchain-google-genai: 0.0.3
python: 3.11
os: macOS11.6
### 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 T... | Gemini not support SystemMessage and raise an error | https://api.github.com/repos/langchain-ai/langchain/issues/14700/comments | 8 | 2023-12-14T07:07:13Z | 2024-03-26T16:07:11Z | https://github.com/langchain-ai/langchain/issues/14700 | 2,041,050,685 | 14,700 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
what is this issue, and how can i resolve it:
```python
os.environ["AZURE_OPENAI_API_KEY"] = AZURE_OPENAI_API_KEY
os.environ["AZURE_OPENAI_ENDPOINT"] = AZURE_OPENAI_ENDPOINT
os.environ["OPENAI_API_TYPE"] = "azure"
os.environ["OPENAI_API_VERSION"] = "2023-05-15"
... | sqlalchemy.exc.InvalidRequestError: Table 'langchain_pg_collection' is already defined for this MetaData instance. | https://api.github.com/repos/langchain-ai/langchain/issues/14699/comments | 15 | 2023-12-14T06:51:40Z | 2023-12-27T19:12:07Z | https://github.com/langchain-ai/langchain/issues/14699 | 2,041,031,199 | 14,699 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version = 0.0.344
Python version = 3.11.5
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sele... | SQLagent always giving me AttributeError: items for Snowflake tables | https://api.github.com/repos/langchain-ai/langchain/issues/14697/comments | 8 | 2023-12-14T06:29:48Z | 2024-03-21T16:06:17Z | https://github.com/langchain-ai/langchain/issues/14697 | 2,041,006,966 | 14,697 |
[
"hwchase17",
"langchain"
] | ### System Info
**Environment Details**
**Langchain version 0.0.336
Python 3.9.2rc1**
**Error encountered while executing the sample code mentioned in the "Semi_structured_multi_modal_RAG_LLaMA2.ipynb" notebook from the cookbook.**
File [c:\Users\PLNAYAK\Documents\Local_LLM_Inference\llms\lib\site-packages\u... | TypeError: get_model() got an unexpected keyword argument 'ocr_languages' | https://api.github.com/repos/langchain-ai/langchain/issues/14696/comments | 16 | 2023-12-14T06:18:44Z | 2024-05-21T16:08:06Z | https://github.com/langchain-ai/langchain/issues/14696 | 2,040,991,652 | 14,696 |
[
"hwchase17",
"langchain"
] | ### System Info
### **SYSTEM INFO**
LangChain version : 0.0.345
Python version : 3.9.6
### **ISSUE**
I create this custom function which will throw an error if the vectorestore cannot retrieve any relevant document
```
def check_threshold(inp, vecs):
query = inp['question']
threshold = inp['thresho... | PYTHON ISSUE : Fallback does not catch exception in custom function using LCEL | https://api.github.com/repos/langchain-ai/langchain/issues/14695/comments | 1 | 2023-12-14T04:54:06Z | 2024-03-21T16:06:12Z | https://github.com/langchain-ai/langchain/issues/14695 | 2,040,901,181 | 14,695 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Recently, langchain released the google gemini independent package to connect the google gemini LLM capabilities.
This is also the first independent package released by langchain, which is a very big progress and change.
But I noticed that the name of this package is langchain-goog... | Issue: Use python namespace capabilities to manage standalone packages | https://api.github.com/repos/langchain-ai/langchain/issues/14694/comments | 1 | 2023-12-14T03:49:26Z | 2024-03-21T16:06:07Z | https://github.com/langchain-ai/langchain/issues/14694 | 2,040,852,615 | 14,694 |
[
"hwchase17",
"langchain"
] | ### Feature request
With Gemini Pro going GA today (Dec. 13th).
When can users of LangChain expect an update to use the new LLM?
### Motivation
This will allow users of LangChain to use the latest LLM that Google is providing along with their safety settings.
### Your contribution
I can try and help. Happy to con... | Google Gemini | https://api.github.com/repos/langchain-ai/langchain/issues/14671/comments | 9 | 2023-12-13T19:02:58Z | 2024-02-07T23:45:17Z | https://github.com/langchain-ai/langchain/issues/14671 | 2,040,302,557 | 14,671 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain: 0.0.349
Langchain-community: v0.0.1
Langchain-core: 0.0.13
Python: 3.12
Platform: Mac OS
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Em... | LangChain Agent bug when parsing tool inputs that use alias field names | https://api.github.com/repos/langchain-ai/langchain/issues/14663/comments | 1 | 2023-12-13T16:51:16Z | 2024-03-20T16:06:48Z | https://github.com/langchain-ai/langchain/issues/14663 | 2,040,113,293 | 14,663 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version 0.0.348
Python version 3.10
Operating System MacOS Monterey version 12.6
SQLAlchemy version 2.0.23
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] ... | SQLDatabaseChain with LlamaCpp Llama2 "Chain Run Errored With Error: ArgumentError: <class 'TypeError'>: wrong type" | https://api.github.com/repos/langchain-ai/langchain/issues/14660/comments | 2 | 2023-12-13T16:38:34Z | 2024-03-20T16:06:44Z | https://github.com/langchain-ai/langchain/issues/14660 | 2,040,091,551 | 14,660 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am attempting to call an instance of ConversationalRetrieverChain with a list of dictionary objects that I've pre-processed with a similarity search and cohere reranker. I've created an extension of BaseRetriever in order to pass my list of dictionary objects to the "retriever=" para... | Getting "object has no field "documents" error with extended BaseRetriever classs | https://api.github.com/repos/langchain-ai/langchain/issues/14659/comments | 5 | 2023-12-13T16:29:16Z | 2024-06-01T00:07:37Z | https://github.com/langchain-ai/langchain/issues/14659 | 2,040,074,533 | 14,659 |
[
"hwchase17",
"langchain"
] | ### System Info
Mac Studio
M1 Max 32GB
macOS 14.1.2
Using rye
Python 3.11.6
langchain==0.0.350
langchain-community==0.0.2
langchain-core==0.1.0
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Cha... | UnstructuredXMLLoader import error (circular import) | https://api.github.com/repos/langchain-ai/langchain/issues/14658/comments | 1 | 2023-12-13T16:02:17Z | 2024-03-20T16:06:38Z | https://github.com/langchain-ai/langchain/issues/14658 | 2,040,021,283 | 14,658 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm trying to use StreamingStdOutCallbackHandler for a conversation chain. But it prints out the memory after the response. Is there a way to not printing memory without using an agent?
### Suggestion:
_No response_ | Issue: streaming issues | https://api.github.com/repos/langchain-ai/langchain/issues/14656/comments | 2 | 2023-12-13T15:47:29Z | 2024-01-10T03:38:15Z | https://github.com/langchain-ai/langchain/issues/14656 | 2,039,990,933 | 14,656 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.
How can we achieve this, below is my code
` loader = UnstructuredURLLoader(urls=urls)
urlDocument = loader.load()
text_splitter = RecursiveCharacterTextS... | Issue: I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain. | https://api.github.com/repos/langchain-ai/langchain/issues/14651/comments | 3 | 2023-12-13T13:27:30Z | 2024-03-27T16:08:12Z | https://github.com/langchain-ai/langchain/issues/14651 | 2,039,714,207 | 14,651 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version = 0.0.311
Python Version = 3.9
Tried it on my local system as well on Company's hosted Jupyter Hub as well
### Who can help?
@eyurtsev @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | Bug in Text splitting while using langchain.text_splitter.split_text_on_tokens¶ | https://api.github.com/repos/langchain-ai/langchain/issues/14649/comments | 3 | 2023-12-13T10:31:27Z | 2024-03-25T16:07:21Z | https://github.com/langchain-ai/langchain/issues/14649 | 2,039,411,662 | 14,649 |
[
"hwchase17",
"langchain"
] | ### System Info
from langchain.document_transformers import DoctranTextTranslator
from langchain.schema import Document
documents = [Document(page_content=sample_text)]
qa_translator = DoctranTextTranslator(language="spanish")
translated_document = await qa_translator.atransform_documents(documents)
TypeErr... | TypeError: object Document can't be used in 'await' expression | https://api.github.com/repos/langchain-ai/langchain/issues/14645/comments | 1 | 2023-12-13T07:52:41Z | 2024-03-20T16:06:28Z | https://github.com/langchain-ai/langchain/issues/14645 | 2,039,150,807 | 14,645 |
[
"hwchase17",
"langchain"
] | I have two code.
The 1st code is to load PDF documents and use ParentDocumentRetriever to add_documents() and save vectorstore to local disk.
The 2nd code is to load vectorstore and call ParentDocumentRetriever.get_relevant_documents
The problem is, the ParentDocumentRetriever.get_relevant_documents() got empty resu... | ParentDocumentRetriever.get_relevant_documents() got empty result | https://api.github.com/repos/langchain-ai/langchain/issues/14643/comments | 5 | 2023-12-13T07:31:59Z | 2024-01-11T20:34:16Z | https://github.com/langchain-ai/langchain/issues/14643 | 2,039,122,156 | 14,643 |
[
"hwchase17",
"langchain"
] | ### System Info
# Dependency Versions
langchain==0.0.349
langchain-community==0.0.1
langchain-core==0.0.13
openai==1.3.8
# Python Version
Python 3.11.4
# Redis Stack Version
redis-stack-server 6.2.0
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My ow... | (RedisSemanticCache + ChatOpenAI + OpenAIEmbeddings) - Not working as expected - Wanted to understand, if I am doing something wrong here. | https://api.github.com/repos/langchain-ai/langchain/issues/14640/comments | 2 | 2023-12-13T06:34:44Z | 2024-04-25T16:12:16Z | https://github.com/langchain-ai/langchain/issues/14640 | 2,039,051,024 | 14,640 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Issue 1:
I am working on the summarization using the stuff and map-reduce of the Langchain. I have integrated it with the AWS Bedrock's anthropic llm which has a token limit of 100000. It is working fine but when the pdf with 40000 tokens is passed, the bedrock is throwing an error:
... | Issue: bedrock is throwing an error for the langchain stuff method using the anthropic model for the summarization. | https://api.github.com/repos/langchain-ai/langchain/issues/14639/comments | 1 | 2023-12-13T05:48:17Z | 2023-12-15T07:47:12Z | https://github.com/langchain-ai/langchain/issues/14639 | 2,039,002,274 | 14,639 |
[
"hwchase17",
"langchain"
] | ### System Info
Hello, after forking and cloning the repo on my machine, I tried to open it using docker and specifically in VS Code with the option to "Reopen in Container". While building, the final command of [dev.Dockerfile](https://github.com/langchain-ai/langchain/blob/ca7da8f7ef9bc7a613ff07279c4603cad5fd175a/li... | Dockerfile issues when trying to build the repo using .devcontainer | https://api.github.com/repos/langchain-ai/langchain/issues/14631/comments | 3 | 2023-12-12T23:17:45Z | 2023-12-28T16:25:05Z | https://github.com/langchain-ai/langchain/issues/14631 | 2,038,690,605 | 14,631 |
[
"hwchase17",
"langchain"
] | ### Feature request
Azure OpenAI now previews the DALLE-3 model. Today, DALLEAPIWrapper only supports the openai API.
### Motivation
My customers are using Azure OpenAI and would like to use DALL-E-3 in their solutions.
### Your contribution
PR may not be possible but I'd like to help anyway I can. | DALLEAPIWrapper to support Azure OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/14625/comments | 2 | 2023-12-12T22:22:43Z | 2024-03-20T16:06:23Z | https://github.com/langchain-ai/langchain/issues/14625 | 2,038,636,476 | 14,625 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add first-class support for Vertex AI Endpoints in Langchain. This would involve providing a similar interface to the existing SageMakerEndpoint class, allowing users to easily connect to and interact with Vertex AI Endpoints.
### Motivation
Although VertexAIModelGarden already exist, there may b... | Add support for Vertex AI Endpoint | https://api.github.com/repos/langchain-ai/langchain/issues/14622/comments | 1 | 2023-12-12T20:35:10Z | 2024-03-19T16:06:32Z | https://github.com/langchain-ai/langchain/issues/14622 | 2,038,512,133 | 14,622 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi, it seems the only DocStore available are InMemory or Google. I'd like to submit a feature request for an S3DocStore.
### Motivation
Many people have raised issues related to limited DocStore options. | S3DocStore | https://api.github.com/repos/langchain-ai/langchain/issues/14616/comments | 3 | 2023-12-12T18:55:18Z | 2024-04-10T16:11:48Z | https://github.com/langchain-ai/langchain/issues/14616 | 2,038,377,269 | 14,616 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain Version: 0.0.348
Python: 3.9.16
Docs suggests to use proxy entry as follows but it does not work:
from slacktoolkit import SlackToolkit
# Proxy settings
proxies = {
'http': 'http://proxy.example.com:8080',
'https': 'https://proxy.example.com:8080'
}
# Initialize Slack... | SlackToolkit() does not support proxy configuration | https://api.github.com/repos/langchain-ai/langchain/issues/14608/comments | 2 | 2023-12-12T17:16:53Z | 2023-12-15T04:00:14Z | https://github.com/langchain-ai/langchain/issues/14608 | 2,038,224,081 | 14,608 |
[
"hwchase17",
"langchain"
] | ### System Info
Not relevant
### Who can help?
@hwchase17
@agola11
### 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
- [ ] Docume... | QaWithSources default prompt is massive | https://api.github.com/repos/langchain-ai/langchain/issues/14596/comments | 4 | 2023-12-12T13:40:37Z | 2024-03-20T16:06:19Z | https://github.com/langchain-ai/langchain/issues/14596 | 2,037,780,695 | 14,596 |
[
"hwchase17",
"langchain"
] | ### Feature request
As of the current implementation of the QA with sources chain, if `return_source_documents` is set to `True`, [all the sources](https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/langchain/langchain/chains/qa_with_sources/base.py#L165) that are retrieved fr... | Sources returned in QaWithSources can be optimised | https://api.github.com/repos/langchain-ai/langchain/issues/14595/comments | 1 | 2023-12-12T13:30:30Z | 2024-03-19T16:06:24Z | https://github.com/langchain-ai/langchain/issues/14595 | 2,037,760,278 | 14,595 |
[
"hwchase17",
"langchain"
] | ### Feature request
How to use custom tracing tool like opentelemetry or tempo
### Motivation
If I don't want to use LangSmith
### Your contribution
N/A | How to use custom tracing tool like opentelemetry or tempo | https://api.github.com/repos/langchain-ai/langchain/issues/14594/comments | 1 | 2023-12-12T12:34:07Z | 2024-03-19T16:06:17Z | https://github.com/langchain-ai/langchain/issues/14594 | 2,037,660,794 | 14,594 |
[
"hwchase17",
"langchain"
] | ### System Info
OS: Apple M1 Max
______________________
Name: langchain
Version: 0.0.349
Summary: Building applications with LLMs through composability
Home-page: https://github.com/langchain-ai/langchain
Author:
Author-email:
License: MIT
Requires: aiohttp, async-timeout, dataclasses-json, jsonpatch, lan... | Not able to inference deepseek-coder-6.7b-instruct.Q5_K_M.gguf | https://api.github.com/repos/langchain-ai/langchain/issues/14593/comments | 6 | 2023-12-12T11:20:20Z | 2024-05-25T13:36:24Z | https://github.com/langchain-ai/langchain/issues/14593 | 2,037,539,816 | 14,593 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
i have created a chatbot to chat with the sql database using openai and langchain, but how to store or output data into excel using langchain.
I got some idea from chatgpt which i have integrated with my code, but there is an error while importing the modules
below is my code
im... | Issue: <How to store/export the output of a chatbot to excel ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/14592/comments | 5 | 2023-12-12T11:08:08Z | 2024-03-21T16:05:52Z | https://github.com/langchain-ai/langchain/issues/14592 | 2,037,519,560 | 14,592 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.9.12, LangChain 0.0.346
### Who can help?
@agola11 @3coins
### 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 Par... | Caching with Bedrock does not distinguish models or params | https://api.github.com/repos/langchain-ai/langchain/issues/14590/comments | 1 | 2023-12-12T10:17:59Z | 2024-03-19T16:06:07Z | https://github.com/langchain-ai/langchain/issues/14590 | 2,037,430,016 | 14,590 |
[
"hwchase17",
"langchain"
] | ### System Info
python: 3.11
langchain: 0.0.347-0.0.349
langchain_core: 0.0.12, 0.0.13
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / P... | Unable to dump/load custom classes since langchain_core 0.0.13 | https://api.github.com/repos/langchain-ai/langchain/issues/14589/comments | 3 | 2023-12-12T10:16:56Z | 2023-12-13T10:44:16Z | https://github.com/langchain-ai/langchain/issues/14589 | 2,037,428,125 | 14,589 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.9.13, LangChain 0.0.347, Windows 10
### Who can help?
@hwchase17 @agola
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X... | OutputFixingParser should use callbacks | https://api.github.com/repos/langchain-ai/langchain/issues/14588/comments | 1 | 2023-12-12T09:35:53Z | 2024-03-19T16:06:02Z | https://github.com/langchain-ai/langchain/issues/14588 | 2,037,349,229 | 14,588 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
below is my code
` confluence_url = config.get("confluence_url", None)
username = config.get("username", None)
api_key = config.get("api_key", None)
space_key = config.get("space_key", None)
documents = []
embedding = OpenAIEmbedd... | Issue: Getting error while integrating Confluence Spaces including attachments | https://api.github.com/repos/langchain-ai/langchain/issues/14586/comments | 3 | 2023-12-12T09:00:13Z | 2024-02-21T11:48:20Z | https://github.com/langchain-ai/langchain/issues/14586 | 2,037,287,446 | 14,586 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.335
Platform: Win11
Python Version: 3.11.5
Hi experts,
I'm trying to execute the RAG Search Example on the Langchain Doc: https://python.langchain.com/docs/expression_language/get_started
**Here is the code:**
from langchain.chat_models import ChatOpenAI
from langcha... | ValidationError: 2 validation errors for DocArrayDoc returned when try to execute the RAG Search Example | https://api.github.com/repos/langchain-ai/langchain/issues/14585/comments | 19 | 2023-12-12T08:57:21Z | 2024-06-08T16:07:56Z | https://github.com/langchain-ai/langchain/issues/14585 | 2,037,282,618 | 14,585 |
[
"hwchase17",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/langchain/langchain/chains/graph_qa/cypher.py#L266C2-L269C25
Hi, I am heavily using GraphCypherQAChain and sometimes cypher_query_corrector returns generated cypher as valid but have some syntax problems or completely it is ... | GraphCypherQAChain Unhandled Exception while running Erroneous Cypher Queries | https://api.github.com/repos/langchain-ai/langchain/issues/14584/comments | 1 | 2023-12-12T08:18:57Z | 2024-03-19T16:05:58Z | https://github.com/langchain-ai/langchain/issues/14584 | 2,037,219,925 | 14,584 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently, SemanticSimilarityExampleSelector only passes `k` as a parameter to vectorstore [see here](https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/core/langchain_core/example_selectors/semantic_similarity.py#L55C10-L55C10). vectorstore, depending on... | passing down vectorstore additional argument in SemanticSimilarityExampleSelector | https://api.github.com/repos/langchain-ai/langchain/issues/14583/comments | 1 | 2023-12-12T07:18:55Z | 2024-03-19T16:05:52Z | https://github.com/langchain-ai/langchain/issues/14583 | 2,037,136,239 | 14,583 |
[
"hwchase17",
"langchain"
] | ### System Info
python = "^3.10"
openai = "^1.3.8"
langchain = "^0.0.349"
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templ... | RetrievalQA and AzureOpenAIEmbeddings lead to TypeError: cannot pickle '_thread.lock' object | https://api.github.com/repos/langchain-ai/langchain/issues/14581/comments | 15 | 2023-12-12T06:39:49Z | 2024-07-27T16:03:39Z | https://github.com/langchain-ai/langchain/issues/14581 | 2,037,087,675 | 14,581 |
[
"hwchase17",
"langchain"
] | ### System Info
Ubuntu 20.04
CUDA 12.1
NVIDIA RTX 4070
### Who can help?
@hwchase17
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors... | An output parsing error occurred. Could not parse LLM output create_csv_agent | https://api.github.com/repos/langchain-ai/langchain/issues/14580/comments | 2 | 2023-12-12T05:58:28Z | 2024-03-19T16:05:47Z | https://github.com/langchain-ai/langchain/issues/14580 | 2,037,040,612 | 14,580 |
[
"hwchase17",
"langchain"
] | ### System Info
Lanchain: 0.0.348
Python 3.12.0
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selec... | Predibase TypeError: LlmMixin.prompt() got an unexpected keyword argument 'model_name' | https://api.github.com/repos/langchain-ai/langchain/issues/14564/comments | 1 | 2023-12-11T23:00:10Z | 2024-03-19T16:05:42Z | https://github.com/langchain-ai/langchain/issues/14564 | 2,036,678,638 | 14,564 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I have this issue when working with more than 1 table using the Llama2 model. Let's say table 1 has values A, B, C, and table 2 has values X, Y, Z. When I run the query, it often gives me an error that it creates the query but assumes that table 1 has values X, Y, Z, and it mixes th... | Issue: Problem when using model llama2 13b chat to create SQL queries in 2 or more tables, it mixes the columns of the tables | https://api.github.com/repos/langchain-ai/langchain/issues/14553/comments | 1 | 2023-12-11T19:58:47Z | 2024-03-18T16:08:58Z | https://github.com/langchain-ai/langchain/issues/14553 | 2,036,427,335 | 14,553 |
[
"hwchase17",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.348
Name: PyGithub
Version: 2.1.1
### Who can help?
@hwchase17
@agola11
```
Traceback (most recent call last):
File "/Users/mac/Dev Projects/Chainlit_qa/test.py", line 12, in <module>
github = GitHubAPIWrapper(
^^^^^^^^^^^^^^^^^
Fil... | GithubAPIWrapper throws list index out of range error | https://api.github.com/repos/langchain-ai/langchain/issues/14550/comments | 8 | 2023-12-11T18:30:31Z | 2023-12-22T09:32:06Z | https://github.com/langchain-ai/langchain/issues/14550 | 2,036,284,698 | 14,550 |
[
"hwchase17",
"langchain"
] | ### Feature request
As of `langchain==0.0.348` in [`ChatVertexAI` here](https://github.com/langchain-ai/langchain/blob/v0.0.348/libs/langchain/langchain/chat_models/vertexai.py#L187-L191):
1. `vertexai.language_models.ChatSession.send_message` returns a `vertexai.language_models.MultiCandidateTextGenerationResponse... | Request: `ChatVertexAI` preserving `grounding_metadata` | https://api.github.com/repos/langchain-ai/langchain/issues/14548/comments | 1 | 2023-12-11T18:06:33Z | 2024-01-25T04:37:45Z | https://github.com/langchain-ai/langchain/issues/14548 | 2,036,244,262 | 14,548 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.331, macOS Monterey, Python 3.10.9
### 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
- [ ... | Does HTML Doc Loader accept .htm sites? | https://api.github.com/repos/langchain-ai/langchain/issues/14545/comments | 2 | 2023-12-11T16:25:09Z | 2024-04-10T16:15:24Z | https://github.com/langchain-ai/langchain/issues/14545 | 2,036,050,915 | 14,545 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version = 0.0.344
Python version = 3.11.5
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | impossible to connect to PowerBI Datasets even after providing all the information | https://api.github.com/repos/langchain-ai/langchain/issues/14538/comments | 1 | 2023-12-11T14:07:35Z | 2024-03-18T16:08:54Z | https://github.com/langchain-ai/langchain/issues/14538 | 2,035,763,317 | 14,538 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/13245
<div type='discussions-op-text'>
<sup>Originally posted by **yallapragada** November 12, 2023</sup>
I am testing a simple RAG implementation with Azure Cognitive Search.
I am seeing a "cannot import name 'Vector' from azure.search.do... | Stable release 11.4.0 of azure.search.documents.models not compatible with latest langchain version -> class Vector gone | https://api.github.com/repos/langchain-ai/langchain/issues/14534/comments | 1 | 2023-12-11T12:44:45Z | 2024-03-18T16:08:49Z | https://github.com/langchain-ai/langchain/issues/14534 | 2,035,602,125 | 14,534 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Page: https://python.langchain.com/docs/modules/memory/
In dark mode, there is very little contrast between inputs and outputs. Especially for pages imported from Jupyter notebooks, it can be really confusing figuring out which code blocks are safe to test in a `.py` function a... | DOC: Please add stronger contrast or labeling between notebook input and output blocks | https://api.github.com/repos/langchain-ai/langchain/issues/14532/comments | 2 | 2023-12-11T12:20:45Z | 2024-04-01T16:05:54Z | https://github.com/langchain-ai/langchain/issues/14532 | 2,035,556,970 | 14,532 |
[
"hwchase17",
"langchain"
] | ### Feature request
Weaviate has released a beta version of their [python client v4](https://weaviate.io/developers/weaviate/client-libraries/python) which seems to be more robust compared to v3. It follows a different structure but allows for more versatility and better error handling when it comes to queries. I thin... | Support Weaviate client v4 | https://api.github.com/repos/langchain-ai/langchain/issues/14531/comments | 1 | 2023-12-11T12:15:23Z | 2024-03-12T13:14:58Z | https://github.com/langchain-ai/langchain/issues/14531 | 2,035,547,273 | 14,531 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.348
wsl
python 3.10.2
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | b'{"status":{"error":"Wrong input: Default vector params are not specified in config"},"time":0.00036507}' | https://api.github.com/repos/langchain-ai/langchain/issues/14526/comments | 1 | 2023-12-11T10:30:41Z | 2024-03-18T16:08:44Z | https://github.com/langchain-ai/langchain/issues/14526 | 2,035,343,197 | 14,526 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain=0.0.348
openai=0.28.1
### 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
- ... | When the self-deployed chatglm3 model is invoked based on the openai API specification and create_sql_agent is used to query the first three rows of the data table, the output format is reported to be incorrect. But there are no formatting errors with qwen. How do I fix chatglm3 | https://api.github.com/repos/langchain-ai/langchain/issues/14523/comments | 1 | 2023-12-11T08:58:58Z | 2024-03-18T16:08:39Z | https://github.com/langchain-ai/langchain/issues/14523 | 2,035,156,450 | 14,523 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain=0.0.348
python=3.9
openai=0.28.1
### 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 S... | 1 | https://api.github.com/repos/langchain-ai/langchain/issues/14522/comments | 1 | 2023-12-11T08:50:01Z | 2023-12-11T09:00:17Z | https://github.com/langchain-ai/langchain/issues/14522 | 2,035,138,288 | 14,522 |
[
"hwchase17",
"langchain"
] | ### System Info
OS == Windows 11
Python == 3.10.11
Langchain == 0.0.348
### 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 Selec... | [Maybe Bug] `StructuredChatAgent` raises `ValueError` with a `StructuredTool` which has an argument which defaults to a `dict` default value | https://api.github.com/repos/langchain-ai/langchain/issues/14521/comments | 3 | 2023-12-11T08:41:13Z | 2024-03-18T16:08:34Z | https://github.com/langchain-ai/langchain/issues/14521 | 2,035,123,971 | 14,521 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.311
Python: 3.11
OS: macOS 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 / Pr... | StructuredChatAgent would go wrong when the input contain some code such as protobuf. | https://api.github.com/repos/langchain-ai/langchain/issues/14520/comments | 3 | 2023-12-11T07:44:54Z | 2024-03-18T16:08:29Z | https://github.com/langchain-ai/langchain/issues/14520 | 2,035,027,147 | 14,520 |
[
"hwchase17",
"langchain"
] | ### Feature request
i want to use gpt2 for text genration & want to control the llm
### Motivation
gpt2 is smaller version & its is best for next-word prediction
### Your contribution
want to use below code for loading gpt2 model
```
from transformers import AutoModelForCausalLM, AutoTokenizer
mod... | how to use gpt2 with custom promt? | https://api.github.com/repos/langchain-ai/langchain/issues/14519/comments | 1 | 2023-12-11T07:38:08Z | 2024-03-18T16:08:23Z | https://github.com/langchain-ai/langchain/issues/14519 | 2,035,017,496 | 14,519 |
[
"hwchase17",
"langchain"
] | ### System Info
```langchain = "^0.0.345"```
I want to embed and store multiple documents in PGVector and RAG query the DB.
When saving documents, I am specifying a collection_name for each document.
(For example, if I have 3 documents, I have 3 collection_names)
Is it possible to separate collections like this?
... | Is 'collection_name' required when initializing 'PGVector'? | https://api.github.com/repos/langchain-ai/langchain/issues/14518/comments | 2 | 2023-12-11T05:36:15Z | 2024-03-28T14:13:27Z | https://github.com/langchain-ai/langchain/issues/14518 | 2,034,867,869 | 14,518 |
[
"hwchase17",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/c0f4b95aa9961724ab4569049b4c3bc12ebbacfc/libs/langchain/langchain/vectorstores/chroma.py#L742
This function breaks the pattern of how the `embedding_function` is referenced by just calling it `embedding`.
Small issue but definitely makes it a bit confusing to navigate ... | Breaking of pattern in `from_document` function | https://api.github.com/repos/langchain-ai/langchain/issues/14517/comments | 1 | 2023-12-11T05:30:25Z | 2024-03-18T16:08:13Z | https://github.com/langchain-ai/langchain/issues/14517 | 2,034,861,990 | 14,517 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.10.2
langchain version 0.0.339
WSL
### 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 Template... | Qdrant retriever with existing data leads to pydantic.error_wrappers.ValidationError: 1 validation error for Document page_content none is not an allowed value (type=type_error.none.not_allowed) | https://api.github.com/repos/langchain-ai/langchain/issues/14515/comments | 16 | 2023-12-11T02:50:24Z | 2024-06-25T10:46:41Z | https://github.com/langchain-ai/langchain/issues/14515 | 2,034,721,756 | 14,515 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
_No response_
### Idea or request for content:
_No response_ | DOC: Could load GGUF models from https | https://api.github.com/repos/langchain-ai/langchain/issues/14514/comments | 21 | 2023-12-11T02:45:28Z | 2024-03-19T16:05:38Z | https://github.com/langchain-ai/langchain/issues/14514 | 2,034,717,889 | 14,514 |
[
"hwchase17",
"langchain"
] | ### Feature request
Customize how messages are formatted in MessagesPlaceholder
Currently, history messages are always format to:
'''
Human: ...
AI: ...
'''
Popular chat fine-tunings use all sorts of different formats.
Example:
'''
<|im_start|>user
...<|im_end|>
<|im_start|>assistant
...<|im_end... | Customize how messages are formatted in MessagesPlaceholder | https://api.github.com/repos/langchain-ai/langchain/issues/14513/comments | 1 | 2023-12-10T23:33:17Z | 2024-03-17T16:10:46Z | https://github.com/langchain-ai/langchain/issues/14513 | 2,034,583,189 | 14,513 |
[
"hwchase17",
"langchain"
] | ### System Info
0.0.348, linux , python 3.11
### 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
- [... | RunnableWithMessageHistory streaming bug | https://api.github.com/repos/langchain-ai/langchain/issues/14511/comments | 11 | 2023-12-10T20:43:15Z | 2024-04-05T16:07:05Z | https://github.com/langchain-ai/langchain/issues/14511 | 2,034,526,238 | 14,511 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
import requests
from typing import Optional
from langchain.tools import StructuredTool
``` python
def post_message(url: str, body: dict, parameters: Optional[dict]=None) -> str:
"""Sends a POST request to the given url with the given body and parameters."""
result ... | Help me run this | https://api.github.com/repos/langchain-ai/langchain/issues/14508/comments | 8 | 2023-12-10T16:37:15Z | 2023-12-11T04:49:51Z | https://github.com/langchain-ai/langchain/issues/14508 | 2,034,443,411 | 14,508 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The in-memory cache section of the LLM Caching documentation shows uncached and subsequent cached responses that differ. The later examples show cached responses that are the same as the uncached response, which makes more sense.
### Idea or request for content:
The cach... | DOC: LLM Caching example using in-memory cache is unclear | https://api.github.com/repos/langchain-ai/langchain/issues/14505/comments | 1 | 2023-12-10T15:22:40Z | 2024-03-17T16:10:41Z | https://github.com/langchain-ai/langchain/issues/14505 | 2,034,414,953 | 14,505 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.348
Python version: 3.10.6
Platform: Linux
The issue is that when using Conversational Chain for with Kendra Retriever with memory, on any followup questions it gives this error.
My guess is somehow QueryText is getting more than the {question} value asked.
:
create_db()
input_db = SQLDatabase.from_uri('sqlite:///sample_db_2.sqlite')
llm_1 = OpenAI(temperature=0)
db_age... | why the sql langchain's custom prompt is not working? | https://api.github.com/repos/langchain-ai/langchain/issues/14487/comments | 2 | 2023-12-09T12:19:40Z | 2024-03-17T16:10:32Z | https://github.com/langchain-ai/langchain/issues/14487 | 2,033,828,081 | 14,487 |
[
"hwchase17",
"langchain"
] | ### System Info
I have retriever implementation like this
```
def get_vector_store(options: StoreOptions) -> VectorStore:
"""Gets the vector store for the given options."""
vector_store: VectorStore
embedding = get_embeddings()
store_type = os.environ.get("STORE")
if store_type == Stor... | Retrievers don't seem to work properly with ollama | https://api.github.com/repos/langchain-ai/langchain/issues/14485/comments | 4 | 2023-12-09T08:06:14Z | 2023-12-10T04:17:57Z | https://github.com/langchain-ai/langchain/issues/14485 | 2,033,718,595 | 14,485 |
[
"hwchase17",
"langchain"
] | ### Feature request
It would be nice to write code for any generic LLM to use in a given chain, being able to specify its provider and parameters in a config file outside the source code.
Is there a built-in way to do so? What major roadblocks would you see in doing that?
### Motivation
Most examples that I... | generic codebase? | https://api.github.com/repos/langchain-ai/langchain/issues/14483/comments | 7 | 2023-12-09T07:06:17Z | 2024-04-09T16:14:17Z | https://github.com/langchain-ai/langchain/issues/14483 | 2,033,679,268 | 14,483 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.335
### Who can help?
@hwchase17 @agol
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Docu... | VertexAI classs doesn't support request_timeout | https://api.github.com/repos/langchain-ai/langchain/issues/14478/comments | 2 | 2023-12-09T03:28:39Z | 2024-03-18T16:08:03Z | https://github.com/langchain-ai/langchain/issues/14478 | 2,033,581,284 | 14,478 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hi,
I'm trying to understand _**Pinecone.from_documents**_ as shown [here ](https://python.langchain.com/docs/integrations/vectorstores/pinecone).
I saw it used the same way in another tutorial as well and it seems like it should be calling OpenAIEmbeddings.embed_document... | DOC: Need clarity on Pinecone.from_documents and OpenAIEmbeddings. | https://api.github.com/repos/langchain-ai/langchain/issues/14472/comments | 7 | 2023-12-08T22:48:39Z | 2024-03-18T16:07:59Z | https://github.com/langchain-ai/langchain/issues/14472 | 2,033,402,079 | 14,472 |
[
"hwchase17",
"langchain"
] | ### System Info
OS: Using docker image amd64/python:3.10-slim
Python Version: 3.10.13
Langchain Version: 0.0.336
OpenAI Version: 0.27.7
Tenacity Version: 4.65.0
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Re... | agent executor not using custom openai_api_base | https://api.github.com/repos/langchain-ai/langchain/issues/14470/comments | 10 | 2023-12-08T21:41:20Z | 2024-03-18T16:07:54Z | https://github.com/langchain-ai/langchain/issues/14470 | 2,033,344,391 | 14,470 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.346
### Who can help?
@hwch
### Information
- [ ] 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 Loader... | DeprecationWarning: `input_variables' is deprecated and ignored | https://api.github.com/repos/langchain-ai/langchain/issues/14467/comments | 1 | 2023-12-08T21:10:46Z | 2023-12-13T01:43:28Z | https://github.com/langchain-ai/langchain/issues/14467 | 2,033,316,778 | 14,467 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm using the llama2 model for SQL, and I modified it to work directly using LLM. I also added more tables to test the model, and I'm modifying the prompt. When I do this, it generates longer queries based on the question I send, but when the query is very long, it doesn't complete g... | Issue: llama2-sql for long queries doesn't return the complete query. | https://api.github.com/repos/langchain-ai/langchain/issues/14465/comments | 1 | 2023-12-08T19:31:22Z | 2024-03-16T16:14:16Z | https://github.com/langchain-ai/langchain/issues/14465 | 2,033,203,436 | 14,465 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm trying to implement the [web scraping tutorial ](https://python.langchain.com/docs/use_cases/web_scraping#llm-with-function-calling) using ChatOllama instead of ChatOpenAI.
This is what I'm trying to do:
```
import pprint
from langchain.chains import create_extraction_c... | Web Scraping with ChatOllama gives SSL: WRONG_VERSION_NUMBER | https://api.github.com/repos/langchain-ai/langchain/issues/14450/comments | 6 | 2023-12-08T15:19:32Z | 2024-07-03T07:29:16Z | https://github.com/langchain-ai/langchain/issues/14450 | 2,032,847,275 | 14,450 |
[
"hwchase17",
"langchain"
] | During the recent initiative to secure API keys with `SecretStr` (https://github.com/langchain-ai/langchain/issues/12165), some implementations and their corresponding tests were implemented with some flaws. More specifically, they were not really masking the API key.
For instsance, in `libs/langchain/langchain/chat... | Issue: Flawed implementations of SecretStr for API keys | https://api.github.com/repos/langchain-ai/langchain/issues/14445/comments | 1 | 2023-12-08T13:45:01Z | 2024-02-02T14:32:30Z | https://github.com/langchain-ai/langchain/issues/14445 | 2,032,683,865 | 14,445 |
[
"hwchase17",
"langchain"
] | ### System Info
npm version: "^0.0.203"
MacOS
Bun version: 1.0.15+b3bdf22eb
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt... | Unexpected end of JSON | https://api.github.com/repos/langchain-ai/langchain/issues/14443/comments | 1 | 2023-12-08T12:47:37Z | 2024-03-18T16:07:49Z | https://github.com/langchain-ai/langchain/issues/14443 | 2,032,599,462 | 14,443 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello Team,
We are using opensearch vectordb to store the embeddings, then we are using these embeddings to retrieve the similar document during conversastnal retrieval. while checking the settings of the index created by vector_db.add_text(page_content,metadatas). i have seen the numbe... | Issue: Opensearch manually assigned shards and replicas while using vector_db.add_text(page_contents,metatas) | https://api.github.com/repos/langchain-ai/langchain/issues/14442/comments | 1 | 2023-12-08T11:02:46Z | 2024-03-16T16:14:06Z | https://github.com/langchain-ai/langchain/issues/14442 | 2,032,443,629 | 14,442 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
#prompt template
How Can I use Prompt Template in my code below?
def chat_langchain(new_project_qa, query, not_uuid):
check = query.lower()
user_experience_inst = UserExperience.objects.get(not_uuid=not_uuid)
# query="If the context is related to hi/hello with or witho... | Issue: How Can I use Prompt Template? | https://api.github.com/repos/langchain-ai/langchain/issues/14441/comments | 1 | 2023-12-08T10:24:07Z | 2024-03-16T16:14:01Z | https://github.com/langchain-ai/langchain/issues/14441 | 2,032,387,502 | 14,441 |
[
"hwchase17",
"langchain"
] | ### Feature request
When utilizing custom_table_info in the sqldatabase instance while employing the create_sql_agent function, it appears that there is an issue where it disregards the sql_db_schema. Currently, it only utilizes either the custom_table_info or the sql_db_schema. This poses a challenge, especially wh... | custom_table_info along with sql_db_schema while using create_sql_agent | https://api.github.com/repos/langchain-ai/langchain/issues/14440/comments | 1 | 2023-12-08T10:10:16Z | 2024-03-16T16:13:56Z | https://github.com/langchain-ai/langchain/issues/14440 | 2,032,367,290 | 14,440 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The supabase vectorstore does not support setting the `score_threshold` in `as_retriever` despite being showcased as an option in the vectorestore superclass docstring example.
https://github.com/langchain-ai/langchain/blob/a05230a4ba4dee591d3810440ce65e16860956ae/libs/langc... | DOC: `SupabaseVectorStore` support for similarity `score_threshold` filtering in `as_retriever` | https://api.github.com/repos/langchain-ai/langchain/issues/14438/comments | 2 | 2023-12-08T09:48:57Z | 2024-03-17T16:10:06Z | https://github.com/langchain-ai/langchain/issues/14438 | 2,032,332,864 | 14,438 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.11
Langchain 0.0.348
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | DoctranTextTranslator Is Not Working | https://api.github.com/repos/langchain-ai/langchain/issues/14437/comments | 1 | 2023-12-08T09:10:36Z | 2024-03-16T16:13:46Z | https://github.com/langchain-ai/langchain/issues/14437 | 2,032,270,431 | 14,437 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version: 0.0.348
for the type hint for es_connection variable in class ElasticsearchChatMessageHistory, module is used as a type
@hwchase17 @eyurtsev
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Rel... | import error in elasticsearch memory module: Module cannot be used as a type | https://api.github.com/repos/langchain-ai/langchain/issues/14436/comments | 1 | 2023-12-08T09:09:41Z | 2024-03-16T16:13:41Z | https://github.com/langchain-ai/langchain/issues/14436 | 2,032,269,106 | 14,436 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version:0.0.311
os:macOS 11.6
python: 3.11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates ... | StructuredChatAgent did not provide the correct action input. | https://api.github.com/repos/langchain-ai/langchain/issues/14434/comments | 3 | 2023-12-08T08:15:05Z | 2023-12-08T10:27:18Z | https://github.com/langchain-ai/langchain/issues/14434 | 2,032,157,152 | 14,434 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.346
Python: 3.11.4
### 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 ... | Bug: ImportError for ElasticsearchStore | https://api.github.com/repos/langchain-ai/langchain/issues/14431/comments | 3 | 2023-12-08T07:14:10Z | 2023-12-08T15:16:20Z | https://github.com/langchain-ai/langchain/issues/14431 | 2,032,065,241 | 14,431 |
[
"hwchase17",
"langchain"
] | ### System Info
Python ==3.11.3
pymilvus== 2.3.1
langchain==0.0.327
openai==0.28.1
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / ... | Retrieval Inability to Filter Based on Metadata in Milvius Database | https://api.github.com/repos/langchain-ai/langchain/issues/14429/comments | 2 | 2023-12-08T04:37:35Z | 2024-03-17T16:10:02Z | https://github.com/langchain-ai/langchain/issues/14429 | 2,031,914,421 | 14,429 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.348
Output from `poetry env info`
**Virtualenv**
Python: 3.9.12
Implementation: CPython
Path: /Users/peternf/Desktop/langchain/libs/langchain/.venv
Executable: /Users/peternf/Desktop/langchain/libs/langchain/.venv/bin/python
Valid: True
... | Dependency Conflict between litellm and tiktoken | https://api.github.com/repos/langchain-ai/langchain/issues/14419/comments | 1 | 2023-12-07T23:10:21Z | 2024-03-16T16:13:31Z | https://github.com/langchain-ai/langchain/issues/14419 | 2,031,666,536 | 14,419 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
im trying to create a metadata to separate user id fields vectors, I searched a lot and couldn't find anything , im using zilliz vector store , I tried using the userid as memory key but it's not possible , any ideas ? Im using the docs is automatically saved and retrieved from the sa... | Issue: <Zilliz and Milvus metadata field and memory seperation> | https://api.github.com/repos/langchain-ai/langchain/issues/14412/comments | 1 | 2023-12-07T20:08:44Z | 2024-03-16T16:13:26Z | https://github.com/langchain-ai/langchain/issues/14412 | 2,031,444,278 | 14,412 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version : Latest
```python
def delete(self, ids: Optional[List[str]] = None, **kwargs: Any) -> Optional[bool]:
```
[This check](https://github.com/langchain-ai/langchain/blob/54040b00a4a05e81964a1a7f7edbf0b830d4395c/libs/langchain/langchain/vectorstores/faiss.py#L798) causes the... | FAISS db.delete() says `ids` is required even when it is Optional | https://api.github.com/repos/langchain-ai/langchain/issues/14409/comments | 1 | 2023-12-07T19:22:56Z | 2024-03-17T16:09:57Z | https://github.com/langchain-ai/langchain/issues/14409 | 2,031,382,949 | 14,409 |
[
"hwchase17",
"langchain"
] | ### System Info
from langchain.llms import GooglePalm
from sqlalchemy import create_engine
from langchain.utilities import SQLDatabase
from langchain.llms import GooglePalm
from langchain_experimental.sql import SQLDatabaseChain
### Who can help?
_No response_
### Information
- [ ] The official example noteboo... | db_chain_sql_out.return_sql | https://api.github.com/repos/langchain-ai/langchain/issues/14404/comments | 4 | 2023-12-07T15:55:01Z | 2024-03-17T16:09:52Z | https://github.com/langchain-ai/langchain/issues/14404 | 2,031,053,527 | 14,404 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using langchain 0.0.316 an trying to create a ElasticsearchStore to do some similarity_search
However, whenever I try to create it (using from_documents or not) I get the following error :
`raise ValueError("check_hostname requires server_hostname")`
This is a SSL error, a... | Issue: ElasticsearchStore with ssl_verify = {'verify_certs':False} does not work | https://api.github.com/repos/langchain-ai/langchain/issues/14403/comments | 5 | 2023-12-07T15:46:15Z | 2024-02-05T02:29:06Z | https://github.com/langchain-ai/langchain/issues/14403 | 2,031,037,974 | 14,403 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain: 0.0.346
OpenAI: 1.3.7
### 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 Parse... | AzureOpenAIEmbeddings cannot authenticate with azure_ad_token_provider | https://api.github.com/repos/langchain-ai/langchain/issues/14402/comments | 10 | 2023-12-07T15:35:19Z | 2024-03-21T08:22:18Z | https://github.com/langchain-ai/langchain/issues/14402 | 2,031,016,359 | 14,402 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello community,
I'm currently working on a project that involves using the langchain library for natural language processing. I'm encountering an issue with the LLMChain class, and I'm hoping someone can help me troubleshoot.
I've initialized a Hugging Face pipeline and constructe... | Issue: <Trouble with langchain Library: Error in LLMChain Validation> | https://api.github.com/repos/langchain-ai/langchain/issues/14401/comments | 1 | 2023-12-07T15:17:37Z | 2024-03-17T16:09:46Z | https://github.com/langchain-ai/langchain/issues/14401 | 2,030,975,852 | 14,401 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi Team,
Am trying to connect to SQL/CSV using the HuggingFaceHUb and I get value error. This value error occurs even when I use the same example as given in https://python.langchain.com/docs/use_cases/qa_structured/sql except that instead of openAI am using huggingfaceHub
### Who can help?
_No re... | value error when using huggingfacehub API | https://api.github.com/repos/langchain-ai/langchain/issues/14400/comments | 10 | 2023-12-07T14:05:46Z | 2024-04-25T11:22:42Z | https://github.com/langchain-ai/langchain/issues/14400 | 2,030,832,959 | 14,400 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
python3.10/site-packages/langchain/llms/bedrock.py:315: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited
### Suggestion:
_No response_ | Issue:python3.10/site-packages/langchain/llms/bedrock.py:315: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited | https://api.github.com/repos/langchain-ai/langchain/issues/14399/comments | 4 | 2023-12-07T13:59:30Z | 2023-12-08T02:24:40Z | https://github.com/langchain-ai/langchain/issues/14399 | 2,030,821,733 | 14,399 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.346
python: 3.11.7
### 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 Parse... | TypeError: DDGS.text() got an unexpected keyword argument 'max_results' AND HTTPError: | https://api.github.com/repos/langchain-ai/langchain/issues/14397/comments | 1 | 2023-12-07T13:55:48Z | 2023-12-07T14:38:09Z | https://github.com/langchain-ai/langchain/issues/14397 | 2,030,814,970 | 14,397 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
def delete_confluence_embeddings(file_path, persist_directory,not_uuid):
chroma_db = chromadb.PersistentClient(path=persist_directory)
collection = chroma_db.get_or_create_collection(name="langchain")
project_instance = ProjectName.objects.get(not_uuid=not_uuid)
con... | Issue: How to delete particular space embeddings for a confluence projects | https://api.github.com/repos/langchain-ai/langchain/issues/14396/comments | 1 | 2023-12-07T13:14:35Z | 2024-03-16T16:13:01Z | https://github.com/langchain-ai/langchain/issues/14396 | 2,030,741,752 | 14,396 |
[
"hwchase17",
"langchain"
] | ### System Info
when i am using Retrieval QA with custom prompt on official llama2 model it gives back an empty result even though retriever has worked but LLM failed to give back the response but if i directly pass the query to chain without any prompt it works as expected
## Versions
Python - 3.10
Langchain -... | Retrieval QA chain does not work | https://api.github.com/repos/langchain-ai/langchain/issues/14395/comments | 1 | 2023-12-07T13:08:45Z | 2024-03-16T16:12:56Z | https://github.com/langchain-ai/langchain/issues/14395 | 2,030,731,840 | 14,395 |
[
"hwchase17",
"langchain"
] | ### System Info
Google colab
### Who can help?
@agola
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- ... | AttributeError: module 'openai' has no attribute 'error' | https://api.github.com/repos/langchain-ai/langchain/issues/14394/comments | 1 | 2023-12-07T12:47:28Z | 2024-03-18T16:07:39Z | https://github.com/langchain-ai/langchain/issues/14394 | 2,030,689,372 | 14,394 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How does conversationbuffermemory works with routerchain for suppose if I wanted to create a chat application I need memory to store the conversations how does that thing work with routerchain?
I'm currently using the same implementation that has shown in the documentation
please resp... | Issue: <how does langchain's routerchain work with conversationbuffermemory> | https://api.github.com/repos/langchain-ai/langchain/issues/14392/comments | 14 | 2023-12-07T10:39:13Z | 2024-06-13T16:07:42Z | https://github.com/langchain-ai/langchain/issues/14392 | 2,030,447,654 | 14,392 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain v 0.0.344
pydantic v 2.5.2
pydantic_code v 2.14.5
python v 3.10.13
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] ... | OutputFixingParser does not work with PydanticOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/14387/comments | 2 | 2023-12-07T09:01:20Z | 2024-03-17T16:09:31Z | https://github.com/langchain-ai/langchain/issues/14387 | 2,030,232,645 | 14,387 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.346
python==3.11.6
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | index with redis as vector store cannot delete documents | https://api.github.com/repos/langchain-ai/langchain/issues/14383/comments | 2 | 2023-12-07T08:09:30Z | 2024-03-13T21:06:56Z | https://github.com/langchain-ai/langchain/issues/14383 | 2,030,135,709 | 14,383 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.