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" ]
### System Info Traceback (most recent call last): File "C:\Users\vivek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\langchain_community\vectorstores\azuresearch.py", line 97, in _get_search_client from azure.search.documents.indexe...
Azure
https://api.github.com/repos/langchain-ai/langchain/issues/15007/comments
1
2023-12-21T11:43:02Z
2024-03-28T16:08:28Z
https://github.com/langchain-ai/langchain/issues/15007
2,052,264,900
15,007
[ "hwchase17", "langchain" ]
### System Info aiohttp==3.9.1 aiosignal==1.3.1 annotated-types==0.6.0 anyio==4.2.0 attrs==23.1.0 cachetools==5.3.2 certifi==2023.11.17 charset-normalizer==3.3.2 colorama==0.4.6 dataclasses-json==0.6.3 distro==1.8.0 frozenlist==1.4.1 google-ai-generativelanguage==0.4.0 google-api-core==2.15.0 google-au...
ConversationalRetrievalChain not working with stream callback handler for ChatGoogleGenerativeAI
https://api.github.com/repos/langchain-ai/langchain/issues/15006/comments
1
2023-12-21T11:26:22Z
2024-02-27T04:48:21Z
https://github.com/langchain-ai/langchain/issues/15006
2,052,241,949
15,006
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Traceback (most recent call last): File "c:\Users\vivek\OneDrive\Desktop\SOPPOC\version.py", line 57, in <module> openAIEmbedd = FAISS.from_documents(texts, embeddings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\vivek\AppData\Local\Packages\Pyth...
ValueError: not enough values to unpack (expected 2, got 1)
https://api.github.com/repos/langchain-ai/langchain/issues/15005/comments
2
2023-12-21T11:13:46Z
2024-04-03T16:08:09Z
https://github.com/langchain-ai/langchain/issues/15005
2,052,224,049
15,005
[ "hwchase17", "langchain" ]
### System Info Python 3.10.10 langchain 0.0.350 langchain-community 0.0.3 langchain-core 0.1.1 Windows Machine VSCode ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [X] My own mo...
Agent Executor Error code: 404
https://api.github.com/repos/langchain-ai/langchain/issues/15004/comments
2
2023-12-21T09:52:59Z
2023-12-22T07:08:41Z
https://github.com/langchain-ai/langchain/issues/15004
2,052,095,894
15,004
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. _No response_ ### Suggestion: _No response_
Does ConversationalRetrievalChain Support Streaming Replies?how to use this streaming with custom pre-trained models?
https://api.github.com/repos/langchain-ai/langchain/issues/15002/comments
1
2023-12-21T08:49:32Z
2024-03-28T16:08:17Z
https://github.com/langchain-ai/langchain/issues/15002
2,051,982,197
15,002
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. i passed my vectorestore as an retriver on the context but in rag_chai response will shows an openai response not from my vectorstore data so give some support to fix it
Issue: prompt template response will be come's from openai not from my vectorestore
https://api.github.com/repos/langchain-ai/langchain/issues/15001/comments
1
2023-12-21T08:43:50Z
2023-12-22T04:58:46Z
https://github.com/langchain-ai/langchain/issues/15001
2,051,972,351
15,001
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am not getting output as per prompt, what is neccessary modification or changes i need to do. def chat_langchain(new_project_qa, query, not_uuid): check = query.lower() relevant_document = result['source_documents'] user_experience_inst = UserExperience.objects.get(not_...
Issue: not getting output as per prompt,what is neccessary changes i need to do?
https://api.github.com/repos/langchain-ai/langchain/issues/15000/comments
3
2023-12-21T08:28:42Z
2024-03-28T16:08:13Z
https://github.com/langchain-ai/langchain/issues/15000
2,051,951,382
15,000
[ "hwchase17", "langchain" ]
### Issue with current documentation: 404 page: https://python.langchain.com/docs/contributing/integration referenced by: https://python.langchain.com/docs/contributing/ ![image](https://github.com/langchain-ai/langchain/assets/33118163/360d1a67-0c2c-471a-aba1-2eef21bc8f9a) ### Idea or request for content: ...
DOC: Document PAGE NOT FOUND
https://api.github.com/repos/langchain-ai/langchain/issues/14998/comments
5
2023-12-21T07:49:36Z
2023-12-24T09:09:50Z
https://github.com/langchain-ai/langchain/issues/14998
2,051,897,510
14,998
[ "hwchase17", "langchain" ]
### Feature request Add the implementation of '_create_chat_result()' method for MiniMax's current implementation to allow it being accepted as one of the chat models ### Motivation Currently MiniMax's chat functionality does not work properly with Langchain, as described in this issue: https://github.com/langch...
Add implementation of '_create_chat_result()' method for MiniMax's current implementation
https://api.github.com/repos/langchain-ai/langchain/issues/14996/comments
2
2023-12-21T05:02:10Z
2024-03-28T16:08:07Z
https://github.com/langchain-ai/langchain/issues/14996
2,051,702,953
14,996
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am having a problem adding function calling to a chain of type ConversationalRetrievalChain. I need help finding a solution. Here is my code, which creates a ConversationalRetrievalChain to retrieve local knowledge and generate chat history information in a summary format. It works ...
Issue: Adding function calling to ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/14988/comments
1
2023-12-21T02:57:09Z
2024-03-28T16:08:02Z
https://github.com/langchain-ai/langchain/issues/14988
2,051,606,338
14,988
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm looking to use a HuggingFace pipeline using Mistral 7b. I am attempting to pass this into an AgentExectutor and use a retriever based tool. ```python from langchain.agents.agent_toolkits import create_retriever_tool from langchain_core.pydantic_v1 import BaseModel, Field ...
Issue: Unable to return documents in my custom llm / agent executor implementation
https://api.github.com/repos/langchain-ai/langchain/issues/14987/comments
2
2023-12-21T02:56:10Z
2024-04-30T16:37:55Z
https://github.com/langchain-ai/langchain/issues/14987
2,051,605,621
14,987
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I used AsyncCallbackHandler for callback. When I pushed the content to the front end through on_llm_new_token, I found that the markdown code block was missing a newline character, which caused the front end to be unable to render the markdown format normally. However, when I retrieved t...
Issue: Obtain the content output by AsyncCallbackHandler on_llm_new_token and send it to the front end to find that the newline character is missing.
https://api.github.com/repos/langchain-ai/langchain/issues/14986/comments
1
2023-12-21T02:13:25Z
2023-12-25T09:16:45Z
https://github.com/langchain-ai/langchain/issues/14986
2,051,569,869
14,986
[ "hwchase17", "langchain" ]
### System Info langchain version: v0.0.352 python version: 3.11 Hi there! After that PR https://github.com/langchain-ai/langchain/pull/14713 was merged, I started getting errors in stream() method: ``` File .../lib/python3.11/site-packages/langchain_core/_api/deprecation.py:295, in warn_deprecated(since, messag...
ChatOllama stream method raises warn_deprecated NotImplementedError
https://api.github.com/repos/langchain-ai/langchain/issues/14980/comments
5
2023-12-20T23:51:39Z
2024-04-26T16:13:31Z
https://github.com/langchain-ai/langchain/issues/14980
2,051,462,141
14,980
[ "hwchase17", "langchain" ]
### Feature request ## Context: I am currently developing a custom scraper using the LangChain tools, following the provided documentation. The core functionality involves extracting paragraphs from a list of URLs using the AsyncHtmlLoader and the Beautiful Soup transformer: loader = AsyncHtmlLoader(urls) docs ...
Ignoring Specific Paragraphs or Divs in Web Scraping with LangChain
https://api.github.com/repos/langchain-ai/langchain/issues/14979/comments
2
2023-12-20T23:46:42Z
2023-12-21T00:27:04Z
https://github.com/langchain-ai/langchain/issues/14979
2,051,459,162
14,979
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Proposing updates to the SyntheticDataGenerator interface to create a cleaner foundation for building community integrations for synthetic tabular models like [Gretel](https://gretel.ai/tabular-llm) [[docs](https://docs.gretel.ai/reference/tabular-llm)] ### Suggestion: # Existing...
Issue: Requesting Feedback on Integrating Gretel for Synthetic Tabular Generation
https://api.github.com/repos/langchain-ai/langchain/issues/14975/comments
1
2023-12-20T22:29:45Z
2024-03-27T16:09:32Z
https://github.com/langchain-ai/langchain/issues/14975
2,051,385,822
14,975
[ "hwchase17", "langchain" ]
### System Info Currently, I am using OpenAI LLM and Gemini Pro all being used my LangChain. I am also using Google's embedding-001 model and Cohere base model (tested each embedding and both either reply back in english first then another language or straight to another language). Here is my prompt template: <c...
LLMs start replying in other languages
https://api.github.com/repos/langchain-ai/langchain/issues/14974/comments
3
2023-12-20T22:14:57Z
2024-03-29T16:07:40Z
https://github.com/langchain-ai/langchain/issues/14974
2,051,361,571
14,974
[ "hwchase17", "langchain" ]
### System Info Langchain Version: langchain 0.0.350, langchain-community 0.0.3, langchain-core 0.1.1 Python Version: 3.10.6 Operating System: macOs Additional Libraries: boto 2.49.0, boto3 1.34.1 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified ...
Issue with DynamoDBChatMessageHistory Not Respecting max_token_limit in ConversationTokenBufferMemory
https://api.github.com/repos/langchain-ai/langchain/issues/14957/comments
8
2023-12-20T14:15:02Z
2024-06-08T16:08:05Z
https://github.com/langchain-ai/langchain/issues/14957
2,050,634,701
14,957
[ "hwchase17", "langchain" ]
### Feature request **Issue Title:** Enhance NLATool Authentication in ChatGPT OpenAPI **Description:** I have identified a feature gap in the current implementation of ChatGPT OpenAPI when using NLATool as a proxy for authentication. The existing logic does not fully meet downstream requirements, and I intend ...
Feature Request - ChatGPT OpenAPI NLATool Authentication Implementation Logic
https://api.github.com/repos/langchain-ai/langchain/issues/14956/comments
2
2023-12-20T13:50:27Z
2024-03-20T09:55:40Z
https://github.com/langchain-ai/langchain/issues/14956
2,050,590,779
14,956
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.351 langchain-community: 0.0.4 langchain-core: 0.1.1 langchain-experimental: 0.0.47 python: 3.10.4 ### Who can help? @hwchase17 , @agola11 , @eyurtsev ### Information - [X] The official exampl...
getting the error "TypeError: Agent.plan() got multiple values for argument 'intermediate_steps'" with agent_executor
https://api.github.com/repos/langchain-ai/langchain/issues/14954/comments
3
2023-12-20T12:09:18Z
2024-04-11T16:13:43Z
https://github.com/langchain-ai/langchain/issues/14954
2,050,427,439
14,954
[ "hwchase17", "langchain" ]
### System Info python 3.10 langchain 0.0.351 Windows 10 ### Who can help? @agola11 ### 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 Pa...
Incorrect debug logs for llm/start prompts
https://api.github.com/repos/langchain-ai/langchain/issues/14952/comments
1
2023-12-20T11:21:35Z
2024-03-27T16:09:22Z
https://github.com/langchain-ai/langchain/issues/14952
2,050,355,938
14,952
[ "hwchase17", "langchain" ]
I am trying to run the LLMChain using `llm_chain = LLMChain(llm=llm, prompt=prompt)`, where `llm` is a custom LLM defined based on https://python.langchain.com/docs/modules/model_io/llms/custom_llm, While trying to run this I am getting the following error: `Can't instantiate abstract class BaseLanguageModel with...
Issue: Getting an error while trying to run LLMChain with Custom LLM
https://api.github.com/repos/langchain-ai/langchain/issues/14951/comments
3
2023-12-20T10:28:46Z
2024-05-08T16:06:50Z
https://github.com/langchain-ai/langchain/issues/14951
2,050,271,687
14,951
[ "hwchase17", "langchain" ]
### System Info unable to resolve below issue ![image](https://github.com/langchain-ai/langchain/assets/144101750/a7b75fce-bb32-4b13-ab3e-e122455e3213) ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs...
ImportError: cannot import name 'AzureOpenAIEmbeddings' from 'langchain.embeddings' (/opt/conda/lib/python3.10/site-packages/langchain/embeddings/__init__.py)
https://api.github.com/repos/langchain-ai/langchain/issues/14950/comments
7
2023-12-20T10:26:52Z
2024-02-01T18:40:51Z
https://github.com/langchain-ai/langchain/issues/14950
2,050,268,609
14,950
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.338 python: 3.9 ### Who can help? @hwchase17 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] O...
The calculated score is wrong when using DistanceStrategy.MAX_INNER_PRODUCT (Faiss)
https://api.github.com/repos/langchain-ai/langchain/issues/14948/comments
3
2023-12-20T09:29:25Z
2024-03-27T16:09:17Z
https://github.com/langchain-ai/langchain/issues/14948
2,050,173,519
14,948
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using langchain with gpt 4 model. Im using the create pandas dataframe agent for my use case. For 60 % of the time i run the code, im getting below error- An output parsing error occurred. In order to pass this error back to the agent and have it try again, pass `handle_parsing_e...
Issue: Getting 'An output parsing error occurred' error even after passing 'handle_parsing_errors=True' to the agent
https://api.github.com/repos/langchain-ai/langchain/issues/14947/comments
6
2023-12-20T09:28:03Z
2024-07-03T16:04:51Z
https://github.com/langchain-ai/langchain/issues/14947
2,050,171,291
14,947
[ "hwchase17", "langchain" ]
### System Info loader1 = CSVLoader(file_path='/home/calvin/下载/test.csv') Doc = loader1.load() text_splitter = CharacterTextSplitter(chunk_size=100,chunk_overlap=0) texts = text_splitter.split_documents(Doc) embeddings = OpenAIEmbeddings() db = Chroma.from_documents(texts, embeddings) retriever = db.as_retriev...
openai migrate
https://api.github.com/repos/langchain-ai/langchain/issues/14946/comments
2
2023-12-20T08:08:13Z
2024-03-27T16:09:12Z
https://github.com/langchain-ai/langchain/issues/14946
2,050,054,174
14,946
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, I can't find from how to deploy gpt-4-turbo in langchain. Could anyone please tell me throuhg which module gpt-4-turbo can be deployed? Seems that the langchain.llm has already been removed from new version of langchain. ### Suggestion: _No response_
Issue: how to deploy gpt-4-turbo through langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14945/comments
3
2023-12-20T05:36:23Z
2024-05-04T14:21:13Z
https://github.com/langchain-ai/langchain/issues/14945
2,049,869,786
14,945
[ "hwchase17", "langchain" ]
### System Info Langchain == 0.0.351 Python == 3.10.6 Running in AWS sagemaker notebook, issue occurred on multiple kernels. Code worked perfectly yesterday, error occurred upon starting up this morning (12/19/23) Code worked again upon reverting to 0.0.349 ### Who can help? _No response_ ### Information ...
ImportError: cannot import name 'LLMContentHandler' from 'langchain.llms.sagemaker_endpoint' occurring with 0.0.351
https://api.github.com/repos/langchain-ai/langchain/issues/14944/comments
1
2023-12-20T05:20:21Z
2024-03-27T16:09:07Z
https://github.com/langchain-ai/langchain/issues/14944
2,049,856,660
14,944
[ "hwchase17", "langchain" ]
How does AgentExecutor make LLM on_llm_new_token most streaming output instead of AgentExecutorIterator? The current effect is that it will stream out AgentExecutorIterator Desired effect: streams LLM on_llm_new_token
How does AgentExecutor make LLM on_llm_new_token most streaming output instead of AgentExecutorIterator?
https://api.github.com/repos/langchain-ai/langchain/issues/14943/comments
5
2023-12-20T03:56:17Z
2024-03-27T16:09:02Z
https://github.com/langchain-ai/langchain/issues/14943
2,049,786,926
14,943
[ "hwchase17", "langchain" ]
### Feature request There is a new implementation of function call which I think isn't supported by langchain yet. https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/function-calling ### Motivation AzureChatOpenAI models can't be used by OpenAIFunctionAgent due to the implementation issue. ### You...
Support tool for AzureChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/14941/comments
1
2023-12-20T03:10:10Z
2024-03-27T16:08:57Z
https://github.com/langchain-ai/langchain/issues/14941
2,049,755,836
14,941
[ "hwchase17", "langchain" ]
### System Info Traceback (most recent call last): File "c:\Users\vivek\OneDrive\Desktop\Hackathon\doc.py", line 43, in <module> db = FAISS.from_documents(documents=pages, embedding=embeddings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\vivek\AppData\Local\Packages\...
Embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/14939/comments
1
2023-12-20T02:50:23Z
2024-03-27T16:08:52Z
https://github.com/langchain-ai/langchain/issues/14939
2,049,741,707
14,939
[ "hwchase17", "langchain" ]
假设我基于langchain分别实现了用于数据库查询的mysqlagent、用于访问外部链接apichain、以及用于rag的知识查询agent,我如何通过用户输入,将用户的请求分发到不同的agent
agent意图识别
https://api.github.com/repos/langchain-ai/langchain/issues/14937/comments
1
2023-12-20T02:23:37Z
2024-03-27T16:08:47Z
https://github.com/langchain-ai/langchain/issues/14937
2,049,722,601
14,937
[ "hwchase17", "langchain" ]
### System Info C:\Users\vivek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\langchain\embeddings\azure_openai.py:101: UserWarning: As of openai>=1.0.0, Azure endpoints should be specified via the `azure_endpoint` param not `openai_api_base`...
AZure Openai Embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/14934/comments
8
2023-12-20T01:40:55Z
2024-05-23T16:34:06Z
https://github.com/langchain-ai/langchain/issues/14934
2,049,674,847
14,934
[ "hwchase17", "langchain" ]
### System Info File "C:\Users\vivek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\flask\app.py", line 2190, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\vivek\AppDat...
ValueError: not enough values to unpack (expected 2, got 1)
https://api.github.com/repos/langchain-ai/langchain/issues/14918/comments
1
2023-12-19T17:30:51Z
2024-03-26T16:08:41Z
https://github.com/langchain-ai/langchain/issues/14918
2,049,130,491
14,918
[ "hwchase17", "langchain" ]
### System Info Langchain: v0.0.350 OS: Linux ### 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 - [ ] Output Parsers - [ ...
Issue when working with Azure and OpenAI Callback
https://api.github.com/repos/langchain-ai/langchain/issues/14912/comments
4
2023-12-19T15:33:15Z
2024-06-14T23:28:11Z
https://github.com/langchain-ai/langchain/issues/14912
2,048,902,467
14,912
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have a document, which contains general text and tables. I embedded this document using LangChain to build a bot with Node.js. The bot answers correctly for general text in the document, but gives incorrect answers for table data. How do I update? ### Suggestion: _No response_
How to embed the table data?
https://api.github.com/repos/langchain-ai/langchain/issues/14911/comments
2
2023-12-19T15:11:34Z
2024-03-26T16:08:36Z
https://github.com/langchain-ai/langchain/issues/14911
2,048,861,237
14,911
[ "hwchase17", "langchain" ]
### System Info python: 3.11.4 langchain: 0.0.351 requests: 2.31.0 ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ...
`urllib3.connectionpool` warnings after upgrading to LangChain 0.0.351
https://api.github.com/repos/langchain-ai/langchain/issues/14909/comments
1
2023-12-19T14:53:36Z
2024-03-26T16:08:31Z
https://github.com/langchain-ai/langchain/issues/14909
2,048,823,526
14,909
[ "hwchase17", "langchain" ]
### Issue with current documentation: Ref: https://python.langchain.com/docs/integrations/providers/wandb_tracking > Note: the WandbCallbackHandler is being deprecated in favour of the WandbTracer . In future please use the WandbTracer as it is more flexible and allows for more granular logging. To know more about ...
Link to agent_with_wandb_tracing.html notebook is broken
https://api.github.com/repos/langchain-ai/langchain/issues/14905/comments
1
2023-12-19T14:22:07Z
2024-03-26T16:08:26Z
https://github.com/langchain-ai/langchain/issues/14905
2,048,761,131
14,905
[ "hwchase17", "langchain" ]
Cannot import LLMContentHandler langchain: 0.0.351 python: 3.9 To reproduce: ``` python from langchain.llms.sagemaker_endpoint import LLMContentHandler ``` Issue could be resolved by updating https://github.com/langchain-ai/langchain/blob/583696732cbaa3d1cf3a3a9375539a7e8785850c/libs/langchain/langchai...
Issue: cannot import name 'LLMContentHandler' from 'langchain.llms.sagemaker_endpoint
https://api.github.com/repos/langchain-ai/langchain/issues/14904/comments
1
2023-12-19T13:53:31Z
2023-12-19T15:00:33Z
https://github.com/langchain-ai/langchain/issues/14904
2,048,707,893
14,904
[ "hwchase17", "langchain" ]
### System Info In chain.py, relative code as below: ``` def get_retriever(text): _query = text llm = ... chroma_docs = [...] _model_name, _embedding = get_embedding_HuggingFace() chroma_vdb = Chroma.from_documents(chroma_docs, _embedding) document_content_description = "..." metad...
No input box show up when running the playground
https://api.github.com/repos/langchain-ai/langchain/issues/14902/comments
1
2023-12-19T13:16:06Z
2024-03-26T16:08:21Z
https://github.com/langchain-ai/langchain/issues/14902
2,048,640,189
14,902
[ "hwchase17", "langchain" ]
### Issue with current documentation: Current: ``` class AzureChatOpenAI(ChatOpenAI): """`Azure OpenAI` Chat Completion API. To use this class you must have a deployed model on Azure OpenAI. Use `deployment_name` in the constructor to refer to the "Model deployment name" in the Azure portal. ...
DOC: Wrong parameter name in doc string
https://api.github.com/repos/langchain-ai/langchain/issues/14901/comments
1
2023-12-19T12:54:07Z
2024-03-26T16:08:16Z
https://github.com/langchain-ai/langchain/issues/14901
2,048,603,807
14,901
[ "hwchase17", "langchain" ]
### System Info The `description` attribute of the function parameters described in our Pydantic *v2* model are missing in the output of `convert_to_openai_function` because it does not recognize Pydantic v2 `BaseModel` as a valid v1 `BaseModel`. https://github.com/langchain-ai/langchain/blob/16399fd61d7744c529cc...
`convert_to_openai_function` drops `description` for each parameter
https://api.github.com/repos/langchain-ai/langchain/issues/14899/comments
9
2023-12-19T10:51:41Z
2024-06-01T00:07:38Z
https://github.com/langchain-ai/langchain/issues/14899
2,048,405,277
14,899
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am working on implementing streaming for my ConversationRetrieval chain calls, and I plan to leverage the AsyncIteratorCallbackHandler along with its aiter method. While reviewing the source code, I noticed that the response from the on_llm_end method is not currently added to the queu...
Issue: Enhancing Streaming and Database Integration in ConversationRetrieval with AsyncIteratorCallbackHandler
https://api.github.com/repos/langchain-ai/langchain/issues/14898/comments
5
2023-12-19T10:08:44Z
2024-04-03T16:08:04Z
https://github.com/langchain-ai/langchain/issues/14898
2,048,330,418
14,898
[ "hwchase17", "langchain" ]
### Feature request Currently (0.0.350) the Xata integration always creates new records with `XataVectorStore.from_documents`. Provide the option to update embeddings and column content of existing record ids. ### Motivation This will provide the capability to update Xata Vector Stores. ### Your contribution Xa...
Update records in the Xata integration
https://api.github.com/repos/langchain-ai/langchain/issues/14897/comments
1
2023-12-19T10:00:54Z
2024-03-26T16:08:11Z
https://github.com/langchain-ai/langchain/issues/14897
2,048,316,746
14,897
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.350 langchain-community 0.0.3 langchain-core 0.1.1 yandexcloud 0.248.0 Python 3.9.0 Windows 10 ### Who can help? _No response_ ### Information - [ ] The offic...
YandexGPT crashes with error "You have to specify folder ID for user account"
https://api.github.com/repos/langchain-ai/langchain/issues/14896/comments
3
2023-12-19T09:29:50Z
2023-12-19T09:56:08Z
https://github.com/langchain-ai/langchain/issues/14896
2,048,263,486
14,896
[ "hwchase17", "langchain" ]
### System Info Hi folks, I am getting one error in which sometime agent gives the exact same answer as it has output for the previous question. Here is the screen shot of my replies ![image](https://github.com/langchain-ai/langchain/assets/100353004/3e42f54b-cb48-4515-9ee8-05675156bbf1) Since it is giving t...
Comparing the agent reply with the previous conversation
https://api.github.com/repos/langchain-ai/langchain/issues/14895/comments
2
2023-12-19T09:29:35Z
2024-03-26T16:08:06Z
https://github.com/langchain-ai/langchain/issues/14895
2,048,263,074
14,895
[ "hwchase17", "langchain" ]
### System Info python 3.10 langchain 0.0.350 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers -...
MultiQueryRetriever consume too much GPU mem, request to limit the maximum llm call
https://api.github.com/repos/langchain-ai/langchain/issues/14894/comments
1
2023-12-19T08:44:18Z
2024-03-26T16:08:01Z
https://github.com/langchain-ai/langchain/issues/14894
2,048,190,743
14,894
[ "hwchase17", "langchain" ]
### System Info Python:3.11-slim-bullseye base docker image Langchain version: 0.0.348 qdrant-client: 1.7.0 Qdrant database 1.7.1 (deployed on AWS cluster) Reproduces regardless of prefer grpc true or false ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ...
AIORpcError connection reset errors from Qdrant
https://api.github.com/repos/langchain-ai/langchain/issues/14891/comments
5
2023-12-19T08:02:36Z
2024-05-01T16:05:53Z
https://github.com/langchain-ai/langchain/issues/14891
2,048,126,563
14,891
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I construct a Chain using retriever with a certain template, but now I want to use another template when the retriever retrieve nothing back. Is it possible for langchain? Or maybe it can only be handmade? ### Suggestion: _No response_
Can I switch my template during my Chain working?
https://api.github.com/repos/langchain-ai/langchain/issues/14890/comments
1
2023-12-19T07:25:34Z
2024-03-26T16:07:57Z
https://github.com/langchain-ai/langchain/issues/14890
2,048,077,349
14,890
[ "hwchase17", "langchain" ]
I've deployed 'mistralai/Mistral-7B-v0.1' model to sagemaker and wanna use it as load_qa_chain ``` from langchain.chains.question_answering import load_qa_chain from langchain.llms.sagemaker_endpoint import SagemakerEndpoint content_handler = ContentHandler() llm = SagemakerEndpoint( endpoint_name=endpo...
Issue: can't use llm sagemaker endpoint as load_qa_chain
https://api.github.com/repos/langchain-ai/langchain/issues/14886/comments
4
2023-12-19T04:04:06Z
2024-04-16T16:20:14Z
https://github.com/langchain-ai/langchain/issues/14886
2,047,879,728
14,886
[ "hwchase17", "langchain" ]
I have developed a Flutter app with a chatroom feature and have successfully implemented chatting in the chatroom interface using the OpenAI API with ChatGPT. Now, I am looking to utilize an API to establish a connection between LangChain and my mobile app. How or what should i do to achieve this? I am new to this, an...
How to connect LangChain application to a mobile app using an API
https://api.github.com/repos/langchain-ai/langchain/issues/14885/comments
1
2023-12-19T03:58:57Z
2024-03-26T16:07:51Z
https://github.com/langchain-ai/langchain/issues/14885
2,047,875,945
14,885
[ "hwchase17", "langchain" ]
I am working in project, where i have to use multiple pdf docs to give respose to the user query. I have a load method to load pdf from directory. ``` def loadFiles(): loader = DirectoryLoader('./static/upload/', glob="./*.pdf", loader_cls=PyPDFLoader) documents = loader.load() text_splitt...
how to increase the response size of chromadb
https://api.github.com/repos/langchain-ai/langchain/issues/14880/comments
3
2023-12-19T01:59:00Z
2024-03-29T16:07:30Z
https://github.com/langchain-ai/langchain/issues/14880
2,047,779,892
14,880
[ "hwchase17", "langchain" ]
### System Info Platform: Ubuntu 22.04 Python: 3.11.6 Langchain: 0.0.351 ### 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 Templa...
Calling Chroma.from_documents() returns sqlite3.OperationalError: attempt to write a readonly database, but only sometimes
https://api.github.com/repos/langchain-ai/langchain/issues/14872/comments
24
2023-12-19T00:02:10Z
2024-07-21T21:44:48Z
https://github.com/langchain-ai/langchain/issues/14872
2,047,680,474
14,872
[ "hwchase17", "langchain" ]
### System Info I'm using Langchain version '0.0.350' in Databricks using the following libraries: `from langchain_experimental.sql import SQLDatabaseChain` `from langchain import PromptTemplate` `from langchain.sql_database import SQLDatabase` ### Who can help? _No response_ ### Information - [X] The off...
SQLDatabaseChain.from_llm returning ValueError: Missing some input keys: {'query'} when custom template is used
https://api.github.com/repos/langchain-ai/langchain/issues/14865/comments
1
2023-12-18T21:04:10Z
2024-03-25T16:08:37Z
https://github.com/langchain-ai/langchain/issues/14865
2,047,451,496
14,865
[ "hwchase17", "langchain" ]
### System Info platform: Vagrant - Ubuntu 2204 python: 3.9.18 langchain: 0.0.350 langchain-core: 0.1.1 langchain-community: 0.0.3 litellm: 1.15.1 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat...
(ChatLiteLLM - Together AI) AttributeError: 'ValueError' object has no attribute 'status_code'
https://api.github.com/repos/langchain-ai/langchain/issues/14863/comments
2
2023-12-18T20:50:19Z
2024-03-31T16:05:45Z
https://github.com/langchain-ai/langchain/issues/14863
2,047,431,121
14,863
[ "hwchase17", "langchain" ]
### System Info **Below is my Linux box:** Linux 5.15.0-1014-azure #17~20.04.1-Ubuntu SMP Thu Jun 23 20:01:51 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux **Below is libraries within my conda environment:** google-auth 2.24.0 google-search-results 2.4.2 googleapis-com...
SerpAPIWrapper doesn't work
https://api.github.com/repos/langchain-ai/langchain/issues/14855/comments
2
2023-12-18T18:36:20Z
2024-03-25T16:08:27Z
https://github.com/langchain-ai/langchain/issues/14855
2,047,220,983
14,855
[ "hwchase17", "langchain" ]
### System Info langchain: latest (0.0.350) python: 3.10.12 ### 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 - [ ] Outpu...
BaseMessageChunk cannot merge function key when using open ai tools and streaming.
https://api.github.com/repos/langchain-ai/langchain/issues/14853/comments
3
2023-12-18T17:36:47Z
2023-12-18T19:28:23Z
https://github.com/langchain-ai/langchain/issues/14853
2,047,135,178
14,853
[ "hwchase17", "langchain" ]
This GitHub App is used by Google employees to monitor GitHub repositories. It sends notifications in Chrome for Reviews, updates to Pull Requests, Mentions, etc. https://github.com/apps/g3n-github Could it be added to the LangChain repository to make it easier for Google engineers to contribute in a timely manne...
Add g3n-github app to repository
https://api.github.com/repos/langchain-ai/langchain/issues/14851/comments
4
2023-12-18T16:20:31Z
2024-06-08T16:08:00Z
https://github.com/langchain-ai/langchain/issues/14851
2,047,010,816
14,851
[ "hwchase17", "langchain" ]
### Feature request There is a new feature with Azure Open AI to get deterministic output. To use this feature we need to pass extra parameters when we iniative AzureOpenAI https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reproducible-output?tabs=pyton ### Motivation Getting deterministic fe...
Reproducible output feature with Azure Open AI (support for seed parameter)
https://api.github.com/repos/langchain-ai/langchain/issues/14850/comments
1
2023-12-18T15:45:57Z
2024-03-25T16:08:22Z
https://github.com/langchain-ai/langchain/issues/14850
2,046,949,854
14,850
[ "hwchase17", "langchain" ]
### Feature request I'm thinking about adding a pre-commit configuration file (`.pre-commit-config.yaml `) to the codebase as it helps improve the code quality and maintain consistency within the project. It will allow all the developers/future contributors to maintain a consistent code style. Adding this will help ...
Adding a `.pre-commit-config.yaml` file for maintaining consistent style and code quality
https://api.github.com/repos/langchain-ai/langchain/issues/14845/comments
1
2023-12-18T14:33:36Z
2024-03-25T16:08:18Z
https://github.com/langchain-ai/langchain/issues/14845
2,046,801,582
14,845
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.350 Python: 3.8.8 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selec...
azure_ad_token variable does not work for AzureChatOpenAI and AzureOpenAIEmbeddings
https://api.github.com/repos/langchain-ai/langchain/issues/14843/comments
3
2023-12-18T12:56:27Z
2023-12-19T01:03:47Z
https://github.com/langchain-ai/langchain/issues/14843
2,046,610,982
14,843
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. safety_settings argument is missing with the `ChatVertexAI` model ### Suggestion: Should be able to define the safety settings. For example: ``` safety_settings = { HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE, HarmCategory.HARM_CATEGORY_HATE_SP...
safety_settings argument is missing with the ChatVertexAI mode
https://api.github.com/repos/langchain-ai/langchain/issues/14841/comments
11
2023-12-18T11:21:49Z
2024-03-27T01:00:11Z
https://github.com/langchain-ai/langchain/issues/14841
2,046,443,649
14,841
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am working on a project where i need to fetch the content of sub URL by giving its base URL only. Is there any method in Langchain to fetch all the content of its Sub URL by giving its base URL only ? ### Suggestion: _No response_
Issue: Is there any method in Langchain to fetch all the content of its Sub URL by giving its base URL only
https://api.github.com/repos/langchain-ai/langchain/issues/14837/comments
1
2023-12-18T07:52:57Z
2024-03-25T16:08:12Z
https://github.com/langchain-ai/langchain/issues/14837
2,045,948,323
14,837
[ "hwchase17", "langchain" ]
### Feature request Currently we use PGVector as our Vector Database and do in combination with FastAPI. One issue is that in the indexing process, which happens over an API Endpoint, we found out that the current implementation of PgVector is blocking due to its synchronous implementation. FastAPI offers async/await ...
Async PGVector to make LangChain with Postgres more performant
https://api.github.com/repos/langchain-ai/langchain/issues/14836/comments
8
2023-12-18T07:45:33Z
2024-07-07T16:59:56Z
https://github.com/langchain-ai/langchain/issues/14836
2,045,936,457
14,836
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ` #below is my code def generate_embeddings(urls = None,persist_directory=None): with sync_playwright() as p: browser = p.chromium.launch() navigate_tool = NavigateTool(sync_browser=browser) extract_hyperlinks_tool = ExtractHyperlinksTo...
Issue: I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.
https://api.github.com/repos/langchain-ai/langchain/issues/14834/comments
1
2023-12-18T05:48:30Z
2024-03-25T16:08:07Z
https://github.com/langchain-ai/langchain/issues/14834
2,045,789,011
14,834
[ "hwchase17", "langchain" ]
### Feature request There's already many tracers in LangChain (https://github.com/langchain-ai/langchain/tree/master/libs/langchain/langchain/callbacks/tracers). I would like to ask for adding an OpentelemetryTracer. ### Motivation Community tracing ### Your contribution Would like to contribute
Add an OpentelemetryTracer in LangChain
https://api.github.com/repos/langchain-ai/langchain/issues/14832/comments
4
2023-12-18T03:52:49Z
2024-03-27T16:08:32Z
https://github.com/langchain-ai/langchain/issues/14832
2,045,680,808
14,832
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. My code is : ``` llm = ChatOpenAI(temperature=0, verbose=True, model="gpt-3.5-turbo-16k") toolkit = SQLDatabaseToolkit(db=db, llm=llm) agent_type = AgentType.ZERO_SHOT_REACT_DESCRIPTION agent_executor_1 = initialize_agent() agent_executor = create_sql_agent(llm=llm, toolkit=too...
How can I grab only the AI answer of my langchain agent?
https://api.github.com/repos/langchain-ai/langchain/issues/14828/comments
1
2023-12-18T00:32:57Z
2024-03-25T16:07:56Z
https://github.com/langchain-ai/langchain/issues/14828
2,045,453,142
14,828
[ "hwchase17", "langchain" ]
### System Info mac os latest, latest LangChain ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [x] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers ...
PostgresChatHistory or any other database for storing history does not work with ConversationSummaryBufferMemory(or other memory taht produces 'system' massage type after summarisation
https://api.github.com/repos/langchain-ai/langchain/issues/14822/comments
9
2023-12-17T19:00:18Z
2024-03-30T16:06:06Z
https://github.com/langchain-ai/langchain/issues/14822
2,045,336,301
14,822
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Is there a similar method for using `gemini-pro` with `ConversationalRetrievalChain.from_llm`, as there is for utilizing models from VertexAI with `ChatVertexAI` or `VertexAI`, where you specify the `model_name`? ### Suggestion: _No response_
Gemini with ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/14819/comments
2
2023-12-17T17:26:06Z
2023-12-20T08:45:09Z
https://github.com/langchain-ai/langchain/issues/14819
2,045,301,971
14,819
[ "hwchase17", "langchain" ]
null
When using the OpenAIFunctionsAgentOutputParser() to parse agent output meet an error.
https://api.github.com/repos/langchain-ai/langchain/issues/14816/comments
2
2023-12-17T15:44:02Z
2024-01-22T07:05:03Z
https://github.com/langchain-ai/langchain/issues/14816
2,045,267,345
14,816
[ "hwchase17", "langchain" ]
### System Info In this file: https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/llms/together.py There is no variable Prompt, however it is available in the documentation: https://docs.together.ai/reference/inference ```python if config.model == "together": re...
Missing "Prompt" in Together ai
https://api.github.com/repos/langchain-ai/langchain/issues/14813/comments
3
2023-12-17T11:45:30Z
2023-12-29T04:03:34Z
https://github.com/langchain-ai/langchain/issues/14813
2,045,185,889
14,813
[ "hwchase17", "langchain" ]
### System Info langchain.__version__ '0.0.350' python 3.11.5 ollama version is 0.1.16 pyngrok-7.0.3 ### Who can help? @agola11 @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [X] Embedding M...
Error Langchain + Ollama + Google Colab + ngrok
https://api.github.com/repos/langchain-ai/langchain/issues/14810/comments
2
2023-12-17T07:36:37Z
2024-05-07T16:07:38Z
https://github.com/langchain-ai/langchain/issues/14810
2,045,111,414
14,810
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. # 使用LCEL创建代理 prompt = ChatPromptTemplate.from_messages( [ ("system", "You are a helpful assistant"), ("user", "{input}"), MessagesPlaceholder(variable_name="agent_scratchpad"), ...
how to add LCEL memory | OpenAIFunctionsAgentOutputParser?
https://api.github.com/repos/langchain-ai/langchain/issues/14809/comments
2
2023-12-17T02:51:49Z
2024-03-24T16:07:14Z
https://github.com/langchain-ai/langchain/issues/14809
2,045,031,789
14,809
[ "hwchase17", "langchain" ]
### Can Agents' tools fetch sensitive information? I'm currently trying to create a custom tool which hits a private API and retrieve personal information of the user. The tool accepts an email as args_chema, however, I keep getting this error: > Traceback (most recent call last): File "<stdin>", line 1, in <m...
Can Agents' tools fetch sensitive information?
https://api.github.com/repos/langchain-ai/langchain/issues/14807/comments
6
2023-12-17T02:27:53Z
2023-12-17T21:14:33Z
https://github.com/langchain-ai/langchain/issues/14807
2,045,027,468
14,807
[ "hwchase17", "langchain" ]
### System Info #### Virtualenv Python: 3.11.6 Implementation: CPython Path: /Users/max/Library/Caches/pypoetry/virtualenvs/qa-oj4cEcx_-py3.11 Executable: /Users/max/Library/Caches/pypoetry/virtualenvs/qa-oj4cEcx_-py3.11/bin/python Valid: True #### System Platform: darwin OS:...
ModuleNotFound error in using UnstructuredRSTLoader
https://api.github.com/repos/langchain-ai/langchain/issues/14801/comments
4
2023-12-16T19:24:16Z
2023-12-16T21:52:33Z
https://github.com/langchain-ai/langchain/issues/14801
2,044,910,834
14,801
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ` ``` class SimpleChat: def __init__(self) -> None: self.llm = ChatOpenAI( temperature=0, model="gpt-4-0613", openai_api_key="sk-", openai_api_base = "https://---", ) self.memory = ConversationBufferMem...
why the memory is not work? who can help me!
https://api.github.com/repos/langchain-ai/langchain/issues/14799/comments
4
2023-12-16T17:52:51Z
2023-12-17T12:41:48Z
https://github.com/langchain-ai/langchain/issues/14799
2,044,878,052
14,799
[ "hwchase17", "langchain" ]
Hi @dosu-bot, Check out my below code, ``` class CustomMessage(Base): tablename = "custom_message_store" id = Column(Integer, primary_key=True, autoincrement=True) session_id = Column(Text) type = Column(Text) content = Column(Text) created_at = Column(DateTime) author_email = Co...
How do i make my below code async of SQLAlchemy?
https://api.github.com/repos/langchain-ai/langchain/issues/14797/comments
3
2023-12-16T15:56:21Z
2024-03-29T16:07:15Z
https://github.com/langchain-ai/langchain/issues/14797
2,044,833,650
14,797
[ "hwchase17", "langchain" ]
### System Info Macos ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [...
MiniMaxChat:AttributeError: 'str' object has no attribute 'generations'
https://api.github.com/repos/langchain-ai/langchain/issues/14796/comments
4
2023-12-16T15:04:15Z
2024-03-28T16:07:28Z
https://github.com/langchain-ai/langchain/issues/14796
2,044,779,282
14,796
[ "hwchase17", "langchain" ]
Hi @dossubot, Greetings! Here is the below code, I am trying to make them asynchronous. But im getting this error. KeyError: 'chat_history'.
Asynchronous call on ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/14795/comments
7
2023-12-16T13:05:41Z
2023-12-22T09:59:27Z
https://github.com/langchain-ai/langchain/issues/14795
2,044,743,184
14,795
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. below is my code with sync_playwright() as p: browser = p.chromium.launch() navigate_tool = NavigateTool(sync_browser=browser) extract_hyperlinks_tool = ExtractHyperlinksTool(sync_browser=browser) for url in urls: print(url,"url is ----------------------") navigate_tool._arun(ur...
Issue: how to fetch sub url using langchain
https://api.github.com/repos/langchain-ai/langchain/issues/14792/comments
1
2023-12-16T10:43:00Z
2024-03-23T16:07:05Z
https://github.com/langchain-ai/langchain/issues/14792
2,044,702,405
14,792
[ "hwchase17", "langchain" ]
### System Info Hi, I am trying to save the ParentDocumentRetriever after adding documents data to it. Since there a lot of documents that needs to be added, its not possible to do it every time. I tried saving via pickle but got the error: TypeError: cannot pickle 'sqlite3.Connection' object Is there any way to...
ParentDocumentRetriever does not have any save to local option
https://api.github.com/repos/langchain-ai/langchain/issues/14777/comments
1
2023-12-15T20:51:06Z
2024-03-22T16:07:11Z
https://github.com/langchain-ai/langchain/issues/14777
2,044,354,117
14,777
[ "hwchase17", "langchain" ]
### System Info Python 3.10 LangChain 0.0.348 ### Who can help? @hwchase17 @hin ### 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...
KeyError 'role' in OpenAI Adapter
https://api.github.com/repos/langchain-ai/langchain/issues/14764/comments
3
2023-12-15T14:57:13Z
2024-01-06T01:49:24Z
https://github.com/langchain-ai/langchain/issues/14764
2,043,873,642
14,764
[ "hwchase17", "langchain" ]
### Feature request Add support for the new service from Mistral AI. They provide a [python client](https://docs.mistral.ai/platform/client) with streaming tokens or we can use the simple [RestAPI](https://docs.mistral.ai/) ### Motivation Would be great if we add the new service from Mistral! ### Your contribution...
Add support for Mistral AI service
https://api.github.com/repos/langchain-ai/langchain/issues/14763/comments
2
2023-12-15T14:05:31Z
2023-12-19T19:31:27Z
https://github.com/langchain-ai/langchain/issues/14763
2,043,790,550
14,763
[ "hwchase17", "langchain" ]
### Issue with current documentation: I've got this code: ```python llm = HuggingFaceHub(repo_id="mistralai/Mistral-7B-Instruct-v0.1", model_kwargs={"temperature": 0.01, "max_length": 4096, "max_new_tokens": 2048}) # Vectorstore vectorstore = Chroma( embedding_function=HuggingFaceE...
DOC: WebResearchRetriever can work with DuckDuckGo search?
https://api.github.com/repos/langchain-ai/langchain/issues/14762/comments
1
2023-12-15T14:03:23Z
2023-12-15T21:10:05Z
https://github.com/langchain-ai/langchain/issues/14762
2,043,786,075
14,762
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.39 python: 3.11 OS: MacOS Sonoma 14.2 ### Who can help? @hwchase17 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt ...
Table 'langchain_pg_collection' is already defined for this MetaData instance. Specify 'extend_existing=True'
https://api.github.com/repos/langchain-ai/langchain/issues/14760/comments
4
2023-12-15T13:29:34Z
2024-01-03T09:19:59Z
https://github.com/langchain-ai/langchain/issues/14760
2,043,732,734
14,760
[ "hwchase17", "langchain" ]
### System Info Name Version Build Channel langchain 0.0.350 pypi_0 pypi langchain-cli 0.0.19 pypi_0 pypi langchain-community 0.0.3 pypi_0 pypi langchain-core 0.1.1 ...
Langserve example from Quickstart tutorial not working
https://api.github.com/repos/langchain-ai/langchain/issues/14757/comments
10
2023-12-15T12:00:17Z
2024-07-23T23:23:06Z
https://github.com/langchain-ai/langchain/issues/14757
2,043,603,478
14,757
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain. How can we achieve this, below is my code `from langchain.tools.playwright import ExtractHyperlinksTool, NavigateTool # Initialize the tools navigate_tool = NavigateTool() e...
Issue: I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.
https://api.github.com/repos/langchain-ai/langchain/issues/14754/comments
4
2023-12-15T10:52:12Z
2024-03-23T16:07:00Z
https://github.com/langchain-ai/langchain/issues/14754
2,043,485,623
14,754
[ "hwchase17", "langchain" ]
### System Info - Python 3.11.7 - Windows 64bit - langchain_google_genai==0.0.4 - langchain==0.0.350 - pymongo==4.6.0 ### Who can help? @sbusso @jarib ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Mod...
ImportError: cannot import name 'GoogleGenerativeAI' from 'langchain_google_genai' ( from langchain_google_genai import GoogleGenerativeAI )
https://api.github.com/repos/langchain-ai/langchain/issues/14753/comments
4
2023-12-15T10:01:36Z
2024-03-28T14:49:52Z
https://github.com/langchain-ai/langchain/issues/14753
2,043,356,756
14,753
[ "hwchase17", "langchain" ]
### Feature request All chains inherit from `Runnable` class and It has the `stream` method. But no chain has it's own `stream` method. That's why we have to pass a callback handler every time when work on streaming. We need to write additional logic to handle stream. There should be a functionality where we can just ...
Every chain (LLMChain, ConversationalRetrievalChain etc) should return stream without CallbackHandler same as llm ChatModel
https://api.github.com/repos/langchain-ai/langchain/issues/14752/comments
4
2023-12-15T06:56:26Z
2024-02-29T05:31:10Z
https://github.com/langchain-ai/langchain/issues/14752
2,043,013,698
14,752
[ "hwchase17", "langchain" ]
### System Info ImportError: cannot import name 'AzureChatopenAI' from 'langchain.chat_models' ### 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 Tem...
cannot import name 'AzureChatopenAI' from 'langchain.chat_models'
https://api.github.com/repos/langchain-ai/langchain/issues/14751/comments
1
2023-12-15T06:03:38Z
2023-12-15T06:11:27Z
https://github.com/langchain-ai/langchain/issues/14751
2,042,960,303
14,751
[ "hwchase17", "langchain" ]
### Feature request i want to struct output result by langchain,my llm is chatglm,but most output parsers demo is rely on openai ### Motivation retriever = db.as_retriever() qa = RetrievalQA.from_chain_type( llm=llm, chain_type='stuff', retriever=retriever, verbose=True ) def chat(question...
adapt chatglm output_parser
https://api.github.com/repos/langchain-ai/langchain/issues/14750/comments
1
2023-12-15T05:55:16Z
2024-03-22T16:06:51Z
https://github.com/langchain-ai/langchain/issues/14750
2,042,951,433
14,750
[ "hwchase17", "langchain" ]
Hello Langchain Team, I've been working with the `create_vectorstore_router_agent` function, particularly in conjunction with the `VectorStoreRouterToolkit`, and I've encountered a limitation that I believe could be an important area for enhancement. Currently, the response from this function primarily includes t...
Expose Search Similarity Results as Source Documents in create_vectorstore_router_agent Responses
https://api.github.com/repos/langchain-ai/langchain/issues/14744/comments
1
2023-12-15T01:11:29Z
2024-03-22T16:06:45Z
https://github.com/langchain-ai/langchain/issues/14744
2,042,729,395
14,744
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hugging face will deprecate the `InferenceApi` and move to `InferenceClient`. Can the langchain package also update the dependency in `HuggingFaceHub` accordingly? Refer to [migration docs](https://huggingface.co/docs/huggingface_hub/guides/inference#legacy-inferenceapi-client) to migrat...
Issue: Update the outdated hugging face client
https://api.github.com/repos/langchain-ai/langchain/issues/14741/comments
1
2023-12-15T00:36:29Z
2024-03-22T16:06:41Z
https://github.com/langchain-ai/langchain/issues/14741
2,042,704,569
14,741
[ "hwchase17", "langchain" ]
### System Info Langchain Version - 0.0.348 OS or Platform Version - Windows 11 Python Version - 3.11.5 Conda Version - 23.7.4 ### Who can help? @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [...
Google Drive Loader: The code in the Official Doc does not work; and Setting environment variable GOOGLE_APPLICATION_CREDENTIALS is important, though its value is not
https://api.github.com/repos/langchain-ai/langchain/issues/14725/comments
1
2023-12-14T18:16:28Z
2024-03-21T16:06:52Z
https://github.com/langchain-ai/langchain/issues/14725
2,042,229,871
14,725
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.330 langchain-core==0.1.0 langchain-google-genai==0.0.3 python: 3.11 ### Who can help? @agola11 @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Pro...
`LLMChain` does not support `ChatGoogleGenerativeAI`
https://api.github.com/repos/langchain-ai/langchain/issues/14717/comments
5
2023-12-14T14:59:49Z
2023-12-16T10:53:50Z
https://github.com/langchain-ai/langchain/issues/14717
2,041,882,866
14,717
[ "hwchase17", "langchain" ]
### Discussed in https://github.com/langchain-ai/langchain/discussions/14714 <div type='discussions-op-text'> <sup>Originally posted by **ciliamadani** December 14, 2023</sup> I'm currently in the process of developing a chatbot utilizing Langchain and the Ollama (llama2 7b model). My objective is to allow users...
Ollama max tokens parameter
https://api.github.com/repos/langchain-ai/langchain/issues/14715/comments
1
2023-12-14T14:58:07Z
2024-03-21T16:06:47Z
https://github.com/langchain-ai/langchain/issues/14715
2,041,879,113
14,715
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi all, trying to use Langchain with HuggingFace model and Embeddings. Am new to Langchain so any pointers welcome. `import os os.environ['HUGGINGFACEHUB_API_TOKEN']=myToken #required to avoid certificate issue os.environ['CURL_CA_BUNDLE'] = '' from langchain import Prompt...
TypeError: Chain.__call__() got an unexpected keyword argument 'stop'
https://api.github.com/repos/langchain-ai/langchain/issues/14712/comments
1
2023-12-14T13:18:03Z
2024-03-21T16:06:42Z
https://github.com/langchain-ai/langchain/issues/14712
2,041,683,363
14,712
[ "hwchase17", "langchain" ]
### System Info Anaconda 23.7.2 Windows 11 Python 3.11.5 ### 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 Templates / Prompt Selector...
'google.generativeai' has no attribute 'GenerativeModel'
https://api.github.com/repos/langchain-ai/langchain/issues/14711/comments
20
2023-12-14T13:11:09Z
2024-08-02T08:51:51Z
https://github.com/langchain-ai/langchain/issues/14711
2,041,671,633
14,711
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.350 langchain-community==0.0.3 langchain-core==0.1.0 langchain-google-genai==0.0.3 google-ai-generativelanguage==0.4.0 google-api-core==2.15.0 google-auth==2.25.2 google-generativeai==0.3.1 googleapis-common-protos==1.62.0 ### Who can help? _No response_ ### Information - [ ]...
Raise "Message of 'system' type not supported by Gemini" exception by ChatGoogleGenerativeAI with ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/14710/comments
7
2023-12-14T11:41:27Z
2024-02-27T04:46:04Z
https://github.com/langchain-ai/langchain/issues/14710
2,041,522,040
14,710
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. below is my dependencies installed till now django==4.0 django-rest-framework langchain==0.0.349 pdf2image chromadb unstructured openai pypdf tiktoken django-cors-headers django-environ pytesseract==0.3.10 beautifulsoup4==4.12.2 atlassian-python-api==3.38.0 tiktoken==0....
Issue: what are all dependencies need to install for fetching confluence attachments
https://api.github.com/repos/langchain-ai/langchain/issues/14706/comments
1
2023-12-14T09:19:24Z
2024-03-21T16:06:37Z
https://github.com/langchain-ai/langchain/issues/14706
2,041,277,150
14,706
[ "hwchase17", "langchain" ]
Hi @dossubot. I have a document where it contains 3 different titles of a single document, i want to create chunk size based on every header, so below is my existing code, pls modify that. and send me accordingly. def load_docs_only(directory_path): docs, _, _, _ = load_documents(directory_path) return docs...
Splitting the document based on headers using Recursive Character Text Splitter
https://api.github.com/repos/langchain-ai/langchain/issues/14705/comments
1
2023-12-14T09:05:08Z
2023-12-22T09:57:43Z
https://github.com/langchain-ai/langchain/issues/14705
2,041,252,793
14,705