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.
is this implemented?
https://github.com/langchain-ai/langchain/pull/1222/commits
### Suggestion:
_No response_ | streaming | https://api.github.com/repos/langchain-ai/langchain/issues/10038/comments | 2 | 2023-08-31T09:27:42Z | 2023-12-07T16:05:40Z | https://github.com/langchain-ai/langchain/issues/10038 | 1,875,139,090 | 10,038 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi all😊 ,
I work in a network-isolated SageMaker environment. There I have hosted a llama 2.0 -7b chat Inference Endpoint (from [HF ](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf))
For a project I would like to work with LangChain.
Currently I am failing with the embe... | Problems with using LangChain Sagemaker Embedding for Llama 2.0 Inference Endpoint in Sagemaker | https://api.github.com/repos/langchain-ai/langchain/issues/10037/comments | 3 | 2023-08-31T09:09:17Z | 2024-01-18T20:18:04Z | https://github.com/langchain-ai/langchain/issues/10037 | 1,875,107,736 | 10,037 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The idea is, that I have a vector store with a conversational retrieval chain.from_llm, and I want to create other functions such as send an email, etc. so that when a user queries for something, it determines if it should use the Conv retrieval chain or the other functions such as sendi... | Conversational Retrieval Chain.from_llm integration with router chains | https://api.github.com/repos/langchain-ai/langchain/issues/10035/comments | 2 | 2023-08-31T08:32:26Z | 2023-12-07T16:05:44Z | https://github.com/langchain-ai/langchain/issues/10035 | 1,875,045,957 | 10,035 |
[
"hwchase17",
"langchain"
] | ### Feature request
while parsing LLM output with `pydantic_object` it would be nice to send to the `parse` function `context` object , like `pydantic` docs does here: https://docs.pydantic.dev/latest/usage/validators/#validation-context
### Motivation
In order to do validation on LLM output rather than just parse i... | context to pydantic_object | https://api.github.com/repos/langchain-ai/langchain/issues/10034/comments | 2 | 2023-08-31T08:23:33Z | 2023-12-07T16:05:50Z | https://github.com/langchain-ai/langchain/issues/10034 | 1,875,031,907 | 10,034 |
[
"hwchase17",
"langchain"
] | ### Feature request
I'm utilizing BaseMessagePromptTemplate with external DBs, for version control.
However, dumping BaseMessagePromptTemplate to json and loading to original Template is difficult, as retrieving exact type of message type from json is not possible.
Therefore, it would be useful to add _msg_type pr... | Add message type property method on BaseMessagePromptTemplate | https://api.github.com/repos/langchain-ai/langchain/issues/10033/comments | 1 | 2023-08-31T08:23:10Z | 2023-09-01T00:13:23Z | https://github.com/langchain-ai/langchain/issues/10033 | 1,875,031,189 | 10,033 |
[
"hwchase17",
"langchain"
] | ### Feature request
When using `RetrievalQAWithSourcesChain`, the chain call can't accept `search_kwargs` to pass then to the retriever like this:
```python
response = chain({"question": query ,'search_kwargs': search_kwargs})
```
In particular, I tried with `Milvus` and `MilvusRetriever` and natively could't... | Dynamic "search_kwargs" during RetrievalQAWithSourcesChain call | https://api.github.com/repos/langchain-ai/langchain/issues/10031/comments | 2 | 2023-08-31T08:06:10Z | 2023-12-05T17:47:16Z | https://github.com/langchain-ai/langchain/issues/10031 | 1,875,002,896 | 10,031 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Does anyone created agent with tool which takes "dataframe" and "user_input" as input variables in langchain?
I do not want use dataframe agent which is there already in langchain. As I need pass further instruction in the prompt template.
### Suggestion:
_No response_ | Does anyone created agent with tool which takes "dataframe" and "user_input" as input variables in langchain? | https://api.github.com/repos/langchain-ai/langchain/issues/10028/comments | 3 | 2023-08-31T06:46:58Z | 2023-12-07T16:05:55Z | https://github.com/langchain-ai/langchain/issues/10028 | 1,874,888,777 | 10,028 |
[
"hwchase17",
"langchain"
] | Can anyone tell me the difference between these two parameters? When setting up the ChatOpenAI model
| Issue: I dont know what the meaning of OPENAI_API_BASE and OPENAI_PROXY in ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/10027/comments | 1 | 2023-08-31T06:35:39Z | 2023-08-31T08:32:27Z | https://github.com/langchain-ai/langchain/issues/10027 | 1,874,874,756 | 10,027 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello,
I am facing some issues with the code I am trying to run as it did run perfectly up until recently when an Error started being thrown out as AttributeError: 'list' object has no attribute 'embedding'. Below is the traceback if the error. Please do let me know if some code snippe... | Issue: AttributeError: 'list' object has no attribute 'embedding' | https://api.github.com/repos/langchain-ai/langchain/issues/10025/comments | 2 | 2023-08-31T05:40:08Z | 2023-12-07T16:06:00Z | https://github.com/langchain-ai/langchain/issues/10025 | 1,874,819,757 | 10,025 |
[
"hwchase17",
"langchain"
] | ### Feature request
The class ErnieBotChat defined in libs/langchain/langchain/chat_models/ernie.py only supports 2 models, which are ERNIE-Bot-turbo and ERNIE-Bot. While a bunch of new models are supported by BCE (Baidu Cloud Engine), such as llama-2-7b chat (https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Rlki1zlai).... | Support more models for ErnieBotChat | https://api.github.com/repos/langchain-ai/langchain/issues/10022/comments | 3 | 2023-08-31T05:22:17Z | 2023-12-13T16:07:03Z | https://github.com/langchain-ai/langchain/issues/10022 | 1,874,805,344 | 10,022 |
[
"hwchase17",
"langchain"
] | ### System Info
MacOS M2 13.4.1 (22F82)
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output P... | fix: Loading documents from a Youtube Url | https://api.github.com/repos/langchain-ai/langchain/issues/10019/comments | 1 | 2023-08-31T03:19:25Z | 2023-12-07T16:06:10Z | https://github.com/langchain-ai/langchain/issues/10019 | 1,874,719,531 | 10,019 |
[
"hwchase17",
"langchain"
] | @dosu-bot
The issue is that the "string indices must be indices", but your transformation does not deal with that. Here is the curretn code, please see below and change to avoid this error:
```from langchain.docstore.document import Document
from typing import Dict
from langchain import PromptTemp... | @dosu-bot | https://api.github.com/repos/langchain-ai/langchain/issues/10017/comments | 7 | 2023-08-31T03:01:34Z | 2023-12-07T16:06:15Z | https://github.com/langchain-ai/langchain/issues/10017 | 1,874,707,605 | 10,017 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.277
azure-search-documents 11.4.0b8
python 3.1.0.11
### Who can help?
@baskaryan
@ruoccofabrizio
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ... | Azure Cognitive Search Scoring Profile does not work as documented | https://api.github.com/repos/langchain-ai/langchain/issues/10015/comments | 5 | 2023-08-31T02:30:27Z | 2023-12-08T16:05:06Z | https://github.com/langchain-ai/langchain/issues/10015 | 1,874,685,238 | 10,015 |
[
"hwchase17",
"langchain"
] | ### System Info
latest versions for python and langchain
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output... | Issues with llama-2-7b-f | https://api.github.com/repos/langchain-ai/langchain/issues/10012/comments | 11 | 2023-08-30T22:43:26Z | 2024-03-18T16:05:19Z | https://github.com/langchain-ai/langchain/issues/10012 | 1,874,476,223 | 10,012 |
[
"hwchase17",
"langchain"
] | ### System Info
The latest langchain version
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | No support for ConversationalRetrievalChain with passing in memory and system message | https://api.github.com/repos/langchain-ai/langchain/issues/10011/comments | 6 | 2023-08-30T22:14:38Z | 2024-01-30T00:42:39Z | https://github.com/langchain-ai/langchain/issues/10011 | 1,874,448,914 | 10,011 |
[
"hwchase17",
"langchain"
] | ### Feature request
An agent for searching iteratively multiple documents without the problem of processing incomplete document chunks.
An option to include the metadata (source references) in the prompt.
### Motivation
Normally documents are split into chunks before being added to Chroma
When the data is queried,... | Solve the problem of working with incomplete document chunks and multiple documents | https://api.github.com/repos/langchain-ai/langchain/issues/9996/comments | 9 | 2023-08-30T14:58:47Z | 2024-02-09T02:13:41Z | https://github.com/langchain-ai/langchain/issues/9996 | 1,873,859,050 | 9,996 |
[
"hwchase17",
"langchain"
] | ### Feature request
```
from langchain.chat_models import ChatOpenAI
from langchain.chains import GraphCypherQAChain
from langchain.graphs import Neo4jGraph
graph = Neo4jGraph(
url="bolt://localhost:7687", username="neo4j", password="pleaseletmein"
)
chain = GraphCypherQAChain.from_llm(ChatOpenAI(temperatur... | How to pass a custom prompt in graphQA or GraphCypherQA chain | https://api.github.com/repos/langchain-ai/langchain/issues/9993/comments | 5 | 2023-08-30T13:42:34Z | 2024-05-04T13:18:22Z | https://github.com/langchain-ai/langchain/issues/9993 | 1,873,711,576 | 9,993 |
[
"hwchase17",
"langchain"
] | ### System Info
0.0.276
### 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 Selectors
- [ ] Output Parsers
- [ ] Document Lo... | AzureMLOnlineEndpoint not working, 404 error, but same url and api key works with standard http | https://api.github.com/repos/langchain-ai/langchain/issues/9987/comments | 5 | 2023-08-30T08:45:03Z | 2023-11-03T14:14:44Z | https://github.com/langchain-ai/langchain/issues/9987 | 1,873,221,947 | 9,987 |
[
"hwchase17",
"langchain"
] | ### System Info
I tried to use langchain with Azure Cognitive Search as vector store and got the following Import Error.
langchain version: 0.0.276
azure documents: 11.4.0b8
python version: 3.8
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified... | ImportError: cannot import name 'HnswVectorSearchAlgorithmConfiguration' from 'azure.search.documents.indexes.models' | https://api.github.com/repos/langchain-ai/langchain/issues/9985/comments | 9 | 2023-08-30T08:07:19Z | 2024-05-07T16:04:48Z | https://github.com/langchain-ai/langchain/issues/9985 | 1,873,154,024 | 9,985 |
[
"hwchase17",
"langchain"
] | ### System Info
```
import boto3
from langchain.retrievers import AmazonKendraRetriever
retriever = AmazonKendraRetriever(index_id="xxxxxxxxxxxxxxxxxxxx")
retriever.get_relevant_documents("what is the tax")
```
**Facing the below error**
----------------------------------------
```
AttributeError ... | AttributeError: 'kendra' object has no attribute 'retrieve' | https://api.github.com/repos/langchain-ai/langchain/issues/9982/comments | 5 | 2023-08-30T07:14:43Z | 2024-01-26T18:57:38Z | https://github.com/langchain-ai/langchain/issues/9982 | 1,873,068,703 | 9,982 |
[
"hwchase17",
"langchain"
] | ### System Info
First, Thank you so much for your work on Langchain, it's very good.
I am trying to compare two documents following the guide from langchain https://python.langchain.com/docs/integrations/toolkits/document_comparison_toolkit
I have done exactly the same code:
I have one class to use for the ... | Document Comparison toolkit is not working | https://api.github.com/repos/langchain-ai/langchain/issues/9981/comments | 15 | 2023-08-30T06:02:22Z | 2024-06-22T16:34:20Z | https://github.com/langchain-ai/langchain/issues/9981 | 1,872,965,623 | 9,981 |
[
"hwchase17",
"langchain"
] | ### Feature request
When using Chroma vector store, the stored documents can only be retrieved when using a search query. There is no method which allows to load all documents.
### Motivation
The closest thing to retrieving all documents is using
`vectordb._collection.get()` for which the output is a dictionary in... | Chroma - retrieve all documents | https://api.github.com/repos/langchain-ai/langchain/issues/9980/comments | 2 | 2023-08-30T05:44:19Z | 2024-05-15T05:58:55Z | https://github.com/langchain-ai/langchain/issues/9980 | 1,872,945,320 | 9,980 |
[
"hwchase17",
"langchain"
] | ### System Info
colab notebook
### Who can help?
@hwchase17 @agola
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Documen... | mportError: cannot import name 'BaseLanguageModel' from 'langchain.schema' (/usr/local/lib/python3.10/dist-packages/langchain/schema/init.py) | https://api.github.com/repos/langchain-ai/langchain/issues/9977/comments | 2 | 2023-08-30T04:54:31Z | 2023-12-06T17:43:10Z | https://github.com/langchain-ai/langchain/issues/9977 | 1,872,899,721 | 9,977 |
[
"hwchase17",
"langchain"
] | ### Feature request
The generative Agents demo shows the generic individual conversation.
There are 2 features that I need clarity on. If these exist (if yes how to implement the same) or need to be worked on:
1. Tool integration of the agents. If the agents can integrate to some tool like a calendar or a clock to... | Generative Agents in LangChain Tool Integration | https://api.github.com/repos/langchain-ai/langchain/issues/9976/comments | 14 | 2023-08-30T04:43:59Z | 2023-12-14T16:06:18Z | https://github.com/langchain-ai/langchain/issues/9976 | 1,872,890,614 | 9,976 |
[
"hwchase17",
"langchain"
] | ### Feature request
GCS blobs can have custom metadata defined either in google console or programatic way as shown below
```
from google.cloud import storage
storage_client = storage.Client()
bucket = storage_client.bucket(bucket_name)
blob = bucket.blob(destination_blob_name)
metadata = {'from_source': 'http... | GCSFileLoader need to read blob's metadata and populate it to documents metadata | https://api.github.com/repos/langchain-ai/langchain/issues/9975/comments | 4 | 2023-08-30T03:58:52Z | 2024-02-11T16:15:26Z | https://github.com/langchain-ai/langchain/issues/9975 | 1,872,845,768 | 9,975 |
[
"hwchase17",
"langchain"
] | ### System Info
Platform: MacOS 13.5
Python Version: 3.10.11
Langchain: 0.0.257
Azure Search: 1.0.0b2
Azure Search Documents: 11.4.0b6
Openai: 0.27.8
Issue: AttributeError: module 'azure.search.documents.indexes.models._edm' has no attribute 'Single'
Code: `az_search = AzureSearch(azure_search_endpoint=os... | azure.search.documents.indexes.models._edm no attribute "Single" under Langchain.AzureSearch() | https://api.github.com/repos/langchain-ai/langchain/issues/9973/comments | 5 | 2023-08-30T03:14:22Z | 2024-02-14T16:11:03Z | https://github.com/langchain-ai/langchain/issues/9973 | 1,872,811,739 | 9,973 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.11.4
langchain-0.0.276
currently troubleshooting on a Windows 11 workstation in a notebook in VSCode.
### Who can help?
@hwchase17 @ag
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Model... | create_structured_output_chain does not work with with AzureChatOpenAI model? | https://api.github.com/repos/langchain-ai/langchain/issues/9972/comments | 3 | 2023-08-30T02:28:18Z | 2024-02-12T16:14:40Z | https://github.com/langchain-ai/langchain/issues/9972 | 1,872,777,987 | 9,972 |
[
"hwchase17",
"langchain"
] | ### System Info
**### I´m directly providing these arguments to the LLMs via the prompt:**
**SOURCE CODE:**
from langchain import OpenAI, SQLDatabase
from langchain_experimental.sql import SQLDatabaseChain
from langchain.chains import create_sql_query_chain
from langchain.prompts.prompt import PromptTemplat... | SQL Chain Result - Error | https://api.github.com/repos/langchain-ai/langchain/issues/9959/comments | 4 | 2023-08-29T21:27:00Z | 2023-08-30T19:39:38Z | https://github.com/langchain-ai/langchain/issues/9959 | 1,872,502,344 | 9,959 |
[
"hwchase17",
"langchain"
] | ### Feature request
Weaviate introduced multi-tenancy support in version 1.20
https://weaviate.io/blog/multi-tenancy-vector-search
### Motivation
This can help users using Langchain + Weaviate at scale, ingesting documents and attaching tenants to it.
### Your contribution
I have implemented, but would need some ... | Multi Tenant Support for Weaviate | https://api.github.com/repos/langchain-ai/langchain/issues/9956/comments | 4 | 2023-08-29T20:56:22Z | 2024-03-13T19:56:50Z | https://github.com/langchain-ai/langchain/issues/9956 | 1,872,444,158 | 9,956 |
[
"hwchase17",
"langchain"
] | ### System Info
Getting error: got multiple values for keyword argument- question_generator .
return cls(\nTypeError: langchain.chains.conversational_retrieval.base.ConversationalRetrievalChain() got multiple values for keyword argument \'question_generator\'', 'SystemError'
`Qtemplate = (
"Combine the chat his... | ConversationalRetrievalChain [got multiple argument for question_generator] | https://api.github.com/repos/langchain-ai/langchain/issues/9952/comments | 5 | 2023-08-29T20:03:57Z | 2024-02-13T16:13:02Z | https://github.com/langchain-ai/langchain/issues/9952 | 1,872,339,935 | 9,952 |
[
"hwchase17",
"langchain"
] | ### System Info
I have a tool with one required argument _chart_data_ and one optional argument _chart_title_. The tool is defined using the BaseModel class from Pydantic and is decorated with @tool("charts", args_schema=ChartInput).
However, optional arguments are pushed into the 'required' list that is being pa... | Optional Arguments Treated as Required by "format_tool_to_openai_function" | https://api.github.com/repos/langchain-ai/langchain/issues/9942/comments | 3 | 2023-08-29T16:29:41Z | 2023-12-06T17:43:15Z | https://github.com/langchain-ai/langchain/issues/9942 | 1,872,021,415 | 9,942 |
[
"hwchase17",
"langchain"
] | ### Feature request
I want to request functionality for decision tree / flow chart like prompt architecture. The idea is that there would be a Prompt Tree that starts on a specific branch then allows the LLM to select new branches as part of its toolkit. Each branch would have its own prompts meaning that the AI does ... | Functionality for prompts based on decision tree / flow charts. | https://api.github.com/repos/langchain-ai/langchain/issues/9932/comments | 13 | 2023-08-29T15:02:20Z | 2024-06-19T14:40:49Z | https://github.com/langchain-ai/langchain/issues/9932 | 1,871,868,517 | 9,932 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I wanted to use the new `ParentDocumentRetriever` but found the indexing extremely slow. I think the reason
is this line here https://github.com/langchain-ai/langchain/blob/e80834d783c6306a68df54e6251d9fc307aee87c/libs/langchain/langchain/retrievers/parent_document_retriever.py#L112
... | Issue: ParentDocumentRetriever is slow with FAISS because add_documents uses embed_query without batching | https://api.github.com/repos/langchain-ai/langchain/issues/9929/comments | 9 | 2023-08-29T14:04:47Z | 2024-04-08T06:28:03Z | https://github.com/langchain-ai/langchain/issues/9929 | 1,871,751,039 | 9,929 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.275
Python 3.10.12
(Google Colaboratory)
### Who can help?
Hello, @eyurtsev!
We found an issue related to `WebBaseLoader`.
I guess the problem is related to `Response.apparent_encoding` leveraged by `WebBaseLoader. chardet.detect()`, which assigns the `apparent_encoding` to a Resp... | WebBaseLoader encoding issue | https://api.github.com/repos/langchain-ai/langchain/issues/9925/comments | 3 | 2023-08-29T12:51:07Z | 2024-06-26T16:44:57Z | https://github.com/langchain-ai/langchain/issues/9925 | 1,871,608,915 | 9,925 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.275
OpenLLM: 0.2.27
Python: 3.11.1
on Ubuntu 22.04 / Windows 11
### Who can help?
@agola11, @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts ... | LangChain cannot deal with new OpenLLM Version (0.2.27) | https://api.github.com/repos/langchain-ai/langchain/issues/9923/comments | 5 | 2023-08-29T11:09:45Z | 2024-04-18T08:04:07Z | https://github.com/langchain-ai/langchain/issues/9923 | 1,871,441,245 | 9,923 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.249
macOS Ventura v13.5.1
Python 3.11.0rc2
### Who can help?
@3coins, @hwchase17, @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Tem... | Model Timeout after 3 requests to endpoint (Amazon Bedrock AI21 models) | https://api.github.com/repos/langchain-ai/langchain/issues/9919/comments | 3 | 2023-08-29T10:49:28Z | 2024-03-25T16:05:42Z | https://github.com/langchain-ai/langchain/issues/9919 | 1,871,403,150 | 9,919 |
[
"hwchase17",
"langchain"
] | ### System Info
long story short, i use streamlit to make a demo where i can upload a pdf, click a button and the content is extracted automatically based on the prompt template's questions.
I really don't understand why i keep getting errors about missing inputs, i constantly add them in many different ways but i ... | 'ValueError: Missing some input keys: {'query'}' but i added it? | https://api.github.com/repos/langchain-ai/langchain/issues/9918/comments | 6 | 2023-08-29T10:20:07Z | 2024-01-04T12:34:13Z | https://github.com/langchain-ai/langchain/issues/9918 | 1,871,344,286 | 9,918 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.266
Python version: 3.11.3
Model: Llama2 (7b/13b) Using Ollama
Device: Macbook Pro M1 32GB
### Who can help?
@agola11 @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs... | Using tools in non-ChatGPT models | https://api.github.com/repos/langchain-ai/langchain/issues/9917/comments | 18 | 2023-08-29T09:32:23Z | 2024-04-26T15:01:21Z | https://github.com/langchain-ai/langchain/issues/9917 | 1,871,262,749 | 9,917 |
[
"hwchase17",
"langchain"
] | ### System Info
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
- [ ] Document Load... | The sources field is blank in case of passing custom prompt to RetrievalQAWithSourcesChain.from_chain_type | https://api.github.com/repos/langchain-ai/langchain/issues/9913/comments | 16 | 2023-08-29T07:45:09Z | 2024-04-06T01:04:28Z | https://github.com/langchain-ai/langchain/issues/9913 | 1,871,089,920 | 9,913 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Several typos in this section: https://python.langchain.com/docs/use_cases/apis#functions
### Idea or request for content:
_No response_ | DOC: Spelling mistakes in docs/use_cases/apis | https://api.github.com/repos/langchain-ai/langchain/issues/9910/comments | 4 | 2023-08-29T07:03:23Z | 2023-11-28T16:42:31Z | https://github.com/langchain-ai/langchain/issues/9910 | 1,871,024,446 | 9,910 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
hi,
how do I merge 2 vector dbs?
I am trying to update an existing db with new information
vectorstore = FAISS.from_documents(docs_chunked, Embeddings())
vectorstore.save_local("faiss_index_table_string")
vector_db = FAISS.load_local("faiss_index_table_string", ... | Issue: how to merge two vector dbs? | https://api.github.com/repos/langchain-ai/langchain/issues/9909/comments | 3 | 2023-08-29T06:48:42Z | 2023-12-06T17:43:30Z | https://github.com/langchain-ai/langchain/issues/9909 | 1,871,002,148 | 9,909 |
[
"hwchase17",
"langchain"
] | ### System Info
I tried running it in replit
### 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
- [... | I tried running a simple Langchain code from the docs. This is my error : Retrying langchain.llms.openai.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised RateLimitError: You exceeded your current quota, please check your plan and billing details.. I tried using different Ope... | https://api.github.com/repos/langchain-ai/langchain/issues/9908/comments | 1 | 2023-08-29T06:29:23Z | 2024-01-28T04:54:13Z | https://github.com/langchain-ai/langchain/issues/9908 | 1,870,977,904 | 9,908 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
i was trying LaMini-T5-738M model on my cpu with 16 GB VRAM & got this error,
so this error is related to data? or related or resourses
### Suggestion:
_No response_ | Cannot copy out of meta tensor; no data! | https://api.github.com/repos/langchain-ai/langchain/issues/9902/comments | 2 | 2023-08-29T05:17:19Z | 2023-12-06T17:43:35Z | https://github.com/langchain-ai/langchain/issues/9902 | 1,870,900,265 | 9,902 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
when I write the following code
`from langchain_experimental.sql import SQLDatabaseSequentialChain
`
I get the following error:
Cannot find reference 'SQLDatabaseSequentialChain' in '__init__.py'
### Idea or request for content:
How to fix the problem so I can use **SQLD... | DOC: SQLDatabaseSequentialChain Does Not Exist in langchain_experimental.sql | https://api.github.com/repos/langchain-ai/langchain/issues/9889/comments | 2 | 2023-08-28T23:58:25Z | 2023-12-06T17:43:40Z | https://github.com/langchain-ai/langchain/issues/9889 | 1,870,666,981 | 9,889 |
[
"hwchase17",
"langchain"
] | ### System Info
I used langchain=0.0.246 on Databricks, but this bug is due to the lack of implementation of `Databricks._identifying_params()`, so system info should not impact.
### Who can help?
I see that @nfcampos contributed to most of the Databricks model serving wrapper, so tagging you here.
@hwchase1... | langchain.llms.Databricks does not save necessary params (e.g. endpoint_name, cluster_driver_port, etc.) to recover from its config | https://api.github.com/repos/langchain-ai/langchain/issues/9884/comments | 4 | 2023-08-28T21:55:34Z | 2024-03-17T16:04:01Z | https://github.com/langchain-ai/langchain/issues/9884 | 1,870,563,425 | 9,884 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using FastAPI which is written in Python to develop nlp tool where user can generate conversation chain by uploading pdf docs. Data extraction and Preprocessing logic written in backend API. I want to send a conversation chain object which is not JSON serializable. Trust me I tried ... | How to send ConversationalRetrievalChain object as a response of api call in javascript | https://api.github.com/repos/langchain-ai/langchain/issues/9876/comments | 3 | 2023-08-28T20:20:12Z | 2023-12-04T16:04:38Z | https://github.com/langchain-ai/langchain/issues/9876 | 1,870,444,609 | 9,876 |
[
"hwchase17",
"langchain"
] | ### System Info
MultiQueryRetriever will fail to call `_get_relevant_documents` if the Document objects have metadata which are dictionaries.
```python
def _get_relevant_documents(
self,
query: str,
*,
run_manager: CallbackManagerForRetrieverRun,
) -> List[Document]:
... | MultiQueryRetriever (get_relevant_documents) raises TypeError: unhashable type: 'dict' with dic metadata | https://api.github.com/repos/langchain-ai/langchain/issues/9872/comments | 2 | 2023-08-28T19:15:25Z | 2023-12-04T16:04:43Z | https://github.com/langchain-ai/langchain/issues/9872 | 1,870,323,443 | 9,872 |
[
"hwchase17",
"langchain"
] | ### Feature request
With more incoming of newer LLMs and LLM providers, either through APIs (like Open AI, Anthropic), or Local providers (like gpt4all, ctransformers, llama cpp etc). It becomes hard to keep track of and there is no uniform way os instantiating the LLM class.
For example:
```python
from langc... | Langchain AutoLLM class | https://api.github.com/repos/langchain-ai/langchain/issues/9869/comments | 3 | 2023-08-28T17:10:05Z | 2023-12-06T17:43:45Z | https://github.com/langchain-ai/langchain/issues/9869 | 1,870,136,223 | 9,869 |
[
"hwchase17",
"langchain"
] | ### System Info
python:3.11.3
langchain: 0.0.274
dist: arch
### Who can help?
```
fastapi==0.103.0
qdrant-client==1.4.0
llama-cpp-python==0.1.72
```
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Model... | llama.cpp does not support AsyncCallbackHandler | https://api.github.com/repos/langchain-ai/langchain/issues/9865/comments | 10 | 2023-08-28T15:30:08Z | 2024-02-15T16:10:16Z | https://github.com/langchain-ai/langchain/issues/9865 | 1,869,988,229 | 9,865 |
[
"hwchase17",
"langchain"
] | ### System Info
JS LangChain
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
... | AWS Sagemaker JS Integration | https://api.github.com/repos/langchain-ai/langchain/issues/9862/comments | 5 | 2023-08-28T14:37:00Z | 2024-02-10T16:18:47Z | https://github.com/langchain-ai/langchain/issues/9862 | 1,869,895,228 | 9,862 |
[
"hwchase17",
"langchain"
] | ### Feature request
We can take advantage from pinecone parallel upsert (see example: https://docs.pinecone.io/docs/insert-data#sending-upserts-in-parallel)
This will require modification of the current `from_texts` pipeline to
1. Create a batch (chunk) for doing embeddings (ie have a chunk size of 1000 for embedd... | Support index upsert parallelization for pinecone | https://api.github.com/repos/langchain-ai/langchain/issues/9855/comments | 1 | 2023-08-28T13:09:29Z | 2023-09-03T22:37:43Z | https://github.com/langchain-ai/langchain/issues/9855 | 1,869,736,267 | 9,855 |
[
"hwchase17",
"langchain"
] | ### System Info
274
Mac M2
this error appears often and unexpectedly
but gets solved temporarily by running a force reinstall
`pip install --upgrade --force-reinstall --no-deps --no-cache-dir langchain
`
full error
```
2023-08-28 08:16:48.197 Uncaught app exception
Traceback (most recent call last):
... | AttributeError: module 'langchain' has no attribute 'verbose' | https://api.github.com/repos/langchain-ai/langchain/issues/9854/comments | 27 | 2023-08-28T12:23:46Z | 2024-05-28T02:46:49Z | https://github.com/langchain-ai/langchain/issues/9854 | 1,869,658,676 | 9,854 |
[
"hwchase17",
"langchain"
] | ### System Info
https://github.com/langchain-ai/langchain/blob/610f46d83aae6e1e25d76a0222b3158e2c4f7034/libs/langchain/langchain/vectorstores/weaviate.py
Issue in Langchain Weaviate Wrapper.
Trying to constraint the search in case of `similarity_score_threshold` ignoring the `where_filter ` filters in the langchai... | Constraining the search using 'where_filter' in case of similarity_score_threshold for langchain Weaviate wrapper | https://api.github.com/repos/langchain-ai/langchain/issues/9853/comments | 2 | 2023-08-28T12:02:19Z | 2023-12-04T16:04:53Z | https://github.com/langchain-ai/langchain/issues/9853 | 1,869,623,805 | 9,853 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
db = SQLDatabase.from_uri(
"mysql+pyodbc://Driver={SQL Server};Server=DESKTOP-17L7UI1\SQLEXPRESS;Database=DociQDb;rusted_Connection=yes;",)
I am trying to connect to my microsoft sql server but this give me error
sqlalchemy.exc.DBAPIError: (pyodbc.Error) ('IM010', '[IM010] [Microso... | How to connect MS-SQL with LANG-CHAIN | https://api.github.com/repos/langchain-ai/langchain/issues/9848/comments | 11 | 2023-08-28T11:29:04Z | 2024-03-31T18:06:33Z | https://github.com/langchain-ai/langchain/issues/9848 | 1,869,572,223 | 9,848 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version 0.0.259
Ubuntu 20.04
Python 3.9.15
### 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
- ... | CharacterTextSplitter inconsistent/wrong output using regex pattern | https://api.github.com/repos/langchain-ai/langchain/issues/9843/comments | 2 | 2023-08-28T09:13:20Z | 2023-12-04T16:05:03Z | https://github.com/langchain-ai/langchain/issues/9843 | 1,869,349,364 | 9,843 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently, when the _verbose_ attribute is set to True in the constructor of an _LLMChain_ object, only the input passed to the LLM is shown. It would be desirable to also see the raw output of the LLM before it is parsed.
### Motivation
Seeing both inputs and outputs of the LLM would help debug ... | Being able to see model's responses when using verbose mode | https://api.github.com/repos/langchain-ai/langchain/issues/9842/comments | 5 | 2023-08-28T08:47:43Z | 2023-12-04T16:05:09Z | https://github.com/langchain-ai/langchain/issues/9842 | 1,869,306,384 | 9,842 |
[
"hwchase17",
"langchain"
] | ### System Info
**langchain 0.0.274:**
When trying to instantiate a VLLM object, I'm getting the following error:
**TypeError: Can't instantiate abstract class VLLM with abstract method _agenerate**
This is the code I'm using which is 1-1 as the VLLM example on langchain documentation:
https://python.langchain... | VLLM: Can't instantiate abstract class VLLM with abstract method _agenerate | https://api.github.com/repos/langchain-ai/langchain/issues/9841/comments | 2 | 2023-08-28T07:30:09Z | 2023-12-04T16:05:13Z | https://github.com/langchain-ai/langchain/issues/9841 | 1,869,160,370 | 9,841 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
How come there is a generative agents page https://js.langchain.com/docs/use_cases/agent_simulations/generative_agents in JS, but not one in python? I was reading this [blog post](https://blog.langchain.dev/agents-round/) and the links to the generative_agents page didn't work. ... | DOC: Generative Agents Page In JS/TS but not Python | https://api.github.com/repos/langchain-ai/langchain/issues/9840/comments | 1 | 2023-08-28T07:04:09Z | 2023-09-07T03:07:23Z | https://github.com/langchain-ai/langchain/issues/9840 | 1,869,119,162 | 9,840 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
In https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/few_shot_examples_chat under Dynamic few-shot prompting,
```
example_selector = SemanticSimilarityExampleSelector(
vectorstore=vectorstore,
k=2,
)
# The prompt template will load exa... | DOC: Add clarification to Modules/ModelsI/O/Prompts/Prompt Templates/Few-shot examples for chat models | https://api.github.com/repos/langchain-ai/langchain/issues/9839/comments | 2 | 2023-08-28T06:48:00Z | 2023-12-04T16:05:18Z | https://github.com/langchain-ai/langchain/issues/9839 | 1,869,095,141 | 9,839 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
At https://python.langchain.com/docs/integrations/document_loaders/news, there is an issue with the path for importing `NewsURLLoader`. Currently, it's being imported from `from langchain.document_loaders`, but it gives `importerror`.
### Idea or request for content:
The import ... | DOC: Import path for NewsURLLoader needs to fixed | https://api.github.com/repos/langchain-ai/langchain/issues/9825/comments | 3 | 2023-08-27T14:49:04Z | 2023-12-03T16:04:21Z | https://github.com/langchain-ai/langchain/issues/9825 | 1,868,522,804 | 9,825 |
[
"hwchase17",
"langchain"
] | ### System Info
Hello Team,
I am using the below post from Langchain in order to use PowerBIToolkit for connecting to the dataset and tables in it. However I am not able to execute the code.
https://python.langchain.com/docs/integrations/toolkits/powerbi
I have also gone through an issue raised in this reposit... | field "credential" not yet prepared so type is still a ForwardRef, you might need to call PowerBIDataset.update_forward_refs() | https://api.github.com/repos/langchain-ai/langchain/issues/9823/comments | 5 | 2023-08-27T11:14:51Z | 2024-02-12T13:54:38Z | https://github.com/langchain-ai/langchain/issues/9823 | 1,868,456,842 | 9,823 |
[
"hwchase17",
"langchain"
] | Hi,
I'm hoping someone smarter than me can help me understand how to write a callback that works with Elevenlabs.
I'm trying to get Elevenlabs to stream TTS based on a response from the GPT-4 API. I can do this easily using OpenAIs own libarary, but I cannot figure out how to do this using langchains callbacks i... | Issue: Help to make a callback for Elevenlabs API streaming endpoint | https://api.github.com/repos/langchain-ai/langchain/issues/9822/comments | 10 | 2023-08-27T10:25:39Z | 2024-02-14T16:11:28Z | https://github.com/langchain-ai/langchain/issues/9822 | 1,868,442,230 | 9,822 |
[
"hwchase17",
"langchain"
] | ### Feature request
I find StructuredOutputParser to not work that well with Claude. It also takes quite a few tokens to output its format instructions.
It would be great to have a built-in support for using XMLs as a meaning of transportation.
### Motivation
Claude supports and works really well with XML t... | Claude XML parser | https://api.github.com/repos/langchain-ai/langchain/issues/9820/comments | 2 | 2023-08-27T08:56:22Z | 2023-12-03T16:04:26Z | https://github.com/langchain-ai/langchain/issues/9820 | 1,868,416,901 | 9,820 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
```
llm = ChatOpenAI(
max_retries=3,
temperature=0.7,
model_name="gpt-4",
streaming=True,
callbacks=[AsyncStreamingCallbackHandler],
)
```
Tool params
` return_direct=False` # Toggling this to TRUE provi... | Issue: Final Answer missing Document sources when using initialize_agent RetrievalQA with Agent tool boolean flag return_direct=False | https://api.github.com/repos/langchain-ai/langchain/issues/9816/comments | 4 | 2023-08-27T01:08:29Z | 2023-12-03T16:04:31Z | https://github.com/langchain-ai/langchain/issues/9816 | 1,868,315,540 | 9,816 |
[
"hwchase17",
"langchain"
] | ### System Info
I was just trying to run the Tagging tutorial (no code modification on colab).
https://python.langchain.com/docs/use_cases/tagging
And on the below code part,
```chain = create_tagging_chain_pydantic(Tags, llm)```
I got this error.
```
--------------------------------------------------------... | ValidationError: 2 validation errors for PydanticOutputFunctionsParser | https://api.github.com/repos/langchain-ai/langchain/issues/9815/comments | 21 | 2023-08-27T01:01:05Z | 2024-08-06T16:07:28Z | https://github.com/langchain-ai/langchain/issues/9815 | 1,868,314,208 | 9,815 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hey, I'm trying to gather some empirical evidence that RetrievalQAWithSources chain often hallucinates to returns all sources rather than cite them.
Current Issue:
Assuming you have a retriever that returns 4 sources, RetrievalQAWithSources gets confused with the below prompt:
Given the followin... | Renaming RetrievalQAWithSources to RetrievalQAWithCitations | https://api.github.com/repos/langchain-ai/langchain/issues/9812/comments | 2 | 2023-08-26T23:33:34Z | 2023-12-02T16:04:52Z | https://github.com/langchain-ai/langchain/issues/9812 | 1,868,296,846 | 9,812 |
[
"hwchase17",
"langchain"
] | ### System Info
**Background**
I'm trying to run the Streamlit Callbacks example
https://python.langchain.com/docs/integrations/callbacks/streamlit
My code is copy + paste but I get an error from the LangChain library import.
**Error**
```
ImportError: cannot import name 'StreamlitCallbackHandler' from 'la... | ImportError: cannot import name 'StreamlitCallbackHandler' from 'langchain.callbacks' | https://api.github.com/repos/langchain-ai/langchain/issues/9811/comments | 3 | 2023-08-26T23:22:26Z | 2023-09-19T02:01:31Z | https://github.com/langchain-ai/langchain/issues/9811 | 1,868,294,838 | 9,811 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version 0.0.273
selenium version 4.11.2
In version 4.11.2, [Selenium fully deprecated and removed executable_path parameter from webdriver](https://github.com/SeleniumHQ/selenium/commit/9f5801c82fb3be3d5850707c46c3f8176e3ccd8e) in favor of using Service class object to pass in path/execut... | Issue: Selenium Webdriver parameter executable_path deprecated | https://api.github.com/repos/langchain-ai/langchain/issues/9808/comments | 4 | 2023-08-26T21:15:49Z | 2023-12-02T16:04:57Z | https://github.com/langchain-ai/langchain/issues/9808 | 1,868,270,215 | 9,808 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.274, Python
### Who can help?
@hwchase17 @agola
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parser... | It should be possible to pass client to SagemakerEndpointEmbeddings & SagemakerEndpoint class | https://api.github.com/repos/langchain-ai/langchain/issues/9807/comments | 1 | 2023-08-26T21:11:58Z | 2023-12-02T16:05:02Z | https://github.com/langchain-ai/langchain/issues/9807 | 1,868,269,407 | 9,807 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
from langchain.agents import create_sql_agent
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain.sql_database import SQLDatabase
from langchain.llms.openai import OpenAI
from langchain.agents import AgentExecutor
from langchain.agents.agent_types im... | DOC: How to Connect Database Agent with SqlServer | https://api.github.com/repos/langchain-ai/langchain/issues/9804/comments | 20 | 2023-08-26T17:45:27Z | 2024-08-06T16:07:46Z | https://github.com/langchain-ai/langchain/issues/9804 | 1,868,188,378 | 9,804 |
[
"hwchase17",
"langchain"
] | ### System Info
Google Auth version 2.22.0
Python version 3.8.8
langchain version: 0.0.273
### Who can help?
@eyurtsev the GoogleDriveLoader does not seem to be working as expected. I get a error of AttributeError: 'Credentials' object has no attribute 'with_scopes'.
### Information
- [X] The official example no... | GoogleDriveLoader - AttributeError: 'Credentials' object has no attribute 'with_scopes' | https://api.github.com/repos/langchain-ai/langchain/issues/9803/comments | 2 | 2023-08-26T17:11:56Z | 2023-08-26T19:09:12Z | https://github.com/langchain-ai/langchain/issues/9803 | 1,868,177,575 | 9,803 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
May I inquire whether the vector stroe accommodates the provision for customized database connection pooling?
Typically, opening a database connection is an expensive operation, especially if the database is remote. Pooling keeps the connections active so that, when a connection is l... | Issue: vector store supports custom database connections? | https://api.github.com/repos/langchain-ai/langchain/issues/9802/comments | 1 | 2023-08-26T17:04:57Z | 2023-10-28T07:03:20Z | https://github.com/langchain-ai/langchain/issues/9802 | 1,868,175,495 | 9,802 |
[
"hwchase17",
"langchain"
] | ### Feature request
Obsidian markdown documents frequently have additional metadata beyond what is in the frontmatter: tags within the document, and (for many users) dataview plugin values.
Add support for this.
### Motivation
Surfacing tags and dataview fields would unlock more abilities for self-querying obsidi... | Add support tags and dataview fields to ObsidianLoader | https://api.github.com/repos/langchain-ai/langchain/issues/9800/comments | 2 | 2023-08-26T16:02:26Z | 2023-12-02T16:05:07Z | https://github.com/langchain-ai/langchain/issues/9800 | 1,868,155,973 | 9,800 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello, I tried to use AsyncFinalIteratorCallbackHandler (which inherits from AsyncCallbackHandler) to implement async streaming, then encountered following issue:
libs/langchain/langchain/callbacks/manager.py:301: RuntimeWarning: coroutine 'AsyncCallbackHandler.on_chat_model_start' ... | Issue: RuntimeWarning: coroutine 'AsyncCallbackHandler.on_chat_model_start' was never awaited | https://api.github.com/repos/langchain-ai/langchain/issues/9798/comments | 3 | 2023-08-26T12:46:53Z | 2023-12-02T16:05:12Z | https://github.com/langchain-ai/langchain/issues/9798 | 1,868,085,901 | 9,798 |
[
"hwchase17",
"langchain"
] | null | Issue: what's the difference between this with RASA | https://api.github.com/repos/langchain-ai/langchain/issues/9792/comments | 4 | 2023-08-26T07:06:24Z | 2023-12-02T16:05:17Z | https://github.com/langchain-ai/langchain/issues/9792 | 1,867,947,019 | 9,792 |
[
"hwchase17",
"langchain"
] | ### System Info
Colab environment
LangChain version: 0.0.152
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] O... | GPT4All callup failure | https://api.github.com/repos/langchain-ai/langchain/issues/9786/comments | 2 | 2023-08-26T05:44:11Z | 2023-12-18T23:48:24Z | https://github.com/langchain-ai/langchain/issues/9786 | 1,867,920,013 | 9,786 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi, Actually exists a document loader for Google Drive in the Python version, I would like to propose this feature in the javascript version, it is important to our company.
### Motivation
Hi, Actually exists a document loader for Google Drive in the Python version, I would like to propose this f... | document loader google drive for javascript version | https://api.github.com/repos/langchain-ai/langchain/issues/9783/comments | 2 | 2023-08-26T02:19:29Z | 2023-12-02T16:05:22Z | https://github.com/langchain-ai/langchain/issues/9783 | 1,867,861,639 | 9,783 |
[
"hwchase17",
"langchain"
] | ### System Info
pydantic==1.10.12
langchain==0.0.271
System: MacOS Ventura 13.5 (22G74)
Python 3.9.6
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] ... | RetrievalQA for document comparison is not working for similar type of questions. | https://api.github.com/repos/langchain-ai/langchain/issues/9780/comments | 2 | 2023-08-25T21:54:12Z | 2023-12-01T16:06:23Z | https://github.com/langchain-ai/langchain/issues/9780 | 1,867,724,844 | 9,780 |
[
"hwchase17",
"langchain"
] | ### Feature request
Some urls will return status code 403 if the right headers are not passed to the requests.get(path) function. My workaround was to provide the headers of that website to get the approval from the server. Would be great to be able to pass headers to PyMuPDFLoader and all the other web based document... | Pass headers arg (requests library) to loaders that fetch from web | https://api.github.com/repos/langchain-ai/langchain/issues/9778/comments | 3 | 2023-08-25T20:39:29Z | 2024-05-28T08:23:07Z | https://github.com/langchain-ai/langchain/issues/9778 | 1,867,657,651 | 9,778 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version 0.0.273
Python version 3.8.10
Ubuntu 20.04.5 LTS
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prom... | ConversationChain sends malformatted requests to server | https://api.github.com/repos/langchain-ai/langchain/issues/9776/comments | 3 | 2023-08-25T19:37:16Z | 2023-12-07T16:06:30Z | https://github.com/langchain-ai/langchain/issues/9776 | 1,867,592,455 | 9,776 |
[
"hwchase17",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/709a67d9bfcff475356924d8461140052dd418f7/libs/langchain/langchain/chains/qa_with_sources/base.py#L123
I've noticed that the retrieval qa chain doesn't always return SOURCES, it sometimes returns "Sources", "sources" or "source". | The RetrievalQAWithSourcesChain with the ExamplePrompt doesn't always return SOURCES as part of it's answers. | https://api.github.com/repos/langchain-ai/langchain/issues/9774/comments | 3 | 2023-08-25T17:57:20Z | 2023-12-02T16:05:32Z | https://github.com/langchain-ai/langchain/issues/9774 | 1,867,473,509 | 9,774 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Right now, the Sagemaker Inference Endpoint LLM does not allow for async requests and it's a performance bottleneck.
I have an API gateway set up such that I have a restful api endpoint backed by the sagemaker inference endpoint.
In an ideal world:
1. Langchain should allow for ar... | Issue: SagemakerEndpoint does not support async calls | https://api.github.com/repos/langchain-ai/langchain/issues/9773/comments | 1 | 2023-08-25T17:21:24Z | 2023-12-01T16:06:42Z | https://github.com/langchain-ai/langchain/issues/9773 | 1,867,424,178 | 9,773 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The issue with PySpark messages is that they could become quite lengthy and after some iterations they could potentially causing problems with token limits. In this context, I would like to initiate a discussion about this topic and explore potential solutions.
### Suggestion:
My... | PySpark error message and token limits in spark_sql | https://api.github.com/repos/langchain-ai/langchain/issues/9767/comments | 1 | 2023-08-25T14:22:11Z | 2023-12-01T16:06:48Z | https://github.com/langchain-ai/langchain/issues/9767 | 1,867,149,666 | 9,767 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.273
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document... | AzureSearch.py is using constant field names instead of ours | https://api.github.com/repos/langchain-ai/langchain/issues/9765/comments | 14 | 2023-08-25T14:18:44Z | 2024-07-11T07:54:13Z | https://github.com/langchain-ai/langchain/issues/9765 | 1,867,141,839 | 9,765 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version : 0.0.273
Python version : 3.10.8
Platform : macOS 13.5.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Temp... | Streaming doesn't work correctly with caching | https://api.github.com/repos/langchain-ai/langchain/issues/9762/comments | 5 | 2023-08-25T13:35:30Z | 2024-04-23T09:58:26Z | https://github.com/langchain-ai/langchain/issues/9762 | 1,867,071,726 | 9,762 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.191
llama-cpp-python==0.1.78
chromadb==0.3.22
python3.10
wizard-vicuna-13B.ggmlv3.q4_0.bin
### Who can help?
@hwchase17 @agol
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
... | SelfQueryRetriever creates attributes that do not exist | https://api.github.com/repos/langchain-ai/langchain/issues/9761/comments | 5 | 2023-08-25T13:31:11Z | 2024-01-12T11:56:38Z | https://github.com/langchain-ai/langchain/issues/9761 | 1,867,063,910 | 9,761 |
[
"hwchase17",
"langchain"
] | ### System Info
- LangChain version: 0.0.105
- Platform: Macbook Pro M1 - Mac OS Ventura
- Node.js version: v18.17.1
- qdrant/js-client-rest: 1.4.0
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ]... | JavaScript LangChain Qdrant semantic search results: pageContent in each Document is undefined | https://api.github.com/repos/langchain-ai/langchain/issues/9760/comments | 3 | 2023-08-25T13:08:16Z | 2023-08-25T13:27:22Z | https://github.com/langchain-ai/langchain/issues/9760 | 1,867,029,264 | 9,760 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello,
have two separate docker images as follows.
1. for the purpose of Loading documents and then tokenizing and creating embeddings and storing in Vector store DB like this `vector_store_db:Weaviate = weaviateInstance.from_documents(documents, self.embeddings, by_text=False) `
2.... | Issue: To be able to store Weaviate (for that matter any vector store) Vector Store in REDIS | https://api.github.com/repos/langchain-ai/langchain/issues/9758/comments | 10 | 2023-08-25T12:46:04Z | 2023-12-03T16:04:41Z | https://github.com/langchain-ai/langchain/issues/9758 | 1,866,995,735 | 9,758 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hey wanted to request a feature within the map-reduce chain where a person can send his own list of chunks data of a corpus instead of creating chunks of data based on sending a textsplitter and a corpus.
### Motivation
Sometime one might see map-reduce cases where one wants to use their own chun... | Custom Map-Reduce chain | https://api.github.com/repos/langchain-ai/langchain/issues/9757/comments | 2 | 2023-08-25T12:39:58Z | 2023-12-01T16:07:08Z | https://github.com/langchain-ai/langchain/issues/9757 | 1,866,987,071 | 9,757 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
can i load my local model by chain = LLMChain(llm=chat, prompt=chat_prompt)
### Suggestion:
_No response_ | Issue: can i load my local model by chain = LLMChain(llm=chat, prompt=chat_prompt) | https://api.github.com/repos/langchain-ai/langchain/issues/9752/comments | 4 | 2023-08-25T09:51:51Z | 2023-12-01T16:07:13Z | https://github.com/langchain-ai/langchain/issues/9752 | 1,866,736,311 | 9,752 |
[
"hwchase17",
"langchain"
] | ### System Info
## Description:
### Context:
I'm using LangChain to develop an application that interacts with the gpt-3.5-turbo-16k model to handle long chains of up to 16384 tokens.
### Problem:
While the first message processes quickly **(specially if i have not previues context in the inputs)**, from the s... | Prolonged execution times when using ConversationChain and ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/9750/comments | 4 | 2023-08-25T09:08:55Z | 2023-12-27T16:05:53Z | https://github.com/langchain-ai/langchain/issues/9750 | 1,866,661,448 | 9,750 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/9605
<div type='discussions-op-text'>
<sup>Originally posted by **nima-cp** August 22, 2023</sup>
Hello everyone, I wanna have a Q&A over some documents including pdf, xml and csv. I'm having some difficulty to write a DirectoryLoader for dif... | DirectoryLoader for different file types | https://api.github.com/repos/langchain-ai/langchain/issues/9749/comments | 5 | 2023-08-25T09:03:10Z | 2024-04-22T10:04:26Z | https://github.com/langchain-ai/langchain/issues/9749 | 1,866,651,760 | 9,749 |
[
"hwchase17",
"langchain"
] | ### Feature request
I would like to have BambooHR Tool here(https://python.langchain.com/docs/integrations/tools/).
To make it possible to request information about employees within the company, their vacations, and so on.
### Motivation
BambooHR is quite a popular service, so I believe this tool will be used a l... | BambooHR Tool | https://api.github.com/repos/langchain-ai/langchain/issues/9748/comments | 16 | 2023-08-25T08:56:25Z | 2023-12-01T16:07:18Z | https://github.com/langchain-ai/langchain/issues/9748 | 1,866,641,171 | 9,748 |
[
"hwchase17",
"langchain"
] | Hi, I would like to build a chat bot to support multple users to access the chat bot.
Since the llm model size is very big, my VRAM can only load only one copy of LLM.
I would like to know if there is any way to load the model once and multiple access concurrently.
Here is what I just tried.
I tried to create t... | Issue: LLM Multiple access problem | https://api.github.com/repos/langchain-ai/langchain/issues/9747/comments | 4 | 2023-08-25T08:42:02Z | 2023-12-01T16:07:23Z | https://github.com/langchain-ai/langchain/issues/9747 | 1,866,620,005 | 9,747 |
[
"hwchase17",
"langchain"
] | ### Feature request
1. Ideally, current `input_variables` should be separated into `required_variables` and `allowed_variables`
2. `allowed_variables` should consist of `required_variables` + `optional_variables`
3. Current implementation of `format_document` requires some overhaul, as suggested by #7239. Since... | Add `optional_variables` for templates and make `format_document` customizable | https://api.github.com/repos/langchain-ai/langchain/issues/9746/comments | 0 | 2023-08-25T07:46:15Z | 2023-08-28T08:18:56Z | https://github.com/langchain-ai/langchain/issues/9746 | 1,866,525,826 | 9,746 |
[
"hwchase17",
"langchain"
] | ### System Info
As stated in the title, the query is returning, but not the relevant documents. The code snippet below illustrates the issue:
```python
query = 'building bridges'
filter = Comparison(comparator=<Comparator.EQ: 'eq'>, attribute='construction_material', value='steel')
limit = None
[]
```
I k... | unexpected behavior: retriever.get_relevant_documents | https://api.github.com/repos/langchain-ai/langchain/issues/9744/comments | 2 | 2023-08-25T06:54:26Z | 2023-12-01T16:07:28Z | https://github.com/langchain-ai/langchain/issues/9744 | 1,866,443,166 | 9,744 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I've been using Langchain to connect with the MongoDB vector store. While the file upload functionality works seamlessly, I encounter an error when trying to use the similarity search feature. Here's the error message I receive:
 when calling the InvokeEndpoint operation: Received client error (424) from primary with message "{
"code":424,
"message":"predictio... | AWS Sagemaker | https://api.github.com/repos/langchain-ai/langchain/issues/9733/comments | 9 | 2023-08-25T02:57:42Z | 2023-12-01T16:07:32Z | https://github.com/langchain-ai/langchain/issues/9733 | 1,866,186,574 | 9,733 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.271
Platform: Ubuntu 20.04
Device: Nvidia-T4
Python version: 3.9.17
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] E... | `Chatbots` use case example is not working | https://api.github.com/repos/langchain-ai/langchain/issues/9732/comments | 3 | 2023-08-25T00:48:21Z | 2023-12-02T16:05:42Z | https://github.com/langchain-ai/langchain/issues/9732 | 1,866,073,423 | 9,732 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.271
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] ... | Langchain agent doesn't complete reasoning sequence stops halfway and can't use structured tools | https://api.github.com/repos/langchain-ai/langchain/issues/9728/comments | 3 | 2023-08-24T23:02:33Z | 2024-02-25T19:01:25Z | https://github.com/langchain-ai/langchain/issues/9728 | 1,866,002,041 | 9,728 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.