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"
] | ### System Info
Im trying to implement this in sagemaker with bedrock claude v2
https://github.com/langchain-ai/langchain/blob/master/templates/rag-aws-bedrock/rag_aws_bedrock/chain.py
Here is my code
```
`import os
from langchain.embeddings import BedrockEmbeddings
from langchain.llms.bedrock import Bedro... | Can't use RunnablePassthrough | https://api.github.com/repos/langchain-ai/langchain/issues/15085/comments | 3 | 2023-12-23T00:38:06Z | 2024-03-30T16:06:36Z | https://github.com/langchain-ai/langchain/issues/15085 | 2,054,597,980 | 15,085 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
SQLDatabaseChain is throwing a TypeError when executing the .run or .invoke functions. All arguments or kwargs passed to the class are valid, but the error persists. I have trapped back to the database and there is a valid connection. My code and error are below:
```python
sqlite_... | SQLDatabaseChain raising TypeError exception with SQLite | https://api.github.com/repos/langchain-ai/langchain/issues/15077/comments | 11 | 2023-12-22T20:25:25Z | 2024-07-12T18:11:07Z | https://github.com/langchain-ai/langchain/issues/15077 | 2,054,482,659 | 15,077 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have observed that while using the command belonging to importing "langchain.llms (for example as in from langchain.llms import HuggingFaceHub") have no problem when I deploy my web app to multiple hosting sites like streamlit, Render, Heroku etc.
However, using the "langchain.memory" as in from l... | Bugs in importing when Deploying a LangChain web app to multiple hosting platforms! | https://api.github.com/repos/langchain-ai/langchain/issues/15074/comments | 1 | 2023-12-22T19:12:34Z | 2024-03-29T16:08:40Z | https://github.com/langchain-ai/langchain/issues/15074 | 2,054,421,969 | 15,074 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Google's `gemini-pro` supports function calling. It would be nice to be able to use langchain to support function calling when using the `VertexAI` class similar to OpenAI and OpenAI's version of function calling: https://cloud.google.com/vertex-ai/docs/generative-ai/multimodal/function-calling
##... | Feature request: Vertex AI Function Calling | https://api.github.com/repos/langchain-ai/langchain/issues/15073/comments | 1 | 2023-12-22T19:10:42Z | 2024-03-29T16:08:35Z | https://github.com/langchain-ai/langchain/issues/15073 | 2,054,420,480 | 15,073 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.351
python==3.10
### Who can help?
@hwchase17 This should be an easy one to fix.
When using regex in the output parser of the StructuredChatAgent, the output parser cuts off the output at the first ending ``` it finds. For example, if my string was
```
"""```json
{
"action... | Structured Chat Output Parser doesn't work when model outputs a code block with ``` around the code block | https://api.github.com/repos/langchain-ai/langchain/issues/15069/comments | 3 | 2023-12-22T17:40:20Z | 2024-04-09T16:14:46Z | https://github.com/langchain-ai/langchain/issues/15069 | 2,054,285,645 | 15,069 |
[
"langchain-ai",
"langchain"
] | in retrievalQa from langchain, we have a retriever that retrieves docs from a vector db and provides a context to the llm, let's say i'm using gpt3.5 whose max tokens is 4096... how do i handle huge context to be sent to it ? any suggestions will be appreciated | send context of docs through Chroma().as_retriever multiple times in the same conversation | https://api.github.com/repos/langchain-ai/langchain/issues/15062/comments | 1 | 2023-12-22T13:52:13Z | 2024-03-29T16:08:31Z | https://github.com/langchain-ai/langchain/issues/15062 | 2,053,953,258 | 15,062 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/15060
<div type='discussions-op-text'>
<sup>Originally posted by **ShehneelAhmedKhan** December 22, 2023</sup>
This is my code:
llm = OpenAI(temperature=0, model_name="gpt-3.5-turbo")
db_chain = SQLDatabaseSequentialChain.from_llm... | Using SQLDatabaseSequentialChain, discrepancy between Answer and SQLResult | https://api.github.com/repos/langchain-ai/langchain/issues/15061/comments | 2 | 2023-12-22T13:48:55Z | 2024-03-29T16:08:26Z | https://github.com/langchain-ai/langchain/issues/15061 | 2,053,949,456 | 15,061 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
i want force the model to call a specific function. but i didn't found how to ues tool_choice with AgentExecutor from doc.
please give me demo. Thanks
### Suggestion:
_No response_ | How to use tool_choice with initialize_agent? | https://api.github.com/repos/langchain-ai/langchain/issues/15059/comments | 3 | 2023-12-22T13:20:20Z | 2024-03-29T16:08:20Z | https://github.com/langchain-ai/langchain/issues/15059 | 2,053,915,647 | 15,059 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The `GoogleDriveLoader` currently supports 3 different ways to authenticate a user.
1. Via a Service Account File
2. Via a Token File
3. Via a Live server
All those ways work perfectly, but I'm missing a way to authenticate the user via an existing JWT. There is a workaround by saving the JWT... | Make it possible to give credentials directly via parameter on GoogleDriveLoader | https://api.github.com/repos/langchain-ai/langchain/issues/15058/comments | 3 | 2023-12-22T12:59:29Z | 2024-06-30T23:27:12Z | https://github.com/langchain-ai/langchain/issues/15058 | 2,053,889,545 | 15,058 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi Guy, this world requires a Langchain framework written in the Rust language, and Python is not the future of AI.
### Suggestion:
_No response_ | this world requires a Langchain framework written in the Rust language | https://api.github.com/repos/langchain-ai/langchain/issues/15057/comments | 3 | 2023-12-22T11:01:51Z | 2024-03-29T16:08:15Z | https://github.com/langchain-ai/langchain/issues/15057 | 2,053,758,780 | 15,057 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The [Snowflakeconnector](https://docs.snowflake.com/en/developer-guide/python-connector/python-connector-api#functions) supports authentication via browser. It would be nice if the [Langchain Snowflake Loader](https://python.langchain.com/docs/integrations/document_loaders/snowflake) also supports ... | Add external browser authentication for Snowflake. | https://api.github.com/repos/langchain-ai/langchain/issues/15056/comments | 1 | 2023-12-22T10:43:44Z | 2024-03-29T16:08:10Z | https://github.com/langchain-ai/langchain/issues/15056 | 2,053,735,631 | 15,056 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I want to use the ContextualCompressionRetriever and wondering how the prompt looks like or if you can use it for non-english languages (e.g. German)?
I am using ContextualCompressionRetriever at the moment and realized that my LLM responses often switch to English, so I am assum... | ContextualCompressionRetriever for non-english languages | https://api.github.com/repos/langchain-ai/langchain/issues/15052/comments | 1 | 2023-12-22T08:16:48Z | 2024-03-29T16:08:05Z | https://github.com/langchain-ai/langchain/issues/15052 | 2,053,554,200 | 15,052 |
[
"langchain-ai",
"langchain"
] | ### System Info
when i use sql agent, i want get table desc , but agent can't work , i am sure REPICA.ICA_PERSON_DATA_ALL table is existed
Question: Describe the REPICA.ICA_PERSON_DATA_ALL table
Thought: I should query the schema of the REPICA.ICA_PERSON_DATA_ALL table to get information about its columns and data... | oracle db when use sql agent can't find table name[Error: table_names] | https://api.github.com/repos/langchain-ai/langchain/issues/15051/comments | 1 | 2023-12-22T07:38:33Z | 2024-03-29T16:08:00Z | https://github.com/langchain-ai/langchain/issues/15051 | 2,053,514,880 | 15,051 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.10.10
langchain 0.0.350
langchain-community 0.0.3
langchain-core 0.1.1
google-search-results 2.4.2
Windows
### Who can help?
_No response_
### Information
- [ ] The official example noteb... | Error Code 400. Can ask follow up questions with agent_executor | https://api.github.com/repos/langchain-ai/langchain/issues/15050/comments | 4 | 2023-12-22T07:06:47Z | 2024-04-11T16:17:10Z | https://github.com/langchain-ai/langchain/issues/15050 | 2,053,484,432 | 15,050 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Microsoft's new model called [Phi](https://www.microsoft.com/en-us/research/blog/phi-2-the-surprising-power-of-small-language-models/) seems interesting...
### Motivation
Performance of smaller models 2-3B params can compare to models with 7B params.
### Your contribution
i don't know enough to... | add Microsoft/Phi support | https://api.github.com/repos/langchain-ai/langchain/issues/15049/comments | 1 | 2023-12-22T06:28:54Z | 2024-03-29T16:07:55Z | https://github.com/langchain-ai/langchain/issues/15049 | 2,053,449,472 | 15,049 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When I use the agent tool, I need to verify whether there are parameters in the problem. If there are no parameters, I will remind the user to input them. How can I implement this?
### Suggestion:
_No response_ | When I use the agent tool, I need to verify whether there are parameters in the problem. If there are no parameters, I will remind the user to input them. How can I implement this? | https://api.github.com/repos/langchain-ai/langchain/issues/15048/comments | 2 | 2023-12-22T06:18:00Z | 2024-03-29T16:07:50Z | https://github.com/langchain-ai/langchain/issues/15048 | 2,053,440,880 | 15,048 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain==0.0.352
MacOS intel version
python==3.8.3
networkx==2.7.1
### Who can help?
@hwchase17 @agola11 I have an issue when initializing GraphQAChain using networkx graph.
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X... | GraphQAChain not working when using Networkx graphs !! | https://api.github.com/repos/langchain-ai/langchain/issues/15046/comments | 6 | 2023-12-22T03:28:50Z | 2024-07-27T15:00:45Z | https://github.com/langchain-ai/langchain/issues/15046 | 2,053,324,243 | 15,046 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.0.348
langchain-nvidia-trt 0.0.1rc0
Python 3.11
### Who can help?
@jdye64
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Template... | NVIDIA Triton+TRT-LLM connector needs to handle dynamic model parameters | https://api.github.com/repos/langchain-ai/langchain/issues/15045/comments | 2 | 2023-12-22T02:17:48Z | 2024-06-08T16:08:15Z | https://github.com/langchain-ai/langchain/issues/15045 | 2,053,274,172 | 15,045 |
[
"langchain-ai",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/2460f977c5c20073b41803c41fd08945be34cd60/libs/langchain/langchain/agents/output_parsers/openai_functions.py#L49
Eeven though you pass your customized function, gpt-3.5 will often return a function call which name is "python" and the arguments are not in json format.
... | BUG! The arguments of function calling returned by gpt 3.5 might not be a dict | https://api.github.com/repos/langchain-ai/langchain/issues/15043/comments | 3 | 2023-12-22T01:48:52Z | 2024-04-10T16:14:54Z | https://github.com/langchain-ai/langchain/issues/15043 | 2,053,256,211 | 15,043 |
[
"langchain-ai",
"langchain"
] | ### System Info
The example found [here](https://python.langchain.com/docs/integrations/vectorstores/azuresearch) and in particular this code fragment
```
embeddings: OpenAIEmbeddings = OpenAIEmbeddings(deployment=model, chunk_size=1)
index_name: str = "langchain-vector-demo"
vector_store: AzureSearch = AzureSear... | AzureSearch Bug -- langchain.vectorstores.azuresearch | https://api.github.com/repos/langchain-ai/langchain/issues/15039/comments | 5 | 2023-12-21T23:45:19Z | 2024-06-01T00:07:40Z | https://github.com/langchain-ai/langchain/issues/15039 | 2,053,180,711 | 15,039 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Seeing an issue in my code that appeared out of nowhere, hoping for some support here. The error message I am seeing is `ValueError: Could not parse output: Answer to inquiry from OpenAI. Score: 90` from the output_parsers/regex.py (https://github.com/langchain-ai/langchain/blob/v0.0.25... | Issue: ValueError: Could not parse output: | https://api.github.com/repos/langchain-ai/langchain/issues/15037/comments | 1 | 2023-12-21T23:20:12Z | 2024-03-28T16:08:43Z | https://github.com/langchain-ai/langchain/issues/15037 | 2,053,166,082 | 15,037 |
[
"langchain-ai",
"langchain"
] | ## Describe the problem
When do inference (with the llm or chat model) we pass a empty list to POST request, when the "stop" attribute of `_create_stream` is not set.
This create a problem when using model, bc ollama override the stop sequence list of the model with the list we pass in the request
## Solution
I... | Ollama integration: The stop sequence is empty when do inference | https://api.github.com/repos/langchain-ai/langchain/issues/15024/comments | 3 | 2023-12-21T19:04:00Z | 2024-03-28T16:08:37Z | https://github.com/langchain-ai/langchain/issues/15024 | 2,052,931,048 | 15,024 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I am developing an application using Langchain with the following code
```
from langchain.agents.agent_types import AgentType
from langchain.chat_models import ChatOpenAI
from langchain_experimental.agents.agent_toolkits import create_pandas_dataframe_agent
import pandas as pd
from langch... | It's possible agent Langchain return a Pandas Dataframe? | https://api.github.com/repos/langchain-ai/langchain/issues/15020/comments | 1 | 2023-12-21T18:54:13Z | 2024-03-28T16:08:32Z | https://github.com/langchain-ai/langchain/issues/15020 | 2,052,920,653 | 15,020 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am using below packages.
Python 3.12.1
langchain 0.0.352
pydantic 2.5.2
openai 1.4.0
huggingface-hub 0.19.4
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embeddi... | AttributeError while executing VectorstoreIndexCreator & DocArrayInMemorySearch | https://api.github.com/repos/langchain-ai/langchain/issues/15016/comments | 10 | 2023-12-21T16:34:48Z | 2024-04-05T16:07:25Z | https://github.com/langchain-ai/langchain/issues/15016 | 2,052,739,238 | 15,016 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
# below is my code
`def generate_custom_prompt(query):
# Create the custom prompt template
custom_prompt_template = f"""You are a chatbot designed to provide helpful answers to user questions. If you encounter a question for which you don't know the answer, please respond... | Issue: not getting output as per my prompt template | https://api.github.com/repos/langchain-ai/langchain/issues/15014/comments | 5 | 2023-12-21T15:28:03Z | 2024-04-18T16:34:57Z | https://github.com/langchain-ai/langchain/issues/15014 | 2,052,630,688 | 15,014 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am following the documentation on https://python.langchain.com/docs/modules/agents/, but as I only have access to an Azure deployment of OpenAI, there is a small deviance from the tutorial. When running the code:
`from langchain.chat_models import AzureChatOpenAI
from langchain.age... | Error message when adhering to Agents Langchain documentation only substituting OpenAI with AzureOpenAI: "openai.NotFoundError: Error code: 404 - {'error': {'message': 'Unrecognized request argument supplied: functions', 'type': 'invalid_request_error', 'param': None, 'code': None}}" | https://api.github.com/repos/langchain-ai/langchain/issues/15012/comments | 2 | 2023-12-21T14:47:39Z | 2024-04-24T16:40:51Z | https://github.com/langchain-ai/langchain/issues/15012 | 2,052,564,532 | 15,012 |
[
"langchain-ai",
"langchain"
] | ### System Info
Everything is latest
### 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
- [X] Docum... | In Pypdf loader "/n " is not removed before creating documents | https://api.github.com/repos/langchain-ai/langchain/issues/15011/comments | 7 | 2023-12-21T14:05:31Z | 2024-08-03T07:40:18Z | https://github.com/langchain-ai/langchain/issues/15011 | 2,052,488,253 | 15,011 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
To fit the prompt from openai to some other local LLM, what's the best way to update the prompts in langchain.chains.query_constructor.prompt while keeping the rest code the same?
### Suggestion:
_No response_ | Issue: update prompts for local LLM | https://api.github.com/repos/langchain-ai/langchain/issues/15008/comments | 8 | 2023-12-21T12:27:35Z | 2024-04-23T17:06:13Z | https://github.com/langchain-ai/langchain/issues/15008 | 2,052,333,901 | 15,008 |
[
"langchain-ai",
"langchain"
] | ### System Info
Traceback (most recent call last):
File "C:\Users\vivek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\langchain_community\vectorstores\azuresearch.py", line 97, in _get_search_client
from azure.search.documents.indexe... | Azure | https://api.github.com/repos/langchain-ai/langchain/issues/15007/comments | 1 | 2023-12-21T11:43:02Z | 2024-03-28T16:08:28Z | https://github.com/langchain-ai/langchain/issues/15007 | 2,052,264,900 | 15,007 |
[
"langchain-ai",
"langchain"
] | ### System Info
aiohttp==3.9.1
aiosignal==1.3.1
annotated-types==0.6.0
anyio==4.2.0
attrs==23.1.0
cachetools==5.3.2
certifi==2023.11.17
charset-normalizer==3.3.2
colorama==0.4.6
dataclasses-json==0.6.3
distro==1.8.0
frozenlist==1.4.1
google-ai-generativelanguage==0.4.0
google-api-core==2.15.0
google-au... | ConversationalRetrievalChain not working with stream callback handler for ChatGoogleGenerativeAI | https://api.github.com/repos/langchain-ai/langchain/issues/15006/comments | 1 | 2023-12-21T11:26:22Z | 2024-02-27T04:48:21Z | https://github.com/langchain-ai/langchain/issues/15006 | 2,052,241,949 | 15,006 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Traceback (most recent call last):
File "c:\Users\vivek\OneDrive\Desktop\SOPPOC\version.py", line 57, in <module>
openAIEmbedd = FAISS.from_documents(texts, embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vivek\AppData\Local\Packages\Pyth... | ValueError: not enough values to unpack (expected 2, got 1) | https://api.github.com/repos/langchain-ai/langchain/issues/15005/comments | 2 | 2023-12-21T11:13:46Z | 2024-04-03T16:08:09Z | https://github.com/langchain-ai/langchain/issues/15005 | 2,052,224,049 | 15,005 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.10.10
langchain 0.0.350
langchain-community 0.0.3
langchain-core 0.1.1
Windows Machine
VSCode
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own mo... | Agent Executor Error code: 404 | https://api.github.com/repos/langchain-ai/langchain/issues/15004/comments | 2 | 2023-12-21T09:52:59Z | 2023-12-22T07:08:41Z | https://github.com/langchain-ai/langchain/issues/15004 | 2,052,095,894 | 15,004 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
_No response_
### Suggestion:
_No response_ | Does ConversationalRetrievalChain Support Streaming Replies?how to use this streaming with custom pre-trained models? | https://api.github.com/repos/langchain-ai/langchain/issues/15002/comments | 1 | 2023-12-21T08:49:32Z | 2024-03-28T16:08:17Z | https://github.com/langchain-ai/langchain/issues/15002 | 2,051,982,197 | 15,002 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
i passed my vectorestore as an retriver on the context but in rag_chai response will shows an openai response not from my vectorstore data so give some support to fix it
| Issue: prompt template response will be come's from openai not from my vectorestore | https://api.github.com/repos/langchain-ai/langchain/issues/15001/comments | 1 | 2023-12-21T08:43:50Z | 2023-12-22T04:58:46Z | https://github.com/langchain-ai/langchain/issues/15001 | 2,051,972,351 | 15,001 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am not getting output as per prompt, what is neccessary modification or changes i need to do.
def chat_langchain(new_project_qa, query, not_uuid):
check = query.lower()
relevant_document = result['source_documents']
user_experience_inst = UserExperience.objects.get(not_... | Issue: not getting output as per prompt,what is neccessary changes i need to do? | https://api.github.com/repos/langchain-ai/langchain/issues/15000/comments | 3 | 2023-12-21T08:28:42Z | 2024-03-28T16:08:13Z | https://github.com/langchain-ai/langchain/issues/15000 | 2,051,951,382 | 15,000 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
404 page: https://python.langchain.com/docs/contributing/integration
referenced by: https://python.langchain.com/docs/contributing/

### Idea or request for content:
... | DOC: Document PAGE NOT FOUND | https://api.github.com/repos/langchain-ai/langchain/issues/14998/comments | 5 | 2023-12-21T07:49:36Z | 2023-12-24T09:09:50Z | https://github.com/langchain-ai/langchain/issues/14998 | 2,051,897,510 | 14,998 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add the implementation of '_create_chat_result()' method for MiniMax's current implementation to allow it being accepted as one of the chat models
### Motivation
Currently MiniMax's chat functionality does not work properly with Langchain, as described in this issue:
https://github.com/langch... | Add implementation of '_create_chat_result()' method for MiniMax's current implementation | https://api.github.com/repos/langchain-ai/langchain/issues/14996/comments | 2 | 2023-12-21T05:02:10Z | 2024-03-28T16:08:07Z | https://github.com/langchain-ai/langchain/issues/14996 | 2,051,702,953 | 14,996 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am having a problem adding function calling to a chain of type ConversationalRetrievalChain. I need help finding a solution.
Here is my code, which creates a ConversationalRetrievalChain to retrieve local knowledge and generate chat history information in a summary format. It works ... | Issue: Adding function calling to ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/14988/comments | 1 | 2023-12-21T02:57:09Z | 2024-03-28T16:08:02Z | https://github.com/langchain-ai/langchain/issues/14988 | 2,051,606,338 | 14,988 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm looking to use a HuggingFace pipeline using Mistral 7b. I am attempting to pass this into an AgentExectutor and use a retriever based tool.
```python
from langchain.agents.agent_toolkits import create_retriever_tool
from langchain_core.pydantic_v1 import BaseModel, Field
... | Issue: Unable to return documents in my custom llm / agent executor implementation | https://api.github.com/repos/langchain-ai/langchain/issues/14987/comments | 2 | 2023-12-21T02:56:10Z | 2024-04-30T16:37:55Z | https://github.com/langchain-ai/langchain/issues/14987 | 2,051,605,621 | 14,987 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I used AsyncCallbackHandler for callback. When I pushed the content to the front end through on_llm_new_token, I found that the markdown code block was missing a newline character, which caused the front end to be unable to render the markdown format normally. However, when I retrieved t... | Issue: Obtain the content output by AsyncCallbackHandler on_llm_new_token and send it to the front end to find that the newline character is missing. | https://api.github.com/repos/langchain-ai/langchain/issues/14986/comments | 1 | 2023-12-21T02:13:25Z | 2023-12-25T09:16:45Z | https://github.com/langchain-ai/langchain/issues/14986 | 2,051,569,869 | 14,986 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version: v0.0.352
python version: 3.11
Hi there! After that PR https://github.com/langchain-ai/langchain/pull/14713 was merged, I started getting errors in stream() method:
```
File .../lib/python3.11/site-packages/langchain_core/_api/deprecation.py:295, in warn_deprecated(since, messag... | ChatOllama stream method raises warn_deprecated NotImplementedError | https://api.github.com/repos/langchain-ai/langchain/issues/14980/comments | 5 | 2023-12-20T23:51:39Z | 2024-04-26T16:13:31Z | https://github.com/langchain-ai/langchain/issues/14980 | 2,051,462,141 | 14,980 |
[
"langchain-ai",
"langchain"
] | ### Feature request
## Context:
I am currently developing a custom scraper using the LangChain tools, following the provided documentation. The core functionality involves extracting paragraphs from a list of URLs using the AsyncHtmlLoader and the Beautiful Soup transformer:
loader = AsyncHtmlLoader(urls)
docs ... | Ignoring Specific Paragraphs or Divs in Web Scraping with LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/14979/comments | 2 | 2023-12-20T23:46:42Z | 2023-12-21T00:27:04Z | https://github.com/langchain-ai/langchain/issues/14979 | 2,051,459,162 | 14,979 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Proposing updates to the SyntheticDataGenerator interface to create a cleaner foundation for building community integrations for synthetic tabular models like [Gretel](https://gretel.ai/tabular-llm) [[docs](https://docs.gretel.ai/reference/tabular-llm)]
### Suggestion:
# Existing... | Issue: Requesting Feedback on Integrating Gretel for Synthetic Tabular Generation | https://api.github.com/repos/langchain-ai/langchain/issues/14975/comments | 1 | 2023-12-20T22:29:45Z | 2024-03-27T16:09:32Z | https://github.com/langchain-ai/langchain/issues/14975 | 2,051,385,822 | 14,975 |
[
"langchain-ai",
"langchain"
] | ### System Info
Currently, I am using OpenAI LLM and Gemini Pro all being used my LangChain. I am also using Google's embedding-001 model and Cohere base model (tested each embedding and both either reply back in english first then another language or straight to another language).
Here is my prompt template:
<c... | LLMs start replying in other languages | https://api.github.com/repos/langchain-ai/langchain/issues/14974/comments | 3 | 2023-12-20T22:14:57Z | 2024-03-29T16:07:40Z | https://github.com/langchain-ai/langchain/issues/14974 | 2,051,361,571 | 14,974 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: langchain 0.0.350, langchain-community 0.0.3, langchain-core 0.1.1
Python Version: 3.10.6
Operating System: macOs
Additional Libraries: boto 2.49.0, boto3 1.34.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified ... | Issue with DynamoDBChatMessageHistory Not Respecting max_token_limit in ConversationTokenBufferMemory | https://api.github.com/repos/langchain-ai/langchain/issues/14957/comments | 8 | 2023-12-20T14:15:02Z | 2024-06-08T16:08:05Z | https://github.com/langchain-ai/langchain/issues/14957 | 2,050,634,701 | 14,957 |
[
"langchain-ai",
"langchain"
] | ### Feature request
**Issue Title:** Enhance NLATool Authentication in ChatGPT OpenAPI
**Description:**
I have identified a feature gap in the current implementation of ChatGPT OpenAPI when using NLATool as a proxy for authentication. The existing logic does not fully meet downstream requirements, and I intend ... | Feature Request - ChatGPT OpenAPI NLATool Authentication Implementation Logic | https://api.github.com/repos/langchain-ai/langchain/issues/14956/comments | 2 | 2023-12-20T13:50:27Z | 2024-03-20T09:55:40Z | https://github.com/langchain-ai/langchain/issues/14956 | 2,050,590,779 | 14,956 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.351
langchain-community: 0.0.4
langchain-core: 0.1.1
langchain-experimental: 0.0.47
python: 3.10.4
### Who can help?
@hwchase17 , @agola11 , @eyurtsev
### Information
- [X] The official exampl... | getting the error "TypeError: Agent.plan() got multiple values for argument 'intermediate_steps'" with agent_executor | https://api.github.com/repos/langchain-ai/langchain/issues/14954/comments | 3 | 2023-12-20T12:09:18Z | 2024-04-11T16:13:43Z | https://github.com/langchain-ai/langchain/issues/14954 | 2,050,427,439 | 14,954 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.10
langchain 0.0.351
Windows 10
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pa... | Incorrect debug logs for llm/start prompts | https://api.github.com/repos/langchain-ai/langchain/issues/14952/comments | 1 | 2023-12-20T11:21:35Z | 2024-03-27T16:09:22Z | https://github.com/langchain-ai/langchain/issues/14952 | 2,050,355,938 | 14,952 |
[
"langchain-ai",
"langchain"
] |
I am trying to run the LLMChain using `llm_chain = LLMChain(llm=llm, prompt=prompt)`, where `llm` is a custom LLM defined based on https://python.langchain.com/docs/modules/model_io/llms/custom_llm,
While trying to run this I am getting the following error: `Can't instantiate abstract class BaseLanguageModel with... | Issue: Getting an error while trying to run LLMChain with Custom LLM | https://api.github.com/repos/langchain-ai/langchain/issues/14951/comments | 3 | 2023-12-20T10:28:46Z | 2024-05-08T16:06:50Z | https://github.com/langchain-ai/langchain/issues/14951 | 2,050,271,687 | 14,951 |
[
"langchain-ai",
"langchain"
] | ### System Info
unable to resolve below issue

### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs... | ImportError: cannot import name 'AzureOpenAIEmbeddings' from 'langchain.embeddings' (/opt/conda/lib/python3.10/site-packages/langchain/embeddings/__init__.py) | https://api.github.com/repos/langchain-ai/langchain/issues/14950/comments | 7 | 2023-12-20T10:26:52Z | 2024-02-01T18:40:51Z | https://github.com/langchain-ai/langchain/issues/14950 | 2,050,268,609 | 14,950 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.338
python: 3.9
### Who can help?
@hwchase17
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] O... | The calculated score is wrong when using DistanceStrategy.MAX_INNER_PRODUCT (Faiss) | https://api.github.com/repos/langchain-ai/langchain/issues/14948/comments | 3 | 2023-12-20T09:29:25Z | 2024-03-27T16:09:17Z | https://github.com/langchain-ai/langchain/issues/14948 | 2,050,173,519 | 14,948 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using langchain with gpt 4 model. Im using the create pandas dataframe agent for my use case. For 60 % of the time i run the code, im getting below error-
An output parsing error occurred. In order to pass this error back to the agent and have it try again, pass `handle_parsing_e... | Issue: Getting 'An output parsing error occurred' error even after passing 'handle_parsing_errors=True' to the agent | https://api.github.com/repos/langchain-ai/langchain/issues/14947/comments | 6 | 2023-12-20T09:28:03Z | 2024-07-03T16:04:51Z | https://github.com/langchain-ai/langchain/issues/14947 | 2,050,171,291 | 14,947 |
[
"langchain-ai",
"langchain"
] | ### System Info
loader1 = CSVLoader(file_path='/home/calvin/下载/test.csv')
Doc = loader1.load()
text_splitter = CharacterTextSplitter(chunk_size=100,chunk_overlap=0)
texts = text_splitter.split_documents(Doc)
embeddings = OpenAIEmbeddings()
db = Chroma.from_documents(texts, embeddings)
retriever = db.as_retriev... | openai migrate | https://api.github.com/repos/langchain-ai/langchain/issues/14946/comments | 2 | 2023-12-20T08:08:13Z | 2024-03-27T16:09:12Z | https://github.com/langchain-ai/langchain/issues/14946 | 2,050,054,174 | 14,946 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I can't find from how to deploy gpt-4-turbo in langchain.
Could anyone please tell me throuhg which module gpt-4-turbo can be deployed?
Seems that the langchain.llm has already been removed from new version of langchain.
### Suggestion:
_No response_ | Issue: how to deploy gpt-4-turbo through langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14945/comments | 3 | 2023-12-20T05:36:23Z | 2024-05-04T14:21:13Z | https://github.com/langchain-ai/langchain/issues/14945 | 2,049,869,786 | 14,945 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain == 0.0.351
Python == 3.10.6
Running in AWS sagemaker notebook, issue occurred on multiple kernels.
Code worked perfectly yesterday, error occurred upon starting up this morning (12/19/23)
Code worked again upon reverting to 0.0.349
### Who can help?
_No response_
### Information
... | ImportError: cannot import name 'LLMContentHandler' from 'langchain.llms.sagemaker_endpoint' occurring with 0.0.351 | https://api.github.com/repos/langchain-ai/langchain/issues/14944/comments | 1 | 2023-12-20T05:20:21Z | 2024-03-27T16:09:07Z | https://github.com/langchain-ai/langchain/issues/14944 | 2,049,856,660 | 14,944 |
[
"langchain-ai",
"langchain"
] | How does AgentExecutor make LLM on_llm_new_token most streaming output instead of AgentExecutorIterator?
The current effect is that it will stream out AgentExecutorIterator
Desired effect: streams LLM on_llm_new_token | How does AgentExecutor make LLM on_llm_new_token most streaming output instead of AgentExecutorIterator? | https://api.github.com/repos/langchain-ai/langchain/issues/14943/comments | 5 | 2023-12-20T03:56:17Z | 2024-03-27T16:09:02Z | https://github.com/langchain-ai/langchain/issues/14943 | 2,049,786,926 | 14,943 |
[
"langchain-ai",
"langchain"
] | ### Feature request
There is a new implementation of function call which I think isn't supported by langchain yet.
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/function-calling
### Motivation
AzureChatOpenAI models can't be used by OpenAIFunctionAgent due to the implementation issue.
### You... | Support tool for AzureChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/14941/comments | 1 | 2023-12-20T03:10:10Z | 2024-03-27T16:08:57Z | https://github.com/langchain-ai/langchain/issues/14941 | 2,049,755,836 | 14,941 |
[
"langchain-ai",
"langchain"
] | ### System Info
Traceback (most recent call last):
File "c:\Users\vivek\OneDrive\Desktop\Hackathon\doc.py", line 43, in <module>
db = FAISS.from_documents(documents=pages, embedding=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vivek\AppData\Local\Packages\... | Embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/14939/comments | 1 | 2023-12-20T02:50:23Z | 2024-03-27T16:08:52Z | https://github.com/langchain-ai/langchain/issues/14939 | 2,049,741,707 | 14,939 |
[
"langchain-ai",
"langchain"
] | 假设我基于langchain分别实现了用于数据库查询的mysqlagent、用于访问外部链接apichain、以及用于rag的知识查询agent,我如何通过用户输入,将用户的请求分发到不同的agent
| agent意图识别 | https://api.github.com/repos/langchain-ai/langchain/issues/14937/comments | 1 | 2023-12-20T02:23:37Z | 2024-03-27T16:08:47Z | https://github.com/langchain-ai/langchain/issues/14937 | 2,049,722,601 | 14,937 |
[
"langchain-ai",
"langchain"
] | ### System Info
C:\Users\vivek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\langchain\embeddings\azure_openai.py:101: UserWarning: As of openai>=1.0.0, Azure endpoints should be specified via the `azure_endpoint` param not `openai_api_base`... | AZure Openai Embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/14934/comments | 8 | 2023-12-20T01:40:55Z | 2024-05-23T16:34:06Z | https://github.com/langchain-ai/langchain/issues/14934 | 2,049,674,847 | 14,934 |
[
"langchain-ai",
"langchain"
] | ### System Info
File "C:\Users\vivek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\flask\app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vivek\AppDat... | ValueError: not enough values to unpack (expected 2, got 1) | https://api.github.com/repos/langchain-ai/langchain/issues/14918/comments | 1 | 2023-12-19T17:30:51Z | 2024-03-26T16:08:41Z | https://github.com/langchain-ai/langchain/issues/14918 | 2,049,130,491 | 14,918 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain: v0.0.350
OS: Linux
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ... | Issue when working with Azure and OpenAI Callback | https://api.github.com/repos/langchain-ai/langchain/issues/14912/comments | 4 | 2023-12-19T15:33:15Z | 2024-06-14T23:28:11Z | https://github.com/langchain-ai/langchain/issues/14912 | 2,048,902,467 | 14,912 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have a document, which contains general text and tables.
I embedded this document using LangChain to build a bot with Node.js.
The bot answers correctly for general text in the document, but gives incorrect answers for table data.
How do I update?
### Suggestion:
_No response_ | How to embed the table data? | https://api.github.com/repos/langchain-ai/langchain/issues/14911/comments | 2 | 2023-12-19T15:11:34Z | 2024-03-26T16:08:36Z | https://github.com/langchain-ai/langchain/issues/14911 | 2,048,861,237 | 14,911 |
[
"langchain-ai",
"langchain"
] | ### System Info
python: 3.11.4
langchain: 0.0.351
requests: 2.31.0
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ... | `urllib3.connectionpool` warnings after upgrading to LangChain 0.0.351 | https://api.github.com/repos/langchain-ai/langchain/issues/14909/comments | 1 | 2023-12-19T14:53:36Z | 2024-03-26T16:08:31Z | https://github.com/langchain-ai/langchain/issues/14909 | 2,048,823,526 | 14,909 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Ref: https://python.langchain.com/docs/integrations/providers/wandb_tracking
> Note: the WandbCallbackHandler is being deprecated in favour of the WandbTracer . In future please use the WandbTracer as it is more flexible and allows for more granular logging. To know more about ... | Link to agent_with_wandb_tracing.html notebook is broken | https://api.github.com/repos/langchain-ai/langchain/issues/14905/comments | 1 | 2023-12-19T14:22:07Z | 2024-03-26T16:08:26Z | https://github.com/langchain-ai/langchain/issues/14905 | 2,048,761,131 | 14,905 |
[
"langchain-ai",
"langchain"
] | Cannot import LLMContentHandler
langchain: 0.0.351
python: 3.9
To reproduce:
``` python
from langchain.llms.sagemaker_endpoint import LLMContentHandler
```
Issue could be resolved by updating
https://github.com/langchain-ai/langchain/blob/583696732cbaa3d1cf3a3a9375539a7e8785850c/libs/langchain/langchai... | Issue: cannot import name 'LLMContentHandler' from 'langchain.llms.sagemaker_endpoint | https://api.github.com/repos/langchain-ai/langchain/issues/14904/comments | 1 | 2023-12-19T13:53:31Z | 2023-12-19T15:00:33Z | https://github.com/langchain-ai/langchain/issues/14904 | 2,048,707,893 | 14,904 |
[
"langchain-ai",
"langchain"
] | ### System Info
In chain.py, relative code as below:
```
def get_retriever(text):
_query = text
llm = ...
chroma_docs = [...]
_model_name, _embedding = get_embedding_HuggingFace()
chroma_vdb = Chroma.from_documents(chroma_docs, _embedding)
document_content_description = "..."
metad... | No input box show up when running the playground | https://api.github.com/repos/langchain-ai/langchain/issues/14902/comments | 1 | 2023-12-19T13:16:06Z | 2024-03-26T16:08:21Z | https://github.com/langchain-ai/langchain/issues/14902 | 2,048,640,189 | 14,902 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Current:
```
class AzureChatOpenAI(ChatOpenAI):
"""`Azure OpenAI` Chat Completion API.
To use this class you
must have a deployed model on Azure OpenAI. Use `deployment_name` in the
constructor to refer to the "Model deployment name" in the Azure portal.
... | DOC: Wrong parameter name in doc string | https://api.github.com/repos/langchain-ai/langchain/issues/14901/comments | 1 | 2023-12-19T12:54:07Z | 2024-03-26T16:08:16Z | https://github.com/langchain-ai/langchain/issues/14901 | 2,048,603,807 | 14,901 |
[
"langchain-ai",
"langchain"
] | ### System Info
The `description` attribute of the function parameters described in our Pydantic *v2* model are missing in the output of `convert_to_openai_function` because it does not recognize Pydantic v2 `BaseModel` as a valid v1 `BaseModel`.
https://github.com/langchain-ai/langchain/blob/16399fd61d7744c529cc... | `convert_to_openai_function` drops `description` for each parameter | https://api.github.com/repos/langchain-ai/langchain/issues/14899/comments | 9 | 2023-12-19T10:51:41Z | 2024-06-01T00:07:38Z | https://github.com/langchain-ai/langchain/issues/14899 | 2,048,405,277 | 14,899 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am working on implementing streaming for my ConversationRetrieval chain calls, and I plan to leverage the AsyncIteratorCallbackHandler along with its aiter method. While reviewing the source code, I noticed that the response from the on_llm_end method is not currently added to the queu... | Issue: Enhancing Streaming and Database Integration in ConversationRetrieval with AsyncIteratorCallbackHandler | https://api.github.com/repos/langchain-ai/langchain/issues/14898/comments | 5 | 2023-12-19T10:08:44Z | 2024-04-03T16:08:04Z | https://github.com/langchain-ai/langchain/issues/14898 | 2,048,330,418 | 14,898 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently (0.0.350) the Xata integration always creates new records with `XataVectorStore.from_documents`.
Provide the option to update embeddings and column content of existing record ids.
### Motivation
This will provide the capability to update Xata Vector Stores.
### Your contribution
Xa... | Update records in the Xata integration | https://api.github.com/repos/langchain-ai/langchain/issues/14897/comments | 1 | 2023-12-19T10:00:54Z | 2024-03-26T16:08:11Z | https://github.com/langchain-ai/langchain/issues/14897 | 2,048,316,746 | 14,897 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.350
langchain-community 0.0.3
langchain-core 0.1.1
yandexcloud 0.248.0
Python 3.9.0 Windows 10
### Who can help?
_No response_
### Information
- [ ] The offic... | YandexGPT crashes with error "You have to specify folder ID for user account" | https://api.github.com/repos/langchain-ai/langchain/issues/14896/comments | 3 | 2023-12-19T09:29:50Z | 2023-12-19T09:56:08Z | https://github.com/langchain-ai/langchain/issues/14896 | 2,048,263,486 | 14,896 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi folks,
I am getting one error in which sometime agent gives the exact same answer as it has output for the previous question. Here is the screen shot of my replies

Since it is giving t... | Comparing the agent reply with the previous conversation | https://api.github.com/repos/langchain-ai/langchain/issues/14895/comments | 2 | 2023-12-19T09:29:35Z | 2024-03-26T16:08:06Z | https://github.com/langchain-ai/langchain/issues/14895 | 2,048,263,074 | 14,895 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.10
langchain 0.0.350
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | MultiQueryRetriever consume too much GPU mem, request to limit the maximum llm call | https://api.github.com/repos/langchain-ai/langchain/issues/14894/comments | 1 | 2023-12-19T08:44:18Z | 2024-03-26T16:08:01Z | https://github.com/langchain-ai/langchain/issues/14894 | 2,048,190,743 | 14,894 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python:3.11-slim-bullseye base docker image
Langchain version: 0.0.348
qdrant-client: 1.7.0
Qdrant database 1.7.1 (deployed on AWS cluster)
Reproduces regardless of prefer grpc true or false
### Who can help?
@agola11 @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ... | AIORpcError connection reset errors from Qdrant | https://api.github.com/repos/langchain-ai/langchain/issues/14891/comments | 5 | 2023-12-19T08:02:36Z | 2024-05-01T16:05:53Z | https://github.com/langchain-ai/langchain/issues/14891 | 2,048,126,563 | 14,891 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I construct a Chain using retriever with a certain template, but now I want to use another template when the retriever retrieve nothing back.
Is it possible for langchain? Or maybe it can only be handmade?
### Suggestion:
_No response_ | Can I switch my template during my Chain working? | https://api.github.com/repos/langchain-ai/langchain/issues/14890/comments | 1 | 2023-12-19T07:25:34Z | 2024-03-26T16:07:57Z | https://github.com/langchain-ai/langchain/issues/14890 | 2,048,077,349 | 14,890 |
[
"langchain-ai",
"langchain"
] | I've deployed 'mistralai/Mistral-7B-v0.1' model to sagemaker and wanna use it as load_qa_chain
```
from langchain.chains.question_answering import load_qa_chain
from langchain.llms.sagemaker_endpoint import SagemakerEndpoint
content_handler = ContentHandler()
llm = SagemakerEndpoint(
endpoint_name=endpo... | Issue: can't use llm sagemaker endpoint as load_qa_chain | https://api.github.com/repos/langchain-ai/langchain/issues/14886/comments | 4 | 2023-12-19T04:04:06Z | 2024-04-16T16:20:14Z | https://github.com/langchain-ai/langchain/issues/14886 | 2,047,879,728 | 14,886 |
[
"langchain-ai",
"langchain"
] | I have developed a Flutter app with a chatroom feature and have successfully implemented chatting in the chatroom interface using the OpenAI API with ChatGPT. Now, I am looking to utilize an API to establish a connection between LangChain and my mobile app. How or what should i do to achieve this? I am new to this, an... | How to connect LangChain application to a mobile app using an API | https://api.github.com/repos/langchain-ai/langchain/issues/14885/comments | 1 | 2023-12-19T03:58:57Z | 2024-03-26T16:07:51Z | https://github.com/langchain-ai/langchain/issues/14885 | 2,047,875,945 | 14,885 |
[
"langchain-ai",
"langchain"
] | I am working in project, where i have to use multiple pdf docs to give respose to the user query.
I have a load method to load pdf from directory.
```
def loadFiles():
loader = DirectoryLoader('./static/upload/', glob="./*.pdf", loader_cls=PyPDFLoader)
documents = loader.load()
text_splitt... | how to increase the response size of chromadb | https://api.github.com/repos/langchain-ai/langchain/issues/14880/comments | 3 | 2023-12-19T01:59:00Z | 2024-03-29T16:07:30Z | https://github.com/langchain-ai/langchain/issues/14880 | 2,047,779,892 | 14,880 |
[
"langchain-ai",
"langchain"
] | ### System Info
Platform: Ubuntu 22.04
Python: 3.11.6
Langchain: 0.0.351
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templa... | Calling Chroma.from_documents() returns sqlite3.OperationalError: attempt to write a readonly database, but only sometimes | https://api.github.com/repos/langchain-ai/langchain/issues/14872/comments | 24 | 2023-12-19T00:02:10Z | 2024-07-21T21:44:48Z | https://github.com/langchain-ai/langchain/issues/14872 | 2,047,680,474 | 14,872 |
[
"langchain-ai",
"langchain"
] | ### System Info
I'm using Langchain version '0.0.350' in Databricks
using the following libraries:
`from langchain_experimental.sql import SQLDatabaseChain`
`from langchain import PromptTemplate`
`from langchain.sql_database import SQLDatabase`
### Who can help?
_No response_
### Information
- [X] The off... | SQLDatabaseChain.from_llm returning ValueError: Missing some input keys: {'query'} when custom template is used | https://api.github.com/repos/langchain-ai/langchain/issues/14865/comments | 1 | 2023-12-18T21:04:10Z | 2024-03-25T16:08:37Z | https://github.com/langchain-ai/langchain/issues/14865 | 2,047,451,496 | 14,865 |
[
"langchain-ai",
"langchain"
] | ### System Info
platform: Vagrant - Ubuntu 2204
python: 3.9.18
langchain: 0.0.350
langchain-core: 0.1.1
langchain-community: 0.0.3
litellm: 1.15.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat... | (ChatLiteLLM - Together AI) AttributeError: 'ValueError' object has no attribute 'status_code' | https://api.github.com/repos/langchain-ai/langchain/issues/14863/comments | 2 | 2023-12-18T20:50:19Z | 2024-03-31T16:05:45Z | https://github.com/langchain-ai/langchain/issues/14863 | 2,047,431,121 | 14,863 |
[
"langchain-ai",
"langchain"
] | ### System Info
**Below is my Linux box:**
Linux 5.15.0-1014-azure #17~20.04.1-Ubuntu SMP Thu Jun 23 20:01:51 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
**Below is libraries within my conda environment:**
google-auth 2.24.0
google-search-results 2.4.2
googleapis-com... | SerpAPIWrapper doesn't work | https://api.github.com/repos/langchain-ai/langchain/issues/14855/comments | 2 | 2023-12-18T18:36:20Z | 2024-03-25T16:08:27Z | https://github.com/langchain-ai/langchain/issues/14855 | 2,047,220,983 | 14,855 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: latest (0.0.350)
python: 3.10.12
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | BaseMessageChunk cannot merge function key when using open ai tools and streaming. | https://api.github.com/repos/langchain-ai/langchain/issues/14853/comments | 3 | 2023-12-18T17:36:47Z | 2023-12-18T19:28:23Z | https://github.com/langchain-ai/langchain/issues/14853 | 2,047,135,178 | 14,853 |
[
"langchain-ai",
"langchain"
] | This GitHub App is used by Google employees to monitor GitHub repositories. It sends notifications in Chrome for Reviews, updates to Pull Requests, Mentions, etc.
https://github.com/apps/g3n-github
Could it be added to the LangChain repository to make it easier for Google engineers to contribute in a timely manne... | Add g3n-github app to repository | https://api.github.com/repos/langchain-ai/langchain/issues/14851/comments | 4 | 2023-12-18T16:20:31Z | 2024-06-08T16:08:00Z | https://github.com/langchain-ai/langchain/issues/14851 | 2,047,010,816 | 14,851 |
[
"langchain-ai",
"langchain"
] | ### Feature request
There is a new feature with Azure Open AI to get deterministic output.
To use this feature we need to pass extra parameters when we iniative AzureOpenAI
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reproducible-output?tabs=pyton
### Motivation
Getting deterministic fe... | Reproducible output feature with Azure Open AI (support for seed parameter) | https://api.github.com/repos/langchain-ai/langchain/issues/14850/comments | 1 | 2023-12-18T15:45:57Z | 2024-03-25T16:08:22Z | https://github.com/langchain-ai/langchain/issues/14850 | 2,046,949,854 | 14,850 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I'm thinking about adding a pre-commit configuration file (`.pre-commit-config.yaml `) to the codebase as it helps improve the code quality and maintain consistency within the project. It will allow all the developers/future contributors to maintain a consistent code style. Adding this will help ... | Adding a `.pre-commit-config.yaml` file for maintaining consistent style and code quality | https://api.github.com/repos/langchain-ai/langchain/issues/14845/comments | 1 | 2023-12-18T14:33:36Z | 2024-03-25T16:08:18Z | https://github.com/langchain-ai/langchain/issues/14845 | 2,046,801,582 | 14,845 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.350
Python: 3.8.8
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selec... | azure_ad_token variable does not work for AzureChatOpenAI and AzureOpenAIEmbeddings | https://api.github.com/repos/langchain-ai/langchain/issues/14843/comments | 3 | 2023-12-18T12:56:27Z | 2023-12-19T01:03:47Z | https://github.com/langchain-ai/langchain/issues/14843 | 2,046,610,982 | 14,843 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
safety_settings argument is missing with the `ChatVertexAI` model
### Suggestion:
Should be able to define the safety settings. For example:
```
safety_settings = {
HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE,
HarmCategory.HARM_CATEGORY_HATE_SP... | safety_settings argument is missing with the ChatVertexAI mode | https://api.github.com/repos/langchain-ai/langchain/issues/14841/comments | 11 | 2023-12-18T11:21:49Z | 2024-03-27T01:00:11Z | https://github.com/langchain-ai/langchain/issues/14841 | 2,046,443,649 | 14,841 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am working on a project where i need to fetch the content of sub URL by giving its base URL only.
Is there any method in Langchain to fetch all the content of its Sub URL by giving its base URL only ?
### Suggestion:
_No response_ | Issue: Is there any method in Langchain to fetch all the content of its Sub URL by giving its base URL only | https://api.github.com/repos/langchain-ai/langchain/issues/14837/comments | 1 | 2023-12-18T07:52:57Z | 2024-03-25T16:08:12Z | https://github.com/langchain-ai/langchain/issues/14837 | 2,045,948,323 | 14,837 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently we use PGVector as our Vector Database and do in combination with FastAPI. One issue is that in the indexing process, which happens over an API Endpoint, we found out that the current implementation of PgVector is blocking due to its synchronous implementation. FastAPI offers async/await ... | Async PGVector to make LangChain with Postgres more performant | https://api.github.com/repos/langchain-ai/langchain/issues/14836/comments | 8 | 2023-12-18T07:45:33Z | 2024-07-07T16:59:56Z | https://github.com/langchain-ai/langchain/issues/14836 | 2,045,936,457 | 14,836 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
` #below is my code
def generate_embeddings(urls = None,persist_directory=None):
with sync_playwright() as p:
browser = p.chromium.launch()
navigate_tool = NavigateTool(sync_browser=browser)
extract_hyperlinks_tool = ExtractHyperlinksTo... | Issue: I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain. | https://api.github.com/repos/langchain-ai/langchain/issues/14834/comments | 1 | 2023-12-18T05:48:30Z | 2024-03-25T16:08:07Z | https://github.com/langchain-ai/langchain/issues/14834 | 2,045,789,011 | 14,834 |
[
"langchain-ai",
"langchain"
] | ### Feature request
There's already many tracers in LangChain (https://github.com/langchain-ai/langchain/tree/master/libs/langchain/langchain/callbacks/tracers).
I would like to ask for adding an OpentelemetryTracer.
### Motivation
Community tracing
### Your contribution
Would like to contribute | Add an OpentelemetryTracer in LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/14832/comments | 4 | 2023-12-18T03:52:49Z | 2024-03-27T16:08:32Z | https://github.com/langchain-ai/langchain/issues/14832 | 2,045,680,808 | 14,832 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
My code is :
```
llm = ChatOpenAI(temperature=0, verbose=True, model="gpt-3.5-turbo-16k")
toolkit = SQLDatabaseToolkit(db=db, llm=llm)
agent_type = AgentType.ZERO_SHOT_REACT_DESCRIPTION
agent_executor_1 = initialize_agent()
agent_executor = create_sql_agent(llm=llm, toolkit=too... | How can I grab only the AI answer of my langchain agent? | https://api.github.com/repos/langchain-ai/langchain/issues/14828/comments | 1 | 2023-12-18T00:32:57Z | 2024-03-25T16:07:56Z | https://github.com/langchain-ai/langchain/issues/14828 | 2,045,453,142 | 14,828 |
[
"langchain-ai",
"langchain"
] | ### System Info
mac os latest, latest LangChain
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
... | PostgresChatHistory or any other database for storing history does not work with ConversationSummaryBufferMemory(or other memory taht produces 'system' massage type after summarisation | https://api.github.com/repos/langchain-ai/langchain/issues/14822/comments | 9 | 2023-12-17T19:00:18Z | 2024-03-30T16:06:06Z | https://github.com/langchain-ai/langchain/issues/14822 | 2,045,336,301 | 14,822 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Is there a similar method for using `gemini-pro` with `ConversationalRetrievalChain.from_llm`, as there is for utilizing models from VertexAI with `ChatVertexAI` or `VertexAI`, where you specify the `model_name`?
### Suggestion:
_No response_ | Gemini with ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/14819/comments | 2 | 2023-12-17T17:26:06Z | 2023-12-20T08:45:09Z | https://github.com/langchain-ai/langchain/issues/14819 | 2,045,301,971 | 14,819 |
[
"langchain-ai",
"langchain"
] | null | When using the OpenAIFunctionsAgentOutputParser() to parse agent output meet an error. | https://api.github.com/repos/langchain-ai/langchain/issues/14816/comments | 2 | 2023-12-17T15:44:02Z | 2024-01-22T07:05:03Z | https://github.com/langchain-ai/langchain/issues/14816 | 2,045,267,345 | 14,816 |
[
"langchain-ai",
"langchain"
] | ### System Info
In this file: https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/llms/together.py
There is no variable Prompt, however it is available in the documentation: https://docs.together.ai/reference/inference
```python
if config.model == "together":
re... | Missing "Prompt" in Together ai | https://api.github.com/repos/langchain-ai/langchain/issues/14813/comments | 3 | 2023-12-17T11:45:30Z | 2023-12-29T04:03:34Z | https://github.com/langchain-ai/langchain/issues/14813 | 2,045,185,889 | 14,813 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain.__version__ '0.0.350'
python 3.11.5
ollama version is 0.1.16
pyngrok-7.0.3
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding M... | Error Langchain + Ollama + Google Colab + ngrok | https://api.github.com/repos/langchain-ai/langchain/issues/14810/comments | 2 | 2023-12-17T07:36:37Z | 2024-05-07T16:07:38Z | https://github.com/langchain-ai/langchain/issues/14810 | 2,045,111,414 | 14,810 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
# 使用LCEL创建代理
prompt = ChatPromptTemplate.from_messages(
[
("system", "You are a helpful assistant"),
("user", "{input}"),
MessagesPlaceholder(variable_name="agent_scratchpad"),
... | how to add LCEL memory | OpenAIFunctionsAgentOutputParser? | https://api.github.com/repos/langchain-ai/langchain/issues/14809/comments | 2 | 2023-12-17T02:51:49Z | 2024-03-24T16:07:14Z | https://github.com/langchain-ai/langchain/issues/14809 | 2,045,031,789 | 14,809 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.