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" ]
### Feature request GitLab is currently trying to adopt LangChain in https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/merge_requests/475 for Anthropic usage. It's just simply passing a raw prompt to the Anthropic client, however, LangChain seems not supporting it because: - `langchai...
Allow ChatAnthropic to receive Raw prompt or don't deprecate llms.Anthropic
https://api.github.com/repos/langchain-ai/langchain/issues/14382/comments
2
2023-12-07T06:57:30Z
2024-03-17T16:09:26Z
https://github.com/langchain-ai/langchain/issues/14382
2,030,036,527
14,382
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using ConversationChain with a custom prompt, and now I am looking to integrate tools into it. How can we do that? ### Suggestion: _No response_
How can we integrate tools with custom prompt?
https://api.github.com/repos/langchain-ai/langchain/issues/14381/comments
1
2023-12-07T06:45:10Z
2024-03-16T16:12:36Z
https://github.com/langchain-ai/langchain/issues/14381
2,030,022,877
14,381
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. How to remove citation from langchain results and can we get the image out of it? ### Suggestion: How to remove citation from langchain results and can we get the image out of it?
Issue: How to remove citation from langchain results
https://api.github.com/repos/langchain-ai/langchain/issues/14380/comments
1
2023-12-07T06:03:28Z
2024-03-16T16:12:31Z
https://github.com/langchain-ai/langchain/issues/14380
2,029,974,064
14,380
[ "hwchase17", "langchain" ]
### System Info Langchain version = 0.0.344 Python version = 3.11.5 @agola11 @hwchase17 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt ...
create_sql_agent Suffix error
https://api.github.com/repos/langchain-ai/langchain/issues/14379/comments
2
2023-12-07T05:39:25Z
2024-03-29T16:07:00Z
https://github.com/langchain-ai/langchain/issues/14379
2,029,945,805
14,379
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.347 langchain-core==0.0.11 ### Who can help? @JeanBaptiste-dlb @hwchase17 @kacperlukawski ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] P...
Issue with Qdrant: TypeError: unhashable type: 'list'
https://api.github.com/repos/langchain-ai/langchain/issues/14378/comments
8
2023-12-07T05:17:40Z
2023-12-07T19:19:13Z
https://github.com/langchain-ai/langchain/issues/14378
2,029,922,881
14,378
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.344 langchain-experimental>=0.0.42 python==3.10.12 ``` embeddings = OpenAIEmbeddings(model_name=model, openai_api_key=get_model_path(model), chunk_size=CHUNK_SIZE) ``` error ``` ...
OpenAIEmbeddings bug
https://api.github.com/repos/langchain-ai/langchain/issues/14377/comments
3
2023-12-07T05:16:19Z
2023-12-11T04:28:11Z
https://github.com/langchain-ai/langchain/issues/14377
2,029,920,632
14,377
[ "hwchase17", "langchain" ]
### Feature request Add support for Private Service Connect endpoints in Vertex AI LLM. ### Motivation Currently api_endpoint for VertexAIModelGarden LLM is hard coded to ```aiplatform.googleapis.com``` https://github.com/langchain-ai/langchain/blob/db6bf8b022c17353b46f97ab3b9f44ff9e88a488/libs/langchain/langchai...
Add support for private endpoint(Private Service Connect) for Vertex AI LLM
https://api.github.com/repos/langchain-ai/langchain/issues/14374/comments
1
2023-12-07T02:53:41Z
2024-03-17T16:09:22Z
https://github.com/langchain-ai/langchain/issues/14374
2,029,776,848
14,374
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Can the 'AgentType parameter of ‘initialize_agent’ function only be of one type? How can I specify multiple types? I want to set agent type to 'STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION' and 'ZERO_SHOT_REACT_DESCRIPTION' at the same time ? ### Suggestion: Set agent type to 'STRUCTURE...
Issue: How can we specify multiple types when initialize an agent
https://api.github.com/repos/langchain-ai/langchain/issues/14372/comments
10
2023-12-07T02:10:55Z
2023-12-07T05:41:04Z
https://github.com/langchain-ai/langchain/issues/14372
2,029,730,782
14,372
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Issue: ``` PS E:\CODE\research-agents> python app.py Traceback (most recent call last): File "E:\CODE\research-agents\app.py", line 3, in <module> from langchain.text_splitter import RecursiveCharacterTextSplitter ModuleNotFoundError: No module named 'langchain' ``` What ...
Issue: No module named 'langchain'
https://api.github.com/repos/langchain-ai/langchain/issues/14371/comments
9
2023-12-07T02:09:09Z
2024-07-21T15:47:04Z
https://github.com/langchain-ai/langchain/issues/14371
2,029,727,951
14,371
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, I'm trying to make a Chinese agent using customized tools and prompt in Chinese. However the pre-defined output parser and streaming didn't work well. For example, the thought process was printed out even if I'm using the FinalStreamingStdOutCallbackHandler. I was wondering if you ca...
Issue: agent output parser
https://api.github.com/repos/langchain-ai/langchain/issues/14363/comments
1
2023-12-06T21:40:20Z
2024-03-16T16:12:16Z
https://github.com/langchain-ai/langchain/issues/14363
2,029,429,941
14,363
[ "hwchase17", "langchain" ]
### Issue with current documentation: https://python.langchain.com/docs/integrations/chat/ollama_functions Ollama functions page shows how to start a conversation where the llm calls a function. But it stops there. How do we keep the conversation going? (i.e. I should give the llm the answer to the function ca...
DOC: Explain how to continue the conversation with OllamaFunctions
https://api.github.com/repos/langchain-ai/langchain/issues/14360/comments
12
2023-12-06T21:17:30Z
2024-06-13T16:07:37Z
https://github.com/langchain-ai/langchain/issues/14360
2,029,399,684
14,360
[ "hwchase17", "langchain" ]
### System Info langchain version: 0.0.315 python3.9 ### Who can help? @hwchase17 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / ...
Unexpected behaviour: CharacterTextSpitter
https://api.github.com/repos/langchain-ai/langchain/issues/14348/comments
3
2023-12-06T16:02:29Z
2024-03-17T16:09:11Z
https://github.com/langchain-ai/langchain/issues/14348
2,028,892,316
14,348
[ "hwchase17", "langchain" ]
### System Info I want to use the `with_retry` from the Runnable class with Bedrock class to initiate a retry if Bedrock is raising a ThrottlingException (too many requests) the problem is the error catching in `BedrockBase` class in the `_prepare_input_and_invoke` method is too broad. (line 269) ``` exce...
Error catching in BedrockBase
https://api.github.com/repos/langchain-ai/langchain/issues/14347/comments
3
2023-12-06T14:54:05Z
2024-01-03T01:25:50Z
https://github.com/langchain-ai/langchain/issues/14347
2,028,739,597
14,347
[ "hwchase17", "langchain" ]
### System Info I have been using OpenAI Embeddings specifically text-embedding-ada-002 and noticed it was very sensitive to punctuation even. I have around 1000 chunks and need to extract each time the 15 most similar chunks to my query. I have been testing my query without punctuation and when I add a dot '.' at the...
Embedding very sensitive to punctuation
https://api.github.com/repos/langchain-ai/langchain/issues/14346/comments
1
2023-12-06T13:00:05Z
2024-03-16T16:12:06Z
https://github.com/langchain-ai/langchain/issues/14346
2,028,506,571
14,346
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.346 Python version: 3.9.16 ### 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 - ...
`PythonREPL` removal from langchain library
https://api.github.com/repos/langchain-ai/langchain/issues/14345/comments
5
2023-12-06T12:20:42Z
2024-05-22T17:48:58Z
https://github.com/langchain-ai/langchain/issues/14345
2,028,418,418
14,345
[ "hwchase17", "langchain" ]
### Feature request I have created a multi model inference endpoint in the new version of SageMaker studio (the original one now is called studio classic). I don't see there is a place that I can set the `inference component` in the `SagemakerEndpoint` class. So I ended up get an expected error from SageMaker. `An ...
Support SageMaker Inference Component of multi model endpoint
https://api.github.com/repos/langchain-ai/langchain/issues/14344/comments
3
2023-12-06T11:51:12Z
2024-01-12T02:36:39Z
https://github.com/langchain-ai/langchain/issues/14344
2,028,370,080
14,344
[ "hwchase17", "langchain" ]
### System Info python3.10.13 langchain==0.0.346 langchain-core==0.0.10 ### Who can help? @agola11, @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt ...
Specific prompt adds false input variables
https://api.github.com/repos/langchain-ai/langchain/issues/14343/comments
2
2023-12-06T11:35:34Z
2023-12-06T11:48:20Z
https://github.com/langchain-ai/langchain/issues/14343
2,028,344,953
14,343
[ "hwchase17", "langchain" ]
### System Info I try this example code ``` from langchain.retrievers import ParentDocumentRetriever from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain.storage import InMemoryStore # This text splitter is used to create the parent documents parent_splitter = RecursiveCharacte...
Error:
https://api.github.com/repos/langchain-ai/langchain/issues/14342/comments
5
2023-12-06T11:09:11Z
2023-12-06T19:12:51Z
https://github.com/langchain-ai/langchain/issues/14342
2,028,301,021
14,342
[ "hwchase17", "langchain" ]
### System Info Windows 10 Pro - 22H2 - Build 9045.3693 - Windows Feature Experience Pack 1000.19053.1000.0 Python 3.11.5 langchain-cli 0.0.19 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Mode...
When I install the template "self-query-qdrant" I get this error: UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 132: character maps to <undefined>
https://api.github.com/repos/langchain-ai/langchain/issues/14341/comments
5
2023-12-06T10:42:16Z
2024-03-18T16:07:29Z
https://github.com/langchain-ai/langchain/issues/14341
2,028,253,492
14,341
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.299 python 3.8 gpt-4 when AzureChatOpenAI use gpt-4 ,I use agents to deal with problems,raised a error about RateLimitError; but gpt-3.5 do not appear this quesition ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modifi...
Requests to the Creates a completion for the chat message Operation under Azure OpenAI API version 2023-03-15-preview have exceeded token rate limit of your current OpenAI S0 pricing tier. Please go here: https://aka.ms/oai/quotaincrease if you would like to further increase the default rate limit.
https://api.github.com/repos/langchain-ai/langchain/issues/14339/comments
1
2023-12-06T10:29:14Z
2024-03-16T16:11:56Z
https://github.com/langchain-ai/langchain/issues/14339
2,028,230,943
14,339
[ "hwchase17", "langchain" ]
### System Info - LangChain version: 0.0.346 - Platform: Mac mini M1 16GB - macOS Sonoma 14.0 - Python version: 3.11 - LiteLLM version: 1.10.6 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Cha...
api_base parameter not properly propagated in client calls in ChatLiteLLM
https://api.github.com/repos/langchain-ai/langchain/issues/14338/comments
7
2023-12-06T09:13:46Z
2023-12-07T11:20:13Z
https://github.com/langchain-ai/langchain/issues/14338
2,028,088,277
14,338
[ "hwchase17", "langchain" ]
### System Info Trying to execute the chatbot script with sagemaker endpoint of LLAMA2 llm model getting dict validation error for RetrievalQA Request: def retreiveFromLL(userQuery: str) -> QueryResponse: pre_prompt = """[INST] <<SYS>> You are a helpful, respectful and honest assistant. Answer exactly ...
Dict validation error
https://api.github.com/repos/langchain-ai/langchain/issues/14337/comments
28
2023-12-06T08:43:25Z
2024-06-29T16:16:49Z
https://github.com/langchain-ai/langchain/issues/14337
2,028,038,022
14,337
[ "hwchase17", "langchain" ]
### Issue with current documentation: I'm exploring the use of open-source models via Ollama excellent application, I'm facing quite some challenges in adapting the instructions that were made for OpenAI-type models (they are perfectly interchangeable, I must say). Is the format_instructions generated from the Pyd...
Get JSON output from non-OpenAI models
https://api.github.com/repos/langchain-ai/langchain/issues/14335/comments
2
2023-12-06T07:50:44Z
2024-03-17T16:09:02Z
https://github.com/langchain-ai/langchain/issues/14335
2,027,899,154
14,335
[ "hwchase17", "langchain" ]
### System Info Deployed on Cloud Run ``` Python 3.10 langchain 0.0.345 langchain-cli 0.0.19 langchain-core 0.0.9 langchain-experimental 0.0.43 langdetect 1.0.9 langserve ...
GoogleVertexAISearchRetriever - AttributeError: 'ProtoType' object has no attribute 'DESCRIPTOR'
https://api.github.com/repos/langchain-ai/langchain/issues/14333/comments
1
2023-12-06T07:13:51Z
2024-03-17T16:08:58Z
https://github.com/langchain-ai/langchain/issues/14333
2,027,823,831
14,333
[ "hwchase17", "langchain" ]
### System Info I already create venv and re-install langchain: `pip install langchain` but error: > from langserve import add_routes > File "/usr/local/lib/python3.10/dist-packages/langserve/__init__.py", line 7, in <module> > from langserve.client import RemoteRunnable > File "/usr/local/lib/pyth...
No module named 'langchain.callbacks.tracers.log_stream'
https://api.github.com/repos/langchain-ai/langchain/issues/14330/comments
4
2023-12-06T04:00:41Z
2024-03-17T16:08:51Z
https://github.com/langchain-ai/langchain/issues/14330
2,027,603,413
14,330
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Cannot figure out why validate_tools_single_input is necessary. I've tried to adopt multi-inputs tools in CHAT_CONVERSATIONAL_REACT_DESCRIPTION agents by just commenting out the implementation of such function. Everything seemed fun. So what's the purpose of such design, and if it is...
Issue: The purpose to validate_tools_single_input in CHAT_CONVERSATIONAL_REACT_DESCRIPTION agent
https://api.github.com/repos/langchain-ai/langchain/issues/14329/comments
2
2023-12-06T03:49:44Z
2024-03-17T16:08:47Z
https://github.com/langchain-ai/langchain/issues/14329
2,027,594,343
14,329
[ "hwchase17", "langchain" ]
### Feature request The langchain library only supports anonymizing it seems. The native microsoft library can redact data: ``` analyzer_results = analyzer.analyze(text=text_to_anonymize, entities=["PERSON", "PHONE_NUMBER", "EMAIL_ADDRESS", "URL", "LOCATION"], ad_hoc_recognizers=ad_hoc_recogniz...
Allow PresidioAnonymizer() to redact data instead of anonymizing.
https://api.github.com/repos/langchain-ai/langchain/issues/14328/comments
3
2023-12-06T03:35:45Z
2023-12-27T11:33:34Z
https://github.com/langchain-ai/langchain/issues/14328
2,027,583,278
14,328
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I tried to run the notebook [Semi_structured_multi_modal_RAG_LLaMA2.ipynb](https://github.com/langchain-ai/langchain/blob/master/cookbook/Semi_structured_multi_modal_RAG_LLaMA2.ipynb). I installed and imported the required libraries, but an error message was returned as a result of run...
Issue: <Please write a coImportError: cannot import name 'open_filename' from 'pdfminer.utils' (/home/nickjtay/Projects/langtest1/lib/python3.10/site-packages/pdfminer/utils.py)mprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/14326/comments
6
2023-12-06T02:23:04Z
2024-06-28T16:05:53Z
https://github.com/langchain-ai/langchain/issues/14326
2,027,520,337
14,326
[ "hwchase17", "langchain" ]
### Feature request Currently when getting started developing, there is: - `extras`: `extended_testing` - `poetry`: `dev`, `test`, `test_integration` There is also an annoying `rapidfuzz` error one can hit: https://github.com/langchain-ai/langchain/issues/12237 Can we have the poetry groups reusing `extras`? ...
Better synergy with `poetry` groups and extras
https://api.github.com/repos/langchain-ai/langchain/issues/14321/comments
1
2023-12-05T22:51:16Z
2024-03-16T16:11:31Z
https://github.com/langchain-ai/langchain/issues/14321
2,027,269,893
14,321
[ "hwchase17", "langchain" ]
### Issue with current documentation: I believe the Oobabooga Text Generation Web UI API was rewritten, causing the code on the TextGen page of the Langchain docs to stop working. e.g.: the way the code handles talking to a ws: causes a 403. I can execute API calls that work well, e.g.: curl http://127.0.0.1:5000/...
DOC: TextGen (Text Generation Web UI) - the code no longer works.
https://api.github.com/repos/langchain-ai/langchain/issues/14318/comments
10
2023-12-05T22:22:39Z
2024-05-16T11:09:38Z
https://github.com/langchain-ai/langchain/issues/14318
2,027,229,878
14,318
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, Currently, I want to build RAG chatbot for production. I already had my LLM API and I want to create a custom LLM and then use this in RetrievalQA.from_chain_type function. ``` curl --location 'https:/myhost:10001/llama/api' -k \ --header 'Content-Type: application/json' \...
Custom LLM from API for QA chain
https://api.github.com/repos/langchain-ai/langchain/issues/14302/comments
24
2023-12-05T17:36:18Z
2023-12-26T11:37:08Z
https://github.com/langchain-ai/langchain/issues/14302
2,026,785,573
14,302
[ "hwchase17", "langchain" ]
### System Info azure-search-documents==11.4.0b9 langchain 0.0.342 langchain-core 0.0.7 ### Who can help? @hwc ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts...
Using AzureSearch with custom vector field names
https://api.github.com/repos/langchain-ai/langchain/issues/14298/comments
9
2023-12-05T15:09:36Z
2024-08-06T20:18:36Z
https://github.com/langchain-ai/langchain/issues/14298
2,026,436,998
14,298
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.344 langchain-core==0.0.8 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Outpu...
OpenSearchVectorSearch add_texts does wraps kwargs
https://api.github.com/repos/langchain-ai/langchain/issues/14295/comments
1
2023-12-05T14:48:10Z
2023-12-08T06:58:43Z
https://github.com/langchain-ai/langchain/issues/14295
2,026,387,711
14,295
[ "hwchase17", "langchain" ]
### Issue with current documentation: Hey there, the `_format_chat_history` function [in the RAG cookbook entry](https://python.langchain.com/docs/expression_language/cookbook/retrieval) contains some older syntax. As far as I understand, the cookbook is supposed to provide examples for the newest Langchain versi...
DOC: Cookbook entry for RAG contains older syntax
https://api.github.com/repos/langchain-ai/langchain/issues/14292/comments
1
2023-12-05T12:40:54Z
2024-03-16T16:11:26Z
https://github.com/langchain-ai/langchain/issues/14292
2,026,106,178
14,292
[ "hwchase17", "langchain" ]
### Issue with current documentation: In this Announcements (https://github.com/langchain-ai/langchain/discussions/categories/announcements) [LangChain Core #13823 ](https://github.com/langchain-ai/langchain/discussions/13823) hwchase17 say he > TL;DR: we are splitting our core functionality to langchain-core t...
DOC: Why use LCEL ModuleNotFoundError: No module named 'langchain_core'
https://api.github.com/repos/langchain-ai/langchain/issues/14287/comments
7
2023-12-05T10:38:45Z
2024-03-30T16:05:46Z
https://github.com/langchain-ai/langchain/issues/14287
2,025,877,332
14,287
[ "hwchase17", "langchain" ]
### System Info --------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[27], line 5 1 #### All together! 2 # Put it all together now 3 full_chain = {"topic": chain, "question": lambda x: x["qu...
xml.py Value Error --> insufficient error information
https://api.github.com/repos/langchain-ai/langchain/issues/14286/comments
1
2023-12-05T10:12:15Z
2024-03-16T16:11:21Z
https://github.com/langchain-ai/langchain/issues/14286
2,025,828,110
14,286
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. so i have this function that saves data into the vector database , what i want is , to extract that vector id so i can delete it later if i want to. is there a way to accomplish this ? ### Suggestion: _No response_
extract vector id and delete one
https://api.github.com/repos/langchain-ai/langchain/issues/14284/comments
2
2023-12-05T09:18:12Z
2024-03-16T16:11:16Z
https://github.com/langchain-ai/langchain/issues/14284
2,025,725,528
14,284
[ "hwchase17", "langchain" ]
### System Info MacOS 14.1.1 ``` pip3 show langchain Name: langchain Version: 0.0.345 Summary: Building applications with LLMs through composability Home-page: https://github.com/langchain-ai/langchain Author: Author-email: License: MIT Location: /Library/Frameworks/Python.framework/Versions/3.11/lib/pytho...
LCEL Streaming doesn't seem to work properly when using an AzureChatOpenAI model, and the JsonOutputFunctionsParser parser
https://api.github.com/repos/langchain-ai/langchain/issues/14280/comments
2
2023-12-05T08:30:23Z
2024-04-30T16:30:14Z
https://github.com/langchain-ai/langchain/issues/14280
2,025,593,782
14,280
[ "hwchase17", "langchain" ]
### Issue with current documentation: It's not clear from the documentation whether when calling Ollama, langchain will take care of formatting the template correctly or if I have to supply the template by myself. For example, in https://ollama.ai/library/mistral:instruct we have: ``` parameter stop "[INS...
Ollama: parameters and instruction templates
https://api.github.com/repos/langchain-ai/langchain/issues/14279/comments
4
2023-12-05T07:49:56Z
2024-03-29T21:36:33Z
https://github.com/langchain-ai/langchain/issues/14279
2,025,500,538
14,279
[ "hwchase17", "langchain" ]
### Feature request Currently, when working with LangChain and generating JSON files which will be rendered in user facing application. We haven't found a dedicated method to check whether a JSON file adheres to the desired structure before executing subsequent operators. This feature request suggests the implemen...
OutputParser cheap json format Validation
https://api.github.com/repos/langchain-ai/langchain/issues/14276/comments
1
2023-12-05T07:05:27Z
2024-03-16T16:11:11Z
https://github.com/langchain-ai/langchain/issues/14276
2,025,423,592
14,276
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.330 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document...
Agent not calling tool with the right data.
https://api.github.com/repos/langchain-ai/langchain/issues/14274/comments
1
2023-12-05T05:44:22Z
2024-03-16T16:11:06Z
https://github.com/langchain-ai/langchain/issues/14274
2,025,331,957
14,274
[ "hwchase17", "langchain" ]
### Issue with current documentation: In UnstructuredExcelLoader code comment, introduce 'elements' mode for twice, but nothing about 'single' mode. Original code comment are following: Unstructured loaders, UnstructuredExcelLoader can be used in both "single" and "elements" mode. **_If you use the loader in "...
DOC: UnstructuredExcelLoader code comment‘s error
https://api.github.com/repos/langchain-ai/langchain/issues/14271/comments
2
2023-12-05T05:20:47Z
2024-03-16T16:11:01Z
https://github.com/langchain-ai/langchain/issues/14271
2,025,310,554
14,271
[ "hwchase17", "langchain" ]
### System Info Every time I use Langchain, something is wrong with it. This is just the latest iteration. If you guys want people to use your library you seriously need to clean things up. ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ...
ImportError: cannot import name 'BaseCache' from 'langchain'
https://api.github.com/repos/langchain-ai/langchain/issues/14268/comments
6
2023-12-05T04:51:11Z
2024-07-02T16:08:12Z
https://github.com/langchain-ai/langchain/issues/14268
2,025,281,757
14,268
[ "hwchase17", "langchain" ]
### Issue with current documentation: Hi, I'm not quite sure how to translate the `ParentDocumentRetriever` examples to ingest documents to OpenSearch in one phase, and then reconnect to it by instantiating a retriever at a later point. The examples use an `InMemoryStore()` for the parent documents. Is the idea t...
DOC: ParentDocumentRetriever without InMemoryStore
https://api.github.com/repos/langchain-ai/langchain/issues/14267/comments
16
2023-12-05T04:26:07Z
2024-07-24T11:29:39Z
https://github.com/langchain-ai/langchain/issues/14267
2,025,258,589
14,267
[ "hwchase17", "langchain" ]
### Feature request Does langchain support using local LLM models to request the Neo4j database in a non-openai access mode? ### Motivation It is inconvenient to use local LLM for cypher generation ### Your contribution No solution available at this time
Does langchain support using local LLM models to request the Neo4j database?
https://api.github.com/repos/langchain-ai/langchain/issues/14261/comments
1
2023-12-05T02:18:01Z
2024-03-16T16:10:56Z
https://github.com/langchain-ai/langchain/issues/14261
2,025,142,888
14,261
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. _No response_ ### Suggestion: _No response_
how to add Qwen model in initialize_agent()
https://api.github.com/repos/langchain-ai/langchain/issues/14260/comments
1
2023-12-05T02:10:39Z
2024-03-16T16:10:51Z
https://github.com/langchain-ai/langchain/issues/14260
2,025,137,077
14,260
[ "hwchase17", "langchain" ]
### System Info When running the tool: Error YahooFinanceNewsTool() the following error message is displayed: ``` File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\tools\yahoo_finance_news.py", line 66, in <listcomp> if query in doc.metadata["description"] or query in do...
Error YahooFinanceNewsTool() Tools
https://api.github.com/repos/langchain-ai/langchain/issues/14248/comments
8
2023-12-04T22:17:30Z
2024-08-02T16:06:53Z
https://github.com/langchain-ai/langchain/issues/14248
2,024,863,086
14,248
[ "hwchase17", "langchain" ]
### System Info Name: langchain Version: 0.0.344 Python 3.9.6 --(tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)] on win32 OS - Window 11 Programming language - Python Database - SQL Anywhere 17 ### Who can help? @hwchase17 @agola11 **I have SAP SQL Anywhere 17 dat...
Lang chain not able to connect to SQL Anywhere 17
https://api.github.com/repos/langchain-ai/langchain/issues/14247/comments
6
2023-12-04T21:47:32Z
2024-03-17T16:08:42Z
https://github.com/langchain-ai/langchain/issues/14247
2,024,815,058
14,247
[ "hwchase17", "langchain" ]
### Feature request With `LLMChain`, it was possible to instantiate with `callbacks`, and just pass around the `LLMChain`. With LCEL, the only way to handle `callbacks` is to pass them to every `invoke` call. This requires one to pass around both the runnable LCEL object as well as the `callbacks`. ### Motiva...
Request: ability to set callbacks with LCEL at instantiation
https://api.github.com/repos/langchain-ai/langchain/issues/14241/comments
5
2023-12-04T18:33:49Z
2024-07-17T16:04:33Z
https://github.com/langchain-ai/langchain/issues/14241
2,024,477,858
14,241
[ "hwchase17", "langchain" ]
### System Info I have just updated my LangChain packages. Until a few weeks ago, LangChain was working fine for me with my Azure OpenAI resource and deployment of the GPT-4-32K model. As I've gone to create more complex applications with it, I got stuck at one section where I kept getting the error: "InvalidRequestE...
Using AzureChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/14238/comments
5
2023-12-04T16:40:49Z
2024-05-13T16:10:00Z
https://github.com/langchain-ai/langchain/issues/14238
2,024,280,548
14,238
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. from langchain.agents import AgentType, initialize_agent from langchain.chat_models import ChatOpenAI from langchain.tools import DuckDuckGoSearchRun llm = ChatOpenAI(temperature=0, model_name="gpt-3.5-turbo-16k") web_search = DuckDuckGoSearchRun() tools = [ web_search, ...
Issue: Recently, the DuckduckGo search tool seems not working. VQDExtractionException: Could not extract vqd. keywords="keywords"
https://api.github.com/repos/langchain-ai/langchain/issues/14233/comments
9
2023-12-04T16:08:09Z
2024-07-10T16:05:25Z
https://github.com/langchain-ai/langchain/issues/14233
2,024,212,346
14,233
[ "hwchase17", "langchain" ]
### System Info python 3.11.6 langchain==0.0.345 langchain-core==0.0.9 jupyter_client==8.6.0 jupyter_core==5.5.0 ipykernel==6.27.0 ipython==8.17.2 on mac M2 ### Who can help? @baskaryan @tomasonjo @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Re...
similarity_search_with_score does not accept "!" in the query
https://api.github.com/repos/langchain-ai/langchain/issues/14232/comments
1
2023-12-04T16:07:02Z
2023-12-13T17:09:52Z
https://github.com/langchain-ai/langchain/issues/14232
2,024,210,192
14,232
[ "hwchase17", "langchain" ]
### System Info python 3.11.6 langchain==0.0.345 langchain-core==0.0.9 jupyter_client==8.6.0 jupyter_core==5.5.0 ipykernel==6.27.0 ipython==8.17.2 on mac M2 ### Who can help? @baskaryan @tomasonjo @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### R...
similarity_search_with_relevance_scores returns incoherent relevance scores with Neo4jVector
https://api.github.com/repos/langchain-ai/langchain/issues/14231/comments
3
2023-12-04T16:00:03Z
2024-03-17T16:08:36Z
https://github.com/langchain-ai/langchain/issues/14231
2,024,195,747
14,231
[ "hwchase17", "langchain" ]
### Issue with current documentation: I cant find documentattion about filtered retrievers, basically I want to fix this issue: https://github.com/langchain-ai/langchain/issues/14227 ### Idea or request for content: And according to other github issues, the way to fix it is with custom filtered retrievers. So I t...
DOC: How to create a custom filtered retriever
https://api.github.com/repos/langchain-ai/langchain/issues/14229/comments
7
2023-12-04T15:07:02Z
2024-05-15T16:06:53Z
https://github.com/langchain-ai/langchain/issues/14229
2,024,080,225
14,229
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.342 langchain-core 0.0.7 azure-search-documents 11.4.0b8 Python: 3.10 ### Who can help? @hw ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Mod...
Filters dont work with Azure Search Vector Store retriever
https://api.github.com/repos/langchain-ai/langchain/issues/14227/comments
5
2023-12-04T14:58:48Z
2024-05-27T16:06:08Z
https://github.com/langchain-ai/langchain/issues/14227
2,024,062,849
14,227
[ "hwchase17", "langchain" ]
### System Info ml.g5.48xlarge EC2 instance on AWS with: - Langchain 0.0.305 - Python 3.10 ### Who can help? @hwchase17 @agola11 ### Information - [x] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ...
partially initialized module 'requests' has no attribute 'Response'
https://api.github.com/repos/langchain-ai/langchain/issues/14226/comments
1
2023-12-04T14:24:15Z
2024-03-16T16:10:31Z
https://github.com/langchain-ai/langchain/issues/14226
2,023,977,308
14,226
[ "hwchase17", "langchain" ]
### System Info Python: 3.10 LangChain: 0.0.344 OpenSearch: Amazon OpenSearch Serverless Vector Engine ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / ...
SelfQueryRetriever with OpenSearch generating invalid queries with Date type
https://api.github.com/repos/langchain-ai/langchain/issues/14225/comments
3
2023-12-04T12:21:19Z
2024-01-22T09:09:43Z
https://github.com/langchain-ai/langchain/issues/14225
2,023,732,355
14,225
[ "hwchase17", "langchain" ]
### System Info MacOS ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Document Loaders - [...
Dall-E Image Generator return url without authentication information
https://api.github.com/repos/langchain-ai/langchain/issues/14223/comments
4
2023-12-04T10:41:50Z
2024-04-16T22:36:58Z
https://github.com/langchain-ai/langchain/issues/14223
2,023,542,482
14,223
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am working on extracting data from HTML files. I need to extract table data to store in a data frame as a table. With the help of langchain document loader I can extract the data row wise but the headers of columns are not getting extracted. How to extract column headers along with the...
Table data extraction from HTML files.
https://api.github.com/repos/langchain-ai/langchain/issues/14218/comments
2
2023-12-04T09:49:35Z
2024-03-17T16:08:31Z
https://github.com/langchain-ai/langchain/issues/14218
2,023,436,264
14,218
[ "hwchase17", "langchain" ]
https://github.com/langchain-ai/langchain/blob/ee94ef55ee6ab064da08340817955f821dfa6261/libs/langchain/langchain/chains/llm.py#L71 In my humble opinion, I think `llm_kwargs` variable should be a parameter declared in the LLM class rather than the LLM Chain. One of the reasons for this, is that when you are declaring...
Add `llm_kwargs` to `BaseRetrievalQA.from_llm`
https://api.github.com/repos/langchain-ai/langchain/issues/14216/comments
2
2023-12-04T09:38:10Z
2024-03-16T16:10:17Z
https://github.com/langchain-ai/langchain/issues/14216
2,023,415,515
14,216
[ "hwchase17", "langchain" ]
### System Info Mac os Python3.9 ### Who can help? @Jiaaming I'm working on this issue. ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Outpu...
BiliBiliLoader Credential No Sessdata error
https://api.github.com/repos/langchain-ai/langchain/issues/14213/comments
4
2023-12-04T06:58:42Z
2024-06-17T16:09:49Z
https://github.com/langchain-ai/langchain/issues/14213
2,023,161,496
14,213
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ValidationError: 2 validation errors for ConversationChain advisor_summary extra fields not permitted (type=value_error.extra) __root__ Got unexpected prompt input variables. The prompt expects ['advisor_summary', 'history', 'input'], but got ['history'] as inputs from memory, an...
ConversationChain error with multiple inputs
https://api.github.com/repos/langchain-ai/langchain/issues/14210/comments
4
2023-12-04T04:34:52Z
2024-03-17T16:08:26Z
https://github.com/langchain-ai/langchain/issues/14210
2,023,006,180
14,210
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, I am trying to use `initialize_agent` to leverage custom tools but when the agent is accepting it, it is modifying the user's input in its own way and causing error in the output. For example, in SQLTool, it is automatically converting it into SQL query which is wrong and ended up gi...
Issue: How to avoid modifying user input and output in initialize_agent?
https://api.github.com/repos/langchain-ai/langchain/issues/14209/comments
11
2023-12-04T03:45:23Z
2024-03-19T16:05:32Z
https://github.com/langchain-ai/langchain/issues/14209
2,022,958,852
14,209
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have a problem in this code `llm_chain = LLMChain(prompt=prompt,llm=local_llm)`, how to define the local huggingface models into this `local_llm` ### Suggestion: _No response_
Issue: <How to use the local huggingface models>
https://api.github.com/repos/langchain-ai/langchain/issues/14208/comments
1
2023-12-04T03:05:05Z
2024-03-16T16:10:01Z
https://github.com/langchain-ai/langchain/issues/14208
2,022,925,148
14,208
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'd like to use Hugging Face's Chat UI frontend with LangChain. https://github.com/huggingface/chat-ui But it looks like the Chat UI is only available through Hugginf Face's Text Generation Inference endpoint. https://github.com/huggingface/chat-ui/issues/466 How can I ser...
Issue: I'd like to use Hugging Face's Chat UI frontend with LangChain.
https://api.github.com/repos/langchain-ai/langchain/issues/14207/comments
2
2023-12-04T02:38:47Z
2024-04-15T10:06:12Z
https://github.com/langchain-ai/langchain/issues/14207
2,022,901,487
14,207
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, I am wondering if anyone has a work around using ConversationalRetrievalChain to retrieve documents with their sources, and prevent the chain from returning sources for questions without sources. query = "How are you doing?" result = chain({"question": query, "chat_history": c...
ConversationalRetrievalChain returns sources to questions without context
https://api.github.com/repos/langchain-ai/langchain/issues/14203/comments
6
2023-12-03T21:33:41Z
2024-04-09T00:22:31Z
https://github.com/langchain-ai/langchain/issues/14203
2,022,724,502
14,203
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. _No response_ ### Suggestion: _No response_
Can i save openai token usage information which get from get_openai_callback directlly to database with SQLChatMessageHistory
https://api.github.com/repos/langchain-ai/langchain/issues/14199/comments
1
2023-12-03T15:59:28Z
2024-03-16T16:09:46Z
https://github.com/langchain-ai/langchain/issues/14199
2,022,602,013
14,199
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.342 Python version: 3.9 OS: Mac OS ### Who can help? @3coins ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selector...
Amazon Kendra: Full answer text not returned for FAQ type answers
https://api.github.com/repos/langchain-ai/langchain/issues/14198/comments
1
2023-12-03T15:31:50Z
2024-03-16T16:09:41Z
https://github.com/langchain-ai/langchain/issues/14198
2,022,589,587
14,198
[ "hwchase17", "langchain" ]
Hey @dosubot, im using this code memory = ConversationBufferMemory( return_messages=True, output_key="answer", input_key="question" ) retriever = load_emdeddings(cfg.faiss_persist_directory, cfg.embeddings).as_retriever(search_type="similarity_score_threshold", search_kwargs...
TypeError: 'HumanMessage' object is not subscriptable
https://api.github.com/repos/langchain-ai/langchain/issues/14196/comments
7
2023-12-03T07:57:32Z
2024-04-18T16:25:14Z
https://github.com/langchain-ai/langchain/issues/14196
2,022,412,641
14,196
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. We create an agent using initialize_agent, register the tool, and configure it to be selected through the agent. However, in the agent, regardless of which tool is selected, I want to pass a data object called request of BaseModel type when executing the tool. I would appreciate it if ...
Passing BaseModel type data from agent to tool
https://api.github.com/repos/langchain-ai/langchain/issues/14192/comments
2
2023-12-03T05:03:47Z
2024-03-16T16:09:36Z
https://github.com/langchain-ai/langchain/issues/14192
2,022,372,837
14,192
[ "hwchase17", "langchain" ]
@dosubot , how do i use system prompt inside conversational retreival chain? prompt = ChatPromptTemplate( messages=[ SystemMessagePromptTemplate.from_template( "You are a nice chatbot named James-AI having a conversation with a human." ), MessagesPlaceholder(variable_name=...
How do i use system prompt template inside conversational retrieval chain?
https://api.github.com/repos/langchain-ai/langchain/issues/14191/comments
8
2023-12-03T04:30:52Z
2024-04-19T16:26:03Z
https://github.com/langchain-ai/langchain/issues/14191
2,022,366,141
14,191
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When I use an existing library that includes langsmith (such as https://github.com/langchain-ai/weblangchain), but I don't have access to langsmith API as I'm still on the waitlist. How can I quickly disable the langsmith functionality without commenting out the code? ### Suggestion: _...
Issue: How to conveniently disable langsmith calls?
https://api.github.com/repos/langchain-ai/langchain/issues/14189/comments
9
2023-12-03T02:55:24Z
2024-07-26T13:01:56Z
https://github.com/langchain-ai/langchain/issues/14189
2,022,302,241
14,189
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. pip list: - langchain 0.0.314 - langchain-core 0.0.8 ```python prompt_template = """ ### [INST] Assistant is a large language model trained by Mistral. Assistant is designed to be able to assist with a wide range ...
Issue: Unable to properly parse output of custom chat agent.
https://api.github.com/repos/langchain-ai/langchain/issues/14185/comments
5
2023-12-02T22:59:44Z
2024-07-02T16:08:07Z
https://github.com/langchain-ai/langchain/issues/14185
2,022,245,713
14,185
[ "hwchase17", "langchain" ]
### Feature request I think Langchain should have a Document Loader that would allow reading all issues from provided project as documents. ### Motivation Langchain currently has agent for JIRA, but there is no Document Loader that would allow to read all issues from specified project and store them in Vector databa...
Add new Document Loader for JIRA
https://api.github.com/repos/langchain-ai/langchain/issues/14180/comments
1
2023-12-02T20:48:41Z
2024-03-17T16:08:07Z
https://github.com/langchain-ai/langchain/issues/14180
2,022,198,845
14,180
[ "hwchase17", "langchain" ]
### Feature request Looks like it should be doable to have Cloudflare Vectorize support, as there's a HTTP API for Vectorize. https://developers.cloudflare.com/api/operations/vectorize-list-vectorize-indexes ### Motivation Similar to langchain-js, it would be nice if we could use Cloudflare Vectorize when using L...
Cloudflare Vectorize Support
https://api.github.com/repos/langchain-ai/langchain/issues/14179/comments
4
2023-12-02T20:43:58Z
2024-07-30T03:32:28Z
https://github.com/langchain-ai/langchain/issues/14179
2,022,197,127
14,179
[ "hwchase17", "langchain" ]
### System Info - LangChain - 0.0.344 - python version - 3.11.6 - platform - windows11 ### Who can help? https://python.langchain.com/docs/modules/agents/agent_types/openai_functions_agent When running the above example, the following error occurs. -----------------------------------------------------------...
Issues: OpenAI functions Agent official example Error
https://api.github.com/repos/langchain-ai/langchain/issues/14177/comments
1
2023-12-02T19:29:23Z
2023-12-05T04:53:44Z
https://github.com/langchain-ai/langchain/issues/14177
2,022,175,407
14,177
[ "hwchase17", "langchain" ]
### Issue with current documentation: Is there a way to conditionally create a Pandas agent using `create_pandas_dataframe_agent` or update the DataFrame the agent has access to? Say I have an agent that has access to tools like so: ```python @tool() def f(query: str) -> pd.DataFrame: ... agent = initi...
DOC: Is there a way to conditionally create/update a Pandas DataFrame agent?
https://api.github.com/repos/langchain-ai/langchain/issues/14176/comments
2
2023-12-02T17:08:46Z
2024-03-17T16:07:57Z
https://github.com/langchain-ai/langchain/issues/14176
2,022,127,350
14,176
[ "hwchase17", "langchain" ]
### System Info platform: Vagrant - Ubuntu 2204 python: 3.9.18 langchain version: 0.0.344 langchain core: 0.0.8 clarifai: 9.10.4 ### Who can help? @hwchase17 @agola11 ### Information - [X] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [ ] LLMs/Ch...
ModuleNotFoundError: No module named 'clarifai.auth'
https://api.github.com/repos/langchain-ai/langchain/issues/14175/comments
1
2023-12-02T15:28:09Z
2023-12-18T20:34:37Z
https://github.com/langchain-ai/langchain/issues/14175
2,022,085,674
14,175
[ "hwchase17", "langchain" ]
### System Info langchain version : langchain 0.0.344 langchain-core 0.0.8 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prom...
BUG: csv loader exception, AttributeError: partially initialized module 'importlib.metadata' has no attribute 'version' (most likely due to a circular import)
https://api.github.com/repos/langchain-ai/langchain/issues/14173/comments
3
2023-12-02T12:42:14Z
2024-04-07T16:06:39Z
https://github.com/langchain-ai/langchain/issues/14173
2,022,026,571
14,173
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Please help! Error: GGML_ASSERT: C:\Users\user\AppData\Local\Temp\pip-install-l0_yao9s\llama-cpp-python_686671b6d7b8440a98e23acb5bc6a41a\vendor\llama.cpp\ggml.c:15149: cgraph->nodes[cgraph->n_nodes - 1] == tensor GGML_ASSERT: C:\Users\user\AppData\Local\Temp\pip-install-l0_yao9s\llama...
Local LLM ISSUE GGML_ASSERT
https://api.github.com/repos/langchain-ai/langchain/issues/14169/comments
6
2023-12-02T09:07:35Z
2024-03-18T16:07:14Z
https://github.com/langchain-ai/langchain/issues/14169
2,021,955,776
14,169
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ```python from langchain.chains import create_extraction_chain from langchain.chat_models import ChatOpenAI import dotenv dotenv.load_dotenv() # Schema schema = { "properties": { "name": {"type": "string"}, "education": {"type": "string"}, "com...
Question about runing Langchain Extraction Demo in Chinese text.
https://api.github.com/repos/langchain-ai/langchain/issues/14168/comments
4
2023-12-02T09:01:35Z
2023-12-04T02:10:15Z
https://github.com/langchain-ai/langchain/issues/14168
2,021,953,293
14,168
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Code: retriever = BM25Retriever.from_documents( [ Document(page_content="foo"), Document(page_content="bar"), Document(page_content="world"), Document(page_content="hello"), Document(page_content="foo bar"), ] ) Error: ---> 30...
Issue: 'BM25Retriever' has no attribute 'from_documents'
https://api.github.com/repos/langchain-ai/langchain/issues/14167/comments
4
2023-12-02T08:44:31Z
2024-03-25T16:06:57Z
https://github.com/langchain-ai/langchain/issues/14167
2,021,948,035
14,167
[ "hwchase17", "langchain" ]
### System Info langchain: 0.0.339 Python: 3.11.6 I followed instructions in [https://docs.smith.langchain.com/evaluation/evaluator-implementations](https://docs.smith.langchain.com/evaluation/evaluator-implementations) `from langsmith import Client from langchain.smith import RunEvalConfig, run_on_dataset ...
run_on_dataset: Errno 409 Client Error: Session already exists.
https://api.github.com/repos/langchain-ai/langchain/issues/14161/comments
1
2023-12-02T01:44:13Z
2023-12-02T01:52:08Z
https://github.com/langchain-ai/langchain/issues/14161
2,021,798,420
14,161
[ "hwchase17", "langchain" ]
### System Info [pydantic_chain_test_code.txt](https://github.com/langchain-ai/langchain/files/13532796/pydantic_chain_test_code.txt) [error_log.txt](https://github.com/langchain-ai/langchain/files/13532799/error_log.txt) ### Who can help? @agola11 @hwchase17 The attached code is adopted from the official exa...
create_tagging_chain_pydantic() pydantic schema validation errors
https://api.github.com/repos/langchain-ai/langchain/issues/14159/comments
2
2023-12-02T00:35:53Z
2023-12-04T20:06:05Z
https://github.com/langchain-ai/langchain/issues/14159
2,021,770,513
14,159
[ "hwchase17", "langchain" ]
### System Info conda 23.3.1 Python 3.10.6 angchain 0.0.344 pypi_0 pypi langchain-core 0.0.8 pypi_0 pypi langchain-experimental 0.0.43 pypi_0 pypi ### Who can help? _No response_ ### Information - [ ] The official exam...
Claude v2.1 SQLDatabaseChain produces comments mixed with SQL Statements
https://api.github.com/repos/langchain-ai/langchain/issues/14150/comments
11
2023-12-01T21:48:33Z
2024-05-07T16:07:28Z
https://github.com/langchain-ai/langchain/issues/14150
2,021,628,680
14,150
[ "hwchase17", "langchain" ]
### Feature request Adding [IBM Watson Discovery Service](https://cloud.ibm.com/docs/discovery-data?topic=discovery-data-getting-started) as an additional retriever might be a useful extension to enable RAG-use cases or supporting RetrievalChains. IBM Watson Discovery Service can find relevant documents based on natu...
Add Retriever for Knowledge Base IBM Watson Discovery Service
https://api.github.com/repos/langchain-ai/langchain/issues/14145/comments
1
2023-12-01T21:01:46Z
2024-03-16T16:09:11Z
https://github.com/langchain-ai/langchain/issues/14145
2,021,577,501
14,145
[ "hwchase17", "langchain" ]
### System Info It seems the typing of my index is lost when I save and load it. This is me creating the FAISS vector store with the MAX_INNER_PRODUCT flag. ```python # Saving save_db = FAISS.from_texts(texts, embedding_function, metadatas=metadatas, distance_strategy="MAX_INNER_PRODUCT", normalize_L2=True) save...
FAISS.load_local does not keep the typing of the saved Index
https://api.github.com/repos/langchain-ai/langchain/issues/14141/comments
3
2023-12-01T20:31:24Z
2024-01-11T22:59:40Z
https://github.com/langchain-ai/langchain/issues/14141
2,021,543,545
14,141
[ "hwchase17", "langchain" ]
### Feature request Amazon DocumentDB has launched its vector search feature recently. Let us add Amazon DocumentDB as vector store in langchain. ### Motivation This will help large customer base of Amazon DocumentDB to adopt langchain and seamlessly build AI/ML apps ### Your contribution Amazon Document...
Amazon DocumentDB Vector Store
https://api.github.com/repos/langchain-ai/langchain/issues/14140/comments
8
2023-12-01T20:20:11Z
2024-06-01T00:07:37Z
https://github.com/langchain-ai/langchain/issues/14140
2,021,530,789
14,140
[ "hwchase17", "langchain" ]
### System Info Python 3.11, `langchain==0.0.340` ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers ...
Bug: LCEL prompt template not logging
https://api.github.com/repos/langchain-ai/langchain/issues/14135/comments
2
2023-12-01T18:30:40Z
2024-03-17T16:07:47Z
https://github.com/langchain-ai/langchain/issues/14135
2,021,388,401
14,135
[ "hwchase17", "langchain" ]
### Issue with current documentation: https://python.langchain.com/docs/modules/callbacks/ This doc doesn't mention how to use callbacks with LCEL. It would be good to add that, to help with the migration from `LLMChain` to `LCEL`. ### Idea or request for content: https://python.langchain.com/docs/modules/c...
DOC: documenting callbacks with LCEL
https://api.github.com/repos/langchain-ai/langchain/issues/14134/comments
8
2023-12-01T18:21:00Z
2023-12-04T18:34:07Z
https://github.com/langchain-ai/langchain/issues/14134
2,021,375,012
14,134
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.335 macOS 14.1.1 / Windows 10.0.19045 Python 3.11.6 / 3.10.9 ### Who can help? @naveentatikonda ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ]...
OpenSearchVectorSearch fails to detect AOSS is enabled when using RequestAWS4SignerAuth from opensearch-py
https://api.github.com/repos/langchain-ai/langchain/issues/14129/comments
3
2023-12-01T15:53:57Z
2024-01-09T10:12:53Z
https://github.com/langchain-ai/langchain/issues/14129
2,021,147,121
14,129
[ "hwchase17", "langchain" ]
### System Info Using latest docker versions for langchain templates ### 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 - ...
AttributeError: 'NotImplementedType' object has no attribute 'get_input_schema'
https://api.github.com/repos/langchain-ai/langchain/issues/14128/comments
7
2023-12-01T15:26:49Z
2024-05-10T16:08:40Z
https://github.com/langchain-ai/langchain/issues/14128
2,021,099,502
14,128
[ "hwchase17", "langchain" ]
### System Info * Windows 11 Home (build 22621.2715) * Python 3.12.0 * Clean virtual environment using Poetry with following dependencies: ``` python = "3.12.0" langchain = "0.0.344" spacy = "3.7.2" spacy-llm = "0.6.4" ``` ### Who can help? @h3l As the creator of the pull request where VolcEngine was i...
Volc Engine MaaS has wrong entry in LLM type to class dict (causing SpaCy to not work with LangChain anymore)
https://api.github.com/repos/langchain-ai/langchain/issues/14127/comments
4
2023-12-01T13:58:13Z
2023-12-04T08:58:10Z
https://github.com/langchain-ai/langchain/issues/14127
2,020,934,355
14,127
[ "hwchase17", "langchain" ]
### Feature request Currently, the ConversationSummaryBufferMemory only supports the GPT2TokenizerFast and there is no option to pass a custom tokenizer. Different models have different corresponding tokenizers, so it makes sense to allow the option to specify a custom tokenizer. The tokenizer fetching is implement...
Specify a custom tokenizer for the ConversationSummaryBufferMemory
https://api.github.com/repos/langchain-ai/langchain/issues/14124/comments
1
2023-12-01T10:43:31Z
2024-03-16T16:09:01Z
https://github.com/langchain-ai/langchain/issues/14124
2,020,608,208
14,124
[ "hwchase17", "langchain" ]
qa = RetrievalQA.from_chain_type(llm=llm, retriever=docsearch.as_retriever( search_kwargs={"k": 1}), verbose=True) How can we add the prompts like systemPromptTemplate and humanPromptTemplate in the above code. ### Suggestion: _No response_
How can we add Prompt in RetrievalQA
https://api.github.com/repos/langchain-ai/langchain/issues/14123/comments
1
2023-12-01T10:41:14Z
2024-03-17T16:07:41Z
https://github.com/langchain-ai/langchain/issues/14123
2,020,604,255
14,123
[ "hwchase17", "langchain" ]
### Feature request Amazon Bedrock now provides some useful metrics when it has finished: `"completion":"Response from Bedrock...","stop_reason":"stop_sequence","stop":"\n\nHuman:","amazon-bedrock-invocationMetrics":{"inputTokenCount":16,"outputTokenCount":337,"invocationLatency":4151,"firstByteLatency":136}}` I...
Expose Amazon Bedrock amazon-bedrock-invocationMetrics in response
https://api.github.com/repos/langchain-ai/langchain/issues/14120/comments
4
2023-12-01T09:41:44Z
2024-06-18T16:09:25Z
https://github.com/langchain-ai/langchain/issues/14120
2,020,491,917
14,120
[ "hwchase17", "langchain" ]
I am currently operating a chroma docker on port 8001 and using it for my node js application with the URL CHROMA_URI=http://localhost:8001/, which allows me to read the vectors. However, when I try to use the same chroma_URI with langchain chroma, I encounter an error message. The error message reads: **{"lc":1,"ty...
Trouble Connecting Langchain Chroma to Existing ChromaDB on Port 8001
https://api.github.com/repos/langchain-ai/langchain/issues/14119/comments
1
2023-12-01T09:09:40Z
2024-03-17T16:07:36Z
https://github.com/langchain-ai/langchain/issues/14119
2,020,436,621
14,119
[ "hwchase17", "langchain" ]
### System Info - Python 3.9.13 - langchain==0.0.344 - langchain-core==0.0.8 ### Who can help? @agola11 @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt ...
Cost doesnt work when used inside Tool
https://api.github.com/repos/langchain-ai/langchain/issues/14117/comments
2
2023-12-01T08:37:47Z
2023-12-01T13:40:19Z
https://github.com/langchain-ai/langchain/issues/14117
2,020,382,738
14,117
[ "hwchase17", "langchain" ]
### System Info I was just trying to run the LLMs tutorial. ``` from langchain.llms import VertexAI llm = VertexAI() print(llm("What are some of the pros and cons of Python as a programming language?")) ``` I got this error. ``` File "C:\Users\******\anaconda3\envs\vertex-ai\Lib\site-packages\langchain...
Google Cloud Vertex AI Throws AttributeError: partially initialized module 'vertexai' has no attribute 'init'
https://api.github.com/repos/langchain-ai/langchain/issues/14114/comments
2
2023-12-01T07:13:02Z
2024-03-17T16:07:31Z
https://github.com/langchain-ai/langchain/issues/14114
2,020,257,158
14,114
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am in need to get all the pages and page id of a particular Confluence Spaces, How can I get all the page id? ### Suggestion: _No response_
Issue:How to get all the Pages of Confluence Spaces.
https://api.github.com/repos/langchain-ai/langchain/issues/14113/comments
9
2023-12-01T07:07:47Z
2024-04-18T16:28:00Z
https://github.com/langchain-ai/langchain/issues/14113
2,020,249,681
14,113