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"
] | I am using router chaining to route my input. For the destination chains, I have four LLMChains and one ConversationalRetrievalChain.
And to combine this I am using MultiPromptChain. But it isn't working.
Below are the functions to generate router chains and destination chains.
Any suggestions?
```
def gener... | Can't use ConversationalRetrievalChain with router chaining | https://api.github.com/repos/langchain-ai/langchain/issues/7644/comments | 4 | 2023-07-13T08:54:29Z | 2023-10-21T16:07:00Z | https://github.com/langchain-ai/langchain/issues/7644 | 1,802,530,745 | 7,644 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
how to use contextual compression in a ConversationalRetrievalChain
### Suggestion:
_No response_ | how to use contextual compression in a ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7642/comments | 1 | 2023-07-13T07:44:03Z | 2023-07-13T07:50:51Z | https://github.com/langchain-ai/langchain/issues/7642 | 1,802,406,179 | 7,642 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.0.231, Windows 10, Python 3.10.11
### 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
- [ ] O... | RCE vulnerability in CPAL (causal program-aided language) chain | https://api.github.com/repos/langchain-ai/langchain/issues/7641/comments | 1 | 2023-07-13T07:26:31Z | 2023-08-29T18:44:50Z | https://github.com/langchain-ai/langchain/issues/7641 | 1,802,378,837 | 7,641 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using LLMChainFilter and ContextualCompressionRetriever to compress my context, like this
`llm=AzureChatOpenAI(deployment_name="gpt-35-turbo", model_name='gpt-35-turbo', temperature=0
, max_tokens=500)
compressor = LLMChainFilter.from_llm(llm)
compression_retriever =ContextualC... | can LLMChainFilter support default retriever | https://api.github.com/repos/langchain-ai/langchain/issues/7640/comments | 1 | 2023-07-13T07:06:22Z | 2023-10-19T16:05:40Z | https://github.com/langchain-ai/langchain/issues/7640 | 1,802,349,041 | 7,640 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.231 on mac, python 3.11
### 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 Pa... | Chroma db w/client: AttributeError: 'Chroma' object has no attribute '_client_settings' | https://api.github.com/repos/langchain-ai/langchain/issues/7638/comments | 2 | 2023-07-13T06:06:50Z | 2023-07-13T13:28:58Z | https://github.com/langchain-ai/langchain/issues/7638 | 1,802,251,081 | 7,638 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.230
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
... | chromadb.errors.InvalidDimensionException: Dimensionality of (512) does not match index dimensionality (768) | https://api.github.com/repos/langchain-ai/langchain/issues/7634/comments | 4 | 2023-07-13T03:47:13Z | 2024-03-13T19:57:14Z | https://github.com/langchain-ai/langchain/issues/7634 | 1,802,101,252 | 7,634 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.231 on mac, python 3.11
### Who can help?
@jeffchub
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
-... | Chroma db throws `ValueError: Expected metadata to be a non-empty dict, got {}` as ConversationChain memory | https://api.github.com/repos/langchain-ai/langchain/issues/7633/comments | 10 | 2023-07-13T03:42:31Z | 2023-12-15T10:19:21Z | https://github.com/langchain-ai/langchain/issues/7633 | 1,802,097,263 | 7,633 |
[
"hwchase17",
"langchain"
] | ### Feature request
import os
from langchain.embeddings import HuggingFaceEmbeddings
EMBEDDING_MODEL = os.getenv("EMBEDDING_MODEL")
model_kwargs = {"device": "cpu"}
encode_kwargs = {"normalize_embeddings": False}
embeddings = HuggingFaceEmbeddings(
model_name=EMBEDDING_MODEL, model_kwargs=model_kwargs, ... | Dimension from embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/7632/comments | 1 | 2023-07-13T03:40:59Z | 2023-10-19T16:05:43Z | https://github.com/langchain-ai/langchain/issues/7632 | 1,802,096,176 | 7,632 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version : 0.0.216
Python version : 3.11.4
System: Windows
### Who can help?
@hwchase17 @eyu
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / ... | How to enable the memory mechanism when using create_pandas_dataframe_agent? | https://api.github.com/repos/langchain-ai/langchain/issues/7625/comments | 3 | 2023-07-12T22:49:20Z | 2023-10-19T16:05:48Z | https://github.com/langchain-ai/langchain/issues/7625 | 1,801,867,603 | 7,625 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi my data has 10 rows and I tried with both pandas and csv agent, in the observations I can see the agents are able to process all rows, but in the final answer both agents only output the first 5 rows from df.head(). I tried to set 'number_of_head_rows' to 10 but it doesn't work. Is there any way to ... | Pandas / CSV agent only show partial results from dataframe head | https://api.github.com/repos/langchain-ai/langchain/issues/7623/comments | 5 | 2023-07-12T22:44:43Z | 2023-10-12T21:14:42Z | https://github.com/langchain-ai/langchain/issues/7623 | 1,801,862,154 | 7,623 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version : 0.0.216
Python version : 3.11.4
System: Windows
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / P... | Is it possible to use open source embedding methods rather than OpenAIEmbeddings? | https://api.github.com/repos/langchain-ai/langchain/issues/7619/comments | 2 | 2023-07-12T21:32:46Z | 2024-04-26T12:42:21Z | https://github.com/langchain-ai/langchain/issues/7619 | 1,801,791,302 | 7,619 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using Windows 11 as OS, RAM = 44GB. Also, I am using LLaMa vicuna-7b-1.1.ggmlv3.q4_0.bin as Local LLM.
I am using Python 3.11.3 in venv virtual environment in VS code IDE and Langchain version 0.0.221.
<img width="948" alt="Screenshot 2023-07-13_Pydantic Error" src="https://github.com/hwcha... | Issue with Langchain LLM Chains | https://api.github.com/repos/langchain-ai/langchain/issues/7618/comments | 4 | 2023-07-12T21:18:33Z | 2023-10-21T16:07:05Z | https://github.com/langchain-ai/langchain/issues/7618 | 1,801,774,854 | 7,618 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain : v0.0.231
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Par... | _get_python_function_name does not work with classes | https://api.github.com/repos/langchain-ai/langchain/issues/7616/comments | 4 | 2023-07-12T21:03:09Z | 2023-10-19T16:05:58Z | https://github.com/langchain-ai/langchain/issues/7616 | 1,801,757,859 | 7,616 |
[
"hwchase17",
"langchain"
] | ### System Info
It's unclear how to check your langchain version, I can instead detail the steps I have taken.
I am running python 3.10.6 and python 3.11.4
I have uninstalled and reinstalled both versions individually, in path, and attempted to install and run langchain with just one of either of those two vers... | ImportError: cannot import name 'AgentType' from 'langchain.agents' | https://api.github.com/repos/langchain-ai/langchain/issues/7613/comments | 6 | 2023-07-12T20:17:05Z | 2024-02-15T16:11:10Z | https://github.com/langchain-ai/langchain/issues/7613 | 1,801,689,378 | 7,613 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, LangChain community,
just to share that even with the examples mentioned in the official documentation, it is almost impossible to get consistent results when using agents with Wikipedia/Google search tools. Or the search is non conclusive or the LLM is totally hallucinating at th... | Issue: Big issue with inefficient search from Google/Wikipedia and LLM hallucinations with ReAct agent | https://api.github.com/repos/langchain-ai/langchain/issues/7610/comments | 1 | 2023-07-12T20:00:50Z | 2023-10-18T16:05:33Z | https://github.com/langchain-ai/langchain/issues/7610 | 1,801,664,816 | 7,610 |
[
"hwchase17",
"langchain"
] | ### System Info
Repro:
Running this code sample.
https://github.com/techleadhd/chatgpt-retrieval
```
Traceback (most recent call last):
File "/home/maciej/workdir/intenzia/langchaintest/chatgpt-retrieval/chatgpt.py", line 5, in <module>
from langchain.chains import ConversationalRetrievalChain, Retrieval... | BaseEmbaasLoader validation fails | https://api.github.com/repos/langchain-ai/langchain/issues/7609/comments | 3 | 2023-07-12T19:38:41Z | 2023-07-13T07:50:31Z | https://github.com/langchain-ai/langchain/issues/7609 | 1,801,636,599 | 7,609 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.170
openai==0.27.4
python
windows
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
-... | If we continuously send "Hello" messages to the "conversational retrieval chain," the model produces weired/wrong answers. | https://api.github.com/repos/langchain-ai/langchain/issues/7606/comments | 9 | 2023-07-12T18:25:59Z | 2024-01-05T13:06:23Z | https://github.com/langchain-ai/langchain/issues/7606 | 1,801,539,064 | 7,606 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.206 ; python_version >= "3.11" and python_version < "4.0"
langchainplus-sdk==0.0.16 ; python_version >= "3.11" and python_version < "4.0"
### Who can help?
@hwaking @agola11 Hey Guys! The pinecone wrapper is doing a weird auto-type conversion and its thinking my string ID values are... | Type Error Langchain auto converting string to date.timestamp in Pinecone similarity search when Document pagecontent value is a string that "could" be a date ex: 21070926 | https://api.github.com/repos/langchain-ai/langchain/issues/7605/comments | 2 | 2023-07-12T18:01:54Z | 2023-10-18T16:05:43Z | https://github.com/langchain-ai/langchain/issues/7605 | 1,801,502,750 | 7,605 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add support for Meilisearch vector search.
[Meilisearch](https://www.meilisearch.com) is an open-source search engine. See [documentation](https://www.meilisearch.com/docs)
### Motivation
Meilisearch is releasing the vector search/store feature, which should be available from July 31st.
### You... | Add support for Meilisearch vector databases | https://api.github.com/repos/langchain-ai/langchain/issues/7603/comments | 3 | 2023-07-12T15:32:23Z | 2023-07-29T00:06:55Z | https://github.com/langchain-ai/langchain/issues/7603 | 1,801,241,754 | 7,603 |
[
"hwchase17",
"langchain"
] | ### System Info
Python: 3.10.11
LangChain: 0.0.229
SO: Windows, Linux Ubuntu and Mac
Hi people,
I'm using **ConversationalRetrievalChain** without any modifications, and in 90% of the cases, it responds by repeating words and entire phrases, like in the examples below:
Questions about Duna book:
**How ... | ConversationalRetrievalChain with streaming=True => responds by repeating words and phrases | https://api.github.com/repos/langchain-ai/langchain/issues/7599/comments | 10 | 2023-07-12T13:46:03Z | 2024-05-06T16:05:34Z | https://github.com/langchain-ai/langchain/issues/7599 | 1,801,022,338 | 7,599 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'd like to understand if there is a way to have from OpenAI response a **list of values** (string or objects: it's the same) of a **fixed length**. I read the documentation here: https://python.langchain.com/docs/modules/model_io/output_parsers/comma_separated but I didn't find anything... | Output parser set number of list result | https://api.github.com/repos/langchain-ai/langchain/issues/7598/comments | 3 | 2023-07-12T13:31:51Z | 2023-10-19T16:06:03Z | https://github.com/langchain-ai/langchain/issues/7598 | 1,800,994,485 | 7,598 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hello Langchain community!
I'm currently in the process of developing a company's chatbot, and I've chosen to use both a CSV file and Pinecone DB for the project.
Here's a basic outline of the structure I've adopted so far:
 Allow different choices of threshold kind: allow users to choose whether >= threshold or <= threshold
2) Allow users to choose to return the relevance score along with the docs
### Motivatio... | Improve the usage of relevance score threshold and allow the return of the scores | https://api.github.com/repos/langchain-ai/langchain/issues/7590/comments | 2 | 2023-07-12T09:38:17Z | 2023-10-18T16:05:52Z | https://github.com/langchain-ai/langchain/issues/7590 | 1,800,582,601 | 7,590 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using langchain v0.0.228. But namespace parameter is gone in existing_index() of v0.0.230.
Why the namespace is gone?
@hwchase17 @eyurtsev @agola11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Compo... | namespace parameter is gone in pinecone from_existing_index method | https://api.github.com/repos/langchain-ai/langchain/issues/7589/comments | 2 | 2023-07-12T09:34:19Z | 2023-07-12T14:45:09Z | https://github.com/langchain-ai/langchain/issues/7589 | 1,800,575,762 | 7,589 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
if use ElasticVectorSearch as as_retriever and set the params:
```python
elastic_vector_search.as_retriever(search_type="similarity_score_threshold",
search_kwargs={"score_threshold":... | Question:ConversationalRetrievalChain with retriever | https://api.github.com/repos/langchain-ai/langchain/issues/7588/comments | 1 | 2023-07-12T09:28:48Z | 2023-07-13T03:37:20Z | https://github.com/langchain-ai/langchain/issues/7588 | 1,800,566,204 | 7,588 |
[
"hwchase17",
"langchain"
] | ### System Info
MacOS
Python 3.10.6
langchain 0.0.230
langchainplus-sdk 0.0.20
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Template... | Error when creating a custom ConversationalChatAgent | https://api.github.com/repos/langchain-ai/langchain/issues/7585/comments | 3 | 2023-07-12T08:21:47Z | 2024-01-19T07:28:12Z | https://github.com/langchain-ai/langchain/issues/7585 | 1,800,444,981 | 7,585 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Below code does not seem to work,
```
db = SQLDatabase.from_uri("mssql+pymssql://<some server>/<some db>",
include_tables=['Some table'], view_support=True)
db1 = SQLDatabase.from_uri("mssql+pymssql://<some other... | DOC: Langchain works well with single database, but in a session if I have to work with multiple database, it does not seem working | https://api.github.com/repos/langchain-ai/langchain/issues/7581/comments | 10 | 2023-07-12T05:02:43Z | 2024-05-23T01:09:42Z | https://github.com/langchain-ai/langchain/issues/7581 | 1,800,186,972 | 7,581 |
[
"hwchase17",
"langchain"
] | ### Why do I care about this issue?
MLflow also uses sqlalchemy to handle sqlite-based storage, and calls `sqlalchemy.orm.configure_mappers()` during initialization. With langchain>=0.0.228, MLflow fails to start. All MLflow users who choose sqlite-based storage cannot use it with langchain.
### System Info
lan... | sqlalchemy fails to initialize with KeyError "EmbeddingStore" | https://api.github.com/repos/langchain-ai/langchain/issues/7579/comments | 1 | 2023-07-12T04:18:26Z | 2023-07-12T07:35:27Z | https://github.com/langchain-ai/langchain/issues/7579 | 1,800,138,889 | 7,579 |
[
"hwchase17",
"langchain"
] | https://github.com/hwchase17/langchain/blob/2667ddc6867421842fe027f1946644f452de8eb3/langchain/chains/base.py#L386-L393
when I have this:
```
chain = create_structured_output_chain(Categorization, llm, prompt, verbose=True)
response = chain.run(trx_description)
```
my `response` object is a dict not a str, but ... | chain.run doesn't necessarily return a `str` | https://api.github.com/repos/langchain-ai/langchain/issues/7578/comments | 16 | 2023-07-12T04:11:51Z | 2023-10-13T02:31:07Z | https://github.com/langchain-ai/langchain/issues/7578 | 1,800,131,260 | 7,578 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.230
### Who can help?
@raymond-yuan
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output ... | PGVector.from_documents breaking from 0.0.229 to 0.0.230 | https://api.github.com/repos/langchain-ai/langchain/issues/7577/comments | 2 | 2023-07-12T02:50:01Z | 2023-07-13T03:26:29Z | https://github.com/langchain-ai/langchain/issues/7577 | 1,800,069,048 | 7,577 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version: 0.0.229
Platform: AWS Lambda execution
Python version: 3.9
I get the following error when creating the AmazonKendraRetriever using LangChain version 0.0.229.
Code to create retriever:
`retriever = AmazonKendraRetriever(index_id=kendra_index)`
Error:
```[ERROR] Validat... | AmazonKendraRetriever "Could not load credentials" error in latest release | https://api.github.com/repos/langchain-ai/langchain/issues/7571/comments | 1 | 2023-07-12T00:16:40Z | 2023-07-13T03:47:37Z | https://github.com/langchain-ai/langchain/issues/7571 | 1,799,948,758 | 7,571 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Current version of document loader for Notion DB doesn't supports following properties for metadata
- `unique_id`
- https://www.notion.so/help/unique-id
- `status`
- https://www.notion.so/help/guides/status-property-gives-clarity-on-tasks
- `people`
- useful property when y... | Issue: Document loader for Notion DB doesn't supports some properties | https://api.github.com/repos/langchain-ai/langchain/issues/7569/comments | 0 | 2023-07-12T00:02:03Z | 2023-07-12T07:34:56Z | https://github.com/langchain-ai/langchain/issues/7569 | 1,799,937,363 | 7,569 |
[
"hwchase17",
"langchain"
] | ### System Info
python==3.9.17
langchain==0.0.190
Win 11 64 bit
### Who can help?
@hwchase17 @agol
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selector... | ` ValueError: Could not parse output` when using `QAGenerateChain`'s `.apply_and_parse()` method | https://api.github.com/repos/langchain-ai/langchain/issues/7559/comments | 6 | 2023-07-11T19:44:49Z | 2023-10-31T16:06:20Z | https://github.com/langchain-ai/langchain/issues/7559 | 1,799,649,527 | 7,559 |
[
"hwchase17",
"langchain"
] | ### Feature request
There are tools with `func` but whose implementation of coroutine would be just same. E.g.,
```python
def adder(x, y):
return x+y
async def aadder(x, y):
return x+y
adder_tool = Tool(func=adder, coroutine=aadder, ...)
```
I have to define `adder` and `aadder` redundantly.
Of co... | Use `func` as a default `coroutine` method in Tool instantiation | https://api.github.com/repos/langchain-ai/langchain/issues/7558/comments | 2 | 2023-07-11T19:23:13Z | 2023-10-17T16:04:49Z | https://github.com/langchain-ai/langchain/issues/7558 | 1,799,618,568 | 7,558 |
[
"hwchase17",
"langchain"
] | ### Feature request
Introduce a follow-up query recommender callback to enhance user experience and engagement in case of chatbot use case.
The recommender callback will suggest relevant follow-up queries generated by LLM based on the user's conversation history, facilitating smoother interactions.
The proposed fl... | Follow-up Query Recommender Callback | https://api.github.com/repos/langchain-ai/langchain/issues/7557/comments | 2 | 2023-07-11T18:18:50Z | 2023-12-21T16:07:34Z | https://github.com/langchain-ai/langchain/issues/7557 | 1,799,513,554 | 7,557 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain 0.230
python 3.10
From first example of using calculator from: https://learn.deeplearning.ai/langchain/lesson/7/agents
> Entering new chain...
ACTION: json
{
"action": "Calculator",
"action_input": "25% of 300"
}
The text is what the ChatOutputParser in agents/chat/outp... | Using Agent - ChatOpenAI - response can't be parsed because it starts with 'json' for next action (RC identified and fix proposed) | https://api.github.com/repos/langchain-ai/langchain/issues/7554/comments | 5 | 2023-07-11T16:48:21Z | 2023-10-10T16:15:58Z | https://github.com/langchain-ai/langchain/issues/7554 | 1,799,345,871 | 7,554 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version: '0.0.230'
llama-index version: '0.7.4'
python: 3.10.11
### Who can help?
@hwchase17
@agola11
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Pr... | GPTIndexChatMemory doesn't work as expected with langchain and the agent doesn't use the chat history | https://api.github.com/repos/langchain-ai/langchain/issues/7552/comments | 1 | 2023-07-11T16:38:22Z | 2023-10-17T16:04:55Z | https://github.com/langchain-ai/langchain/issues/7552 | 1,799,329,321 | 7,552 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain: 0.0.230
Python: 3.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers... | Pass a JSON string and get an error mismatched or missing input parameter | https://api.github.com/repos/langchain-ai/langchain/issues/7551/comments | 3 | 2023-07-11T16:34:25Z | 2023-07-12T00:44:36Z | https://github.com/langchain-ai/langchain/issues/7551 | 1,799,323,572 | 7,551 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.225 also tested with 0.0.229
I can only reproduce it in Azure, I cant reproduce it locally.
### Who can help?
I have a simple python app with streamlit and langchain, I am deploying this to Azure via CI/CD with the following YAML definition
stages:
- stage: Build
d... | TypeError: issubclass() arg 1 must be a class when using langchain in azure | https://api.github.com/repos/langchain-ai/langchain/issues/7548/comments | 23 | 2023-07-11T15:57:23Z | 2024-03-13T07:43:44Z | https://github.com/langchain-ai/langchain/issues/7548 | 1,799,257,114 | 7,548 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.229
cannot instantiate VespaRetriever (error that it takes only 1 argument but 4 were given)
rolling version back
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | 0.0.229 VespaRetriver signature broken | https://api.github.com/repos/langchain-ai/langchain/issues/7547/comments | 3 | 2023-07-11T15:41:42Z | 2023-11-01T16:06:35Z | https://github.com/langchain-ai/langchain/issues/7547 | 1,799,224,657 | 7,547 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Accessing many corporate resources requires special authentication, e.g. Kerberos.
The `requests` library supports passing an auth object, e.g.
`requests.get(url, auth=HttpNegotiateAuth(), verify=False)` to use SSPI.
We're able to pass a `requests_wrapper `to `LLMRequestsChain`, ... | Issue: Passing auth object to LLMRequestsChain | https://api.github.com/repos/langchain-ai/langchain/issues/7542/comments | 0 | 2023-07-11T13:59:38Z | 2023-07-14T12:38:25Z | https://github.com/langchain-ai/langchain/issues/7542 | 1,799,011,449 | 7,542 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to query the documents using the below stack
**Langchain+ embedding tool + vectore store + LLM model**
There are many tools and techniques for this in langchain including **load_qa_chain, RetrievalQA,VectorstoreIndexCreator,ConversationalRetrievalChain**. Those are alre... | Importance of VectorStoreToolkit, vectorstore_agent and VectorStoreInfo in document based domain specific question answering | https://api.github.com/repos/langchain-ai/langchain/issues/7539/comments | 6 | 2023-07-11T13:06:13Z | 2023-10-23T16:07:02Z | https://github.com/langchain-ai/langchain/issues/7539 | 1,798,902,303 | 7,539 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.9.12
Langchain 0.0.229
OS Linux Mint 21.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 / Prompt Selectors
... | openai.error.InvalidRequestError: Resource not found | https://api.github.com/repos/langchain-ai/langchain/issues/7536/comments | 3 | 2023-07-11T12:23:21Z | 2023-10-17T16:05:04Z | https://github.com/langchain-ai/langchain/issues/7536 | 1,798,820,813 | 7,536 |
[
"hwchase17",
"langchain"
] | ### Feature request
The sql agent should query in a manner that it gets **unique** values as sample data (metadata) instead of all values. Only then will it be able to understand which columns to query from. Otherwise, it might get confused between similar-sounding column names (ex: age, age_group)
### Motivation
Da... | Support for sparse tables | https://api.github.com/repos/langchain-ai/langchain/issues/7535/comments | 1 | 2023-07-11T12:18:49Z | 2023-10-17T16:05:09Z | https://github.com/langchain-ai/langchain/issues/7535 | 1,798,812,094 | 7,535 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.219
python 3.9
### 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
- [X] Output Parsers
-... | Generating answers from LLM's pretrianed knowledge base, instead of from the embedded document. | https://api.github.com/repos/langchain-ai/langchain/issues/7532/comments | 6 | 2023-07-11T11:35:56Z | 2023-11-10T16:08:12Z | https://github.com/langchain-ai/langchain/issues/7532 | 1,798,735,631 | 7,532 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to integrate confluence for open ai embedding and vector store using in memory doc-array.
I am sure this must not be issue Langchain but thought of posting here . Any pointer would really appreciated.
I created one free trial version account with atlassian.com and try... | Issue: ConfluenceLoader 403 Forbidden Failed to parse Connect Session Auth Token | https://api.github.com/repos/langchain-ai/langchain/issues/7531/comments | 3 | 2023-07-11T11:29:58Z | 2023-07-12T06:21:31Z | https://github.com/langchain-ai/langchain/issues/7531 | 1,798,725,077 | 7,531 |
[
"hwchase17",
"langchain"
] | ### System Info
0.0.228
### 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 Loaders
- [X... | $contain is not a valid operator in SelfQueryRetrieval | https://api.github.com/repos/langchain-ai/langchain/issues/7529/comments | 6 | 2023-07-11T11:07:41Z | 2024-03-22T18:02:58Z | https://github.com/langchain-ai/langchain/issues/7529 | 1,798,689,044 | 7,529 |
[
"hwchase17",
"langchain"
] | ### Using Open source LLM models in SQL Chain
Is it possible to use open source LLM models in SQL chain ?
I have tried using tapex/Flan models in SQL Chain, but getting a serialization error on dict[] classes.
Error:
```
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wr... | Using Open source LLM models in SQL Chain | https://api.github.com/repos/langchain-ai/langchain/issues/7528/comments | 8 | 2023-07-11T10:59:28Z | 2024-02-23T16:08:17Z | https://github.com/langchain-ai/langchain/issues/7528 | 1,798,675,621 | 7,528 |
[
"hwchase17",
"langchain"
] | ### Feature request
I tested the enable_limit to True and asking thins like
1. Get 3 residents who were born in xxx
2. Get 5 Residens who were bon in xxx
It works pretty well.
However in my use case, users can ask also: List all the residents who were born in xxx.
When questions like this are done, by defa... | SelfQueryRetriever, Add option to return all when user asks | https://api.github.com/repos/langchain-ai/langchain/issues/7527/comments | 3 | 2023-07-11T10:21:55Z | 2023-11-20T16:06:02Z | https://github.com/langchain-ai/langchain/issues/7527 | 1,798,612,838 | 7,527 |
[
"hwchase17",
"langchain"
] | ### System Info
python==3.10
langchain==0.0.169
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [... | RetrievalQAWithSourcesChain acall does not write fromatted prompt to terminal if verbose=True | https://api.github.com/repos/langchain-ai/langchain/issues/7526/comments | 3 | 2023-07-11T09:22:43Z | 2023-07-11T11:21:36Z | https://github.com/langchain-ai/langchain/issues/7526 | 1,798,503,336 | 7,526 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain v0.0.229, Python v3.10.12, Ubuntu 20.04.2 LTS
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | Specific name of the current chain is not displayed | https://api.github.com/repos/langchain-ai/langchain/issues/7524/comments | 5 | 2023-07-11T08:28:40Z | 2023-07-14T00:14:47Z | https://github.com/langchain-ai/langchain/issues/7524 | 1,798,403,821 | 7,524 |
[
"hwchase17",
"langchain"
] | ### System Info
0.0.228
### Who can help?
@lbsnrs
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] V... | AttributeError: 'str' object has no attribute 'upsert' in Pinecone Hybrid Search | https://api.github.com/repos/langchain-ai/langchain/issues/7523/comments | 3 | 2023-07-11T08:19:47Z | 2023-10-18T16:06:03Z | https://github.com/langchain-ai/langchain/issues/7523 | 1,798,387,965 | 7,523 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Traceback (most recent call last):
File "D:\EmbeddingsSearch\llm-python\02b_llama_chroma.py", line 2, in <module>
from llama_index import SimpleDirectoryReader, StorageContext, GPTVectorStoreIndex
File "F:\Anaconda\lib\site-packages\llama_index\__init__.py", line 15, in <modul... | TypeError: issubclass() arg 1 must be a class | https://api.github.com/repos/langchain-ai/langchain/issues/7522/comments | 22 | 2023-07-11T07:59:09Z | 2024-04-30T09:28:55Z | https://github.com/langchain-ai/langchain/issues/7522 | 1,798,351,804 | 7,522 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/retrievers/integrations/pinecone_hybrid_search
### Idea or request for content:
Its not clear on this page how to index data in pinecone for hybrid search, I am already indexing like this and it works, but for... | Hybrid search indexing how to | https://api.github.com/repos/langchain-ai/langchain/issues/7519/comments | 3 | 2023-07-11T06:48:37Z | 2023-10-28T16:05:35Z | https://github.com/langchain-ai/langchain/issues/7519 | 1,798,231,461 | 7,519 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.228
python 3.11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | AttributeError: 'tuple' object has no attribute 'page_content' | https://api.github.com/repos/langchain-ai/langchain/issues/7518/comments | 4 | 2023-07-11T06:24:41Z | 2023-12-30T23:53:45Z | https://github.com/langchain-ai/langchain/issues/7518 | 1,798,199,037 | 7,518 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.10.8
Langchain==0.0.229
AWS Sagemaker Studio w/ **PyTorch 2.0.0 Python 3.10 GPU Optimized** image
### Who can help?
@hwchase17 or @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | Langchain Import Issue | https://api.github.com/repos/langchain-ai/langchain/issues/7509/comments | 21 | 2023-07-11T01:12:10Z | 2024-07-13T00:38:14Z | https://github.com/langchain-ai/langchain/issues/7509 | 1,797,896,792 | 7,509 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm using langchain 0.0.218 in python 3.10.0 and when I use glob patterns as a direct argument to initialize the class this does not load anything. e.g. DirectoryLoader(path = root_dir + 'data', glob = "**/*.xml")
But when I use it in loader_kwargs it works perfect.
e.g. DirectoryLoader(path = ... | Glob patterns not finding documents when using it as an argument to DirectoryLoader | https://api.github.com/repos/langchain-ai/langchain/issues/7506/comments | 5 | 2023-07-11T00:04:37Z | 2023-11-09T16:11:45Z | https://github.com/langchain-ai/langchain/issues/7506 | 1,797,824,924 | 7,506 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
It is soooooo **weird** that this repo is still under a personal GitHub account 😕
At this moment in time (1:45pm 7-10-2023)
https://github.com/lang-chain is still available.
It would feel more professional if this repo became an organization.
### Suggestion:
Convert this pers... | MAKE langchain AN ORGANIZATION | https://api.github.com/repos/langchain-ai/langchain/issues/7500/comments | 2 | 2023-07-10T20:46:56Z | 2023-08-17T21:01:34Z | https://github.com/langchain-ai/langchain/issues/7500 | 1,797,559,582 | 7,500 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I keep getting OutputParserException: Could not parse LLM output.
I have tried setting handle_parsing_errors=True as well as handle_parsing_errors="Check your output and make sure it conforms!", and yet most of the times I find myself getting the OutputParserException.
Here is an... | MRKL Agent OutputParser Exception. | https://api.github.com/repos/langchain-ai/langchain/issues/7493/comments | 6 | 2023-07-10T18:46:36Z | 2024-03-21T16:04:42Z | https://github.com/langchain-ai/langchain/issues/7493 | 1,797,326,865 | 7,493 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain-0.0.229
python 3.10
### Who can help?
@delgermurun
### 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
... | JinaChat Authentication | https://api.github.com/repos/langchain-ai/langchain/issues/7490/comments | 9 | 2023-07-10T18:15:56Z | 2023-11-21T15:23:24Z | https://github.com/langchain-ai/langchain/issues/7490 | 1,797,274,034 | 7,490 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/hwchase17/langchain/discussions/7423
<div type='discussions-op-text'>
<sup>Originally posted by **aju22** July 9, 2023</sup>
Here is the code I'm using for initializing a Zero Shot ReAct Agent with some tools for fetching relevant documents from a vector database:
```
cha... | Langchain MRKL Agent not giving useful Final Answer | https://api.github.com/repos/langchain-ai/langchain/issues/7489/comments | 4 | 2023-07-10T17:35:37Z | 2023-08-07T08:28:23Z | https://github.com/langchain-ai/langchain/issues/7489 | 1,797,221,278 | 7,489 |
[
"hwchase17",
"langchain"
] | ### System Info
When running the following code:
```
from langchain import OpenAI
from langchain.agents import load_tools, initialize_agent, AgentType
from langchain.utilities import GraphQLAPIWrapper
from langchain.memory import ConversationBufferMemory
llm = OpenAI(temperature=0, openai_api_key=openai_... | TransportQueryError when using GraphQL tool | https://api.github.com/repos/langchain-ai/langchain/issues/7488/comments | 5 | 2023-07-10T17:26:29Z | 2023-12-08T16:06:25Z | https://github.com/langchain-ai/langchain/issues/7488 | 1,797,208,894 | 7,488 |
[
"hwchase17",
"langchain"
] | ### System Info
After v0.0.226, the RecursiveCharacterTextSplitter seems to no longer separate properly at the end of sentences and now cuts many sentences mid-word.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
-... | RecursiveCharacterTextSplitter strange behavior after v0.0.226 | https://api.github.com/repos/langchain-ai/langchain/issues/7485/comments | 16 | 2023-07-10T16:21:55Z | 2024-05-16T16:06:44Z | https://github.com/langchain-ai/langchain/issues/7485 | 1,797,105,833 | 7,485 |
[
"hwchase17",
"langchain"
] | ### System Info
master
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- ... | tool signature inspection for callbacks fails on certain chains | https://api.github.com/repos/langchain-ai/langchain/issues/7484/comments | 3 | 2023-07-10T16:18:29Z | 2023-10-16T16:05:14Z | https://github.com/langchain-ai/langchain/issues/7484 | 1,797,099,248 | 7,484 |
[
"hwchase17",
"langchain"
] | ### System Info
windows.
### Who can help?
_No response_
### 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-Replicate integration (max_length issue_ | https://api.github.com/repos/langchain-ai/langchain/issues/7483/comments | 2 | 2023-07-10T16:12:09Z | 2023-07-10T16:39:42Z | https://github.com/langchain-ai/langchain/issues/7483 | 1,797,089,333 | 7,483 |
[
"hwchase17",
"langchain"
] | ### System Info
on Python 3.10.10
with requirements.txt
```
pandas==2.0.1
beautifulsoup4==4.12.2
langchain==0.0.229
chromadb==0.3.26
tiktoken==0.4.0
gradio==3.36.1
Flask==2.3.2
torch==2.0.1
sentence-transformers==2.2.2
```
### Who can help?
@hwchase17
### Information
- [ ] The offi... | AttributeError: 'Chroma' object has no attribute '_client_settings' | https://api.github.com/repos/langchain-ai/langchain/issues/7482/comments | 4 | 2023-07-10T15:59:17Z | 2023-07-14T11:07:15Z | https://github.com/langchain-ai/langchain/issues/7482 | 1,797,069,693 | 7,482 |
[
"hwchase17",
"langchain"
] | ### System Info
Works in 0.0.228 but breaks in 0.0.229
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Par... | 0.0.229 breaks existing code that works with 0.0.228 for ConverstaionalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7481/comments | 3 | 2023-07-10T15:20:34Z | 2023-07-12T00:51:00Z | https://github.com/langchain-ai/langchain/issues/7481 | 1,797,005,937 | 7,481 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.219
python 3.9
### 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 Parsers
-... | langchain.schema.OutputParserException: Could not parse LLM output: `Thought: Do I need to use a tool? No | https://api.github.com/repos/langchain-ai/langchain/issues/7480/comments | 7 | 2023-07-10T14:40:24Z | 2024-06-11T12:24:18Z | https://github.com/langchain-ai/langchain/issues/7480 | 1,796,927,559 | 7,480 |
[
"hwchase17",
"langchain"
] | ### System Info
I have a CSV file with profile information, names, birthdate, gender, favoritemovies, etc, etc.
I need to create a chatbot with this and I am trying to use the CSVLoader like this:
```
loader = CSVLoader(file_path="profiles.csv", source_column="IdentityId")
doc = loader.load()
text_s... | UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 2810: character maps to <undefined> | https://api.github.com/repos/langchain-ai/langchain/issues/7479/comments | 5 | 2023-07-10T14:37:28Z | 2023-10-17T16:05:34Z | https://github.com/langchain-ai/langchain/issues/7479 | 1,796,921,581 | 7,479 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
`def generate_answer(vector_store, question):
chain = load_chain("qna/configs/chains/qa_with_sources_gpt4all.json")
# print(chain)
# qa = VectorDBQAWithSourcesChain(combine_document_chain=chain, vectorstore=vector_store)
qa = RetrievalQAWithSourcesChain(combine_d... | gpt4all+langchain_chain(RetrievalQAWithSourcesChain) | https://api.github.com/repos/langchain-ai/langchain/issues/7475/comments | 3 | 2023-07-10T11:15:34Z | 2023-11-28T16:09:35Z | https://github.com/langchain-ai/langchain/issues/7475 | 1,796,536,439 | 7,475 |
[
"hwchase17",
"langchain"
] | Hi everyone,
I'm trying to do something and I haven´t found enough information on the internet to make it work properly with Langchain. Here it is:
I want to develop a QA chat using markdown documents as knowledge source, using as relevant documents the ones corresponding to a certain documentation's version that... | Filtering retrieval with ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7474/comments | 5 | 2023-07-10T11:10:43Z | 2024-04-15T10:11:15Z | https://github.com/langchain-ai/langchain/issues/7474 | 1,796,527,888 | 7,474 |
[
"hwchase17",
"langchain"
] | ### Feature request
Adapt the pinecone vectorstore to support upcoming starter tier. The changes are related to removing namespaces and `delete by metadata` feature.
### Motivation
Indexes in upcoming Pinecone V4 won't support:
* namespaces
* `configure_index()`
* delete by metadata
* `describe_index()` ... | Pinecone: Support starter tier | https://api.github.com/repos/langchain-ai/langchain/issues/7472/comments | 6 | 2023-07-10T10:19:16Z | 2023-07-12T19:41:36Z | https://github.com/langchain-ai/langchain/issues/7472 | 1,796,444,479 | 7,472 |
[
"hwchase17",
"langchain"
] | ### Feature request
I want to override `google_search_url` for the `class GoogleSearchAPIWrapper `. though it is not exist yet.
https://api.python.langchain.com/en/latest/utilities/langchain.utilities.google_search.GoogleSearchAPIWrapper.html#langchain.utilities.google_search.GoogleSearchAPIWrapper
Just like BingS... | Add google search API url | https://api.github.com/repos/langchain-ai/langchain/issues/7471/comments | 1 | 2023-07-10T09:23:14Z | 2023-10-16T16:05:24Z | https://github.com/langchain-ai/langchain/issues/7471 | 1,796,347,569 | 7,471 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.219
Python 3.9
### 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
- [ ... | openai.error.InvalidRequestError: The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again. | https://api.github.com/repos/langchain-ai/langchain/issues/7470/comments | 2 | 2023-07-10T09:11:15Z | 2023-10-16T16:05:29Z | https://github.com/langchain-ai/langchain/issues/7470 | 1,796,327,821 | 7,470 |
[
"hwchase17",
"langchain"
] | ### Feature request
starting from 1.26.1, Vertex SDK exposes chat_history explicitly.
### Motivation
currently you can't work with chat_history if you use a fresh version of Vertex SDK
### Your contribution
yes, I'll do it. | Support new chat_history for Vertex AI | https://api.github.com/repos/langchain-ai/langchain/issues/7469/comments | 1 | 2023-07-10T08:54:03Z | 2023-07-13T05:13:31Z | https://github.com/langchain-ai/langchain/issues/7469 | 1,796,298,829 | 7,469 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.228
### Who can help?
@dev2049
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Docume... | TypeError: 'NoneType' object is not callable in SelfQueryRetriever.from_llm | https://api.github.com/repos/langchain-ai/langchain/issues/7468/comments | 3 | 2023-07-10T08:33:10Z | 2023-07-10T13:36:01Z | https://github.com/langchain-ai/langchain/issues/7468 | 1,796,263,402 | 7,468 |
[
"hwchase17",
"langchain"
] | ### Feature request
I am using pgvector and hoping for an MMR retrieval method similar to qdrant implementation.
### Motivation
MMR retrieval can return more diverse results, removing duplicate rows, which meets my needs (I did some testing on qdrant). However, I couldn't find an implementation in vectorstore of... | pgvector add implemention of MMR | https://api.github.com/repos/langchain-ai/langchain/issues/7466/comments | 3 | 2023-07-10T08:08:26Z | 2023-11-28T16:16:39Z | https://github.com/langchain-ai/langchain/issues/7466 | 1,796,222,961 | 7,466 |
[
"hwchase17",
"langchain"
] | ### System Info
```
LangChain version v0.0.228
Linux * 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Python 3.9.13
```
### Who can help?
@hwchase17
@agola11
@coyotespike
### Information
- [ ] The official example notebooks/scripts
- [X] My own mod... | BashChain allows Remote Control Execution. | https://api.github.com/repos/langchain-ai/langchain/issues/7463/comments | 1 | 2023-07-10T06:43:43Z | 2023-10-16T16:05:34Z | https://github.com/langchain-ai/langchain/issues/7463 | 1,796,085,216 | 7,463 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.208 python==3.10.12 linux==Ubuntu 20.04.6 LTS
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sele... | openai_api_key stored as string | https://api.github.com/repos/langchain-ai/langchain/issues/7462/comments | 2 | 2023-07-10T06:32:59Z | 2023-10-16T16:05:39Z | https://github.com/langchain-ai/langchain/issues/7462 | 1,796,067,285 | 7,462 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello every one!
Im triying to use an LLM models to consult data from OpenTargetPlatform (theyive information about disaeses and its bond with some molecules etc). They have and endpoint which can be access using Graph QL. OpenTargetPlatform have several query structures for diff... | Help using GraphQL tool | https://api.github.com/repos/langchain-ai/langchain/issues/7459/comments | 1 | 2023-07-10T05:22:54Z | 2023-10-16T16:05:45Z | https://github.com/langchain-ai/langchain/issues/7459 | 1,795,972,865 | 7,459 |
[
"hwchase17",
"langchain"
] | Hi there,
I am new to langchain and I encountered some problems when import `langchain.agents`.
I run `main.py` as follows:
```python
# main.py
# python main.py
import os
os.environ["OPENAI_API_KEY"]="my key"
import langchain.agents
```
Some errors occur:
```
Traceback (most recent call last):
Fi... | Error occurs when `import langchain.agents` | https://api.github.com/repos/langchain-ai/langchain/issues/7458/comments | 6 | 2023-07-10T04:43:44Z | 2023-10-21T16:07:20Z | https://github.com/langchain-ai/langchain/issues/7458 | 1,795,933,159 | 7,458 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.228
python 3.11.1
LLM: self hosting llm using [text-generation-inference](https://github.com/huggingface/text-generation-inference)
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Co... | The single quote in Example Input of SQLDatabaseToolkit will mislead LLM | https://api.github.com/repos/langchain-ai/langchain/issues/7457/comments | 16 | 2023-07-10T04:17:49Z | 2024-02-14T16:13:03Z | https://github.com/langchain-ai/langchain/issues/7457 | 1,795,907,276 | 7,457 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.195
python==3.9.17
system-info==ubuntu
### Who can help?
@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
... | Getting ` NotImplementedError: PythonReplTool does not support async` when trying to use `arun` on CSV agent | https://api.github.com/repos/langchain-ai/langchain/issues/7455/comments | 3 | 2023-07-10T02:48:11Z | 2024-02-14T16:13:08Z | https://github.com/langchain-ai/langchain/issues/7455 | 1,795,819,951 | 7,455 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.208
platform: win 10
python: 3.9.
The warning message is :
'Created a chunk of size 374, which is longer than the specified 100'.
### Who can help?
@hwchase17 @eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related C... | 'chunk_size' doesnt work on 'split_documents' function | https://api.github.com/repos/langchain-ai/langchain/issues/7452/comments | 2 | 2023-07-10T00:33:09Z | 2023-07-13T00:41:21Z | https://github.com/langchain-ai/langchain/issues/7452 | 1,795,665,180 | 7,452 |
[
"hwchase17",
"langchain"
] | Adding a unit test for any experimental module in the standard location, such as `tests/unit_tests/experimental/test_baby_agi.py`, leads to this failing unit test:
```python
../tests/unit_tests/output_parsers/test_base_output_parser.py ...................................F
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>... | Issue: Unable to add a unit test for experimental modules | https://api.github.com/repos/langchain-ai/langchain/issues/7451/comments | 5 | 2023-07-10T00:09:26Z | 2023-10-10T17:06:29Z | https://github.com/langchain-ai/langchain/issues/7451 | 1,795,646,919 | 7,451 |
[
"hwchase17",
"langchain"
] | ### System Info
lanchain: latest, python 3.10.10
This script writes the content to the file initially, but there is a flawed step when closing the file. I've extracted this log to show the issue. For some reason, the agent thinks that if it submits an empty text input with append set to false, the previous conte... | write_tool logic is off | https://api.github.com/repos/langchain-ai/langchain/issues/7450/comments | 2 | 2023-07-09T23:18:56Z | 2023-10-16T16:05:54Z | https://github.com/langchain-ai/langchain/issues/7450 | 1,795,626,027 | 7,450 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
We shouldn't have to sign up for another API just to follow the quickstart tutorial. Please replace this with something that doesn't require sign-up.
### Idea or request for content:
Proposal: Use `http://api.duckduckgo.com/?q=x&format=json`
Example:
`http://api.duckdu... | DOC: Please replace SERP_API examples with an alternative | https://api.github.com/repos/langchain-ai/langchain/issues/7448/comments | 1 | 2023-07-09T21:52:15Z | 2023-10-08T23:09:17Z | https://github.com/langchain-ai/langchain/issues/7448 | 1,795,579,900 | 7,448 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/supabase
Under '-- Create a table to store your documents' the id column is set to big serial but it is referenced later as uuid 10 lines down when creating the function
### Idea or request for ... | DOC: Table creation for Supabase (Postgres) has incorrect type | https://api.github.com/repos/langchain-ai/langchain/issues/7446/comments | 3 | 2023-07-09T20:33:00Z | 2023-08-11T00:15:17Z | https://github.com/langchain-ai/langchain/issues/7446 | 1,795,552,337 | 7,446 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain ==0.0.228, watchdog==3.0.0, streamlit==1.24.0, databutton==0.34.0, ipykernel==6.23.3
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts... | BabyAGI: Error storing results in vdb | https://api.github.com/repos/langchain-ai/langchain/issues/7445/comments | 5 | 2023-07-09T20:31:00Z | 2023-10-19T16:06:19Z | https://github.com/langchain-ai/langchain/issues/7445 | 1,795,551,743 | 7,445 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi. I'm trying to test the duckduckgoSearchRun tool and I'm running the basic example from the documentation https://python.langchain.com/docs/modules/agents/tools/integrations/ddg . I already have installed the certificates without any errors:
`./Install\ Certificates.command
-- ... | SSL certificate problem (even when verify = False) | https://api.github.com/repos/langchain-ai/langchain/issues/7443/comments | 1 | 2023-07-09T19:15:44Z | 2023-10-15T16:04:38Z | https://github.com/langchain-ai/langchain/issues/7443 | 1,795,527,141 | 7,443 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.215
python: 3.10.11
OS: Ubuntu 18.04
### 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... | list_tables_sql_db is not a valid tool, try another one. | https://api.github.com/repos/langchain-ai/langchain/issues/7440/comments | 3 | 2023-07-09T18:10:42Z | 2024-03-10T15:17:49Z | https://github.com/langchain-ai/langchain/issues/7440 | 1,795,505,933 | 7,440 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/chroma.html#basic-example-including-saving-to-disk
## Environment
- macOS
- Python 3.10.9
- langchain 0.0.228
- chromadb 0.3.26
Use https://github.com/hwchase17/langchain/blob/v0.0.22... | DOC: Bug in loading Chroma from disk (vectorstores/integrations/chroma) | https://api.github.com/repos/langchain-ai/langchain/issues/7436/comments | 2 | 2023-07-09T17:05:24Z | 2023-07-10T11:17:19Z | https://github.com/langchain-ai/langchain/issues/7436 | 1,795,484,020 | 7,436 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I followed the documentation @ https://python.langchain.com/docs/use_cases/code/twitter-the-algorithm-analysis-deeplake.
I replaced 'twitter-the-algorithm' with another code base I'm analyzing and used my own credentials from OpenAI and Deep Lake.
When I run the code (on VS ... | DOC: Code/twitter-the-algorithm-analysis-deeplake not working as written | https://api.github.com/repos/langchain-ai/langchain/issues/7435/comments | 8 | 2023-07-09T15:55:06Z | 2023-10-19T16:06:23Z | https://github.com/langchain-ai/langchain/issues/7435 | 1,795,458,482 | 7,435 |
[
"hwchase17",
"langchain"
] | ### System Info
```
$ uname -a
MINGW64_NT-10.0-19045 LAPTOP-4HTFESLT 3.3.6-341.x86_64 2022-09-05 20:28 UTC x86_64 Msys
$ python --version
Python 3.10.11
$ pip show langchain
Name: langchain
Version: 0.0.228
Summary: Building applications with LLMs through composability
Home-page: https://www.github.com/hw... | Have set my langchain+ tracing key, it is not being recognized | https://api.github.com/repos/langchain-ai/langchain/issues/7431/comments | 3 | 2023-07-09T14:50:31Z | 2024-08-08T13:14:06Z | https://github.com/langchain-ai/langchain/issues/7431 | 1,795,434,040 | 7,431 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.216
langchainplus-sdk==0.0.17
python==3.10
I'm trying to connect SQLDatabaseChain to AWS Athena and getting the following error:
```
conString = f"awsathena+rest://{AWS_ACCESS_KEY_ID}:{AWS_SECRET_ACCESS_KEY}@athena.{AWS_REGION_ID}.amazonaws.com/{DATABASE}"
engine_args={
... | SQLDatabase and SQLDatabaseChain with AWS Athena | https://api.github.com/repos/langchain-ai/langchain/issues/7430/comments | 12 | 2023-07-09T13:46:19Z | 2024-02-27T16:08:30Z | https://github.com/langchain-ai/langchain/issues/7430 | 1,795,409,409 | 7,430 |
[
"hwchase17",
"langchain"
] | ### System Info (M1 mac)
Python implementation: CPython
Python version : 3.11.4
IPython version : 8.14.0
Compiler : GCC 12.2.0
OS : Linux
Release : 5.15.49-linuxkit-pr
Machine : aarch64
Processor : CPU cores : 5
Architecture: 64bit
[('aiohttp', '3.8.4'), ('aiosignal'... | Similarity search returns random docs, not the ones that contain the specified keywords | https://api.github.com/repos/langchain-ai/langchain/issues/7427/comments | 9 | 2023-07-09T12:31:36Z | 2023-10-14T20:41:00Z | https://github.com/langchain-ai/langchain/issues/7427 | 1,795,381,432 | 7,427 |
[
"hwchase17",
"langchain"
] | ### System Info
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[15], line 15
12 qa = RetrievalQA(combine_documents_chain=qa_chain, retriever=retriever.as_retriever())
14 query = "halo"
---> 15... | TypeError: Object of type PromptTemplate is not JSON serializable | https://api.github.com/repos/langchain-ai/langchain/issues/7426/comments | 2 | 2023-07-09T10:02:36Z | 2023-10-15T16:04:53Z | https://github.com/langchain-ai/langchain/issues/7426 | 1,795,324,312 | 7,426 |
[
"hwchase17",
"langchain"
] | ### Feature request
We are using langchain for non-English applications. The prefix for system is hardcoded as "System":
```python
for m in messages:
if isinstance(m, HumanMessage):
role = human_prefix
elif isinstance(m, AIMessage):
role = ai_prefix
elif isinsta... | Can you make system_prefix customizable? | https://api.github.com/repos/langchain-ai/langchain/issues/7415/comments | 1 | 2023-07-08T22:26:17Z | 2023-10-14T20:09:47Z | https://github.com/langchain-ai/langchain/issues/7415 | 1,795,149,831 | 7,415 |
[
"hwchase17",
"langchain"
] | ### Feature request
Pipe `intermediate_steps` out of MR chain:
```
# Combining documents by mapping a chain over them, then combining results
combine_documents = MapReduceDocumentsChain(
# Map chain
llm_chain=map_llm_chain,
# Reduce chain
reduce_documents_chain=reduce_documen... | Pipe `intermediate_steps` out of map_reduce.run() | https://api.github.com/repos/langchain-ai/langchain/issues/7412/comments | 4 | 2023-07-08T19:14:30Z | 2024-02-09T16:25:54Z | https://github.com/langchain-ai/langchain/issues/7412 | 1,795,070,373 | 7,412 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.