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
[ "langchain-ai", "langchain" ]
### Feature request I'm writing to propose the integration of Redis Cache support for ChatModels within Langchain. Chat functionality is an essential and perhaps the most common scenario in many applications. Enhancing Langchain with Redis Cache support for ChatModels can bring about the following benefits. ### ...
Redis Cache to support ChatModel
https://api.github.com/repos/langchain-ai/langchain/issues/8666/comments
3
2023-08-03T05:50:39Z
2024-04-26T15:14:01Z
https://github.com/langchain-ai/langchain/issues/8666
1,834,321,052
8,666
[ "langchain-ai", "langchain" ]
### System Info * python3.9 * langchain 0.0242 ### 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 - [ ]...
ClickHouse VectorStore score_threshold not working.
https://api.github.com/repos/langchain-ai/langchain/issues/8664/comments
2
2023-08-03T04:44:00Z
2023-11-03T02:35:28Z
https://github.com/langchain-ai/langchain/issues/8664
1,834,261,445
8,664
[ "langchain-ai", "langchain" ]
### System Info python 3.10 langchain 0.0.249 ### 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 -...
Use FAISS {"distance_strategy":"MAX_INNER_PRODUCT"} Not work!
https://api.github.com/repos/langchain-ai/langchain/issues/8662/comments
2
2023-08-03T03:57:32Z
2023-08-03T06:53:06Z
https://github.com/langchain-ai/langchain/issues/8662
1,834,227,144
8,662
[ "langchain-ai", "langchain" ]
### System Info ``` llama_print_timings: load time = 127.16 ms llama_print_timings: sample time = 0.00 ms / 1 runs ( 0.00 ms per token, inf tokens per second) llama_print_timings: prompt eval time = 1753.93 ms / 237 tokens ( 7.40 ms per token, 135.13 tokens per second) llama...
LlamaCppEmbeddings Error `type == GGML_TYPE_F16`
https://api.github.com/repos/langchain-ai/langchain/issues/8660/comments
3
2023-08-03T03:15:23Z
2023-11-09T16:13:07Z
https://github.com/langchain-ai/langchain/issues/8660
1,834,199,574
8,660
[ "langchain-ai", "langchain" ]
### Issue with current documentation: ``` # need to use GPT-4 here as GPT-3.5 does not understand, however hard you insist, that # it should use the calculator to perform the final calculation llm = ChatOpenAI(temperature=0, model="gpt-4") ``` This docs say that it need gpt -4,are there other models that can ...
DOC: <Running Agent as an Iterator>' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/8656/comments
1
2023-08-03T01:19:51Z
2023-11-09T16:11:04Z
https://github.com/langchain-ai/langchain/issues/8656
1,834,120,844
8,656
[ "langchain-ai", "langchain" ]
### Issue with current documentation: The documentation links seems to be broken, the Agents Use-cases links are no longer working and giving "Page Not Found". Example Links - https://python.langchain.com/docs/use_cases/autonomous_agents/baby_agi_with_agent.html ### Idea or request for content: _No response_
DOC: Agent Usecase Links are broken
https://api.github.com/repos/langchain-ai/langchain/issues/8649/comments
1
2023-08-02T22:11:00Z
2023-11-08T16:06:39Z
https://github.com/langchain-ai/langchain/issues/8649
1,833,968,332
8,649
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Following is the link of langchain documents. In this I need to integrate OPENAI_FUNCTIONS https://python.langchain.com/docs/modules/agents/how_to/custom_llm_chat_agent ### Suggestion: _No response_
Integrate OPENAI_FUNCTIONS in Agent
https://api.github.com/repos/langchain-ai/langchain/issues/8648/comments
1
2023-08-02T22:02:54Z
2023-11-08T16:06:44Z
https://github.com/langchain-ai/langchain/issues/8648
1,833,961,567
8,648
[ "langchain-ai", "langchain" ]
### Feature request An implementation of a `FakeEmbeddingModel` that generates identical vectors given identical input texts. ### Motivation Currently langchain has a `FakeEmbedding` model that generates a vector of random numbers, that is irrelevant to the content that needs to be embedded. This model is pretty...
Deterministic fake embedding model
https://api.github.com/repos/langchain-ai/langchain/issues/8644/comments
2
2023-08-02T18:36:33Z
2023-08-04T17:51:01Z
https://github.com/langchain-ai/langchain/issues/8644
1,833,717,208
8,644
[ "langchain-ai", "langchain" ]
### Feature request Current GraphQL Tool is very static https://python.langchain.com/docs/modules/agents/tools/integrations/graphql, one has to set up graphql url, headers etc at the time of configuring the tool. This tool should follow [Request*Tool](https://github.com/hwchase17/langchain/blob/2b3da522eb866cb79dfd...
GraphQL Execution Tool should support URL/headers as input at runtime
https://api.github.com/repos/langchain-ai/langchain/issues/8638/comments
2
2023-08-02T17:02:44Z
2023-11-08T16:06:50Z
https://github.com/langchain-ai/langchain/issues/8638
1,833,584,670
8,638
[ "langchain-ai", "langchain" ]
### Feature request When connecting to ChatGPT API, it is possible to get responses by the chatbot as "As an AI model...", which ruins the chatbot experience on your application. A way to filter this and generate a default response might be better. ### Motivation For applications using OpenAI API, this would enab...
Catch and Filter OpenAI "As an AI model" responses
https://api.github.com/repos/langchain-ai/langchain/issues/8637/comments
6
2023-08-02T16:50:53Z
2024-02-12T16:16:29Z
https://github.com/langchain-ai/langchain/issues/8637
1,833,568,563
8,637
[ "langchain-ai", "langchain" ]
### Feature request It would be great if there was an explicit way to support parallel upserts in the `Pinecone` vectorstore wrapper. This could either be done by altering the existing `add_texts` method or adding a new "async" equivalent. ### Motivation The native Pinecone client supports [parallel upsert](ht...
Support parallel upserts in Pinecone
https://api.github.com/repos/langchain-ai/langchain/issues/8635/comments
1
2023-08-02T15:54:23Z
2023-09-05T14:59:11Z
https://github.com/langchain-ai/langchain/issues/8635
1,833,455,388
8,635
[ "langchain-ai", "langchain" ]
### System Info OS: Windows Name: langchain Version: 0.0.249 Python 3.11.2 ### Who can help? @hw ### Information - [X] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors ...
Pubmed needs to be called with "pupo
https://api.github.com/repos/langchain-ai/langchain/issues/8631/comments
2
2023-08-02T14:22:29Z
2023-11-08T16:06:55Z
https://github.com/langchain-ai/langchain/issues/8631
1,833,291,208
8,631
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi! How to make a Chatbot that uses its own data access to the internet to get more info (like new updated)? I've tried and searched everywhere but can't make it work. Here the code: ` from langchain.chains import ConversationalRetrievalChain ...
How to connect a Chatbot that has its own data but has also access to internet for search?
https://api.github.com/repos/langchain-ai/langchain/issues/8625/comments
9
2023-08-02T11:32:47Z
2024-07-25T13:33:09Z
https://github.com/langchain-ai/langchain/issues/8625
1,833,002,315
8,625
[ "langchain-ai", "langchain" ]
### Feature request When I use RetrievalQA, I need to add and reorder the content retrieved by retriever ``` qa = RetrievalQA.from_chain_type(llm=chat, chain_type="stuff", retriever=docsearch.as_retriever(search_kwargs={"k": 2}), ...
How to create a custom retriever
https://api.github.com/repos/langchain-ai/langchain/issues/8623/comments
12
2023-08-02T10:30:14Z
2024-04-02T09:29:33Z
https://github.com/langchain-ai/langchain/issues/8623
1,832,908,335
8,623
[ "langchain-ai", "langchain" ]
### System Info The class `MarkdownHeaderTextSplitter` is not a `TextSplitter`, and must implements all the corresponding methods. ``` class MarkdownHeaderTextSplitter: ... ``` @hwchase17 @eyurtsev ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own mo...
MarkdownHeaderTextSplitter is not a TextSplitter
https://api.github.com/repos/langchain-ai/langchain/issues/8620/comments
6
2023-08-02T08:06:38Z
2023-11-10T07:39:18Z
https://github.com/langchain-ai/langchain/issues/8620
1,832,660,433
8,620
[ "langchain-ai", "langchain" ]
### Feature request Recently Microsoft have announced their [first iteration of running Llama using Onnx format](https://github.com/microsoft/Llama-2-Onnx/tree/main). Hence it will be awesome if LangChain comes up with an early support for Onnx runtime models. ### Motivation There are two reasons for this. ...
Langchain Support for Onnx Llama
https://api.github.com/repos/langchain-ai/langchain/issues/8619/comments
5
2023-08-02T08:03:06Z
2024-03-13T19:56:57Z
https://github.com/langchain-ai/langchain/issues/8619
1,832,655,316
8,619
[ "langchain-ai", "langchain" ]
### System Info langchain 0.0.249 Python 3.11.2 ### 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 ...
AgentType.OPENAI_FUNCTIONS did not work
https://api.github.com/repos/langchain-ai/langchain/issues/8618/comments
2
2023-08-02T07:02:13Z
2023-11-08T16:07:05Z
https://github.com/langchain-ai/langchain/issues/8618
1,832,564,675
8,618
[ "langchain-ai", "langchain" ]
### System Info langchain: 0.0.246 python: 3.11 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers...
Invalid model when use chain
https://api.github.com/repos/langchain-ai/langchain/issues/8613/comments
0
2023-08-02T05:17:12Z
2023-08-02T07:13:12Z
https://github.com/langchain-ai/langchain/issues/8613
1,832,449,850
8,613
[ "langchain-ai", "langchain" ]
### Issue with current documentation: I am following the instruction from this doc: DOC: Structure answers with OpenAI functions -https://python.langchain.com/docs/use_cases/question_answering/integrations/openai_functions_retrieval_qa But this gives some error. # Code ```python from langchain.chains impo...
InvalidRequestError: Unrecognized request arguments supplied: function_call, functions
https://api.github.com/repos/langchain-ai/langchain/issues/8593/comments
20
2023-08-01T19:06:48Z
2024-04-30T16:31:10Z
https://github.com/langchain-ai/langchain/issues/8593
1,831,864,866
8,593
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hello there, I am currently attempting to add combined memory to ConversationalRetrievalChain (CRC). However, I am unsure if combined memory is compatible with CRC. I have made a few modifications, but unfortunately, I have encountered errors preventing it from running properly. I ...
Missing some input keys: {'input'} when using Combined memory and ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/8590/comments
4
2023-08-01T18:08:07Z
2023-11-08T16:07:09Z
https://github.com/langchain-ai/langchain/issues/8590
1,831,784,534
8,590
[ "langchain-ai", "langchain" ]
### System Info langchain = "^0.0.248" ### 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 -...
GPTCache implementation isnt working with ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/8584/comments
3
2023-08-01T14:51:37Z
2023-12-04T16:06:03Z
https://github.com/langchain-ai/langchain/issues/8584
1,831,458,479
8,584
[ "langchain-ai", "langchain" ]
### System Info Verified in dockerimage python:3.9 ### 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 - [ ] Outpu...
Cannot create "n" responses
https://api.github.com/repos/langchain-ai/langchain/issues/8581/comments
4
2023-08-01T13:55:11Z
2023-08-02T16:36:44Z
https://github.com/langchain-ai/langchain/issues/8581
1,831,347,798
8,581
[ "langchain-ai", "langchain" ]
### Feature request `ConversationSummaryMemory` and `ConversationSummaryBufferMemory` can be used as memory within async conversational chains, but they themselves are fully blocking. In particular, `Chain.acall()` is async, but it calls `Chain.prep_outputs()`, which calls `self.memory.save_context()`. In the case of ...
Need support for async memory, especially for ConversationSummaryMemory and ConversationSummaryBufferMemory
https://api.github.com/repos/langchain-ai/langchain/issues/8580/comments
7
2023-08-01T13:32:50Z
2023-11-07T22:50:05Z
https://github.com/langchain-ai/langchain/issues/8580
1,831,301,181
8,580
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hi everyone, I'm having trouble working with the agent structure in Langchain. I would like to have an agent that has memory and can return intermediate steps. However It doesn't work, when I make an agent executor, the return_intermediate_steps=True makes it crash as the memory can...
Issue: Agent with memory and intermediate steps
https://api.github.com/repos/langchain-ai/langchain/issues/8579/comments
7
2023-08-01T13:22:18Z
2024-02-13T05:59:52Z
https://github.com/langchain-ai/langchain/issues/8579
1,831,277,961
8,579
[ "langchain-ai", "langchain" ]
### System Info ### langchain Version **0.0.249** ### Python Version **3.8** ### Other notes Using this on notebook in Azure Synapse Studio ### Error ``` When import happening getting bellow error message TypeError Traceback (most recent call last) /tmp/ipykernel_17180/7228...
multiple bases have instance lay-out conflict on HumanMessageChunk class on langchain 0.0.249
https://api.github.com/repos/langchain-ai/langchain/issues/8577/comments
24
2023-08-01T12:08:08Z
2024-08-08T16:06:49Z
https://github.com/langchain-ai/langchain/issues/8577
1,831,132,425
8,577
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. This repo was split up between the core package and some experimental package. While this is a good idea, it's kinda odd to have both packages in the same repo. Even further you're releasing versions for both of these packages within the same repo. So 5 days ago there was a 0.0.5 release...
Issue: Structure of this repo is confusing
https://api.github.com/repos/langchain-ai/langchain/issues/8572/comments
1
2023-08-01T08:48:57Z
2023-11-07T16:05:58Z
https://github.com/langchain-ai/langchain/issues/8572
1,830,771,603
8,572
[ "langchain-ai", "langchain" ]
### Feature request Enhance the retrieval callback hooks to include: - document IDs from the underlying vector store - document embeddings used during retrieval ### Motivation I want to build a callback handler that enables LangChain users to visualize their data in [Phoenix](https://github.com/Arize-ai/phoenix), ...
Enhance retrieval callback hooks to capture retrieved document IDs and embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/8569/comments
4
2023-08-01T07:44:33Z
2024-02-13T16:14:38Z
https://github.com/langchain-ai/langchain/issues/8569
1,830,662,153
8,569
[ "langchain-ai", "langchain" ]
### Feature request Make cosine similarity (or other retrieval metric, e.g., Euclidean distance) between query and retrieved documents available at the `retriever` callback hook. Currently, these scores are computed during retrieval and are discarded before they become available to the retrieval callback hook: ...
Enhance retrieval callback hooks to include information on cosine similarity scores or other retrieval metrics
https://api.github.com/repos/langchain-ai/langchain/issues/8567/comments
6
2023-08-01T07:18:29Z
2024-06-01T00:07:32Z
https://github.com/langchain-ai/langchain/issues/8567
1,830,623,474
8,567
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am currently working on the task of **article rewriting**, and both the QA chain and Summarize chain are not quite suitable for my task. Since I need to rewrite **multiple "lengthy"** articles, I would like to know how to use the chain_type in LLMchain. Alternatively, are there any o...
Issue: How to use chain_type args in LLMchain?
https://api.github.com/repos/langchain-ai/langchain/issues/8565/comments
2
2023-08-01T06:55:55Z
2023-11-08T16:07:15Z
https://github.com/langchain-ai/langchain/issues/8565
1,830,592,050
8,565
[ "langchain-ai", "langchain" ]
### Feature request Add embedding support to the callback system. Here is one approach I have in mind. - [ ] Add `on_embedding_start` method on `CallbackManagerMixin` in `libs/langchain/langchain/callbacks/base.py`. - [ ] Implement `EmbeddingManagerMixin` with `on_embedding_end` and `on_embedding_error` methods ...
Add callback support for embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/8564/comments
2
2023-08-01T06:13:53Z
2023-11-07T16:06:08Z
https://github.com/langchain-ai/langchain/issues/8564
1,830,536,926
8,564
[ "langchain-ai", "langchain" ]
### Feature request Currently, langchain supports petals, but I think we should also support using a petals API endpoint. https://github.com/petals-infra/chat.petals.dev ### Motivation The idea here is that users don't need to run the base application on their system, and can just use the API directly. I think th...
Petals API Support
https://api.github.com/repos/langchain-ai/langchain/issues/8563/comments
2
2023-08-01T05:38:35Z
2023-11-28T11:01:45Z
https://github.com/langchain-ai/langchain/issues/8563
1,830,501,646
8,563
[ "langchain-ai", "langchain" ]
### Feature request Most databases include comment metadata on both tables and columns in a table. It would be nice to be able to pass this additional context to the LLM to get a better response. The implementation could include adding two parameters to the [SQLDatabase](https://github.com/langchain-ai/langchain...
Add metadata parameter(s) to SQLDatabase class
https://api.github.com/repos/langchain-ai/langchain/issues/8558/comments
2
2023-08-01T01:08:42Z
2023-11-07T16:06:18Z
https://github.com/langchain-ai/langchain/issues/8558
1,830,288,016
8,558
[ "langchain-ai", "langchain" ]
### System Info LangChain: 0.0.248 Python: 3.9.17 OS version: Linux 6.1.27-43.48.amzn2023.x86_64 ### Who can help? I will submit a PR for a solution to this problem ### Information - [ ] The official example notebooks/scripts - [x] My own modified scripts ### Related Components - [ ] LLMs/Chat M...
ValueError: Expected metadata value to be a str, int, or float, got [{'text': 'Git', 'url': '#git'}] which is a <class 'list'> when storing into Chroma vector stores using using element mode of UnstructuredMarkdownLoader
https://api.github.com/repos/langchain-ai/langchain/issues/8556/comments
17
2023-08-01T00:31:42Z
2024-04-14T15:47:48Z
https://github.com/langchain-ai/langchain/issues/8556
1,830,261,522
8,556
[ "langchain-ai", "langchain" ]
### System Info Python: v3.11 Langchain: v0.0.248 ### Who can help? I'll submit a PR for it tonight, just wanted to get the Issue in before. ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding ...
Vector Store: Azure Cognitive Search :: add_texts throws an error if called with no metadata
https://api.github.com/repos/langchain-ai/langchain/issues/8544/comments
2
2023-07-31T21:13:43Z
2023-11-06T16:05:33Z
https://github.com/langchain-ai/langchain/issues/8544
1,830,035,282
8,544
[ "langchain-ai", "langchain" ]
### System Info **LangChain:** 0.0.248 **Python:** 3.10.10 **OS version:** Linux 5.10.178-162.673.amzn2.x86_64 ### Who can help? @agola11 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompt...
Error: 'OpenAICallbackHandler' object has no attribute 'on_retry'`
https://api.github.com/repos/langchain-ai/langchain/issues/8542/comments
3
2023-07-31T21:01:43Z
2023-08-14T23:45:18Z
https://github.com/langchain-ai/langchain/issues/8542
1,830,021,223
8,542
[ "langchain-ai", "langchain" ]
### Issue with current documentation: https://api.python.langchain.com/en/latest/utilities/langchain.utilities.sql_database.SQLDatabase.html ### Idea or request for content: Documentation is missing, although i can import this class in the lateste version.
DOC: Missing documentation langchain.utilities.SQLDatabase
https://api.github.com/repos/langchain-ai/langchain/issues/8535/comments
1
2023-07-31T19:01:18Z
2023-11-06T16:05:38Z
https://github.com/langchain-ai/langchain/issues/8535
1,829,840,969
8,535
[ "langchain-ai", "langchain" ]
### System Info LangChain ==0.0.248 Platform Windows 10 Python == 3.10.9 Whenever I use from langchain.schema import HumanMessage I get error, **ImportError: cannot import name 'HumanMessage' from 'langchain.schema'** I have tried updating llama-index but still getting same error @agola11 ### Who can...
Cannot import name 'HumanMessage' from 'langchain.schema'
https://api.github.com/repos/langchain-ai/langchain/issues/8527/comments
8
2023-07-31T17:47:47Z
2023-08-01T16:35:32Z
https://github.com/langchain-ai/langchain/issues/8527
1,829,736,076
8,527
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. search = SerpAPIWrapper() tools = define_tools(llm_chain,search) tools = [ Tool( name="Search", func=search.run, description="useful for when you need to answer questions about current events", # return_direct = True ), ...
how to Stream Search tool responses
https://api.github.com/repos/langchain-ai/langchain/issues/8526/comments
2
2023-07-31T17:26:05Z
2023-11-16T16:06:41Z
https://github.com/langchain-ai/langchain/issues/8526
1,829,703,530
8,526
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am just trying to from langchain import LLMMathChain, SerpAPIWrapper, SQLDatabase, SQLDatabaseChain Traceback (most recent call last): File "/home/huangj/01_LangChain/LangChainCHSample/05_05_SQL_Chain.py", line 1, in <module> from langchain import OpenAI, SQLDatabase, SQLDat...
Issue: ImportError: cannot import name 'SQLDatabaseChain' from 'langchain'
https://api.github.com/repos/langchain-ai/langchain/issues/8524/comments
9
2023-07-31T16:53:56Z
2024-01-26T19:04:33Z
https://github.com/langchain-ai/langchain/issues/8524
1,829,657,483
8,524
[ "langchain-ai", "langchain" ]
### Feature request MMR Support for Vertex AI Matching Engine ### Motivation The results of Matching Engine are not optimal ### Your contribution MMR Support for Vertex AI Matching Engine
MMR Support for Matching Engine
https://api.github.com/repos/langchain-ai/langchain/issues/8514/comments
1
2023-07-31T13:08:29Z
2023-11-06T16:05:43Z
https://github.com/langchain-ai/langchain/issues/8514
1,829,156,986
8,514
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. when i want to use openai, i install it with command"pip3 install openai", but i really wanti to use chatglm, when i run "pip3 install chartglm ", it does not work",please help to answer the question ### Suggestion: _No response_
Issue: <Please write a comprehensive title after the 'Issue: ' prefix>
https://api.github.com/repos/langchain-ai/langchain/issues/8512/comments
4
2023-07-31T11:47:12Z
2023-11-07T16:06:23Z
https://github.com/langchain-ai/langchain/issues/8512
1,829,012,261
8,512
[ "langchain-ai", "langchain" ]
### System Info I am trying to use `RedisChatMessageHistory` within an agent, but I'm encountering this error: ![image](https://github.com/langchain-ai/langchain/assets/28096499/2b5b5002-3f6c-4ca3-8d28-7439a6bcbf74) My redis url I am using looks like that: `redis_url = "redis+sentinel://:password@host:port/servic...
Add memory to an Agent using RedisChatMessageHistory with sentinels throwing an error
https://api.github.com/repos/langchain-ai/langchain/issues/8511/comments
3
2023-07-31T09:34:40Z
2023-11-08T16:07:19Z
https://github.com/langchain-ai/langchain/issues/8511
1,828,789,616
8,511
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. So It's possible to parse "complex" objects with ```python response_schemas = [ ResponseSchema(name="date", description="The date of the event"), ResponseSchema(name="place", description="The place where the event will happen"), ] output_parser = StructuredOutputParser.fr...
Issue: output_parsers to work with lists of custom objects?
https://api.github.com/repos/langchain-ai/langchain/issues/8510/comments
3
2023-07-31T09:34:19Z
2024-07-14T04:12:39Z
https://github.com/langchain-ai/langchain/issues/8510
1,828,789,032
8,510
[ "langchain-ai", "langchain" ]
### Issue with current documentation: I did not find this page on https://python.langchain.com/docs/get_started/introduction.html I'm just wondering, what's the motive ? ### Idea or request for content: _No response_
DOC: why remove concepts.md from the latest document page
https://api.github.com/repos/langchain-ai/langchain/issues/8506/comments
1
2023-07-31T07:18:44Z
2023-11-06T16:05:58Z
https://github.com/langchain-ai/langchain/issues/8506
1,828,562,645
8,506
[ "langchain-ai", "langchain" ]
### System Info langchain/document_loaders/web_base.py > works for me only when i change: ``` return await response.text() ``` with: ``` body = await response.read() return body.decode('utf-8', errors='ignore') ``` otherwise: der Code produziert leider einen Fehler: /home/codespace/.py thon/current/b...
langchain/document_loaders/web_base.py
https://api.github.com/repos/langchain-ai/langchain/issues/8505/comments
2
2023-07-31T07:02:32Z
2023-11-06T16:06:03Z
https://github.com/langchain-ai/langchain/issues/8505
1,828,539,383
8,505
[ "langchain-ai", "langchain" ]
I have a operation manual pdf file about a website and i want to use langchain let dolly can responed the question about the website below is my code: ``` from langchain.embeddings import HuggingFaceEmbeddings from PyPDF2 import PdfReader from langchain.text_splitter import CharacterTextSplitter from langchain.ve...
How to use langchain to create my own databricks dolly chat robot
https://api.github.com/repos/langchain-ai/langchain/issues/8503/comments
0
2023-07-31T06:08:19Z
2023-07-31T06:14:31Z
https://github.com/langchain-ai/langchain/issues/8503
1,828,472,740
8,503
[ "langchain-ai", "langchain" ]
### System Info **Langchain**:0.0.247 **Python**:3.10.5 **System**: macOS 13.4 arm64 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Pr...
API Key Leakage in the PromptLayerChatOpenAI Model
https://api.github.com/repos/langchain-ai/langchain/issues/8499/comments
1
2023-07-31T02:14:44Z
2023-11-02T08:48:45Z
https://github.com/langchain-ai/langchain/issues/8499
1,828,243,007
8,499
[ "langchain-ai", "langchain" ]
### System Info LangChain 0.0.247, Python 3.11, Linux. ### Who can help? @rlancemartin ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output P...
Loading documents from a YouTube url doesn't work.
https://api.github.com/repos/langchain-ai/langchain/issues/8498/comments
2
2023-07-30T20:47:14Z
2023-07-31T06:48:09Z
https://github.com/langchain-ai/langchain/issues/8498
1,828,082,841
8,498
[ "langchain-ai", "langchain" ]
### System Info python 3.11 ### Who can help? @rlancemartin File langchain/document_loaders/async_html.py:136--> results = asyncio.run(self.fetch_all(self.web_paths)) ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ...
RuntimeError: asyncio.run() cannot be called from a running event loop
https://api.github.com/repos/langchain-ai/langchain/issues/8494/comments
6
2023-07-30T19:10:58Z
2023-12-13T16:07:53Z
https://github.com/langchain-ai/langchain/issues/8494
1,828,038,702
8,494
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I am getting "Agent stopped due to iteration limit or time limit" as the error , As my max_iteration is also 15 then too i am getting this error. I need some particular output from the model. Following is my code agent_executor = AgentExecutor.from_agent_and_tools(agent=agent, ...
Agent stopped due to iteration limit or time limit
https://api.github.com/repos/langchain-ai/langchain/issues/8493/comments
12
2023-07-30T17:37:50Z
2024-05-28T10:38:44Z
https://github.com/langchain-ai/langchain/issues/8493
1,828,012,369
8,493
[ "langchain-ai", "langchain" ]
### System Info ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. google-colab 1.0.0 requires requests==2.27.1, but you have requests 2.31.0 which is incompatible. Successfully installed b...
Web Research Retriever error, code run in free Colab
https://api.github.com/repos/langchain-ai/langchain/issues/8487/comments
2
2023-07-30T09:28:34Z
2023-07-30T14:30:15Z
https://github.com/langchain-ai/langchain/issues/8487
1,827,868,223
8,487
[ "langchain-ai", "langchain" ]
### System Info LangChain 0.0.242 ### 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 - [ ] Document...
no support for loading 70B models via llamacpp
https://api.github.com/repos/langchain-ai/langchain/issues/8486/comments
3
2023-07-30T09:12:42Z
2023-11-07T16:06:33Z
https://github.com/langchain-ai/langchain/issues/8486
1,827,863,684
8,486
[ "langchain-ai", "langchain" ]
### Feature request I propose the addition of a foundational chain feature, namely, the IteratorChain to LangChain. Unlike a convenience function, this feature is intended to enhance the flexibility and usability of LangChain by allowing it to handle collections of inputs for any existing chain, propagating them seq...
IteratorChain
https://api.github.com/repos/langchain-ai/langchain/issues/8484/comments
2
2023-07-30T07:43:44Z
2023-11-05T16:04:59Z
https://github.com/langchain-ai/langchain/issues/8484
1,827,840,103
8,484
[ "langchain-ai", "langchain" ]
### System Info I use this code: ``` search = GoogleSearchAPIWrapper() tool = Tool( name="Google Search", description="Search Google for recent results.", func=search.run, ) tool.run("Obama's first name?") ``` The result looks fine. But when I use the code below ``` search = GoogleSearchAPI...
ConnectionResetError: [Errno 54] Connection reset by peer
https://api.github.com/repos/langchain-ai/langchain/issues/8483/comments
4
2023-07-30T07:07:22Z
2023-11-09T16:08:15Z
https://github.com/langchain-ai/langchain/issues/8483
1,827,831,371
8,483
[ "langchain-ai", "langchain" ]
### System Info Langchain 0.0.239 ### 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...
3 different google search API varies a lot
https://api.github.com/repos/langchain-ai/langchain/issues/8480/comments
2
2023-07-30T06:00:36Z
2023-11-13T16:07:20Z
https://github.com/langchain-ai/langchain/issues/8480
1,827,816,758
8,480
[ "langchain-ai", "langchain" ]
### Issue with current documentation: The INFO: Python Guide links in both https://docs.langchain.com/docs/components/prompts/prompt-template and https://docs.langchain.com/docs/components/prompts/example-selectors are both broken (similar to #8105) ### Idea or request for content: The pages have simply been m...
DOC: Broken Links in Prompts Sub Categories Pages
https://api.github.com/repos/langchain-ai/langchain/issues/8477/comments
0
2023-07-30T04:41:57Z
2023-07-31T02:38:53Z
https://github.com/langchain-ai/langchain/issues/8477
1,827,802,229
8,477
[ "langchain-ai", "langchain" ]
### System Info Langchain version: 0.0.247 python version: 3.11.0 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [X] Prompts / Prompt Templates / Prompt Selector...
unsupported operand type(s) for +: 'SystemMessage' and 'HumanMessage'
https://api.github.com/repos/langchain-ai/langchain/issues/8472/comments
5
2023-07-30T02:14:01Z
2023-11-05T16:05:09Z
https://github.com/langchain-ai/langchain/issues/8472
1,827,763,902
8,472
[ "langchain-ai", "langchain" ]
### System Info langchain-version: 0.0.246 AzureCognitiveSearchRetriever always return top 10 results as supposed to what was specified for top k <img width="1158" alt="image" src="https://github.com/langchain-ai/langchain/assets/19245478/cb0e7317-8eee-4d9b-b71c-95c217451b42"> ### Who can help? _No response_ ##...
AzureCognitiveSearchRetriever Issue
https://api.github.com/repos/langchain-ai/langchain/issues/8469/comments
1
2023-07-29T23:12:59Z
2023-11-04T16:04:30Z
https://github.com/langchain-ai/langchain/issues/8469
1,827,714,420
8,469
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I just saw a novel error, which appears to be triggered by a failed OpenAI API call (inside an asynchronous block) which is causing an asyncio.run() inside an asyncio.run(). Error pasted below. Is this my (user) error? Or possibly a problem with the acompletion_with_retry() implementa...
Issue: OpenAI Bad Gateway results in Error in on_retry: asyncio.run() cannot be called from a running event loop (coroutine 'AsyncRunManager.on_retry' was never awaited) inside openai.acompletion_with_retry
https://api.github.com/repos/langchain-ai/langchain/issues/8462/comments
14
2023-07-29T17:11:33Z
2023-09-25T09:44:18Z
https://github.com/langchain-ai/langchain/issues/8462
1,827,559,495
8,462
[ "langchain-ai", "langchain" ]
### System Info I'm trying to use the tutorial on langchain but I get this error: ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[11], line 1 ----> 1 from langchain.document_loaders import TextLoa...
TypeError: issubclass() arg 1 must be a class
https://api.github.com/repos/langchain-ai/langchain/issues/8458/comments
2
2023-07-29T11:19:47Z
2023-11-04T16:04:36Z
https://github.com/langchain-ai/langchain/issues/8458
1,827,446,765
8,458
[ "langchain-ai", "langchain" ]
### System Info ... % python --version Python 3.11.4 ... % pip show langchain | grep Version Version: 0.0.247 ### Who can help? @eyurtsev ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Mod...
VectorStore.from_documents() takes 3 positional arguments but 4 were given
https://api.github.com/repos/langchain-ai/langchain/issues/8457/comments
2
2023-07-29T10:53:33Z
2023-07-30T06:26:23Z
https://github.com/langchain-ai/langchain/issues/8457
1,827,440,722
8,457
[ "langchain-ai", "langchain" ]
### Feature request I am behind company firewall and I need to set proxy to `SitemapLoader` ### Motivation I am behind company firewall ### Your contribution Eg.: ```python sitemap_loader = SitemapLoader( web_path="https://langchain.readthedocs.io/sitemap.xml", https_proxy="https://my.pr...
SitemapLoader: set proxy
https://api.github.com/repos/langchain-ai/langchain/issues/8451/comments
2
2023-07-29T06:02:55Z
2024-04-15T16:41:40Z
https://github.com/langchain-ai/langchain/issues/8451
1,827,335,864
8,451
[ "langchain-ai", "langchain" ]
### System Info ```python from langchain.llms.base import LLM from langchain.llms import GooglePalm ``` This throws an error saying it requires `google.generativeai`; pervious it used to work, something changed and is it documented? ### Who can help? @hwchase17 @agola11 ### Information - [ ] The official e...
GooglePalm requires google.generativeai?
https://api.github.com/repos/langchain-ai/langchain/issues/8449/comments
3
2023-07-29T04:55:22Z
2023-11-15T16:06:58Z
https://github.com/langchain-ai/langchain/issues/8449
1,827,318,961
8,449
[ "langchain-ai", "langchain" ]
### System Info ```shell $ langchain.__version__ '0.0.234' $ uname -a Linux codespaces-92388d 5.15.0-1042-azure #49-Ubuntu SMP Tue Jul 11 17:28:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux $ python Python 3.10.8 (main, Jun 15 2023, 01:39:58) [GCC 9.4.0] on linux ``` ### Who can help? @hwchase17 @vowe ### Inf...
Object of type 'FieldInfo' is not JSON serializable
https://api.github.com/repos/langchain-ai/langchain/issues/8448/comments
2
2023-07-29T04:47:30Z
2023-07-29T08:50:24Z
https://github.com/langchain-ai/langchain/issues/8448
1,827,317,440
8,448
[ "langchain-ai", "langchain" ]
### System Info Python = 3.9 Langchain = 0.0.245 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [X] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Select...
Huggingface_Pipeline for summarization returning generalized response
https://api.github.com/repos/langchain-ai/langchain/issues/8444/comments
6
2023-07-29T01:15:26Z
2023-08-02T12:38:17Z
https://github.com/langchain-ai/langchain/issues/8444
1,827,254,867
8,444
[ "langchain-ai", "langchain" ]
### Issue with current documentation: ## Description The installation instructions in the Contributor docs are not working and should be updated. For example: ```bash > poetry install -E all Installing dependencies from lock file Extra [all] is not specified. ``` ```bash > poetry install --with dev Gr...
DOC: Contributor docs are inaccurate
https://api.github.com/repos/langchain-ai/langchain/issues/8440/comments
2
2023-07-28T23:26:09Z
2023-07-31T18:01:18Z
https://github.com/langchain-ai/langchain/issues/8440
1,827,201,525
8,440
[ "langchain-ai", "langchain" ]
null
Issue: Indexing and querying an XML file
https://api.github.com/repos/langchain-ai/langchain/issues/8436/comments
0
2023-07-28T21:37:19Z
2023-07-28T21:40:29Z
https://github.com/langchain-ai/langchain/issues/8436
1,827,113,761
8,436
[ "langchain-ai", "langchain" ]
### System Info - MacOS 13.4.1 (c) - Intel Core i9 #### Version - Python 3.8.17 - Langchain 0.0.245 #### Context I am trying build a prompt that convert latex string generated by an OCR algo to a text describing that latex. When using the `FewShotPromptTemplate`, the curly brackets in the latex string are som...
FewShotPromptTemplate example formating bug
https://api.github.com/repos/langchain-ai/langchain/issues/8433/comments
2
2023-07-28T20:48:54Z
2023-11-03T16:05:41Z
https://github.com/langchain-ai/langchain/issues/8433
1,827,071,328
8,433
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. OpenAI Cookbook - https://github.com/openai/openai-cookbook/blob/main/examples/How_to_format_inputs_to_ChatGPT_models.ipynb - `gpt-3.5-turbo-0301` set `tokens_per_message = 4` and `tokens_per_name = -1` - `gpt-3.5-turbo-*` set `tokens_per_message = 3` and `tokens_per_name = 1` ...
Issue: Azure/OpenAI get_num_tokens_from_messages returns wrong prompt tokens
https://api.github.com/repos/langchain-ai/langchain/issues/8430/comments
1
2023-07-28T19:22:44Z
2023-07-29T01:13:36Z
https://github.com/langchain-ai/langchain/issues/8430
1,826,981,943
8,430
[ "langchain-ai", "langchain" ]
### Feature request Expose text-bison as chat model since it might be useful for some applications. ### Motivation Sometimes it might be interesting to compare text-bison vs chat-bison for chat scenarios. ### Your contribution yes, I'm happy to do it.
Expose Vertex text model as chat model
https://api.github.com/repos/langchain-ai/langchain/issues/8427/comments
2
2023-07-28T18:49:53Z
2023-11-03T16:05:29Z
https://github.com/langchain-ai/langchain/issues/8427
1,826,935,451
8,427
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Is there anyway to use a different model to generate AGENT THOUGHTS and AGENT FINAL ANSWER? For example: I want to to use GPT3.5 for generate thoughts and GPT4 to generate the final answer. ### Suggestion: _No response_
Different Model to generate thought and answer from Agent.
https://api.github.com/repos/langchain-ai/langchain/issues/8421/comments
1
2023-07-28T15:28:07Z
2023-11-03T16:05:57Z
https://github.com/langchain-ai/langchain/issues/8421
1,826,632,580
8,421
[ "langchain-ai", "langchain" ]
### System Info Firstly sorry if I am posting this in wrong place but I felt like it belongs to here. I am trying use LlamaCpp for QA for txt documents but on Chromadb I am getting following error I couldn't find a way to solve this: ``` ---------------------------------------------------------------------------...
langchain with LlamaCpp for QA from txt files fails on Chroma part
https://api.github.com/repos/langchain-ai/langchain/issues/8420/comments
4
2023-07-28T14:45:53Z
2023-10-13T12:13:43Z
https://github.com/langchain-ai/langchain/issues/8420
1,826,557,242
8,420
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I'm trying to load some documents, powerpoints and text to train my custom LLm using Langchain. When I run it I come to a weird error message where it tells I don't have "tokenizers" and "taggers" packages (folders). I've read the docs, asked Langchain chatbot, pip install nltk, ...
Working with Langchain I get nlkt errors telling me: Package "tokenizers" not found in index and Packaage "taggers" not found in index
https://api.github.com/repos/langchain-ai/langchain/issues/8419/comments
8
2023-07-28T12:23:04Z
2023-11-03T16:06:43Z
https://github.com/langchain-ai/langchain/issues/8419
1,826,332,861
8,419
[ "langchain-ai", "langchain" ]
I'd like to incorporate this 'system_message' with each whenever I call 'qa.run(prompt)'. How is this possible. Can someone help? Here is the code I wrote to initialize the LLM and the RetrievalQA: ```from langchain.chat_models import ChatOpenAI from langchain.chains.conversation.memory import ConversationBuffe...
Question: How can I include SystemMessage with RetrievalQA
https://api.github.com/repos/langchain-ai/langchain/issues/8418/comments
5
2023-07-28T12:05:32Z
2023-08-01T06:22:50Z
https://github.com/langchain-ai/langchain/issues/8418
1,826,310,026
8,418
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.245 gptcache==0.1.37 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Par...
GPTCache object should be created during or before the first lookup
https://api.github.com/repos/langchain-ai/langchain/issues/8415/comments
1
2023-07-28T10:24:52Z
2023-08-02T15:17:50Z
https://github.com/langchain-ai/langchain/issues/8415
1,826,173,560
8,415
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. My Chatbot is fairly straight forward. It uses MosaicMLInstructorEmbeddings() as the embedding and MosaicML() as the model. I have a file that I want to retrieve from. When outputting an answer, for instance: What is AliBi? It will give a response like: Answer: LiBi (Attention...
Issue: LangChain is fairly consistently dropping the first one or two characters of the chain answer.
https://api.github.com/repos/langchain-ai/langchain/issues/8413/comments
7
2023-07-28T08:53:41Z
2023-07-31T22:00:04Z
https://github.com/langchain-ai/langchain/issues/8413
1,826,004,866
8,413
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. I have added the tools named A_tool, default_tool to a `ZeroShotAgent`. The output from one of the execution looks like: ``` Thought: We need to use the A_tool. Action: Use A_tool Observation: Use A_tool is not a valid tool, try another one. Thought:We need to use the defaul...
Issue: prefix `Use ` being added to agent action causing InvalidTool to be invoked again and again
https://api.github.com/repos/langchain-ai/langchain/issues/8407/comments
7
2023-07-28T06:15:22Z
2024-03-30T16:04:56Z
https://github.com/langchain-ai/langchain/issues/8407
1,825,780,100
8,407
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Currently, I'm using SequentialChain class to combine two steps in my workflow. Step1: I'm using the LLM through prompt to identify the intent of the question posed by the user. Step2: I'm using the csv based agent to answer the question posed by the user based on the csv file, ...
Issue: Unable to define "output_key" param of the LLM chain class for a csv agent while binding to SequentialChain class
https://api.github.com/repos/langchain-ai/langchain/issues/8406/comments
2
2023-07-28T06:13:52Z
2023-08-02T04:54:40Z
https://github.com/langchain-ai/langchain/issues/8406
1,825,778,483
8,406
[ "langchain-ai", "langchain" ]
### Feature request I'm interested in the code segmenters created. So far we have python and javascript. I'm looking for a typescript one in particular, the JS one marks my typescript as invalid. But in general, having the language support shown in the text splitter Language enum would be ideal but with full on parsin...
Add more CodeSegmenters
https://api.github.com/repos/langchain-ai/langchain/issues/8405/comments
3
2023-07-28T06:06:12Z
2024-02-13T16:45:52Z
https://github.com/langchain-ai/langchain/issues/8405
1,825,765,474
8,405
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. Hello, I'm currently using the load_summarize_chain function to summarize extensive documents, specifically those about 250 pages or more. In this process, I'm employing the map_reduce chain type along with a custom prompt. The process works as follows: In the initial step, the cha...
Questions Regarding load_summarize_chain Implementation and LLM Models Usage
https://api.github.com/repos/langchain-ai/langchain/issues/8399/comments
2
2023-07-28T04:43:43Z
2023-12-07T16:07:05Z
https://github.com/langchain-ai/langchain/issues/8399
1,825,692,044
8,399
[ "langchain-ai", "langchain" ]
For example: we have two tool, one is search tool, used to search transaction, the other is date tool for search tool, we have three parameters, if user input less parameters, search tool will feedback user to input missing information, then user will provide supplementary information, agent need to combine dialogue h...
can you provide agent examples for multiple rounds of dialogue?
https://api.github.com/repos/langchain-ai/langchain/issues/8396/comments
1
2023-07-28T03:45:01Z
2023-11-03T16:05:37Z
https://github.com/langchain-ai/langchain/issues/8396
1,825,651,360
8,396
[ "langchain-ai", "langchain" ]
i just wrote a custom agent to classify intent to choose different tool, but i don't know how to get response from agent, when i print answer, it shows Agent stopped due to iteration limit or time limit. Code is shown as below, thanks tools = [SearchTool(),DateTool()] agent = IntentAgent(tools=tools, llm=llm) agent_...
how can i get response of agent
https://api.github.com/repos/langchain-ai/langchain/issues/8393/comments
4
2023-07-28T02:39:03Z
2023-11-03T16:06:06Z
https://github.com/langchain-ai/langchain/issues/8393
1,825,595,680
8,393
[ "langchain-ai", "langchain" ]
### Issue with current documentation: I have tried to make a wrapper around my LLMs but the class cant be instantiated. Can't even get the example here to work: https://python.langchain.com/docs/modules/model_io/models/llms/custom_llm Can someone help out with this? ### Idea or request for content: _No res...
DOC: Custom LLM Wrappers not functional
https://api.github.com/repos/langchain-ai/langchain/issues/8392/comments
1
2023-07-28T02:06:13Z
2023-08-06T18:32:16Z
https://github.com/langchain-ai/langchain/issues/8392
1,825,568,030
8,392
[ "langchain-ai", "langchain" ]
### System Info (h2ogpt) jon@pseudotensor:~/h2ogpt$ pip freeze | grep langchain langchain==0.0.235 langchainplus-sdk==0.0.20 Python 3.10 (h2ogpt) jon@pseudotensor:~/h2ogpt$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename...
chain.arun() for summarization no faster than chain()
https://api.github.com/repos/langchain-ai/langchain/issues/8391/comments
8
2023-07-28T01:09:54Z
2023-07-28T05:12:04Z
https://github.com/langchain-ai/langchain/issues/8391
1,825,511,510
8,391
[ "langchain-ai", "langchain" ]
### Issue with current documentation: I would like to deploy my langchain project in a shared host server , so I will need tobe able APIs to receive request and return response to the end devices. I think this feature is already done , however, I do not how to implement it in my project ### Idea or request for conten...
DOC: how to setup APIs in my project to receive requests and returns responses from and to end devices
https://api.github.com/repos/langchain-ai/langchain/issues/8390/comments
4
2023-07-28T00:17:12Z
2024-02-10T16:20:48Z
https://github.com/langchain-ai/langchain/issues/8390
1,825,424,441
8,390
[ "langchain-ai", "langchain" ]
### System Info I wonder if the input_documents are combined with relevant_docuemnts from retriever? I have been comparing results, and although wiki_doc provide different context, it is not reflected in response! I have tried both version, and the information by "input_doc" is not reflected in result1. I looked up i...
qa_chain with retriever and input_documents.
https://api.github.com/repos/langchain-ai/langchain/issues/8386/comments
1
2023-07-27T22:35:13Z
2023-11-02T16:04:35Z
https://github.com/langchain-ai/langchain/issues/8386
1,825,313,643
8,386
[ "langchain-ai", "langchain" ]
### Feature request An integration of exllama in Langchain to be able to use 4-bit GPTQ weights, designed to be fast and memory-efficient on modern GPUs. ### Motivation The benchmarks on the official repo speak for themselves: https://github.com/turboderp/exllama#results-so-far ### Your contribution There is a...
Exllama integration to run GPTQ models
https://api.github.com/repos/langchain-ai/langchain/issues/8385/comments
12
2023-07-27T22:26:51Z
2024-05-31T23:49:27Z
https://github.com/langchain-ai/langchain/issues/8385
1,825,307,485
8,385
[ "langchain-ai", "langchain" ]
### Feature request This is related to [HyDE](https://python.langchain.com/docs/modules/chains/additional/hyde). But I feel my feature request puts the HyDE example in a more realistic context, and naturally extends the RetrievalQA chain. My suggestion would be allow the text passed to the retriever to be differen...
RetrievalQA: Submit different queries to Retriever and LLM
https://api.github.com/repos/langchain-ai/langchain/issues/8380/comments
3
2023-07-27T20:32:27Z
2023-10-27T16:18:45Z
https://github.com/langchain-ai/langchain/issues/8380
1,825,171,219
8,380
[ "langchain-ai", "langchain" ]
### System Info langchain==0.0.244 ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [ ] Output Parsers - [ ] Documen...
GCP Matching Engine support for public index endpoints
https://api.github.com/repos/langchain-ai/langchain/issues/8378/comments
7
2023-07-27T20:14:21Z
2023-11-21T02:11:30Z
https://github.com/langchain-ai/langchain/issues/8378
1,825,144,169
8,378
[ "langchain-ai", "langchain" ]
### System Info **RecursiveUrlLoader** is not working. Please refer to the below code. "docs" size is always 0. https://python.langchain.com/docs/integrations/document_loaders/recursive_url_loader from langchain.document_loaders.recursive_url_loader import RecursiveUrlLoader url = "https://js.langchain.com/do...
RecursiveUrlLoader is not working
https://api.github.com/repos/langchain-ai/langchain/issues/8367/comments
2
2023-07-27T17:30:39Z
2023-11-02T16:04:39Z
https://github.com/langchain-ai/langchain/issues/8367
1,824,862,056
8,367
[ "langchain-ai", "langchain" ]
### Feature request The `_id` field should be populated with these in order: 1. `ids: Optional[List[str]] = None,` -- already in place 2. Document metadata (filename + start_index) -- new feature 3. Leave `_id` empty (instead of uuid) -- new feature https://github.com/langchain-ai/langchain/blob/cf608f876b0ada...
OpenSearch bulk ingest with deterministic _id if available
https://api.github.com/repos/langchain-ai/langchain/issues/8366/comments
2
2023-07-27T17:23:26Z
2023-10-26T16:40:38Z
https://github.com/langchain-ai/langchain/issues/8366
1,824,852,567
8,366
[ "langchain-ai", "langchain" ]
### System Info Langchain version: 0.0.244 Numexpr version: 2.8.4 Python version: 3.10.11 ### Who can help? @hwchase17 @vowelparrot ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / ...
Arbitrary code execution in LLMMathChain
https://api.github.com/repos/langchain-ai/langchain/issues/8363/comments
33
2023-07-27T16:00:56Z
2024-03-13T16:12:31Z
https://github.com/langchain-ai/langchain/issues/8363
1,824,692,692
8,363
[ "langchain-ai", "langchain" ]
### Issue with current documentation: Following this:https://github.com/levalencia/langchainLuisValencia/blob/master/.github/CONTRIBUTING.md#-common-tasks On Windows. Forked the repo, cloned it locally, created a conda environment, (Poetry was already installed), then installed all dependencies. Error received:...
DOC: Contribution guidelines not working
https://api.github.com/repos/langchain-ai/langchain/issues/8362/comments
1
2023-07-27T14:46:12Z
2023-10-26T19:39:35Z
https://github.com/langchain-ai/langchain/issues/8362
1,824,539,164
8,362
[ "langchain-ai", "langchain" ]
### System Info Mac, command line and jupyter notebook inside VSCode ### Who can help? _No response_ ### Information - [X] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [X] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates ...
Argument 'bases' has incorrect type
https://api.github.com/repos/langchain-ai/langchain/issues/8361/comments
2
2023-07-27T14:44:05Z
2023-11-03T16:07:03Z
https://github.com/langchain-ai/langchain/issues/8361
1,824,534,625
8,361
[ "langchain-ai", "langchain" ]
### System Info LangChain version v0.0.5, Python 3.9.13 ### Who can help? @hwchase17 ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components - [ ] LLMs/Chat Models - [ ] Embedding Models - [ ] Prompts / Prompt Templates / Prompt Selectors - [X] Output ...
LLM output parsing error for answers including code sections.
https://api.github.com/repos/langchain-ai/langchain/issues/8357/comments
4
2023-07-27T12:40:32Z
2023-08-03T09:05:28Z
https://github.com/langchain-ai/langchain/issues/8357
1,824,290,695
8,357
[ "langchain-ai", "langchain" ]
### Issue you'd like to raise. if we are passing chathistory as a input in agent template = """You are a chatbot having a conversation with a human. {chat_history} {human_input} Chatbot:""" prefix = """Have a conversation with a human, answering the following questio...
Chat History Issue
https://api.github.com/repos/langchain-ai/langchain/issues/8355/comments
3
2023-07-27T11:56:41Z
2024-02-11T16:17:46Z
https://github.com/langchain-ai/langchain/issues/8355
1,824,215,752
8,355
[ "langchain-ai", "langchain" ]
### System Info I'm trying to achieve the least calls to openAI-s API, So I've tried to save my vectorstorage to the disk and then reload it (like its in the "if" part). But if I use OpenAIEmbeddings() as embedding_funcion it still calls to openai's embeddings API. (Maybe it should be a feature request) Is this a bug?...
Loading vectorstore from disk still calls to OpenAI's embeddings API
https://api.github.com/repos/langchain-ai/langchain/issues/8352/comments
1
2023-07-27T11:41:07Z
2023-11-02T16:17:17Z
https://github.com/langchain-ai/langchain/issues/8352
1,824,192,942
8,352
[ "langchain-ai", "langchain" ]
### System Info LangChain 0.0.235 ### 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 Pars...
No function message compatability in PostgresChatMessageHistory
https://api.github.com/repos/langchain-ai/langchain/issues/8349/comments
4
2023-07-27T10:53:51Z
2023-07-28T08:24:55Z
https://github.com/langchain-ai/langchain/issues/8349
1,824,121,928
8,349
[ "langchain-ai", "langchain" ]
### Feature request Some kind of possibility to make a custom tool with return direct not do so when faced with a error such as a ToolException. ### Motivation Currently, when a tool with return_direct faces a handled error, it returns the error directly. I would want a tool to return an output directly but only if ...
Custom tool return_direct except when a ToolException occurs.
https://api.github.com/repos/langchain-ai/langchain/issues/8348/comments
2
2023-07-27T10:03:00Z
2024-02-06T16:32:01Z
https://github.com/langchain-ai/langchain/issues/8348
1,824,041,459
8,348
[ "langchain-ai", "langchain" ]
### Feature request The Playwright toolkit is awesome. But it would be great to be able to see what the agent is doing. We could add a feature that takes screenshoots of the current state of the web page ### Motivation It feels strange to use the toolkit but being blind, we cannot see what the agent is doing. The or...
Playwright Browser Tools: add screenshot feature
https://api.github.com/repos/langchain-ai/langchain/issues/8347/comments
1
2023-07-27T09:51:26Z
2023-11-02T16:14:07Z
https://github.com/langchain-ai/langchain/issues/8347
1,824,020,139
8,347