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 with current documentation: The current document didn't cover the Metal support of Llama-cpp, which need different parameter to build. Also, the default parameter of initial LLM will crash error: ``` GGML_ASSERT: .../vendor/llama.cpp/ggml-metal.m:706: false && "not implemented" ``` ### Idea or req...
DOC: enhancement with Llama-cpp document
https://api.github.com/repos/langchain-ai/langchain/issues/7091/comments
1
2023-07-03T18:03:36Z
2023-07-03T23:57:09Z
https://github.com/langchain-ai/langchain/issues/7091
1,786,607,479
7,091
[ "hwchase17", "langchain" ]
### System Info When trying to do an aggregation on a table (I've tried average, min, max), two duplicate queries are being generated, resulting in an error ``` syntax error line 2 at position 0 unexpected 'SELECT'. [SQL: SELECT AVG(YEAR) FROM my_table SELECT AVG(YEAR) FROM my_table] ``` ### Who can help? _No...
SQLDatabaseChain Double Query
https://api.github.com/repos/langchain-ai/langchain/issues/7082/comments
5
2023-07-03T13:22:53Z
2023-10-12T16:07:47Z
https://github.com/langchain-ai/langchain/issues/7082
1,786,178,650
7,082
[ "hwchase17", "langchain" ]
### System Info LangChain: 0.0.221 Python: 3.9.17. OS: MacOS Ventura 13.3.1 (a) ### 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 / Pro...
KeyError when formatting FewShotPromptTemplate
https://api.github.com/repos/langchain-ai/langchain/issues/7079/comments
7
2023-07-03T12:23:47Z
2023-07-04T10:01:18Z
https://github.com/langchain-ai/langchain/issues/7079
1,786,073,569
7,079
[ "hwchase17", "langchain" ]
### System Info - Langchain Version 0.0.219 ## Where does the problem arise: When saving the OpenLLM model, there is a key called "llm_kwargs" which cannot be parsed when reloading the model. Instead the "llm_kwargs" should be directly inside the "llm" object without the key "llm_kwargs". ### Example ```json "llm...
Serialization of OpenLLM Local Inference Models does not work.
https://api.github.com/repos/langchain-ai/langchain/issues/7078/comments
4
2023-07-03T11:56:01Z
2023-10-09T16:05:35Z
https://github.com/langchain-ai/langchain/issues/7078
1,786,027,453
7,078
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am trying to develop a chatbot that can give answers from multiple namespace.That why I am try to use the MULTIRETREIVALQA chain but the langchain versions seems to be making some issues for me . Any suggestions? ### Suggestion: _No response_
I am trying to use multi retreival QA chain but not sure what version of langchain will be best?
https://api.github.com/repos/langchain-ai/langchain/issues/7075/comments
6
2023-07-03T11:12:00Z
2023-08-25T20:15:00Z
https://github.com/langchain-ai/langchain/issues/7075
1,785,956,452
7,075
[ "hwchase17", "langchain" ]
### System Info langchain-0.0.221 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 - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parser...
Issue:IndexError: list index out of range
https://api.github.com/repos/langchain-ai/langchain/issues/7067/comments
8
2023-07-03T07:33:27Z
2024-02-27T16:08:40Z
https://github.com/langchain-ai/langchain/issues/7067
1,785,526,295
7,067
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using Conversationalbuffermemory to maintain chathistory here is my code i dont know why my chathistory not working properly if any update required in my code please let me know I am using this code in my api class Chatbot: def __init__(self): self.model = "gpt-3.5...
Conversationalbuffermemory to maintain chathistory
https://api.github.com/repos/langchain-ai/langchain/issues/7066/comments
1
2023-07-03T06:05:30Z
2023-10-09T16:05:40Z
https://github.com/langchain-ai/langchain/issues/7066
1,785,402,763
7,066
[ "hwchase17", "langchain" ]
### Feature request I find it is quite useful when using JSON format prompt. Unfortunately, I cannot pass JSON format prompt to langchain. ### Motivation Here is prompt example, which gives detail instruction on how the GPT should response to the student. Could you please support the JSON format prompt in th...
Use JSON format prompt
https://api.github.com/repos/langchain-ai/langchain/issues/7065/comments
5
2023-07-03T04:47:47Z
2023-10-10T01:06:44Z
https://github.com/langchain-ai/langchain/issues/7065
1,785,310,309
7,065
[ "hwchase17", "langchain" ]
### Issue with current documentation: Example no longer working (key not found in dict) due to api changes: https://python.langchain.com/docs/modules/callbacks/how_to/multiple_callbacks ### Idea or request for content: Corrected Serialization in several places: from typing import Dict, Union, Any, List from la...
DOC: Multiple callback handlers
https://api.github.com/repos/langchain-ai/langchain/issues/7064/comments
1
2023-07-03T04:21:12Z
2023-10-09T16:05:51Z
https://github.com/langchain-ai/langchain/issues/7064
1,785,284,378
7,064
[ "hwchase17", "langchain" ]
### System Info v0.0.221 ### Who can help? @vowelparrot ### 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 ...
MultiQueryRetriever broken on master and needs tests
https://api.github.com/repos/langchain-ai/langchain/issues/7063/comments
0
2023-07-03T04:00:32Z
2023-07-04T05:09:35Z
https://github.com/langchain-ai/langchain/issues/7063
1,785,264,664
7,063
[ "hwchase17", "langchain" ]
### System Info index = VectorstoreIndexCreator(vectorstore_cls=DocArrayInMemorySearch, embedding=embeddings) index = index.from_loaders([PyMuPDFLoader('孙子兵法.pdf')]) query = '孙子兵法的战略' index.query(llm=OpenAIChat(streaming=True), question=query, chain_type="stuff") ### Who can help? _No response_ ### Information ...
OpenAIChat(streaming=True) donot work
https://api.github.com/repos/langchain-ai/langchain/issues/7062/comments
2
2023-07-03T04:00:09Z
2023-11-16T16:07:11Z
https://github.com/langchain-ai/langchain/issues/7062
1,785,264,380
7,062
[ "hwchase17", "langchain" ]
### System Info langchain = 0.0.218 python = 3.11.4 ### 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 ...
OPENAI_FUNCTIONS Agent Memory won't work inside of Streamlit st.chat_input element
https://api.github.com/repos/langchain-ai/langchain/issues/7061/comments
10
2023-07-03T03:11:16Z
2023-12-20T16:07:28Z
https://github.com/langchain-ai/langchain/issues/7061
1,785,201,120
7,061
[ "hwchase17", "langchain" ]
### System Info Langchina: 0.0.221, OS: WSL Python 3.11 ### Who can help? The memory did not record the full input message, it only record the input parameter values Below is a simple code to use the default ConversationBufferMemory. ++++++++++++++++++++++++++ llm = conn.connecting.get_model_azureopenai() ...
The memory did not record the full input message, it only record the input parameter values
https://api.github.com/repos/langchain-ai/langchain/issues/7060/comments
1
2023-07-03T03:10:39Z
2023-10-09T16:05:55Z
https://github.com/langchain-ai/langchain/issues/7060
1,785,200,414
7,060
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.221 WSL Python 3.11 ### If design a very simple chain which do not need any input parameters. Then run it, it will throw error. I think this without any input params may be useful. llm = conn.connecting.get_model_azureopenai() mem = langchain.memory.ConversationBufferMem...
Chain.run() without any param will cause error
https://api.github.com/repos/langchain-ai/langchain/issues/7059/comments
3
2023-07-03T02:43:11Z
2023-11-29T16:09:09Z
https://github.com/langchain-ai/langchain/issues/7059
1,785,176,797
7,059
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.221 langchainplus-sdk==0.0.19 Windows 10 ### Who can help? @dev2049 @homanp ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt...
get_openapi_chain fails to produce proper Openapi scheme when preparing url.
https://api.github.com/repos/langchain-ai/langchain/issues/7058/comments
3
2023-07-02T23:22:34Z
2023-10-08T16:05:10Z
https://github.com/langchain-ai/langchain/issues/7058
1,785,011,372
7,058
[ "hwchase17", "langchain" ]
### System Info Langchain version 0.0.221 Anthropic versions 0.3.1 and 0.3.2 Whenever using ChatAnthropic, this now appears. Version 0.2.10 works, but the below error appears since the Anthropic update a couple of days ago `Anthropic.__init__() got an unexpected keyword argument 'api_url' (type=type_error)` ...
Anthropic Upgrade issue
https://api.github.com/repos/langchain-ai/langchain/issues/7056/comments
2
2023-07-02T17:44:23Z
2023-10-08T16:05:15Z
https://github.com/langchain-ai/langchain/issues/7056
1,784,742,819
7,056
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.221 python:3.10.2 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Pars...
InvalidRequestError: This model's maximum context length
https://api.github.com/repos/langchain-ai/langchain/issues/7054/comments
2
2023-07-02T17:18:17Z
2023-08-09T01:43:27Z
https://github.com/langchain-ai/langchain/issues/7054
1,784,733,766
7,054
[ "hwchase17", "langchain" ]
### System Info langchain Version: 0.0.220 python 3.9.16 Windows 11/ ubuntu 22.04 anaconda ### Who can help? @agola11 When ingesting the attched file (I'm attaching a zip as .pkl cannot be updated) in a normal document splitting loop ```python embeddings = OpenAIEmbeddings() chunk_sizes = [512, 1024, 1536] ...
Chroma, Deeplake, Faiss indexing error ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (10379,) + inhomogeneous part.
https://api.github.com/repos/langchain-ai/langchain/issues/7053/comments
4
2023-07-02T17:04:55Z
2024-04-23T08:14:56Z
https://github.com/langchain-ai/langchain/issues/7053
1,784,729,131
7,053
[ "hwchase17", "langchain" ]
### Feature request The LLM chain strictly validates all input variables against placeholders in the template. It will throw an error if they don't match. I wish it could handle missing variables, thus making the prompt template more flexible. ```python def _validate_inputs(self, inputs: Dict[str, Any]) -> None:...
Chain support missing variable
https://api.github.com/repos/langchain-ai/langchain/issues/7044/comments
8
2023-07-02T12:16:49Z
2023-10-19T16:06:48Z
https://github.com/langchain-ai/langchain/issues/7044
1,784,612,945
7,044
[ "hwchase17", "langchain" ]
### System Info LangChain==0.0.177 Python==3.10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers...
Map_reduce not adapted to the 16k model 😲😥
https://api.github.com/repos/langchain-ai/langchain/issues/7043/comments
2
2023-07-02T11:30:01Z
2023-10-08T16:05:26Z
https://github.com/langchain-ai/langchain/issues/7043
1,784,594,777
7,043
[ "hwchase17", "langchain" ]
### System Info PYTHON: 3.11.4 LANGCHAIN: 0.0.220 FLATFORM: WINDOWS ### 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...
ClientSession._request() got an unexpected keyword argument 'verify'
https://api.github.com/repos/langchain-ai/langchain/issues/7042/comments
4
2023-07-02T07:29:01Z
2023-09-17T18:22:23Z
https://github.com/langchain-ai/langchain/issues/7042
1,784,502,508
7,042
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Can Plan-And-Execute models be conditioned to plan in particular directions instead of doing the planning alone? Say I'd like the planning to take place differently and the LLM always decides on an exhaustive manner ### Suggestion: _No response_
Issue: Conditioning planner with custom instructions in Plan-And-Execute models
https://api.github.com/repos/langchain-ai/langchain/issues/7041/comments
4
2023-07-02T06:57:36Z
2023-12-18T23:49:38Z
https://github.com/langchain-ai/langchain/issues/7041
1,784,492,675
7,041
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Can we nest agents in one another? I would like an agent to use a set of tools + an LLM to extract entities, and then another agent after this should use some other tools + LLM to refine them. ### Suggestion: _No response_
Issue: Nested agents
https://api.github.com/repos/langchain-ai/langchain/issues/7040/comments
3
2023-07-02T06:55:45Z
2024-01-15T17:33:23Z
https://github.com/langchain-ai/langchain/issues/7040
1,784,492,025
7,040
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Can we reuse intermediate steps for an agent defined using STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION? This is my definition: ``` agent_executor = initialize_agent( tools, llm, agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, verbose=True, retur...
Issue: Doubt on STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION
https://api.github.com/repos/langchain-ai/langchain/issues/7039/comments
2
2023-07-02T06:54:27Z
2023-11-29T16:09:14Z
https://github.com/langchain-ai/langchain/issues/7039
1,784,491,423
7,039
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Is there a difference between these two agent types? Where should one use either of them? ### Suggestion: _No response_
Issue: LLMSingleActionAgent vs STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION
https://api.github.com/repos/langchain-ai/langchain/issues/7038/comments
2
2023-07-02T06:52:29Z
2023-10-17T16:06:14Z
https://github.com/langchain-ai/langchain/issues/7038
1,784,490,903
7,038
[ "hwchase17", "langchain" ]
### System Info Using the latest version of langchain (0.0.220). ### 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...
TypeError: issubclass() arg 1 must be a class (importing AsyncCallbackHandler)
https://api.github.com/repos/langchain-ai/langchain/issues/7037/comments
2
2023-07-02T06:04:32Z
2023-10-09T16:06:06Z
https://github.com/langchain-ai/langchain/issues/7037
1,784,472,838
7,037
[ "hwchase17", "langchain" ]
### Feature request I was skimming through the repository for the MongoDB Agent and I discovered that it does not exist. Is it feasible to develop a MongoDB agent that establishes a connection with MongoDB, generates MongoDB queries based on given questions, and retrieves the corresponding data? ### Motivation Withi...
Agent for MongoDB
https://api.github.com/repos/langchain-ai/langchain/issues/7036/comments
17
2023-07-02T05:49:29Z
2024-04-12T16:16:25Z
https://github.com/langchain-ai/langchain/issues/7036
1,784,467,107
7,036
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I want to chain the ```SelfQueryRetriever``` with ```ConversationalRetrievalChain``` and stream the output. I tested it in synchronous function it's working. However, when I convert it to async function, it pauses there and the execution never ended, no output as well. I went through t...
SelfQueryRetriever not working in async call
https://api.github.com/repos/langchain-ai/langchain/issues/7035/comments
1
2023-07-02T05:17:42Z
2023-10-08T16:05:40Z
https://github.com/langchain-ai/langchain/issues/7035
1,784,455,921
7,035
[ "hwchase17", "langchain" ]
Hi, first up, thank you for making langchain! I was playing around a little and found a minor issue with loading online PDFs, and would like to start contributing to langchain maybe by fixing this. ### System Info langchain 0.0.220, google collab, python 3.10 ### Who can help? _No response_ ### Infor...
Loading online PDFs gives temporary file path as source in metadata
https://api.github.com/repos/langchain-ai/langchain/issues/7034/comments
4
2023-07-01T23:24:53Z
2023-11-29T20:07:47Z
https://github.com/langchain-ai/langchain/issues/7034
1,784,312,865
7,034
[ "hwchase17", "langchain" ]
### Feature request ## Summary Implement a new type of Langchain agent that reasons using a PLoT architecture as described in this paper: https://arxiv.org/abs/2306.12672 ## Notes * Such an agent would need to use a probabilistic programming language (the paper above used Church) to generate code that descri...
Probabilistic Language of Thought (PLoT) Agent Implementation
https://api.github.com/repos/langchain-ai/langchain/issues/7027/comments
2
2023-07-01T18:19:31Z
2023-10-07T16:04:57Z
https://github.com/langchain-ai/langchain/issues/7027
1,784,135,218
7,027
[ "hwchase17", "langchain" ]
### System Info OutputParserException: Could not parse LLM output: `df = [] for i in range(len(df)):` ### 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 / Pro...
OutputParserException: Could not parse LLM output: `df = [] for i in range(len(df)):`
https://api.github.com/repos/langchain-ai/langchain/issues/7024/comments
1
2023-07-01T16:41:37Z
2023-10-07T16:05:02Z
https://github.com/langchain-ai/langchain/issues/7024
1,784,075,187
7,024
[ "hwchase17", "langchain" ]
### System Info ``` langchain: latest as of yesterday M2 Pro 16 GB Macosx Darwin UAVALOS-M-NR30 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:23 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6020 arm64 Python 3.10.10 GNU Make 3.81 Apple clang version 14.0.3 (clang-1403.0.22...
Could not import sentence_transformers python package.
https://api.github.com/repos/langchain-ai/langchain/issues/7019/comments
9
2023-07-01T15:22:37Z
2024-03-18T14:01:19Z
https://github.com/langchain-ai/langchain/issues/7019
1,784,012,562
7,019
[ "hwchase17", "langchain" ]
### Feature request when i use jinja2 template, i get the following the problem template: ``` {% if a %}\n {{a}}\n {% endif %}\n {{b}} ``` and i pass b variable to template render,then the output like this ``` \n b ``` Each variable placeholder is followed by a '\n'. Since a is not passed in, and '\n' ...
jinja2 formate suppot trim_blocks mode
https://api.github.com/repos/langchain-ai/langchain/issues/7018/comments
1
2023-07-01T14:43:22Z
2023-10-07T16:05:07Z
https://github.com/langchain-ai/langchain/issues/7018
1,783,981,699
7,018
[ "hwchase17", "langchain" ]
### Feature request the following is part of the format code for PipelinePromptTemplate ```python def _get_inputs(inputs: dict, input_variables: List[str]) -> dict: return {k: inputs[k] for k in input_variables} class PipelinePromptTemplate(BasePromptTemplate): .... def format_prompt(self, **kwargs: Any...
PipelinePromptTemplate format_prompt should support missing keyword
https://api.github.com/repos/langchain-ai/langchain/issues/7016/comments
6
2023-07-01T13:16:11Z
2023-10-12T16:07:57Z
https://github.com/langchain-ai/langchain/issues/7016
1,783,894,983
7,016
[ "hwchase17", "langchain" ]
Attach my code ``` llm = OpenAI(model_name='gpt-4', temperature=0) embeddings = OpenAIEmbeddings(model='text-embedding-ada-002') docs = TextLoader("state_of_the_union.txt").load() text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0) texts = text_splitter.split_documents(docs) state_of_unio...
How to save embeddings when using Agent for local document Q&A to avoid unnecessary waste by rereading API calls to generate embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/7011/comments
1
2023-07-01T08:31:43Z
2023-10-07T16:05:17Z
https://github.com/langchain-ai/langchain/issues/7011
1,783,681,691
7,011
[ "hwchase17", "langchain" ]
I want to add memory context for Agent, so I referred to the document [here](https://python.langchain.com/docs/modules/memory/how_to/agent_with_memory) There is such a step in it ![image](https://github.com/hwchase17/langchain/assets/49063302/17005b7e-05f1-47b5-9d41-9766601bf56e) I want to implement the same ste...
How to add memory with` create_vectorstore_agent`
https://api.github.com/repos/langchain-ai/langchain/issues/7010/comments
2
2023-07-01T08:18:12Z
2023-10-07T16:05:22Z
https://github.com/langchain-ai/langchain/issues/7010
1,783,670,404
7,010
[ "hwchase17", "langchain" ]
### System Info I am using a create_pandas_dataframe_agent like so: ``` create_pandas_dataframe_agent(ChatOpenAI(model_name='gpt-4', temperature=0), df, verbose=True, max_iterations=2, early_stopping_method="generate", ...
python tool issue: NameError: name 're' is not defined
https://api.github.com/repos/langchain-ai/langchain/issues/7009/comments
2
2023-07-01T07:39:21Z
2023-10-07T16:05:28Z
https://github.com/langchain-ai/langchain/issues/7009
1,783,632,265
7,009
[ "hwchase17", "langchain" ]
### Feature request ElasticSearch embedding need a function to add single text string as Azure OpenAI only support single text input now. Message from Azure OpenAI Embedding: embed_documents(texts) # openai.error.InvalidRequestError: Too many inputs for model None. # The max number of inputs is 1. W...
ElasticSearch embedding need a function to add single text string as AzureOpenAI only support single text input now
https://api.github.com/repos/langchain-ai/langchain/issues/7004/comments
1
2023-07-01T03:54:40Z
2023-10-07T16:05:33Z
https://github.com/langchain-ai/langchain/issues/7004
1,783,463,930
7,004
[ "hwchase17", "langchain" ]
### Feature request [https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/faiss](https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/faiss) There's a section that allows you to filter the documents stored in FAISS It will be cool to allow results = db...
FAISS Support for filter while using the as_retriever()
https://api.github.com/repos/langchain-ai/langchain/issues/7002/comments
1
2023-07-01T02:31:45Z
2023-10-07T16:05:38Z
https://github.com/langchain-ai/langchain/issues/7002
1,783,366,350
7,002
[ "hwchase17", "langchain" ]
### System Info Python version: Python 3.10.6 Langchain version: 0.0.219 OS: Ubuntu 22.04 ### Who can help? @eyurtsev ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templat...
Bug of csv agent, basically all query failed with json error
https://api.github.com/repos/langchain-ai/langchain/issues/7001/comments
13
2023-07-01T01:11:10Z
2024-02-15T16:11:26Z
https://github.com/langchain-ai/langchain/issues/7001
1,783,315,774
7,001
[ "hwchase17", "langchain" ]
### System Info Most recent versions of all ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors ...
Unable to load OPENAI Embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/6999/comments
1
2023-06-30T22:26:08Z
2023-10-06T16:05:33Z
https://github.com/langchain-ai/langchain/issues/6999
1,783,222,113
6,999
[ "hwchase17", "langchain" ]
### Issue with current documentation: You can get chat completions by passing one or more messages to the chat model. The response will be a message. The types of messages currently supported in LangChain are AIMessage, HumanMessage, SystemMessage, and ChatMessage -- ChatMessage takes in an arbitrary role parameter. M...
DOC: <Please write a comprehensive title after the 'DOC: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/6998/comments
0
2023-06-30T20:58:25Z
2023-06-30T21:02:55Z
https://github.com/langchain-ai/langchain/issues/6998
1,783,160,731
6,998
[ "hwchase17", "langchain" ]
### System Info Macbook OSX Python 3.11.4 (main, Jun 25 2023, 18:18:14) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin LangChain Environment: sdk_version:0.0.17 library:langchainplus_sdk platform:macOS-13.3.1-arm64-arm-64bit runtime:python runtime_version:3.11.4 I'm getting this error, and no matter what co...
GoogleDriveLoader: AttributeError: 'Credentials' object has no attribute 'with_scopes'
https://api.github.com/repos/langchain-ai/langchain/issues/6997/comments
3
2023-06-30T20:25:55Z
2024-03-11T07:56:07Z
https://github.com/langchain-ai/langchain/issues/6997
1,783,124,885
6,997
[ "hwchase17", "langchain" ]
### System Info running google/flan-tf-xxl on ghcr.io/huggingface/text-generation-inference:0.8 langchain==0.0.220 text-generation==0.6.0 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [X] LLMs/Cha...
HuggingFaceTextGenInference does not accept 0 temperature
https://api.github.com/repos/langchain-ai/langchain/issues/6993/comments
4
2023-06-30T18:51:33Z
2023-09-29T16:20:59Z
https://github.com/langchain-ai/langchain/issues/6993
1,783,014,565
6,993
[ "hwchase17", "langchain" ]
### System Info Macos system ### 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 - [X] Output Parsers ...
langchain takes much time to reload
https://api.github.com/repos/langchain-ai/langchain/issues/6991/comments
3
2023-06-30T18:17:21Z
2023-10-07T16:05:43Z
https://github.com/langchain-ai/langchain/issues/6991
1,782,974,926
6,991
[ "hwchase17", "langchain" ]
`class VectaraRetriever` does not use the parameters passed in by `Vectara.as_retriever()`. The class definition sets up `vectorstore` and `search_kwargs` but then there is no check for values coming in from `Vectara.as_retriever()`. https://github.com/hwchase17/langchain/blob/e3b7effc8f39333076c2bedd7306de81ce988de...
VectaraRetriever does not use the parameters passed in by `Vectara.as_retriever()`
https://api.github.com/repos/langchain-ai/langchain/issues/6984/comments
4
2023-06-30T16:42:27Z
2023-10-08T16:05:51Z
https://github.com/langchain-ai/langchain/issues/6984
1,782,833,784
6,984
[ "hwchase17", "langchain" ]
### Issue with current documentation: The links in the documentation to make contributions to pages point to the wrong file location within the repository. For example, the link on the "Quickstart" page points to the filepath `docs/docs/get_started/quickstart.mdx`, when it should point to `docs/docs_skeleton/docs/get_...
DOC: "Edit this page" returns 404
https://api.github.com/repos/langchain-ai/langchain/issues/6983/comments
1
2023-06-30T16:33:59Z
2023-10-06T16:05:48Z
https://github.com/langchain-ai/langchain/issues/6983
1,782,823,112
6,983
[ "hwchase17", "langchain" ]
### System Info Here is my code to initialize the Chain, it should come with the default prompt template: qa_source_chain = RetrievalQAWithSourcesChain.from_chain_type( llm=llm_chat, chain_type="stuff", retriever=db_test.as_retriever() ) Here is the source chain object, I guess default template f...
RetrievalQAWithSourcesChain object default prompt is problematic
https://api.github.com/repos/langchain-ai/langchain/issues/6982/comments
2
2023-06-30T16:22:47Z
2023-10-06T16:05:53Z
https://github.com/langchain-ai/langchain/issues/6982
1,782,809,247
6,982
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Everything was working fine 10 min ago, but now when I use the ConversationalRetrievalQAChain I always get a 401 error, I tried 2 difrent API keys and the error persists, don't really know what the issue mght be, any ideas? This is the error log: [chain/error] [1:chain:conversatio...
Issue: 401 error when using ConversationalRetrievalQAChain
https://api.github.com/repos/langchain-ai/langchain/issues/6981/comments
3
2023-06-30T16:22:20Z
2023-10-06T16:05:58Z
https://github.com/langchain-ai/langchain/issues/6981
1,782,808,760
6,981
[ "hwchase17", "langchain" ]
### System Info Traceback (most recent call last): File "/Users/apple/Desktop/LLM/gpt4all_langchain_chatbots/teacher/lib/python3.10/site-packages/langchain/embeddings/llamacpp.py", line 85, in validate_environment from llama_cpp import Llama ModuleNotFoundError: No module named 'llama_cpp' During handling ...
llma Embeddings error
https://api.github.com/repos/langchain-ai/langchain/issues/6980/comments
3
2023-06-30T16:22:20Z
2023-12-01T16:09:18Z
https://github.com/langchain-ai/langchain/issues/6980
1,782,808,752
6,980
[ "hwchase17", "langchain" ]
### System Info langchain v0.0.220 Python 3.11.3 ### Who can help? @hwchase17 ### 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 ...
Error 422 when using BraveSearch
https://api.github.com/repos/langchain-ai/langchain/issues/6974/comments
1
2023-06-30T15:12:25Z
2023-10-06T16:06:03Z
https://github.com/langchain-ai/langchain/issues/6974
1,782,703,377
6,974
[ "hwchase17", "langchain" ]
### Feature request It would be great if the [JSONLinesLoader](https://js.langchain.com/docs/modules/indexes/document_loaders/examples/file_loaders/jsonlines) that's available in the JS version of Langchain could be ported to the Python version. ### Motivation I find working with jsonl files to be frequently easier ...
Using JSONLinesLoader in Python
https://api.github.com/repos/langchain-ai/langchain/issues/6973/comments
6
2023-06-30T13:31:03Z
2023-07-05T13:33:14Z
https://github.com/langchain-ai/langchain/issues/6973
1,782,539,266
6,973
[ "hwchase17", "langchain" ]
### System Info Traceback (most recent call last): File "/tmp/pycharm_project_93/test_qa_generation.py", line 50, in <module> result = qa.run({"question": query, "vectordbkwargs": vectordbkwargs }) File "/root/.cache/pypoetry/virtualenvs/irc-llm-0Bb4gJSe-py3.10/lib/python3.10/site-packages/langchain/chains/...
Cannot pass search_distance key to ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/6971/comments
2
2023-06-30T12:34:14Z
2023-07-03T04:37:06Z
https://github.com/langchain-ai/langchain/issues/6971
1,782,453,316
6,971
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.219 ### 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 - [ ] Outpu...
HuggingFacePipeline not working
https://api.github.com/repos/langchain-ai/langchain/issues/6970/comments
2
2023-06-30T11:37:16Z
2023-06-30T11:59:52Z
https://github.com/langchain-ai/langchain/issues/6970
1,782,380,145
6,970
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.208 penai==0.27.8 python==3.10.6 ### Who can help? @hwchase17 Could you please help me in resolving the error whenver I run an gaent with the LLM as ChatOpenAI() i get the response as **""Do I need to use a tool? No.""** While the agent returns the response perfectly fine with ll...
langchain.chat_models.ChatOpenAI does not returns a response while langchain.OpeAI does rteturn results
https://api.github.com/repos/langchain-ai/langchain/issues/6968/comments
3
2023-06-30T10:55:01Z
2023-10-23T16:07:22Z
https://github.com/langchain-ai/langchain/issues/6968
1,782,326,661
6,968
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. run langchain agent takes a lot of time,about 20s。the question is simple. Is there any good way reduce time? ### Suggestion: _No response_
langchain agent took a lot of time
https://api.github.com/repos/langchain-ai/langchain/issues/6965/comments
5
2023-06-30T08:34:20Z
2023-10-06T16:06:08Z
https://github.com/langchain-ai/langchain/issues/6965
1,782,126,816
6,965
[ "hwchase17", "langchain" ]
### Feature request I'd love to be able to extend the request URL with parameters. Currently I can only provide request headers. This does not cover my use case. ### Motivation Some APIs don't authenticate via headers and instead use URL parameters to provide API keys and Tokens. Example: [Trello API](https://...
Adding support for URL Parameters in RequestsWrapper
https://api.github.com/repos/langchain-ai/langchain/issues/6963/comments
3
2023-06-30T07:58:56Z
2024-06-16T08:34:56Z
https://github.com/langchain-ai/langchain/issues/6963
1,782,079,348
6,963
[ "hwchase17", "langchain" ]
### Feature request Please update the CSVLoader to take list of columns as source_column. ### Motivation This update will be be helpful, if the documents are embedded and used with vectordbs like Qdrant. As vectordbs like Qdrant offers filtering option, if the metadata is of Document object is used as payload then i...
Enable CSVLoader to take list of columns as source_column (or metadata)
https://api.github.com/repos/langchain-ai/langchain/issues/6961/comments
6
2023-06-30T07:44:50Z
2023-12-19T00:50:23Z
https://github.com/langchain-ai/langchain/issues/6961
1,782,060,256
6,961
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. from langchain.agents.agent_toolkits import SQLDatabaseToolkit from langchain.sql_database import SQLDatabase from transformers import AutoModel, AutoTokenizer model_name = ".\\langchain-models\\THUDM\\chatglm2-6b" local_model = AutoModel.from_pretrained(model_name, trust_remote_code...
i try to connect mysql database,but it give me a error about llm value is not a valid dict(type=type_error.dict),how to solve the problem?
https://api.github.com/repos/langchain-ai/langchain/issues/6959/comments
4
2023-06-30T07:02:07Z
2023-10-09T16:06:21Z
https://github.com/langchain-ai/langchain/issues/6959
1,782,008,769
6,959
[ "hwchase17", "langchain" ]
### Feature request CharacterTextSplitter split a size of 1GB code base with warnings exceed the log buffer, like ``` Created a chunk of size 2140, which is longer than the specified 900 Created a chunk of size 1269, which is longer than the specified 900 Created a chunk of size 1955, which is longer than the sp...
CharacterTextSplitter constanly generate chunks longer than given chunk_size
https://api.github.com/repos/langchain-ai/langchain/issues/6958/comments
4
2023-06-30T06:46:26Z
2023-12-13T16:08:43Z
https://github.com/langchain-ai/langchain/issues/6958
1,781,991,448
6,958
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ``` agent = initialize_agent(tools, llm, agent="zero-shot-react-description", return_intermediate_steps=True, verbose=True) agent = initialize_agent(tools, llm, agent="zero-shot-react-description", return_intermediate_steps=True, memory=ConversationBufferMemory(memory_key="chat_history...
ValueError: `run` not supported when there is not exactly one output key. Got ['output', 'intermediate_steps']
https://api.github.com/repos/langchain-ai/langchain/issues/6956/comments
8
2023-06-30T05:52:27Z
2024-05-19T05:48:47Z
https://github.com/langchain-ai/langchain/issues/6956
1,781,940,281
6,956
[ "hwchase17", "langchain" ]
### System Info ConversationalRetrievalChain with Question Answering with sources ```python llm = OpenAI(temperature=0) question_generator = LLMChain(llm=llm, prompt=CONDENSE_QUESTION_PROMPT) doc_chain = load_qa_with_sources_chain(llm, chain_type="map_reduce") chain = ConversationalRetrievalChain( retrieve...
Conversational Retrieval QA with sources cannot return source
https://api.github.com/repos/langchain-ai/langchain/issues/6954/comments
2
2023-06-30T03:17:04Z
2023-07-03T07:34:15Z
https://github.com/langchain-ai/langchain/issues/6954
1,781,805,088
6,954
[ "hwchase17", "langchain" ]
### Feature request Is there any way to store the Sentencebert/Bert/Spacy/Doc2vec based embeddings in the vector database using langchain ``` pages= "page content" embeddings = OpenAIEmbeddings() persist_directory = 'db' vectordb = Chroma.from_documents(documents=pages, embedding=embeddings, persist_directory=per...
Sentencebert/Bert/Spacy/Doc2vec embedding support
https://api.github.com/repos/langchain-ai/langchain/issues/6952/comments
8
2023-06-30T03:13:49Z
2023-10-06T16:06:18Z
https://github.com/langchain-ai/langchain/issues/6952
1,781,803,067
6,952
[ "hwchase17", "langchain" ]
my code: ``` from langchain.llms import HuggingFacePipeline from langchain.chains import ConversationalRetrievalChain pipe = pipeline( "text-generation", # task type model=model, tokenizer=tokenizer, max_new_tokens=1024, device=0, # very trick, gpu rank ) local_llm = Hug...
Issue: Get Confused with ConversationalRetrievalChain + HuggingFacePipeline always gen wizard "Helpful answer: "
https://api.github.com/repos/langchain-ai/langchain/issues/6951/comments
2
2023-06-30T02:41:25Z
2023-10-06T16:06:23Z
https://github.com/langchain-ai/langchain/issues/6951
1,781,775,217
6,951
[ "hwchase17", "langchain" ]
### Feature request Just curious if there is a feature to check whether the summarized output from a source document hallucinates or not by extending the checker chain. ### Motivation LLMSummarizationCheckerChain checks facts of summaries using LLM knowledge. The motivation is to develop a feature that checks for fa...
LLMSummarizationCheckerFromSource
https://api.github.com/repos/langchain-ai/langchain/issues/6950/comments
1
2023-06-30T02:19:22Z
2023-10-06T16:06:29Z
https://github.com/langchain-ai/langchain/issues/6950
1,781,757,970
6,950
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Genuinely wanted to know the reasonings behind the inclusion of "Mu" in the "PyMuPDFLoader". Coming from an Indian background my friend and I held 1-2 hours of discussion over what this represents and the conclusions were not so appropriate. We landed on this discussion after we no...
Inconsistent naming of document loaders
https://api.github.com/repos/langchain-ai/langchain/issues/6947/comments
1
2023-06-30T00:41:17Z
2023-06-30T15:56:45Z
https://github.com/langchain-ai/langchain/issues/6947
1,781,674,685
6,947
[ "hwchase17", "langchain" ]
### Issue with current documentation: From the [documentation](https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/few_shot_examples), it is not clear whether ‘FewShotPromptTemplate’ can be used with Chat models: in particular, it does not appear to be compatible with OpenAI’s suggested best ...
FewShotPromptTemplate with Chat models
https://api.github.com/repos/langchain-ai/langchain/issues/6946/comments
1
2023-06-30T00:35:45Z
2023-10-06T16:06:34Z
https://github.com/langchain-ai/langchain/issues/6946
1,781,669,365
6,946
[ "hwchase17", "langchain" ]
### Feature request [Brave Search](https://api.search.brave.com/app/dashboard) is a new interesting search engine It can be used in place of the `Google Search`. ### Motivation Users who are subscribers of Brave Search can use this. ### Your contribution I can try to implement it if somebody is interested in this...
add `Brave` Search
https://api.github.com/repos/langchain-ai/langchain/issues/6939/comments
2
2023-06-29T21:47:51Z
2023-06-30T15:24:25Z
https://github.com/langchain-ai/langchain/issues/6939
1,781,557,474
6,939
[ "hwchase17", "langchain" ]
### System Info Chroma v0.2.36, python 3.9 ### 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 - [ ]...
Chroma (duckdb+parquet) DB isn't saving the parquet files for persisted DB until application is killed
https://api.github.com/repos/langchain-ai/langchain/issues/6938/comments
9
2023-06-29T21:15:14Z
2023-10-06T16:39:27Z
https://github.com/langchain-ai/langchain/issues/6938
1,781,527,088
6,938
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.218 ### 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 - [ ] Documen...
Missing reference to o365_toolkit module in __init__.py of agent_toolkits
https://api.github.com/repos/langchain-ai/langchain/issues/6936/comments
4
2023-06-29T19:23:25Z
2023-09-28T16:20:50Z
https://github.com/langchain-ai/langchain/issues/6936
1,781,364,740
6,936
[ "hwchase17", "langchain" ]
### System Info The SageMaker Endpoint validation function currently throws a missing credential error if the region name is not provided in the input. However, it is crucial to perform input validation for the region name to provide the user with clear error information. GitHub Issue Reference: For the code refer...
SageMaker Endpoint - Validations
https://api.github.com/repos/langchain-ai/langchain/issues/6934/comments
3
2023-06-29T17:43:12Z
2023-11-30T16:08:26Z
https://github.com/langchain-ai/langchain/issues/6934
1,781,255,515
6,934
[ "hwchase17", "langchain" ]
### Feature request A universal approach to add openai functions specifically for output format control to `LLMchain`. Create a class that takes in dict, json, pydantic, or even rail specs (from guardrails) to preprocess classes or dictionaries into openai functions (function, parameters, and properties) for the `llm_...
General OpenAI Function Mapping from Pydantic, Dicts directly to function, parameters, and properties
https://api.github.com/repos/langchain-ai/langchain/issues/6933/comments
9
2023-06-29T17:07:09Z
2023-07-08T01:50:27Z
https://github.com/langchain-ai/langchain/issues/6933
1,781,214,707
6,933
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hello! I am currently using Langchain to interface with a [customLLM](https://python.langchain.com/docs/modules/model_io/models/llms/how_to/custom_llm) async. To do so, I am overriding the original `LLM` class as explained in the tutorial as such: ``` class LLMInterface(LLM): ...
Issue: How to create async calls to custom LLMs
https://api.github.com/repos/langchain-ai/langchain/issues/6932/comments
2
2023-06-29T17:06:20Z
2023-06-29T22:20:21Z
https://github.com/langchain-ai/langchain/issues/6932
1,781,213,657
6,932
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Would like to ask how we should deal with multiple destination chains where the chains are expecting different input variables? For e.g. in the tutorial for MultiPromptChain, i would like math questions to be directed to the PalChain instead of the standard LLMChain. With the initia...
Issue: How to handle RouterChain when 1 or more destination chain(s) which is expecting a different input variable?
https://api.github.com/repos/langchain-ai/langchain/issues/6931/comments
8
2023-06-29T16:45:54Z
2023-08-03T08:30:01Z
https://github.com/langchain-ai/langchain/issues/6931
1,781,186,169
6,931
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. The PRs wait for review (for any feedback) very long time. - Some sort of triage would be helpful. - Some sort of PR closure can be helpful. If something is wrong with PR this should be explained/discussed/addressed. Not providing **any feedback** is demoralizing for contributors....
PR-s wait the review forever
https://api.github.com/repos/langchain-ai/langchain/issues/6930/comments
7
2023-06-29T16:19:06Z
2023-11-19T22:54:48Z
https://github.com/langchain-ai/langchain/issues/6930
1,781,148,858
6,930
[ "hwchase17", "langchain" ]
### Feature request Please add support to invoke [Amazon SageMaker Asynchronous Endpoints](https://docs.aws.amazon.com/sagemaker/latest/dg/async-inference.html). This would require some code changes to the _call method of the SageMaker Endpoint class. Therefore, there is a need to create a new class, called Sagema...
Support for Amazon SageMaker Asynchronous Endpoints
https://api.github.com/repos/langchain-ai/langchain/issues/6928/comments
4
2023-06-29T15:31:14Z
2024-01-30T00:46:57Z
https://github.com/langchain-ai/langchain/issues/6928
1,781,073,650
6,928
[ "hwchase17", "langchain" ]
### System Info * Langchain-0.0.215 * Python3.8.6 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - ...
ValidationError: 1 validation error for MapRerankDocumentsChain
https://api.github.com/repos/langchain-ai/langchain/issues/6926/comments
11
2023-06-29T15:15:32Z
2024-06-01T00:07:43Z
https://github.com/langchain-ai/langchain/issues/6926
1,781,037,761
6,926
[ "hwchase17", "langchain" ]
### Feature request A colleague and I would like to implement an iterator version of the AgentExecutor. That is, we'd like to expose each intermediate step of the plan/action/observation loop. This should look something like: ```python3 inputs = ... # complex question that requires tool usage, multi-step for st...
Iterator version of AgentExecutor
https://api.github.com/repos/langchain-ai/langchain/issues/6925/comments
2
2023-06-29T15:13:26Z
2023-07-25T16:33:49Z
https://github.com/langchain-ai/langchain/issues/6925
1,781,033,687
6,925
[ "hwchase17", "langchain" ]
### Feature request Hello, I'd like to ask about supporting [BingNewsAPI](https://www.microsoft.com/en-us/bing/apis/bing-news-search-api), which the apis and response format is different from bing web search api, that I cannot utilize existing [BingSearchAPIWrapper](https://python.langchain.com/docs/modules/agents/t...
Support BingNewsApiWrapper on utilities
https://api.github.com/repos/langchain-ai/langchain/issues/6924/comments
2
2023-06-29T14:28:14Z
2023-08-31T07:22:13Z
https://github.com/langchain-ai/langchain/issues/6924
1,780,951,536
6,924
[ "hwchase17", "langchain" ]
### System Info Trying to get an agent to describe the contents of a particular URL for me, however, **my agent does not execute past first step**. Attached image to show what my code looks like and where it freezes as it runs. <img width="683" alt="freezing_agent" src="https://github.com/hwchase17/langchain/asse...
Structured Agent Search Not Working
https://api.github.com/repos/langchain-ai/langchain/issues/6923/comments
5
2023-06-29T14:25:29Z
2024-03-13T19:55:50Z
https://github.com/langchain-ai/langchain/issues/6923
1,780,945,041
6,923
[ "hwchase17", "langchain" ]
### Issue with current documentation: Hey, Love your product, and just wanted to give some constructive feedback. Your new layout and organization strategy on "https://python.langchain.com/docs/get_started/introduction.html" is significantly harder to navigate ### Idea or request for content: _No response_
DOC:
https://api.github.com/repos/langchain-ai/langchain/issues/6921/comments
4
2023-06-29T13:42:48Z
2023-09-28T18:26:50Z
https://github.com/langchain-ai/langchain/issues/6921
1,780,846,938
6,921
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.200 Python 3.11.4 Windows 10 ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output ...
FileCallbackHandler doesn't log entering new chain
https://api.github.com/repos/langchain-ai/langchain/issues/6920/comments
3
2023-06-29T13:15:39Z
2023-09-28T17:27:55Z
https://github.com/langchain-ai/langchain/issues/6920
1,780,800,182
6,920
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.200 Python 3.11.4 Windows 10 ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output ...
FileCallbackHandler should open file in UTF-8 encoding
https://api.github.com/repos/langchain-ai/langchain/issues/6919/comments
4
2023-06-29T13:10:04Z
2023-09-28T17:29:58Z
https://github.com/langchain-ai/langchain/issues/6919
1,780,791,122
6,919
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I want to create a chain to make query against my database. Also I want to add memory to this chain. Example of dialogue I want to see: Query: Who is an owner of website with domain domain.com? Answer: Boba Bobovich Query: Tell me his email Answer: Boba Bobovich's email is bo...
How to add memory to SQLDatabaseChain?
https://api.github.com/repos/langchain-ai/langchain/issues/6918/comments
43
2023-06-29T13:02:50Z
2024-07-13T03:00:41Z
https://github.com/langchain-ai/langchain/issues/6918
1,780,780,200
6,918
[ "hwchase17", "langchain" ]
### User based chat history How I do implementation of User based chat history management and thread management. Plaese give any suggestion regarding this. ### Suggestion: _No response_
Issue: User based chat history
https://api.github.com/repos/langchain-ai/langchain/issues/6917/comments
3
2023-06-29T12:37:35Z
2023-11-13T16:08:20Z
https://github.com/langchain-ai/langchain/issues/6917
1,780,741,688
6,917
[ "hwchase17", "langchain" ]
### System Info OS: `Ubuntu 22.04` Langchain Version: `0.0.219` Poetry Version: `1.5.1` Python Version: `3.10.6` ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embeddin...
make - ModuleNotFoundError: No module named 'scripts'
https://api.github.com/repos/langchain-ai/langchain/issues/6915/comments
5
2023-06-29T11:40:35Z
2023-11-25T16:08:49Z
https://github.com/langchain-ai/langchain/issues/6915
1,780,653,651
6,915
[ "hwchase17", "langchain" ]
### System Info langchain-0.0.219 python-3.9 macos-13.4.1 (22F82) ### 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 - [ ]...
Stream Mode does not recognize openai.error
https://api.github.com/repos/langchain-ai/langchain/issues/6907/comments
1
2023-06-29T09:36:28Z
2023-10-06T16:06:39Z
https://github.com/langchain-ai/langchain/issues/6907
1,780,466,588
6,907
[ "hwchase17", "langchain" ]
### System Info Using Google Colab, Python 3.10.12. Installing latest version of langchain as of today (v0.0.219, I believe). ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ]...
"ParserError: Error tokenizing data. C error: Expected 2 fields in line 4, saw 4"
https://api.github.com/repos/langchain-ai/langchain/issues/6906/comments
3
2023-06-29T09:29:43Z
2023-11-03T16:07:17Z
https://github.com/langchain-ai/langchain/issues/6906
1,780,456,921
6,906
[ "hwchase17", "langchain" ]
### System Info llm = OpenAI(temperature=0) chain = LLMChain(llm=llm, prompt=load_prompt("coolapk_prompt.json")) config = json.load(f) UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 108: illegal multibyte sequence ### Who can help? llm = OpenAI(temperature=0) chain = LLMChain(llm=llm, pro...
load_prompt Unable to set encoding for JSON files
https://api.github.com/repos/langchain-ai/langchain/issues/6900/comments
5
2023-06-29T06:48:33Z
2024-05-01T03:47:10Z
https://github.com/langchain-ai/langchain/issues/6900
1,780,233,553
6,900
[ "hwchase17", "langchain" ]
### System Info python 3.9 langchain 0.0.199 ### Who can help? @hwchase17 @agola11 @eyu ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output...
The ReDOS Attack for the regex in langchain
https://api.github.com/repos/langchain-ai/langchain/issues/6898/comments
1
2023-06-29T06:18:22Z
2023-10-05T16:06:45Z
https://github.com/langchain-ai/langchain/issues/6898
1,780,203,422
6,898
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.217 ### 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 Parsers - [ ] Document ...
SQLDatabaseChain cannot be loaded
https://api.github.com/repos/langchain-ai/langchain/issues/6889/comments
3
2023-06-28T21:29:40Z
2023-12-27T16:06:48Z
https://github.com/langchain-ai/langchain/issues/6889
1,779,800,725
6,889
[ "hwchase17", "langchain" ]
### System Info langchain-0.0.218 Python 3.10.10 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Par...
MultiQueryReceiver does not work
https://api.github.com/repos/langchain-ai/langchain/issues/6885/comments
0
2023-06-28T20:24:26Z
2023-06-28T20:37:18Z
https://github.com/langchain-ai/langchain/issues/6885
1,779,701,054
6,885
[ "hwchase17", "langchain" ]
### Feature request Several memory storage options have a "buffer" type which includes a pruning function that allows users to specify a max_tokens_limit which stops token overflow issues. I'm requesting this be included with the VectorStoreRetrieverMemory as well. ### Motivation Running into token overflow issues i...
Include pruning on VectorStoreRetrieverMemory
https://api.github.com/repos/langchain-ai/langchain/issues/6884/comments
0
2023-06-28T20:23:47Z
2023-06-28T20:49:16Z
https://github.com/langchain-ai/langchain/issues/6884
1,779,699,848
6,884
[ "hwchase17", "langchain" ]
### System Info Massive client changes as of this pr: https://github.com/anthropics/anthropic-sdk-python/commit/8d1d6af6527a3ef80b74dc3a466166ab7df057df Installing the latest anthropic client will cause langchain Anthropic LLM utiltiies to fail. Looks like api_url no longer exists (they've moved to base_url). ...
Incompatibility with latest Anthropic Client
https://api.github.com/repos/langchain-ai/langchain/issues/6883/comments
5
2023-06-28T19:50:00Z
2023-10-17T16:06:25Z
https://github.com/langchain-ai/langchain/issues/6883
1,779,642,812
6,883
[ "hwchase17", "langchain" ]
### Feature request Add a parameter to ConversationalRetrievalChain to skip the condense question prompt procedure. ### Motivation Currently, when using ConversationalRetrievalChain (with the from_llm() function), we have to run the input through a LLMChain with a default "condense_question_prompt" which con...
Allow skipping "condense_question_prompt" when using ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/6879/comments
9
2023-06-28T16:46:24Z
2024-03-16T16:07:47Z
https://github.com/langchain-ai/langchain/issues/6879
1,779,327,153
6,879
[ "hwchase17", "langchain" ]
### Feature request Can someone please create and integrate an in memory vector store based on purely numpy? I don't like that ChromaDB downloads to much deps when I just want something really simple. ### Motivation I saw this https://github.com/jdagdelen/hyperDB and it works so this should be in langchain ### ...
In memory vector store as python object based on purely numpy
https://api.github.com/repos/langchain-ai/langchain/issues/6877/comments
1
2023-06-28T16:17:22Z
2023-10-05T16:06:50Z
https://github.com/langchain-ai/langchain/issues/6877
1,779,281,098
6,877
[ "hwchase17", "langchain" ]
### System Info 0.0.218 OSX ### 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 Parsers - [X] Document Loaders ...
I think the SitemapLoader should be as robust with default options as the UnstructuredURLLoader, which has an option continue_on_failure set to true.
https://api.github.com/repos/langchain-ai/langchain/issues/6875/comments
1
2023-06-28T15:16:30Z
2023-10-05T16:06:55Z
https://github.com/langchain-ai/langchain/issues/6875
1,779,179,472
6,875
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. embeddings = OpenAIEmbeddings(model='text-embedding-ada-002',deployment='XXXXX',chunk_size=1) db = Chroma.from_documents(texts, embeddings) memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True,chat_memory=ChatMessageHistory(messages=[])) model = Co...
Issue: Unable to store user specific chat history in redis. Using ConversationalRetrievalChain along with ConversationBufferMemory
https://api.github.com/repos/langchain-ai/langchain/issues/6872/comments
5
2023-06-28T13:57:42Z
2024-02-01T09:29:07Z
https://github.com/langchain-ai/langchain/issues/6872
1,779,010,819
6,872
[ "hwchase17", "langchain" ]
### System Info While trying to run example from https://python.langchain.com/docs/modules/chains/popular/sqlite I get the following error: ```` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[42],...
SQLDatabaseChain - Questions/error
https://api.github.com/repos/langchain-ai/langchain/issues/6870/comments
19
2023-06-28T13:24:59Z
2024-08-02T23:29:36Z
https://github.com/langchain-ai/langchain/issues/6870
1,778,943,766
6,870
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. how to track token usage for OpenAIEmbeddings? it seems that get_openai_callback always return 0. ### Suggestion: _No response_
how to track token usage for OpenAIEmbeddings? it seems that get_openai_callback always return 0.
https://api.github.com/repos/langchain-ai/langchain/issues/6869/comments
3
2023-06-28T13:14:02Z
2023-10-06T16:06:44Z
https://github.com/langchain-ai/langchain/issues/6869
1,778,919,115
6,869