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 LangChain 0.0.317 atlassian-python-api 3.41.3 ### 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 S...
Confluence document loader not handling pagination correctly anymore (when using Confluence Cloud)
https://api.github.com/repos/langchain-ai/langchain/issues/12082/comments
5
2023-10-20T15:41:10Z
2024-05-20T07:16:20Z
https://github.com/langchain-ai/langchain/issues/12082
1,954,551,450
12,082
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hello, I am using langchain offline on a local machine. I'd like to split document over tokens user TokenTextSplitter. Unfortunately, I can't get to make the class to user a local tokenizer. I tried to do `text_splitter = TokenTextSplitter(model_name='/my/path/to/my/tokeniz...
Issue: TokenTextSplitter with local tokenizer ?
https://api.github.com/repos/langchain-ai/langchain/issues/12078/comments
4
2023-10-20T13:46:35Z
2023-10-20T14:30:20Z
https://github.com/langchain-ai/langchain/issues/12078
1,954,330,346
12,078
[ "hwchase17", "langchain" ]
### System Info Running SQLDatabaseChain with LangChain version 0.0.319 and Snowflake return SQL query which is to be executed on snowflake database in next step. But returned query contains the prefix "SQLQuery:\n" which will broke the whole chain when the query gets executed on snowflake. How to get rid of this "SQL...
Running SQLDatabaseChain adds prefix "SQLQuery:\n" infront of returned SQL by LLM, causing invalid query when ran on Database using chain
https://api.github.com/repos/langchain-ai/langchain/issues/12077/comments
11
2023-10-20T13:14:25Z
2024-04-14T16:17:56Z
https://github.com/langchain-ai/langchain/issues/12077
1,954,271,029
12,077
[ "hwchase17", "langchain" ]
### System Info MacOS Ventura 13.6 Python 3.10.13 langchain 0.0.306 ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt...
Function get_relevant_docs() returning AttributeError
https://api.github.com/repos/langchain-ai/langchain/issues/12076/comments
4
2023-10-20T12:49:04Z
2024-02-21T16:08:04Z
https://github.com/langchain-ai/langchain/issues/12076
1,954,222,876
12,076
[ "hwchase17", "langchain" ]
### Issue with current documentation: #### **Description** In various places within the documentation, the import statement is being used: ```python from langchain.llms import OpenAI ``` However, as hinted in https://github.com/langchain-ai/langchain/commit/779790167e37f49b3eec5d04dfd30b0447d4a32a, this s...
DOC: Deprecated Import Statement in Documentation for OpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/12074/comments
1
2023-10-20T12:31:33Z
2024-02-06T16:17:06Z
https://github.com/langchain-ai/langchain/issues/12074
1,954,194,603
12,074
[ "hwchase17", "langchain" ]
### System Info Langchain Version: 0.0.316 - Python 3.8.10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selectors - [ ] Ou...
system_message in agent_kwargs not updating System Message in AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION
https://api.github.com/repos/langchain-ai/langchain/issues/12072/comments
3
2023-10-20T11:21:19Z
2023-11-06T08:27:49Z
https://github.com/langchain-ai/langchain/issues/12072
1,954,083,040
12,072
[ "hwchase17", "langchain" ]
### System Info Platform: local development on MacOS Ventura Python version: 3.9.7 langchain.version: 0.0.315 faiss.version: 1.7.4 openai.version: 0.28.1 ### Who can help? @hwchase17 ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Compone...
AttributeError: 'OpenAIEmbeddings' object has no attribute 'skip_empty'
https://api.github.com/repos/langchain-ai/langchain/issues/12071/comments
2
2023-10-20T11:01:54Z
2024-02-13T16:10:13Z
https://github.com/langchain-ai/langchain/issues/12071
1,954,054,770
12,071
[ "hwchase17", "langchain" ]
### Feature request At the moment huggingface_hub.py supports only sentence-transformers because there is a validation: ``` if not repo_id.startswith("sentence-transformers"): raise ValueError( "Currently only 'sentence-transformers' embedding models " f"a...
Support other embedder in Hugginface Hub
https://api.github.com/repos/langchain-ai/langchain/issues/12069/comments
1
2023-10-20T08:39:34Z
2024-01-30T05:53:04Z
https://github.com/langchain-ai/langchain/issues/12069
1,953,813,752
12,069
[ "hwchase17", "langchain" ]
### Feature request Textract released the [LAYOUT](https://docs.aws.amazon.com/textract/latest/dg/layoutresponse.html) feature, which identifies different layout elements like tables, lists, figures, text-paragraphs and titles. This should be used by the AmazonTextractPDFParser to generate a linearized output to impro...
feat: Add Linearized output to Textract PDFLoader
https://api.github.com/repos/langchain-ai/langchain/issues/12068/comments
1
2023-10-20T08:28:07Z
2023-10-31T01:02:11Z
https://github.com/langchain-ai/langchain/issues/12068
1,953,794,419
12,068
[ "hwchase17", "langchain" ]
### Issue with current documentation: The current documentation for rag does not focus on adding metadata to chunks to make sure before even doing similarity search on vector db only the relevant docs with correct metadata are retrieved from vector db. The issue is with open source embedding models having only mostl...
DOC: Improve MarkDown Splitting and Metadata as Part of RAG.
https://api.github.com/repos/langchain-ai/langchain/issues/12067/comments
2
2023-10-20T08:02:52Z
2024-03-16T16:05:11Z
https://github.com/langchain-ai/langchain/issues/12067
1,953,754,290
12,067
[ "hwchase17", "langchain" ]
### System Info accelerate==0.23.0 aiohttp==3.8.6 aiosignal==1.3.1 altair==5.1.2 annotated-types==0.6.0 anyio==3.7.1 appdirs==1.4.4 asgiref==3.7.2 asttokens==2.4.0 async-timeout==4.0.3 attrs==23.1.0 auto-gptq==0.4.2 backcall==0.2.0 bentoml==1.1.7 bitsandbytes==0.41.1 blinker==1.6.3 build==1.0.3 cachet...
qdrant.py doesn't contain any allowed_operators
https://api.github.com/repos/langchain-ai/langchain/issues/12061/comments
3
2023-10-20T03:00:01Z
2024-02-12T16:10:44Z
https://github.com/langchain-ai/langchain/issues/12061
1,953,416,596
12,061
[ "hwchase17", "langchain" ]
### System Info langchain==0.0.319, mac, python 3.10 ### Who can help? @hwchase17 @agola11 I'm trying to use this exact example from: https://python.langchain.com/docs/expression_language/cookbook/memory ``` model = ChatOpenAI() prompt = ChatPromptTemplate.from_messages([ ("system", "You are a he...
The LCEL memory example returns KeyError
https://api.github.com/repos/langchain-ai/langchain/issues/12057/comments
9
2023-10-20T00:04:37Z
2024-05-29T07:56:57Z
https://github.com/langchain-ai/langchain/issues/12057
1,953,239,021
12,057
[ "hwchase17", "langchain" ]
### Feature request Currently Bedrock and BedrockChat models do not sypport async calls and streaming. it would be very useful to have working ChatOpenAI methods like _acall and _astream in Bedrock llms too so that we can use Claude2 and other Bedrock Models in production easily ### Motivation without async functio...
Add Async _acall and _astream to Bedrock
https://api.github.com/repos/langchain-ai/langchain/issues/12054/comments
4
2023-10-19T21:16:32Z
2024-02-05T22:56:23Z
https://github.com/langchain-ai/langchain/issues/12054
1,953,068,062
12,054
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. In the [documentation](https://python.langchain.com/docs/modules/agents/tools/custom_tools), it's mentioned that expected input parameters could be defined though `args_schema` for the custom tool: ``` class CalculatorInput(BaseModel): question: str = Field() class CustomCalcul...
Issue: description for the custom tool's output
https://api.github.com/repos/langchain-ai/langchain/issues/12050/comments
1
2023-10-19T20:56:28Z
2024-02-06T16:17:16Z
https://github.com/langchain-ai/langchain/issues/12050
1,953,042,836
12,050
[ "hwchase17", "langchain" ]
### System Info I filed an issue with llama-cpp here https://github.com/ggerganov/llama.cpp/issues/3689 langchain ```Name: langchain Version: 0.0.208 Summary: Building applications with LLMs through composability Home-page: https://www.github.com/hwchase17/langchain Author: Author-email: License: MIT Loca...
Toy vectordb embedding example adopted to llama-cpp-python causes failure
https://api.github.com/repos/langchain-ai/langchain/issues/12049/comments
4
2023-10-19T20:43:27Z
2024-02-12T16:10:49Z
https://github.com/langchain-ai/langchain/issues/12049
1,953,025,897
12,049
[ "hwchase17", "langchain" ]
### Feature request It would be nice to have agents that could access dictionary APIs such as the Merriam-Webster API or Urban Dictionary API (for slang). ### Motivation It can be useful to be able to look up definitions for words using a dictionary to provide additional context. With no current dictionary tools ava...
Tools for Dictionary APIs
https://api.github.com/repos/langchain-ai/langchain/issues/12039/comments
1
2023-10-19T18:31:45Z
2023-11-30T01:28:30Z
https://github.com/langchain-ai/langchain/issues/12039
1,952,840,501
12,039
[ "hwchase17", "langchain" ]
### System Info Name: langchain Version: 0.0.317 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors -...
Bedrock chain not working with AsyncCallbackHandler
https://api.github.com/repos/langchain-ai/langchain/issues/12035/comments
11
2023-10-19T18:09:39Z
2024-03-29T00:45:02Z
https://github.com/langchain-ai/langchain/issues/12035
1,952,806,485
12,035
[ "hwchase17", "langchain" ]
### Feature request Hi, I'd love if we could create conversational retrieval agents using BedrockChat LLMs! ### Motivation This feature would be very useful for many users.
create_conversational_retrieval_agent with BedrockChat models
https://api.github.com/repos/langchain-ai/langchain/issues/12028/comments
4
2023-10-19T15:57:59Z
2024-05-07T16:06:13Z
https://github.com/langchain-ai/langchain/issues/12028
1,952,599,482
12,028
[ "hwchase17", "langchain" ]
### Feature request We want some output parser or feature that will restrict llm to generate specifi number of words.in json or any format. some times user want 10 lines output,sometime only 2 words etc so this is very helpful feature .thanks ### Motivation i want to build the next word auto suggetion model usin...
how can i get only 1 or 2 words output from my llm?
https://api.github.com/repos/langchain-ai/langchain/issues/12024/comments
4
2023-10-19T13:06:06Z
2024-02-11T16:10:01Z
https://github.com/langchain-ai/langchain/issues/12024
1,952,216,333
12,024
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. ``` import os from langchain.llms import AzureOpenAI os.environ["OPENAI_API_TYPE"] = "azure" os.environ["OPENAI_API_VERSION"] = "2023-07-01-preview" os.environ["OPENAI_API_BASE"] = "https://myurlid.openai.azure.com/" os.environ["OPENAI_API_KEY"] = "my key" llm = AzureOpenAI( ...
Issue:The completion operation does not work with the specified model for azure openai api
https://api.github.com/repos/langchain-ai/langchain/issues/12019/comments
6
2023-10-19T09:49:05Z
2024-02-11T16:10:06Z
https://github.com/langchain-ai/langchain/issues/12019
1,951,757,935
12,019
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.312 Python 3.11.6 ### 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...
self._scrape in lazy_load method is not taken any parameters except path given instantiating WebBaseLoader
https://api.github.com/repos/langchain-ai/langchain/issues/12018/comments
2
2023-10-19T08:23:38Z
2024-02-06T16:17:36Z
https://github.com/langchain-ai/langchain/issues/12018
1,951,581,376
12,018
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm currently working on accessing a Confluence space using Langchain and performing question answering on its data. The embeddings of this data are stored in a Chromadb vector database once I provide user name,API keyand Space key. However, I'm looking for a way to automatically genera...
Issue: How to Automatically Generate Embeddings for Updated Documents in a Confluence Space and Enable Real-Time Question Answering on the Updated Data?
https://api.github.com/repos/langchain-ai/langchain/issues/12013/comments
2
2023-10-19T06:09:01Z
2024-02-06T16:17:42Z
https://github.com/langchain-ai/langchain/issues/12013
1,951,360,189
12,013
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. **Below code is for generating embeddings from pdf** loader = PyPDFLoader(f"{file_path}") document = loader.load() text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=0) texts = text_splitter.split_documents(documents=document) embed...
Issue:doubt about generating embeddings for both PDF documents and Confluence content and storing them in a single 'embeddings' folder
https://api.github.com/repos/langchain-ai/langchain/issues/12012/comments
5
2023-10-19T06:05:13Z
2024-02-11T16:10:11Z
https://github.com/langchain-ai/langchain/issues/12012
1,951,355,497
12,012
[ "hwchase17", "langchain" ]
### System Info Hi, I am facing an issue when attempting to run the "Semi_structured_multi_modal_RAG_LLaMA2.ipynb" notebook from the cookbook. ![image](https://github.com/langchain-ai/langchain/assets/91419837/0a29dd3e-40a1-4264-8e07-bf0edc63b882) **Environment Details** Langchain Version: 0.0.317 I would apprecia...
TypeError: UnstructuredYoloXModel.initialize() got an unexpected keyword argument 'extract_images_in_pdf' while running Semi_structured_multi_modal_RAG_LLaMA2.ipynb
https://api.github.com/repos/langchain-ai/langchain/issues/12010/comments
9
2023-10-19T05:14:22Z
2024-02-14T16:09:13Z
https://github.com/langchain-ai/langchain/issues/12010
1,951,253,426
12,010
[ "hwchase17", "langchain" ]
### System Info Hello! Even though [API](https://api.python.langchain.com/en/latest/retrievers/langchain.retrievers.kay.KayAiRetriever.html) mentions a metadata param, it's not found in [code](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/retrievers/kay.py#L9). Without metadata f...
KayAiRetriever: without metadata filtering, wrong results
https://api.github.com/repos/langchain-ai/langchain/issues/12008/comments
8
2023-10-19T04:29:06Z
2023-10-24T15:12:17Z
https://github.com/langchain-ai/langchain/issues/12008
1,951,178,914
12,008
[ "hwchase17", "langchain" ]
i have 1 folder called with data, in it there are 2 .txt files which are obama.txt and trump.txt, each file contains summary of each person from wikipedia and on the root of the folder, i have anthropic.py and below is the code ``` from langchain.document_loaders import DirectoryLoader from langchain.indexes impor...
langchain answers change drastically
https://api.github.com/repos/langchain-ai/langchain/issues/12005/comments
10
2023-10-19T03:18:24Z
2024-02-14T16:09:18Z
https://github.com/langchain-ai/langchain/issues/12005
1,951,117,494
12,005
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have checked the documentation, although both are supported in langchain, but I could not find a way for streaming output. ### Suggestion: _No response_
Is there any way to stream output for VLLM and Together ai?
https://api.github.com/repos/langchain-ai/langchain/issues/12004/comments
3
2023-10-19T02:37:53Z
2024-02-13T12:41:33Z
https://github.com/langchain-ai/langchain/issues/12004
1,951,079,170
12,004
[ "hwchase17", "langchain" ]
hi team, Can I return source documents when using MultiRetrievalQAChain? I want to fetch the metadata of source. thx
MultiRetrievalQAChain return source documents
https://api.github.com/repos/langchain-ai/langchain/issues/12002/comments
3
2023-10-19T01:16:15Z
2024-02-10T16:11:52Z
https://github.com/langchain-ai/langchain/issues/12002
1,951,006,205
12,002
[ "hwchase17", "langchain" ]
This is the default class of VectorstoreIndexCreator ``` class VectorstoreIndexCreator( *, vectorstore_cls: type[VectorStore] = Chroma, embedding: Embeddings = OpenAIEmbeddings, text_splitter: TextSplitter = _get_default_text_splitter, vectorstore_kwargs: dict = dict ) ``` the default ...
Overriding VectorstoreIndexCreator() embedding
https://api.github.com/repos/langchain-ai/langchain/issues/12001/comments
4
2023-10-19T01:04:25Z
2023-10-19T03:07:29Z
https://github.com/langchain-ai/langchain/issues/12001
1,950,996,772
12,001
[ "hwchase17", "langchain" ]
### System Info langchain_version: "0.0.306" library: "langchain" library_version: "0.0.306" platform: "Windows-10-10.0.22621-SP0" py_implementation: "CPython" runtime: "python" runtime_version: "3.9.0rc2" sdk_version: "0.0.41" ### Who can help? @hwchase17 ### Information - [ ] The official examp...
Streaming not working when routing between Runnables in LCEL
https://api.github.com/repos/langchain-ai/langchain/issues/11998/comments
10
2023-10-19T00:24:22Z
2023-12-26T20:49:20Z
https://github.com/langchain-ai/langchain/issues/11998
1,950,952,387
11,998
[ "hwchase17", "langchain" ]
### Feature request We propose the integration of a new tool into Langchain that will provide comprehensive support for queries on the AlphaVantage Trading API. AlphaVantage offers a wide range of financial data and services, and this integration will enhance Langchain's capabilities for financial data analysis. ...
Add Alpha Vantage API Tool
https://api.github.com/repos/langchain-ai/langchain/issues/11994/comments
8
2023-10-18T20:15:47Z
2024-03-13T19:58:04Z
https://github.com/langchain-ai/langchain/issues/11994
1,950,574,553
11,994
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I want to interact with my database so I'm using SQLDatabaseChain and SQL Agent to convert natural language query to sql query then execute on the database. So I want to save the chat history here so that if a user asks anything related previous question/answer it should pick and then a...
Issue: Which memory type i need to use for db-backed history
https://api.github.com/repos/langchain-ai/langchain/issues/11985/comments
6
2023-10-18T16:15:42Z
2024-02-13T16:10:27Z
https://github.com/langchain-ai/langchain/issues/11985
1,950,139,790
11,985
[ "hwchase17", "langchain" ]
### System Info **Description:** It's not possible to use the ParentDocumentRetriever and MultiVectorRetriever at the same time. But, it's a good idea to generate multiple vector for one fragment, then manage the life cycle of all vertions the ParentDocumentRetriever. I think, the `MultiVectorRetriever` is not ...
ParentDocumentRetriever is incompatible with MultiVectorRetriever
https://api.github.com/repos/langchain-ai/langchain/issues/11983/comments
4
2023-10-18T15:48:45Z
2024-03-13T19:58:53Z
https://github.com/langchain-ai/langchain/issues/11983
1,950,071,972
11,983
[ "hwchase17", "langchain" ]
### System Info **description** With parent_splitter, it's not possible to know the number of IDs before the split. So, it's not possible to know the ID of each fragment. Then, it's not possible to manage the life cycle of the fragment because it's impossible to know the list of IDs associated with the original big...
ParentDocumentRetriever: parent_splitter and ids are incompatible
https://api.github.com/repos/langchain-ai/langchain/issues/11982/comments
4
2023-10-18T15:39:29Z
2024-03-13T19:58:37Z
https://github.com/langchain-ai/langchain/issues/11982
1,950,052,502
11,982
[ "hwchase17", "langchain" ]
### System Info latest version of langchain. python=3.11.4 ### 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 - [ ] Outp...
how to connect to sql view in database
https://api.github.com/repos/langchain-ai/langchain/issues/11980/comments
9
2023-10-18T14:22:33Z
2024-04-22T16:39:16Z
https://github.com/langchain-ai/langchain/issues/11980
1,949,883,986
11,980
[ "hwchase17", "langchain" ]
# Issue: UnstructuredEmailLoader only returning first or no `element` of the mail irrespective of the `mode`. ### System Info langchain version: 0.0.316 unstructured version: 0.10.18 ### Who can help? @eyurtsev @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own m...
UnstructuredEmailLoader just returning the first element
https://api.github.com/repos/langchain-ai/langchain/issues/11978/comments
4
2023-10-18T13:40:37Z
2023-10-19T06:05:51Z
https://github.com/langchain-ai/langchain/issues/11978
1,949,786,869
11,978
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am using the LLMChain with the ConversationBufferMemory and it works pretty well. There is a case where the chain throws this exception: ValueError: unexpected '{' in field name. This happens only when I use the word "field" in my question. The code I have written is down below: F...
Specific word crashing LLMChain
https://api.github.com/repos/langchain-ai/langchain/issues/11977/comments
2
2023-10-18T13:27:44Z
2024-02-06T16:18:01Z
https://github.com/langchain-ai/langchain/issues/11977
1,949,759,853
11,977
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi! I was taking a look to the Confluence integration at https://python.langchain.com/docs/integrations/document_loaders/confluence , and in our team we have the following doubt: from langchain.document_loaders import ConfluenceLoader loader = ConfluenceLoader( url="https://y...
Issue: Doubt about Confluence Loader
https://api.github.com/repos/langchain-ai/langchain/issues/11976/comments
1
2023-10-18T10:32:57Z
2023-10-18T13:00:26Z
https://github.com/langchain-ai/langchain/issues/11976
1,949,413,017
11,976
[ "hwchase17", "langchain" ]
### System Info Langchain version: v0.0.316 I am following the langchain documentation to add memory to the chat with LLMChain: https://python.langchain.com/docs/modules/memory/adding_memory ```py memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True) CYPHER_GENERATION_TEMPLA...
ValueError: Missing some input keys: {'chat_history'} when adding memory to GraphCypherQAChain
https://api.github.com/repos/langchain-ai/langchain/issues/11975/comments
7
2023-10-18T10:23:57Z
2024-06-03T12:12:30Z
https://github.com/langchain-ai/langchain/issues/11975
1,949,395,838
11,975
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi developers, I am trying to run SeleniumURLLoader inside a Docker container. When I tried to do a web-scraping on the URLs I am met with this error: `ERROR MESSAGE: Message: Service /root/.cache/selenium/chromedriver/linux64/118.0.5993.70/chromedriver unexpectedly exited. Status ...
SeleniumURLLoader in Docker Container
https://api.github.com/repos/langchain-ai/langchain/issues/11974/comments
6
2023-10-18T09:52:41Z
2024-05-08T10:53:28Z
https://github.com/langchain-ai/langchain/issues/11974
1,949,335,904
11,974
[ "hwchase17", "langchain" ]
### Feature request Being able to set a SelfQueryRetriever's kwargs from the output of the Condese_question chain or any chain that runs just before. ### Motivation The motivation behind this is enabling the ConversationalRetrievalChain based on a vectordb to tackle a big range of queries in a more specific way, for...
ConversationalRetrievalChain : make the condense_question chain choose the SelfQueryRetriever kwargs
https://api.github.com/repos/langchain-ai/langchain/issues/11971/comments
4
2023-10-18T08:55:23Z
2024-02-10T16:12:03Z
https://github.com/langchain-ai/langchain/issues/11971
1,949,221,723
11,971
[ "hwchase17", "langchain" ]
### System Info LangChain version: 0.0.316 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ]...
ISSUE: Not able to log CustomLLM using mlflow.pyfunc.log_model
https://api.github.com/repos/langchain-ai/langchain/issues/11966/comments
2
2023-10-18T08:11:09Z
2024-02-08T16:16:56Z
https://github.com/langchain-ai/langchain/issues/11966
1,949,137,515
11,966
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I got this error when I built a ChatBot with Langchain using VertexAI. I'm seeing this error and couldn't find any details so far. File /opt/conda/lib/python3.10/site-packages/langchain/llms/vertexai.py:100, in completion_with_retry.<locals>._completion_with_retry(*args, **kwargs) ...
Issue: TypeError: TextGenerationModel.predict() got an unexpected keyword argument 'candidate_count'
https://api.github.com/repos/langchain-ai/langchain/issues/11961/comments
11
2023-10-18T07:06:38Z
2024-02-15T16:08:25Z
https://github.com/langchain-ai/langchain/issues/11961
1,949,009,892
11,961
[ "hwchase17", "langchain" ]
### Issue with current documentation: Currently in the streaming documentation page, there is no guidance on how to interrupt the streaming once the model start generation. I want to implement the same "Stop generation" button functionality in chatGPT web, which should stopped the streaming generation. I tried to use ...
DOC: There is no documentation about how to interrupt the streaming generation once the model started generation.
https://api.github.com/repos/langchain-ai/langchain/issues/11959/comments
17
2023-10-18T06:27:34Z
2024-06-21T20:54:46Z
https://github.com/langchain-ai/langchain/issues/11959
1,948,952,565
11,959
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm experimenting with natural language to SQL conversion using SQLDatabaseChain and SQLDatabaseAgent. In this experiment, I'm utilizing the ConversationBufferWindowMemory. However, I've encountered an issue where the memory is not functioning as expected. When I ask a question related t...
Issue: <ConversationBufferWindowMemory doesn't work with db based chat history>
https://api.github.com/repos/langchain-ai/langchain/issues/11958/comments
7
2023-10-18T03:44:58Z
2024-04-24T16:37:15Z
https://github.com/langchain-ai/langchain/issues/11958
1,948,740,305
11,958
[ "hwchase17", "langchain" ]
### System Info It was unexpected that I had to provide the accss_token when using QianfanLLMEndpoint Name: langchain Version: 0.0.312 Name: qianfan Version: 0.0.6 ### Who can help? _No response_ ### Information - [x] The official example notebooks/scripts - [X] My own modified scripts ...
It was unexpected that I had to provide the accss_token when using QianfanLLMEndpoint
https://api.github.com/repos/langchain-ai/langchain/issues/11957/comments
3
2023-10-18T03:27:29Z
2024-05-07T16:06:08Z
https://github.com/langchain-ai/langchain/issues/11957
1,948,721,975
11,957
[ "hwchase17", "langchain" ]
### System Info langchain 0.0.316 langserve 0.0.10 python 3.11.4 on darwin ### Who can help? @agola11 @hwchase17 ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ]...
Streaming support with ConversationChain
https://api.github.com/repos/langchain-ai/langchain/issues/11945/comments
13
2023-10-17T20:36:50Z
2024-06-21T13:11:39Z
https://github.com/langchain-ai/langchain/issues/11945
1,948,210,943
11,945
[ "hwchase17", "langchain" ]
### Issue with current documentation: When looking at the documentation for agents, memory, and the Agent Executor, I noticed you pass in tools to both the agent and the executor. What's the purpose of passing the tools to both? Shouldn't you need to just pass it to one? https://python.langchain.com/docs/use_case...
DOC: Agent & AgentExecutioner
https://api.github.com/repos/langchain-ai/langchain/issues/11937/comments
2
2023-10-17T18:29:39Z
2024-02-08T16:17:01Z
https://github.com/langchain-ai/langchain/issues/11937
1,948,013,473
11,937
[ "hwchase17", "langchain" ]
### System Info I compared the speed of indexing with and without using the Indexing API, and I notice a significant difference. Using Indexing API is 30-50% slower. Also for experiment, I tried to index the exact same data twice, and the Indexing API is taking extremely long time for the second time. Any help would b...
Indexing API slow
https://api.github.com/repos/langchain-ai/langchain/issues/11935/comments
10
2023-10-17T17:36:09Z
2024-02-14T03:47:19Z
https://github.com/langchain-ai/langchain/issues/11935
1,947,924,672
11,935
[ "hwchase17", "langchain" ]
### Feature request My feature proposal involves the integration of both a greeting module and a gratitude module into the Langchain SQLDatabaseToolkit. The greeting module is designed to deliver an introductory message about the SQL-helpful bot, and the gratitude module aims to express appreciation when users inter...
Enhancing Human-Level Interaction: Incorporating Greeting and Gratitude Modules into the Langchain SQLDatabaseToolkit
https://api.github.com/repos/langchain-ai/langchain/issues/11931/comments
2
2023-10-17T17:07:58Z
2024-02-06T16:18:21Z
https://github.com/langchain-ai/langchain/issues/11931
1,947,880,043
11,931
[ "hwchase17", "langchain" ]
### System Info latest version of all modules ### Who can help? here's my PROMPT and code: from langchain.prompts.chat import ChatPromptTemplate updated_prompt = ChatPromptTemplate.from_messages( [ ("system", """ You are a knowledgeable AI assistant specializin...
Langchain prompt not working as expected , it's not consistence and not able to understand examples
https://api.github.com/repos/langchain-ai/langchain/issues/11929/comments
3
2023-10-17T16:44:09Z
2024-02-08T16:17:05Z
https://github.com/langchain-ai/langchain/issues/11929
1,947,841,518
11,929
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. It seems the default prompts do not support passing a JSON-Schema in create_json_agent to provide description to each field and nested fields. Wanted to understand if this hasn't been deemed necessary? In addition, if there is a list of JSON objects, with some fields in each JSON obje...
Passing a JSON-Schema in create_json_agent
https://api.github.com/repos/langchain-ai/langchain/issues/11927/comments
3
2023-10-17T16:20:36Z
2024-02-08T16:17:10Z
https://github.com/langchain-ai/langchain/issues/11927
1,947,798,052
11,927
[ "hwchase17", "langchain" ]
### Feature request A tool to allow agents to search and retrieve data from IMDb (https://www.imdb.com/). ### Motivation IMDb is one of the largest movie databases available online. Adding this tool would allow agents to intelligently retrieve up-to-date movie information from IMDb, enhancing the experience of its u...
Adding an IMDb tool
https://api.github.com/repos/langchain-ai/langchain/issues/11926/comments
2
2023-10-17T15:52:11Z
2024-03-13T20:01:05Z
https://github.com/langchain-ai/langchain/issues/11926
1,947,748,350
11,926
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I am calling LLM `ChatOpenAI` models through `load_qa_with_sources_chain` as shown in the following code snippet. ```python llm=ChatOpenAI( model_name=...., temperature=0, openai_api_key=..., max_tokens=..., ) chain = load_qa_with_sources_chain( llm, chain_...
Is there a way to obtain `finish_reason` value from OpenAI response when using `load_qa_with_sources_chain`
https://api.github.com/repos/langchain-ai/langchain/issues/11924/comments
2
2023-10-17T15:32:03Z
2024-02-06T16:18:36Z
https://github.com/langchain-ai/langchain/issues/11924
1,947,709,822
11,924
[ "hwchase17", "langchain" ]
### System Info Here chain example: Thought:I can query the 'information_enquiry' table to find out who is assigned to a job. Action: SQL Query Action Input: SELECT name FROM nformation_enquiry WHERE job_id = '123' Observation: SQL Query is not a valid tool, try one of [sql_db_query, sql_db_schema, sql_db_li...
Langchain SQLDatabaseToolkit providing incorrect results. it's faking the results using the top k rows
https://api.github.com/repos/langchain-ai/langchain/issues/11922/comments
3
2023-10-17T15:02:23Z
2024-02-09T16:14:38Z
https://github.com/langchain-ai/langchain/issues/11922
1,947,647,017
11,922
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I want to modify the prompt of the open ai function agent, so i can add more parameters that i can pass as inputs during execution initialize_agent(tools=tool_items, llm=llm, agent=AgentType.OPENAI_FUNCTIONS) and during execution such as result = agent_chain.run({"input": "...
Issue: How to modify the actual prompt to add in new input parameters of the open ai functions agent, so that during the running of the agent, we pass those parameters also
https://api.github.com/repos/langchain-ai/langchain/issues/11921/comments
4
2023-10-17T15:00:56Z
2024-02-12T16:11:14Z
https://github.com/langchain-ai/langchain/issues/11921
1,947,643,981
11,921
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.272 Python Version: 3.11.0 ### Who can help? @hwchase17 @ag ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors...
ConversationTokenBufferMemory doesn't work with db based chat history
https://api.github.com/repos/langchain-ai/langchain/issues/11919/comments
4
2023-10-17T14:28:09Z
2024-02-11T16:10:42Z
https://github.com/langchain-ai/langchain/issues/11919
1,947,569,327
11,919
[ "hwchase17", "langchain" ]
we are trying to use langchain s3 loader to load files from the bucket using python, once we create any subfolder we are getting no such directory error. also we are not able to load the files from those sub folders. How to fix these errors?
langchain s3 loader not able to load files from subfolders
https://api.github.com/repos/langchain-ai/langchain/issues/11917/comments
4
2023-10-17T13:00:11Z
2024-02-09T16:14:53Z
https://github.com/langchain-ai/langchain/issues/11917
1,947,371,287
11,917
[ "hwchase17", "langchain" ]
### System Info Python 3.11 Lanchain 315 ### 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 Templates / Prompt Selectors - [ ] Output Parser...
Support for OpenAI quotas
https://api.github.com/repos/langchain-ai/langchain/issues/11914/comments
2
2023-10-17T10:02:45Z
2024-02-06T16:19:01Z
https://github.com/langchain-ai/langchain/issues/11914
1,947,039,933
11,914
[ "hwchase17", "langchain" ]
### Discussed in https://github.com/langchain-ai/langchain/discussions/11846 <div type='discussions-op-text'> <sup>Originally posted by **Marbyun** October 16, 2023</sup> Hi folks! i have case to create chatbot that will use 2 sources as the dataset (text file and sqlite). I use Multiple Retrieaval Sources [doc...
How to use Multiple Retrieaval Sources and Added Memory at SQLDatabaseChain
https://api.github.com/repos/langchain-ai/langchain/issues/11908/comments
2
2023-10-17T07:13:01Z
2024-02-06T16:19:07Z
https://github.com/langchain-ai/langchain/issues/11908
1,946,710,273
11,908
[ "hwchase17", "langchain" ]
@dosu-bot When I use chromadb instead of deeplake, my code worked fine but with deeplake, I am facing this error when I use deeplake for some reason despite everything is the exact same thing: creating embeddings: 12%|██████████▏ | 3/26 [00:...
RateLimitError
https://api.github.com/repos/langchain-ai/langchain/issues/11907/comments
2
2023-10-17T06:43:59Z
2024-02-08T16:17:35Z
https://github.com/langchain-ai/langchain/issues/11907
1,946,665,722
11,907
[ "hwchase17", "langchain" ]
### Feature request There should be a callback handler like [OpenAICallbackHandler](https://github.com/langchain-ai/langchain/blob/31f264169db4ab23689f2e179983f1cfdfd1a33a/libs/langchain/langchain/callbacks/openai_info.py#L120) for AWS Bedrock models, so that we can easily get the token usage and monitor cost. It l...
Enable token usage count for AWS Bedrock
https://api.github.com/repos/langchain-ai/langchain/issues/11906/comments
7
2023-10-17T05:16:38Z
2024-03-30T14:02:02Z
https://github.com/langchain-ai/langchain/issues/11906
1,946,564,023
11,906
[ "hwchase17", "langchain" ]
@dosu-bot Below is my code in python about creating a Q & A using Langchain with openai API. I have 3 issues I want to fix: 1) The answer is always being repeated twice. 2) I am using ConversationalRetrievalChain from LangChain therefore, I want to retrieve the source of the document when I get my answer. 3) I...
Repetitive answer and not getting source of documents
https://api.github.com/repos/langchain-ai/langchain/issues/11905/comments
2
2023-10-17T04:03:05Z
2024-02-06T16:19:17Z
https://github.com/langchain-ai/langchain/issues/11905
1,946,493,093
11,905
[ "hwchase17", "langchain" ]
### Issue with current documentation: I want to load doc type file use UnstructuredFileLoader, andI installed all require library, but I got this mistake: Traceback (most recent call last): File "D:\soft\Anaconda3\lib\site-packages\unstructured\partition\doc.py", line 67, in partition_doc convert_office_doc( ...
logger.info(output.decode().strip()) of common.py will raise a mistake when use convert_office_doc to convert .doc file to .docx file because it is not encode by 'utf-8'
https://api.github.com/repos/langchain-ai/langchain/issues/11898/comments
2
2023-10-17T01:16:58Z
2024-02-07T00:57:56Z
https://github.com/langchain-ai/langchain/issues/11898
1,946,344,621
11,898
[ "hwchase17", "langchain" ]
### Feature request combines LangChain with Stable Diffusion to generate a text-related image ### Motivation The motivation behind this feature proposal is to enhance the capabilities of LangChain by integrating it with Stable Diffusion to enable the generation of images based on text inputs. This integration serves...
LangChain with Stable Diffusion
https://api.github.com/repos/langchain-ai/langchain/issues/11894/comments
8
2023-10-16T21:53:29Z
2024-03-18T16:05:49Z
https://github.com/langchain-ai/langchain/issues/11894
1,946,164,422
11,894
[ "hwchase17", "langchain" ]
### System Info I'm using jupyter notebook and Azure OpenAI Python 3.11.5 langchain==0.0.315 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [X] Embedding Models - [ ] Pro...
API deployment not found when using Azure with embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/11893/comments
3
2023-10-16T21:00:04Z
2023-10-17T14:16:56Z
https://github.com/langchain-ai/langchain/issues/11893
1,946,085,853
11,893
[ "hwchase17", "langchain" ]
### System Info Python 3.11.6 Langchain 0.0.315 Device name Precision7760 Processor 11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz 2.61 GHz Installed RAM 32.0 GB (31.2 GB usable) Device ID 049EB0D9-D534-47A1-9F59-62B1F3D578D4 Product ID 00355-60713-95419-AAOEM System type 64-bit operating system, x64-based ...
HumanMessage error expecting a str type in content
https://api.github.com/repos/langchain-ai/langchain/issues/11882/comments
4
2023-10-16T19:31:43Z
2024-06-03T00:42:51Z
https://github.com/langchain-ai/langchain/issues/11882
1,945,944,555
11,882
[ "hwchase17", "langchain" ]
### System Info I am uing the code provided in the Chat-Langchain implementation ```python def load_langchain_docs(): return SitemapLoader( "https://python.langchain.com/sitemap.xml", filter_urls=["https://python.langchain.com/"], parsing_function=langchain_docs_extractor, ...
No current event loop in thread 'MainThread' error while using SitemapLoader()
https://api.github.com/repos/langchain-ai/langchain/issues/11879/comments
10
2023-10-16T19:06:17Z
2024-02-13T16:10:38Z
https://github.com/langchain-ai/langchain/issues/11879
1,945,907,441
11,879
[ "hwchase17", "langchain" ]
### System Info Name: kuzu Version: 0.0.10 (latest) Name: langchain Version: 0.0.311 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Template...
KuzuGraph not working
https://api.github.com/repos/langchain-ai/langchain/issues/11874/comments
5
2023-10-16T18:10:46Z
2024-02-15T19:17:09Z
https://github.com/langchain-ai/langchain/issues/11874
1,945,812,797
11,874
[ "hwchase17", "langchain" ]
### Feature request connect langchain to denodo database. while support for mysql, postgres etc exists, there is currently none for more niche platforms like denodo. Somthing like this ![image](https://github.com/langchain-ai/langchain/assets/64059206/2603677e-0acd-4ea8-b800-bde0dab11179) ![image](https://github....
Denodo connector for langchain
https://api.github.com/repos/langchain-ai/langchain/issues/11873/comments
1
2023-10-16T17:37:46Z
2024-02-06T16:19:31Z
https://github.com/langchain-ai/langchain/issues/11873
1,945,756,011
11,873
[ "hwchase17", "langchain" ]
### System Info N/A (issue pertains to the web tutorial, [Retrieval-augmented generation (RAG)](https://python.langchain.com/docs/use_cases/question_answering/#quickstart)) ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Componen...
Dead Links in Retrieval-Augmented Generation (RAG) Tutorial
https://api.github.com/repos/langchain-ai/langchain/issues/11871/comments
2
2023-10-16T16:19:47Z
2024-02-06T16:19:37Z
https://github.com/langchain-ai/langchain/issues/11871
1,945,627,705
11,871
[ "hwchase17", "langchain" ]
### System Info Subject: Bug Report - Langchain API Query Limitation I am currently utilizing the following code snippet: ```typescript let data: JsonObject; try { const jsonFile = await fs.readFileSync( './src/openAI/data/formattedResults.json', 'utf8', ); data = JSON.parse(jsonFile) as Jso...
createJsonAgent returns answer based on top 5 data only
https://api.github.com/repos/langchain-ai/langchain/issues/11867/comments
2
2023-10-16T15:15:52Z
2024-02-08T16:17:50Z
https://github.com/langchain-ai/langchain/issues/11867
1,945,481,349
11,867
[ "hwchase17", "langchain" ]
### System Info Windows 10 Python 3.10.11 I am using FAISS as the vectorstore, HuggingFaceEmbeddings, and the llm is HuggingFaceHub with google/flan-t5-small. There are no changes to any of these elements when running with and without 'with_sources'. All libraries were installed within the last week. ### Who...
load_qa_chain succeeds where load_qa_with_sources_chain fails to return result
https://api.github.com/repos/langchain-ai/langchain/issues/11865/comments
2
2023-10-16T14:55:08Z
2024-02-06T16:19:46Z
https://github.com/langchain-ai/langchain/issues/11865
1,945,420,637
11,865
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. When I use the chatglm code from the official documentation, I can't connect to the endpoint URL provided there. The official website is: https://python.langchain.com/docs/integrations/llms/chatglm The specific code is as follows: from langchain.llms import ChatGLM ...
Issue: When using ChatGLM, I can't connect to the endpoint_url.
https://api.github.com/repos/langchain-ai/langchain/issues/11859/comments
5
2023-10-16T11:35:37Z
2024-02-11T16:10:51Z
https://github.com/langchain-ai/langchain/issues/11859
1,945,007,015
11,859
[ "hwchase17", "langchain" ]
This is my current code and it does run however it answers completely differently sometimes and it also writes the answer 3 or 4 times. Please fix it for me and if possible, fix my templates to make my output consistent from dotenv import load_dotenv import csv import PyPDF2 from PyPDF2 import PdfReader from...
Not answering correctly according to prompt and writes same answer 3-4 times
https://api.github.com/repos/langchain-ai/langchain/issues/11857/comments
7
2023-10-16T10:23:37Z
2023-10-16T11:47:30Z
https://github.com/langchain-ai/langchain/issues/11857
1,944,879,698
11,857
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. hi @dosu-bot , @dosu-beta : I am not able to figure out how we can pass variale to the input_variable in prompt : prompt_with_loader = PromptTemplate( input_variables=["query", "username", "password"], template= """ Based on the instruction you are tasked to c...
Issue: Not clear through docs: how we can pass variale to the input_variable in prompt
https://api.github.com/repos/langchain-ai/langchain/issues/11856/comments
5
2023-10-16T10:11:06Z
2024-02-11T16:10:57Z
https://github.com/langchain-ai/langchain/issues/11856
1,944,857,017
11,856
[ "hwchase17", "langchain" ]
Can someone help me fix this code please. My error: Traceback (most recent call last): File "C:\Users\Asus\Documents\Vendolista\app2.py", line 130, in <module> main() File "C:\Users\Asus\Documents\Vendolista\app2.py", line 99, in main qa = ConversationalRetrievalChain.from_llm( File "C:\Users\Asus...
ConversationalRetrievalChain error
https://api.github.com/repos/langchain-ai/langchain/issues/11855/comments
3
2023-10-16T09:34:13Z
2024-02-09T16:15:18Z
https://github.com/langchain-ai/langchain/issues/11855
1,944,786,305
11,855
[ "hwchase17", "langchain" ]
### System Info langchain : 0.0.306 python : 3.10.12 platform : Ubuntu ### 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 Sele...
S3 Directory Loader not working as expected
https://api.github.com/repos/langchain-ai/langchain/issues/11854/comments
4
2023-10-16T08:37:20Z
2024-02-10T16:12:37Z
https://github.com/langchain-ai/langchain/issues/11854
1,944,679,764
11,854
[ "hwchase17", "langchain" ]
### System Info LangChain version: v0.0.314 ### Who can help? @eyurtsev @baskaryan ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Pars...
ConfluenceLoader's keep_newlines is not passed correctly
https://api.github.com/repos/langchain-ai/langchain/issues/11853/comments
2
2023-10-16T08:34:03Z
2024-02-09T16:15:28Z
https://github.com/langchain-ai/langchain/issues/11853
1,944,674,010
11,853
[ "hwchase17", "langchain" ]
### System Info python = "=3.10.12" llama-cpp-python = "=0.2.11" langchain = "=0.0.313" ### 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 / Prom...
Tagging documentation does not work with LlamaCpp or Ollama
https://api.github.com/repos/langchain-ai/langchain/issues/11847/comments
3
2023-10-16T07:27:07Z
2024-02-11T16:11:02Z
https://github.com/langchain-ai/langchain/issues/11847
1,944,554,193
11,847
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm encountering an error while trying to integrate confluenece attachment by the keyword include_attachments=True Created a chunk of size 494, which is longer than the specified 100 Created a chunk of size 230, which is longer than the specified 100 Created a chunk of size 121, which...
Issue: Getting Error while integrating confluence attachment
https://api.github.com/repos/langchain-ai/langchain/issues/11845/comments
2
2023-10-16T06:34:51Z
2024-02-06T16:20:21Z
https://github.com/langchain-ai/langchain/issues/11845
1,944,475,842
11,845
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm encountering an error while trying to integrate confluenece attachment by the keyword include_attachments=True Created a chunk of size 494, which is longer than the specified 100 Created a chunk of size 230, which is longer than the specified 100 Created a chunk of size 121, whi...
Issue: Getting Error while integrating confluence attachment
https://api.github.com/repos/langchain-ai/langchain/issues/11844/comments
1
2023-10-16T06:00:12Z
2023-10-16T06:35:03Z
https://github.com/langchain-ai/langchain/issues/11844
1,944,428,691
11,844
[ "hwchase17", "langchain" ]
### Issue with current documentation: from langchain.embeddings import OpenAIEmbeddings from langchain.vectorstores import Chroma from langchain.chat_models import ChatOpenAI from langchain.prompts import ( FewShotChatMessagePromptTemplate, SemanticSimilarityExampleSelector, ChatPromptTemplate, ) ...
In the "Dynamic Few-Shot Prompting" documentation, it is mentioned that when example_selector selects a sample for matching, it can cause the few-shot examples to lose effectiveness because the selected sample may not be relevant to the given input.
https://api.github.com/repos/langchain-ai/langchain/issues/11843/comments
4
2023-10-16T05:43:53Z
2024-05-07T16:06:03Z
https://github.com/langchain-ai/langchain/issues/11843
1,944,410,321
11,843
[ "hwchase17", "langchain" ]
### System Info I attempted to create an AI agent bot by utilizing the QianfanChatEndpoint. However, I encountered an issue when I attempted to define a tool for making calls. Subsequent to consulting with a contributor from the QianfanChatEndpoint project, it was determined that it is imperative to merge the follo...
QianfanChatEndpoint function call not work for agent.
https://api.github.com/repos/langchain-ai/langchain/issues/11839/comments
2
2023-10-16T02:08:55Z
2024-02-09T16:15:38Z
https://github.com/langchain-ai/langchain/issues/11839
1,944,207,173
11,839
[ "hwchase17", "langchain" ]
### System Info Dependencies: langchain == 0.0.285 pytest ~= 7.4.0 pytest-asyncio ~= 0.21.1 pytest-mock ~= 3.11.1 Using Python 3.11 ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat...
AsyncMock not preserved when passed to custom Chain
https://api.github.com/repos/langchain-ai/langchain/issues/11838/comments
4
2023-10-15T22:27:00Z
2024-02-10T16:12:47Z
https://github.com/langchain-ai/langchain/issues/11838
1,944,082,144
11,838
[ "hwchase17", "langchain" ]
### System Info 0.0.314 ### Who can help? @hwchase17 @agola11 @eyurtsev ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Outp...
Use OpenAI ChatGPT Plugin via Python API fails with maximum number of tokens error
https://api.github.com/repos/langchain-ai/langchain/issues/11837/comments
3
2023-10-15T21:59:24Z
2024-02-11T16:11:07Z
https://github.com/langchain-ai/langchain/issues/11837
1,944,073,141
11,837
[ "hwchase17", "langchain" ]
### System Info LangChain Version: 0.0.314 Python 3.9.6 I have been using LangChain with OpenAI and FAISS for building RAG chatbots. Everything was working fine until last week. I have noticed that for some reason, I have much higher response times. I have debugged the LangChain code and found that the reason is...
OpenAI API is extremely slow
https://api.github.com/repos/langchain-ai/langchain/issues/11836/comments
6
2023-10-15T21:39:04Z
2024-04-10T16:14:04Z
https://github.com/langchain-ai/langchain/issues/11836
1,944,067,045
11,836
[ "hwchase17", "langchain" ]
https://github.com/langchain-ai/langchain/blob/a50630277295c3884be8e839b04718d0e99b4ea4/libs/langchain/langchain/chains/moderation.py#L93C43-L93C43 Code a line no. 93 needs to be updated as below self.client.create(input = text, model = self.model_name)
model_name is not passed as a argument to create method
https://api.github.com/repos/langchain-ai/langchain/issues/11830/comments
1
2023-10-15T16:52:02Z
2024-02-06T16:20:41Z
https://github.com/langchain-ai/langchain/issues/11830
1,943,966,873
11,830
[ "hwchase17", "langchain" ]
### Feature request similarly to: ``` db = Chroma(persist_directory=persist_directory, embedding_function=embeddings, client_settings=CHROMA_SETTINGS) collection = db.get() ``` where ```collection``` is a list of documents already in the vector store, is there a way to get that list from neo4j_vecror that ...
return all documents in neo4j_vector
https://api.github.com/repos/langchain-ai/langchain/issues/11829/comments
2
2023-10-15T16:41:33Z
2024-02-06T16:20:46Z
https://github.com/langchain-ai/langchain/issues/11829
1,943,962,792
11,829
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I have installed langchain and ctransformer using - ``` pip install langchain pip install ctransformers[cuda] ``` I am trying following piece of code - ``` from langchain.llms import CTransformers config = {'max_new_tokens': 512, 'repetition_penalty': 1.1, 'context_length':...
Issue: GPU is not used with Ctransformers even after specifying gpu_layers parameter
https://api.github.com/repos/langchain-ai/langchain/issues/11826/comments
15
2023-10-15T14:35:12Z
2024-05-16T07:56:34Z
https://github.com/langchain-ai/langchain/issues/11826
1,943,913,102
11,826
[ "hwchase17", "langchain" ]
### System Info Python 3.11.5 langchain==0.0.260 atlassian-python-api==3.41.2 ### Who can help? @eyurtsev @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Template...
Confluence document loader can not get the attachments
https://api.github.com/repos/langchain-ai/langchain/issues/11824/comments
1
2023-10-15T13:44:03Z
2023-10-16T10:03:34Z
https://github.com/langchain-ai/langchain/issues/11824
1,943,895,150
11,824
[ "hwchase17", "langchain" ]
### System Info window 、langchain-0.0.314、python 3.10 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [x] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selector...
ValidationError: 1 validation error for ChatMessage
https://api.github.com/repos/langchain-ai/langchain/issues/11823/comments
3
2023-10-15T12:14:33Z
2024-02-09T16:15:53Z
https://github.com/langchain-ai/langchain/issues/11823
1,943,865,066
11,823
[ "hwchase17", "langchain" ]
### System Info Langchain version: 0.0.313 Python version: Python 3 OS: Mac ### 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 ...
Getting an error while importing MultiPromptChain
https://api.github.com/repos/langchain-ai/langchain/issues/11819/comments
6
2023-10-15T06:32:23Z
2024-02-28T16:08:50Z
https://github.com/langchain-ai/langchain/issues/11819
1,943,745,728
11,819
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm encountering an error while trying to integrate confluenece attachment using the keyword "include_attachments=True", without these keyword I am able to do question answering on Text content. But I want to fetch attachment of the confluence space. Below is my code: ![Screenshot from...
Issue: Getting Error while integrating confluence attachment
https://api.github.com/repos/langchain-ai/langchain/issues/11818/comments
2
2023-10-15T04:59:22Z
2024-02-06T16:20:56Z
https://github.com/langchain-ai/langchain/issues/11818
1,943,712,366
11,818
[ "hwchase17", "langchain" ]
### System Info langchain=0.0.294 python=3.10 ### Who can help? @hwchase17 @mmz-001 @baskaryan ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ]...
Mutiple text_splitter ignore the chunk_size parameter
https://api.github.com/repos/langchain-ai/langchain/issues/11817/comments
2
2023-10-15T04:42:23Z
2023-10-16T07:10:32Z
https://github.com/langchain-ai/langchain/issues/11817
1,943,707,750
11,817
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. I'm encountering an error while trying to integrate confluenece attachment using the keyword "include_attachments=True", without these keyword I am able to do question answering on Text content. But I want to fetch attachment of the confluence space. Below is my code: ![Screenshot from...
Issue: Getting Error while integrating confluence attachment
https://api.github.com/repos/langchain-ai/langchain/issues/11816/comments
3
2023-10-15T03:49:23Z
2024-02-07T16:18:48Z
https://github.com/langchain-ai/langchain/issues/11816
1,943,688,748
11,816
[ "hwchase17", "langchain" ]
### Issue you'd like to raise. Hi, I have lots product factsheet in PDF format and would like to perform QnA on these documents. These documents have a common layout. I parsed these documents and stored them in ChromaDB. However, when I try to query the vector store for a specific details for ex. "What is the product ...
Issue: Similarity Search on Chroma does not retrieve relevant chunk for homogeneous document search
https://api.github.com/repos/langchain-ai/langchain/issues/11815/comments
2
2023-10-15T03:35:42Z
2024-02-06T16:21:07Z
https://github.com/langchain-ai/langchain/issues/11815
1,943,684,633
11,815
[ "hwchase17", "langchain" ]
### Feature request A retriever for documents from [Outline](https://github.com/outline/outline). The API has a search endpoint which allows this to be possible: https://www.getoutline.com/developers#tag/Documents/paths/~1documents.search/post The implementation will be similar to the Wikipedia retriever: htt...
Create retriever for Outline to ask questions on knowledge base
https://api.github.com/repos/langchain-ai/langchain/issues/11814/comments
1
2023-10-15T01:58:24Z
2023-11-28T20:58:07Z
https://github.com/langchain-ai/langchain/issues/11814
1,943,639,624
11,814
[ "hwchase17", "langchain" ]
### System Info Langchain 0.0.314 When LLM returns with action input parameter without space in-between two tables, call fails. Certain LLMs dont follow "Table1, Table2" format and returns with "Table1,Table2" This is easily addressed by stripping out all spaces and split with "," <code> class InfoSQLDataba...
SQL DB Tools sql_db_schema bad input
https://api.github.com/repos/langchain-ai/langchain/issues/11813/comments
1
2023-10-14T23:56:03Z
2024-02-06T16:21:11Z
https://github.com/langchain-ai/langchain/issues/11813
1,943,609,736
11,813
[ "hwchase17", "langchain" ]
### Feature request We propose the addition of some of the querying endpoints supported by serpapi that are not suported on langchain at the moment. Some examples, include querying google job, google trends and google finance etc.### ### Motivation The motivation for this feature proposal is to enhance the querying...
Add support for many of the querying endpoints with serpapi
https://api.github.com/repos/langchain-ai/langchain/issues/11811/comments
2
2023-10-14T19:16:42Z
2024-01-30T16:11:49Z
https://github.com/langchain-ai/langchain/issues/11811
1,943,495,649
11,811