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"
] | ### Can Agents' tools fetch sensitive information?
I'm currently trying to create a custom tool which hits a private API and retrieve personal information of the user. The tool accepts an email as args_chema, however, I keep getting this error:
> Traceback (most recent call last):
File "<stdin>", line 1, in <m... | Can Agents' tools fetch sensitive information? | https://api.github.com/repos/langchain-ai/langchain/issues/14807/comments | 6 | 2023-12-17T02:27:53Z | 2023-12-17T21:14:33Z | https://github.com/langchain-ai/langchain/issues/14807 | 2,045,027,468 | 14,807 |
[
"langchain-ai",
"langchain"
] | ### System Info
#### Virtualenv
Python: 3.11.6
Implementation: CPython
Path: /Users/max/Library/Caches/pypoetry/virtualenvs/qa-oj4cEcx_-py3.11
Executable: /Users/max/Library/Caches/pypoetry/virtualenvs/qa-oj4cEcx_-py3.11/bin/python
Valid: True
#### System
Platform: darwin
OS:... | ModuleNotFound error in using UnstructuredRSTLoader | https://api.github.com/repos/langchain-ai/langchain/issues/14801/comments | 4 | 2023-12-16T19:24:16Z | 2023-12-16T21:52:33Z | https://github.com/langchain-ai/langchain/issues/14801 | 2,044,910,834 | 14,801 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
`
```
class SimpleChat:
def __init__(self) -> None:
self.llm = ChatOpenAI(
temperature=0,
model="gpt-4-0613",
openai_api_key="sk-",
openai_api_base = "https://---",
)
self.memory = ConversationBufferMem... | why the memory is not work? who can help me! | https://api.github.com/repos/langchain-ai/langchain/issues/14799/comments | 4 | 2023-12-16T17:52:51Z | 2023-12-17T12:41:48Z | https://github.com/langchain-ai/langchain/issues/14799 | 2,044,878,052 | 14,799 |
[
"langchain-ai",
"langchain"
] | Hi @dosu-bot,
Check out my below code,
```
class CustomMessage(Base):
tablename = "custom_message_store"
id = Column(Integer, primary_key=True, autoincrement=True)
session_id = Column(Text)
type = Column(Text)
content = Column(Text)
created_at = Column(DateTime)
author_email = Co... | How do i make my below code async of SQLAlchemy? | https://api.github.com/repos/langchain-ai/langchain/issues/14797/comments | 3 | 2023-12-16T15:56:21Z | 2024-03-29T16:07:15Z | https://github.com/langchain-ai/langchain/issues/14797 | 2,044,833,650 | 14,797 |
[
"langchain-ai",
"langchain"
] | ### System Info
Macos
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [... | MiniMaxChat:AttributeError: 'str' object has no attribute 'generations' | https://api.github.com/repos/langchain-ai/langchain/issues/14796/comments | 4 | 2023-12-16T15:04:15Z | 2024-03-28T16:07:28Z | https://github.com/langchain-ai/langchain/issues/14796 | 2,044,779,282 | 14,796 |
[
"langchain-ai",
"langchain"
] | Hi @dossubot, Greetings!
Here is the below code, I am trying to make them asynchronous. But im getting this error.
KeyError: 'chat_history'.
| Asynchronous call on ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/14795/comments | 7 | 2023-12-16T13:05:41Z | 2023-12-22T09:59:27Z | https://github.com/langchain-ai/langchain/issues/14795 | 2,044,743,184 | 14,795 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
below is my code
with sync_playwright() as p:
browser = p.chromium.launch()
navigate_tool = NavigateTool(sync_browser=browser)
extract_hyperlinks_tool = ExtractHyperlinksTool(sync_browser=browser)
for url in urls:
print(url,"url is ----------------------")
navigate_tool._arun(ur... | Issue: how to fetch sub url using langchain | https://api.github.com/repos/langchain-ai/langchain/issues/14792/comments | 1 | 2023-12-16T10:43:00Z | 2024-03-23T16:07:05Z | https://github.com/langchain-ai/langchain/issues/14792 | 2,044,702,405 | 14,792 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi,
I am trying to save the ParentDocumentRetriever after adding documents data to it. Since there a lot of documents that needs to be added, its not possible to do it every time. I tried saving via pickle but got the error: TypeError: cannot pickle 'sqlite3.Connection' object
Is there any way to... | ParentDocumentRetriever does not have any save to local option | https://api.github.com/repos/langchain-ai/langchain/issues/14777/comments | 1 | 2023-12-15T20:51:06Z | 2024-03-22T16:07:11Z | https://github.com/langchain-ai/langchain/issues/14777 | 2,044,354,117 | 14,777 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.10
LangChain 0.0.348
### Who can help?
@hwchase17 @hin
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers... | KeyError 'role' in OpenAI Adapter | https://api.github.com/repos/langchain-ai/langchain/issues/14764/comments | 3 | 2023-12-15T14:57:13Z | 2024-01-06T01:49:24Z | https://github.com/langchain-ai/langchain/issues/14764 | 2,043,873,642 | 14,764 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add support for the new service from Mistral AI.
They provide a [python client](https://docs.mistral.ai/platform/client) with streaming tokens or we can use the simple [RestAPI](https://docs.mistral.ai/)
### Motivation
Would be great if we add the new service from Mistral!
### Your contribution... | Add support for Mistral AI service | https://api.github.com/repos/langchain-ai/langchain/issues/14763/comments | 2 | 2023-12-15T14:05:31Z | 2023-12-19T19:31:27Z | https://github.com/langchain-ai/langchain/issues/14763 | 2,043,790,550 | 14,763 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I've got this code:
```python
llm = HuggingFaceHub(repo_id="mistralai/Mistral-7B-Instruct-v0.1",
model_kwargs={"temperature": 0.01, "max_length": 4096, "max_new_tokens": 2048})
# Vectorstore
vectorstore = Chroma(
embedding_function=HuggingFaceE... | DOC: WebResearchRetriever can work with DuckDuckGo search? | https://api.github.com/repos/langchain-ai/langchain/issues/14762/comments | 1 | 2023-12-15T14:03:23Z | 2023-12-15T21:10:05Z | https://github.com/langchain-ai/langchain/issues/14762 | 2,043,786,075 | 14,762 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.39
python: 3.11
OS: MacOS Sonoma 14.2
### Who can help?
@hwchase17 @eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | Table 'langchain_pg_collection' is already defined for this MetaData instance. Specify 'extend_existing=True' | https://api.github.com/repos/langchain-ai/langchain/issues/14760/comments | 4 | 2023-12-15T13:29:34Z | 2024-01-03T09:19:59Z | https://github.com/langchain-ai/langchain/issues/14760 | 2,043,732,734 | 14,760 |
[
"langchain-ai",
"langchain"
] | ### System Info
Name Version Build Channel
langchain 0.0.350 pypi_0 pypi
langchain-cli 0.0.19 pypi_0 pypi
langchain-community 0.0.3 pypi_0 pypi
langchain-core 0.1.1 ... | Langserve example from Quickstart tutorial not working | https://api.github.com/repos/langchain-ai/langchain/issues/14757/comments | 10 | 2023-12-15T12:00:17Z | 2024-07-23T23:23:06Z | https://github.com/langchain-ai/langchain/issues/14757 | 2,043,603,478 | 14,757 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.
How can we achieve this, below is my code
`from langchain.tools.playwright import ExtractHyperlinksTool, NavigateTool
# Initialize the tools
navigate_tool = NavigateTool()
e... | Issue: I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain. | https://api.github.com/repos/langchain-ai/langchain/issues/14754/comments | 4 | 2023-12-15T10:52:12Z | 2024-03-23T16:07:00Z | https://github.com/langchain-ai/langchain/issues/14754 | 2,043,485,623 | 14,754 |
[
"langchain-ai",
"langchain"
] | ### System Info
- Python 3.11.7
- Windows 64bit
- langchain_google_genai==0.0.4
- langchain==0.0.350
- pymongo==4.6.0
### Who can help?
@sbusso
@jarib
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Mod... | ImportError: cannot import name 'GoogleGenerativeAI' from 'langchain_google_genai' ( from langchain_google_genai import GoogleGenerativeAI ) | https://api.github.com/repos/langchain-ai/langchain/issues/14753/comments | 4 | 2023-12-15T10:01:36Z | 2024-03-28T14:49:52Z | https://github.com/langchain-ai/langchain/issues/14753 | 2,043,356,756 | 14,753 |
[
"langchain-ai",
"langchain"
] | ### Feature request
All chains inherit from `Runnable` class and It has the `stream` method. But no chain has it's own `stream` method. That's why we have to pass a callback handler every time when work on streaming. We need to write additional logic to handle stream. There should be a functionality where we can just ... | Every chain (LLMChain, ConversationalRetrievalChain etc) should return stream without CallbackHandler same as llm ChatModel | https://api.github.com/repos/langchain-ai/langchain/issues/14752/comments | 4 | 2023-12-15T06:56:26Z | 2024-02-29T05:31:10Z | https://github.com/langchain-ai/langchain/issues/14752 | 2,043,013,698 | 14,752 |
[
"langchain-ai",
"langchain"
] | ### System Info
ImportError: cannot import name 'AzureChatopenAI' from 'langchain.chat_models'
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Tem... | cannot import name 'AzureChatopenAI' from 'langchain.chat_models' | https://api.github.com/repos/langchain-ai/langchain/issues/14751/comments | 1 | 2023-12-15T06:03:38Z | 2023-12-15T06:11:27Z | https://github.com/langchain-ai/langchain/issues/14751 | 2,042,960,303 | 14,751 |
[
"langchain-ai",
"langchain"
] | ### Feature request
i want to struct output result by langchain,my llm is chatglm,but most output parsers demo is rely on openai
### Motivation
retriever = db.as_retriever()
qa = RetrievalQA.from_chain_type(
llm=llm,
chain_type='stuff',
retriever=retriever,
verbose=True
)
def chat(question... | adapt chatglm output_parser | https://api.github.com/repos/langchain-ai/langchain/issues/14750/comments | 1 | 2023-12-15T05:55:16Z | 2024-03-22T16:06:51Z | https://github.com/langchain-ai/langchain/issues/14750 | 2,042,951,433 | 14,750 |
[
"langchain-ai",
"langchain"
] | Hello Langchain Team,
I've been working with the `create_vectorstore_router_agent` function, particularly in conjunction with the `VectorStoreRouterToolkit`, and I've encountered a limitation that I believe could be an important area for enhancement.
Currently, the response from this function primarily includes t... | Expose Search Similarity Results as Source Documents in create_vectorstore_router_agent Responses | https://api.github.com/repos/langchain-ai/langchain/issues/14744/comments | 1 | 2023-12-15T01:11:29Z | 2024-03-22T16:06:45Z | https://github.com/langchain-ai/langchain/issues/14744 | 2,042,729,395 | 14,744 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hugging face will deprecate the `InferenceApi` and move to `InferenceClient`. Can the langchain package also update the dependency in `HuggingFaceHub` accordingly? Refer to [migration docs](https://huggingface.co/docs/huggingface_hub/guides/inference#legacy-inferenceapi-client) to migrat... | Issue: Update the outdated hugging face client | https://api.github.com/repos/langchain-ai/langchain/issues/14741/comments | 1 | 2023-12-15T00:36:29Z | 2024-03-22T16:06:41Z | https://github.com/langchain-ai/langchain/issues/14741 | 2,042,704,569 | 14,741 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version - 0.0.348
OS or Platform Version - Windows 11
Python Version - 3.11.5
Conda Version - 23.7.4
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [... | Google Drive Loader: The code in the Official Doc does not work; and Setting environment variable GOOGLE_APPLICATION_CREDENTIALS is important, though its value is not | https://api.github.com/repos/langchain-ai/langchain/issues/14725/comments | 1 | 2023-12-14T18:16:28Z | 2024-03-21T16:06:52Z | https://github.com/langchain-ai/langchain/issues/14725 | 2,042,229,871 | 14,725 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.330
langchain-core==0.1.0
langchain-google-genai==0.0.3
python: 3.11
### Who can help?
@agola11 @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Pro... | `LLMChain` does not support `ChatGoogleGenerativeAI` | https://api.github.com/repos/langchain-ai/langchain/issues/14717/comments | 5 | 2023-12-14T14:59:49Z | 2023-12-16T10:53:50Z | https://github.com/langchain-ai/langchain/issues/14717 | 2,041,882,866 | 14,717 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/14714
<div type='discussions-op-text'>
<sup>Originally posted by **ciliamadani** December 14, 2023</sup>
I'm currently in the process of developing a chatbot utilizing Langchain and the Ollama (llama2 7b model). My objective is to allow users... | Ollama max tokens parameter | https://api.github.com/repos/langchain-ai/langchain/issues/14715/comments | 1 | 2023-12-14T14:58:07Z | 2024-03-21T16:06:47Z | https://github.com/langchain-ai/langchain/issues/14715 | 2,041,879,113 | 14,715 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi all,
trying to use Langchain with HuggingFace model and Embeddings.
Am new to Langchain so any pointers welcome.
`import os
os.environ['HUGGINGFACEHUB_API_TOKEN']=myToken
#required to avoid certificate issue
os.environ['CURL_CA_BUNDLE'] = ''
from langchain import Prompt... | TypeError: Chain.__call__() got an unexpected keyword argument 'stop' | https://api.github.com/repos/langchain-ai/langchain/issues/14712/comments | 1 | 2023-12-14T13:18:03Z | 2024-03-21T16:06:42Z | https://github.com/langchain-ai/langchain/issues/14712 | 2,041,683,363 | 14,712 |
[
"langchain-ai",
"langchain"
] | ### System Info
Anaconda 23.7.2
Windows 11
Python 3.11.5
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selector... | 'google.generativeai' has no attribute 'GenerativeModel' | https://api.github.com/repos/langchain-ai/langchain/issues/14711/comments | 20 | 2023-12-14T13:11:09Z | 2024-08-02T08:51:51Z | https://github.com/langchain-ai/langchain/issues/14711 | 2,041,671,633 | 14,711 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.350
langchain-community==0.0.3
langchain-core==0.1.0
langchain-google-genai==0.0.3
google-ai-generativelanguage==0.4.0
google-api-core==2.15.0
google-auth==2.25.2
google-generativeai==0.3.1
googleapis-common-protos==1.62.0
### Who can help?
_No response_
### Information
- [ ]... | Raise "Message of 'system' type not supported by Gemini" exception by ChatGoogleGenerativeAI with ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/14710/comments | 7 | 2023-12-14T11:41:27Z | 2024-02-27T04:46:04Z | https://github.com/langchain-ai/langchain/issues/14710 | 2,041,522,040 | 14,710 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
below is my dependencies installed till now
django==4.0
django-rest-framework
langchain==0.0.349
pdf2image
chromadb
unstructured
openai
pypdf
tiktoken
django-cors-headers
django-environ
pytesseract==0.3.10
beautifulsoup4==4.12.2
atlassian-python-api==3.38.0
tiktoken==0.... | Issue: what are all dependencies need to install for fetching confluence attachments | https://api.github.com/repos/langchain-ai/langchain/issues/14706/comments | 1 | 2023-12-14T09:19:24Z | 2024-03-21T16:06:37Z | https://github.com/langchain-ai/langchain/issues/14706 | 2,041,277,150 | 14,706 |
[
"langchain-ai",
"langchain"
] | Hi @dossubot.
I have a document where it contains 3 different titles of a single document, i want to create chunk size based on every header, so below is my existing code, pls modify that. and send me accordingly.
def load_docs_only(directory_path):
docs, _, _, _ = load_documents(directory_path)
return docs... | Splitting the document based on headers using Recursive Character Text Splitter | https://api.github.com/repos/langchain-ai/langchain/issues/14705/comments | 1 | 2023-12-14T09:05:08Z | 2023-12-22T09:57:43Z | https://github.com/langchain-ai/langchain/issues/14705 | 2,041,252,793 | 14,705 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I am trying to stream the response from the llm back to the client by using a callback with a custom StreamHandler, but the on_llm_new_token also includes the output from the rephrase_question step. while the final response does not include the rephrased answer. I don't want the re... | Issue: Rephrased question in included in the on_llm_new_token method while streaming the response from the LLM | https://api.github.com/repos/langchain-ai/langchain/issues/14703/comments | 7 | 2023-12-14T08:47:45Z | 2024-06-30T16:03:41Z | https://github.com/langchain-ai/langchain/issues/14703 | 2,041,224,728 | 14,703 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
my code:
only_recall_inputs = RunnableParallel({
"question": itemgetter('question'),
"history": ????????,
"docs": itemgetter('question') | retriever,
})
just a simple chain
I want the "history" part to be [] or ''
how to do this?
... | Issue: How to set the Chain with valid/empty input | https://api.github.com/repos/langchain-ai/langchain/issues/14702/comments | 1 | 2023-12-14T08:45:49Z | 2024-03-21T16:06:32Z | https://github.com/langchain-ai/langchain/issues/14702 | 2,041,221,683 | 14,702 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.10
langchain version: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
- [ ] Outpu... | The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() | https://api.github.com/repos/langchain-ai/langchain/issues/14701/comments | 2 | 2023-12-14T08:24:32Z | 2024-03-21T16:06:27Z | https://github.com/langchain-ai/langchain/issues/14701 | 2,041,187,377 | 14,701 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain: 0.0.348
langchain-google-genai: 0.0.3
python: 3.11
os: macOS11.6
### 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 T... | Gemini not support SystemMessage and raise an error | https://api.github.com/repos/langchain-ai/langchain/issues/14700/comments | 8 | 2023-12-14T07:07:13Z | 2024-03-26T16:07:11Z | https://github.com/langchain-ai/langchain/issues/14700 | 2,041,050,685 | 14,700 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
what is this issue, and how can i resolve it:
```python
os.environ["AZURE_OPENAI_API_KEY"] = AZURE_OPENAI_API_KEY
os.environ["AZURE_OPENAI_ENDPOINT"] = AZURE_OPENAI_ENDPOINT
os.environ["OPENAI_API_TYPE"] = "azure"
os.environ["OPENAI_API_VERSION"] = "2023-05-15"
... | sqlalchemy.exc.InvalidRequestError: Table 'langchain_pg_collection' is already defined for this MetaData instance. | https://api.github.com/repos/langchain-ai/langchain/issues/14699/comments | 15 | 2023-12-14T06:51:40Z | 2023-12-27T19:12:07Z | https://github.com/langchain-ai/langchain/issues/14699 | 2,041,031,199 | 14,699 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version = 0.0.344
Python version = 3.11.5
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sele... | SQLagent always giving me AttributeError: items for Snowflake tables | https://api.github.com/repos/langchain-ai/langchain/issues/14697/comments | 8 | 2023-12-14T06:29:48Z | 2024-03-21T16:06:17Z | https://github.com/langchain-ai/langchain/issues/14697 | 2,041,006,966 | 14,697 |
[
"langchain-ai",
"langchain"
] | ### System Info
**Environment Details**
**Langchain version 0.0.336
Python 3.9.2rc1**
**Error encountered while executing the sample code mentioned in the "Semi_structured_multi_modal_RAG_LLaMA2.ipynb" notebook from the cookbook.**
File [c:\Users\PLNAYAK\Documents\Local_LLM_Inference\llms\lib\site-packages\u... | TypeError: get_model() got an unexpected keyword argument 'ocr_languages' | https://api.github.com/repos/langchain-ai/langchain/issues/14696/comments | 16 | 2023-12-14T06:18:44Z | 2024-05-21T16:08:06Z | https://github.com/langchain-ai/langchain/issues/14696 | 2,040,991,652 | 14,696 |
[
"langchain-ai",
"langchain"
] | ### System Info
### **SYSTEM INFO**
LangChain version : 0.0.345
Python version : 3.9.6
### **ISSUE**
I create this custom function which will throw an error if the vectorestore cannot retrieve any relevant document
```
def check_threshold(inp, vecs):
query = inp['question']
threshold = inp['thresho... | PYTHON ISSUE : Fallback does not catch exception in custom function using LCEL | https://api.github.com/repos/langchain-ai/langchain/issues/14695/comments | 1 | 2023-12-14T04:54:06Z | 2024-03-21T16:06:12Z | https://github.com/langchain-ai/langchain/issues/14695 | 2,040,901,181 | 14,695 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Recently, langchain released the google gemini independent package to connect the google gemini LLM capabilities.
This is also the first independent package released by langchain, which is a very big progress and change.
But I noticed that the name of this package is langchain-goog... | Issue: Use python namespace capabilities to manage standalone packages | https://api.github.com/repos/langchain-ai/langchain/issues/14694/comments | 1 | 2023-12-14T03:49:26Z | 2024-03-21T16:06:07Z | https://github.com/langchain-ai/langchain/issues/14694 | 2,040,852,615 | 14,694 |
[
"langchain-ai",
"langchain"
] | ### Feature request
With Gemini Pro going GA today (Dec. 13th).
When can users of LangChain expect an update to use the new LLM?
### Motivation
This will allow users of LangChain to use the latest LLM that Google is providing along with their safety settings.
### Your contribution
I can try and help. Happy to con... | Google Gemini | https://api.github.com/repos/langchain-ai/langchain/issues/14671/comments | 9 | 2023-12-13T19:02:58Z | 2024-02-07T23:45:17Z | https://github.com/langchain-ai/langchain/issues/14671 | 2,040,302,557 | 14,671 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain: 0.0.349
Langchain-community: v0.0.1
Langchain-core: 0.0.13
Python: 3.12
Platform: Mac OS
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Em... | LangChain Agent bug when parsing tool inputs that use alias field names | https://api.github.com/repos/langchain-ai/langchain/issues/14663/comments | 1 | 2023-12-13T16:51:16Z | 2024-03-20T16:06:48Z | https://github.com/langchain-ai/langchain/issues/14663 | 2,040,113,293 | 14,663 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version 0.0.348
Python version 3.10
Operating System MacOS Monterey version 12.6
SQLAlchemy version 2.0.23
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] ... | SQLDatabaseChain with LlamaCpp Llama2 "Chain Run Errored With Error: ArgumentError: <class 'TypeError'>: wrong type" | https://api.github.com/repos/langchain-ai/langchain/issues/14660/comments | 2 | 2023-12-13T16:38:34Z | 2024-03-20T16:06:44Z | https://github.com/langchain-ai/langchain/issues/14660 | 2,040,091,551 | 14,660 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am attempting to call an instance of ConversationalRetrieverChain with a list of dictionary objects that I've pre-processed with a similarity search and cohere reranker. I've created an extension of BaseRetriever in order to pass my list of dictionary objects to the "retriever=" para... | Getting "object has no field "documents" error with extended BaseRetriever classs | https://api.github.com/repos/langchain-ai/langchain/issues/14659/comments | 5 | 2023-12-13T16:29:16Z | 2024-06-01T00:07:37Z | https://github.com/langchain-ai/langchain/issues/14659 | 2,040,074,533 | 14,659 |
[
"langchain-ai",
"langchain"
] | ### System Info
Mac Studio
M1 Max 32GB
macOS 14.1.2
Using rye
Python 3.11.6
langchain==0.0.350
langchain-community==0.0.2
langchain-core==0.1.0
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Cha... | UnstructuredXMLLoader import error (circular import) | https://api.github.com/repos/langchain-ai/langchain/issues/14658/comments | 1 | 2023-12-13T16:02:17Z | 2024-03-20T16:06:38Z | https://github.com/langchain-ai/langchain/issues/14658 | 2,040,021,283 | 14,658 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm trying to use StreamingStdOutCallbackHandler for a conversation chain. But it prints out the memory after the response. Is there a way to not printing memory without using an agent?
### Suggestion:
_No response_ | Issue: streaming issues | https://api.github.com/repos/langchain-ai/langchain/issues/14656/comments | 2 | 2023-12-13T15:47:29Z | 2024-01-10T03:38:15Z | https://github.com/langchain-ai/langchain/issues/14656 | 2,039,990,933 | 14,656 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.
How can we achieve this, below is my code
` loader = UnstructuredURLLoader(urls=urls)
urlDocument = loader.load()
text_splitter = RecursiveCharacterTextS... | 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/14651/comments | 3 | 2023-12-13T13:27:30Z | 2024-03-27T16:08:12Z | https://github.com/langchain-ai/langchain/issues/14651 | 2,039,714,207 | 14,651 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version = 0.0.311
Python Version = 3.9
Tried it on my local system as well on Company's hosted Jupyter Hub as well
### Who can help?
@eyurtsev @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | Bug in Text splitting while using langchain.text_splitter.split_text_on_tokens¶ | https://api.github.com/repos/langchain-ai/langchain/issues/14649/comments | 3 | 2023-12-13T10:31:27Z | 2024-03-25T16:07:21Z | https://github.com/langchain-ai/langchain/issues/14649 | 2,039,411,662 | 14,649 |
[
"langchain-ai",
"langchain"
] | ### System Info
from langchain.document_transformers import DoctranTextTranslator
from langchain.schema import Document
documents = [Document(page_content=sample_text)]
qa_translator = DoctranTextTranslator(language="spanish")
translated_document = await qa_translator.atransform_documents(documents)
TypeErr... | TypeError: object Document can't be used in 'await' expression | https://api.github.com/repos/langchain-ai/langchain/issues/14645/comments | 1 | 2023-12-13T07:52:41Z | 2024-03-20T16:06:28Z | https://github.com/langchain-ai/langchain/issues/14645 | 2,039,150,807 | 14,645 |
[
"langchain-ai",
"langchain"
] | I have two code.
The 1st code is to load PDF documents and use ParentDocumentRetriever to add_documents() and save vectorstore to local disk.
The 2nd code is to load vectorstore and call ParentDocumentRetriever.get_relevant_documents
The problem is, the ParentDocumentRetriever.get_relevant_documents() got empty resu... | ParentDocumentRetriever.get_relevant_documents() got empty result | https://api.github.com/repos/langchain-ai/langchain/issues/14643/comments | 5 | 2023-12-13T07:31:59Z | 2024-01-11T20:34:16Z | https://github.com/langchain-ai/langchain/issues/14643 | 2,039,122,156 | 14,643 |
[
"langchain-ai",
"langchain"
] | ### System Info
# Dependency Versions
langchain==0.0.349
langchain-community==0.0.1
langchain-core==0.0.13
openai==1.3.8
# Python Version
Python 3.11.4
# Redis Stack Version
redis-stack-server 6.2.0
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My ow... | (RedisSemanticCache + ChatOpenAI + OpenAIEmbeddings) - Not working as expected - Wanted to understand, if I am doing something wrong here. | https://api.github.com/repos/langchain-ai/langchain/issues/14640/comments | 2 | 2023-12-13T06:34:44Z | 2024-04-25T16:12:16Z | https://github.com/langchain-ai/langchain/issues/14640 | 2,039,051,024 | 14,640 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Issue 1:
I am working on the summarization using the stuff and map-reduce of the Langchain. I have integrated it with the AWS Bedrock's anthropic llm which has a token limit of 100000. It is working fine but when the pdf with 40000 tokens is passed, the bedrock is throwing an error:
... | Issue: bedrock is throwing an error for the langchain stuff method using the anthropic model for the summarization. | https://api.github.com/repos/langchain-ai/langchain/issues/14639/comments | 1 | 2023-12-13T05:48:17Z | 2023-12-15T07:47:12Z | https://github.com/langchain-ai/langchain/issues/14639 | 2,039,002,274 | 14,639 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hello, after forking and cloning the repo on my machine, I tried to open it using docker and specifically in VS Code with the option to "Reopen in Container". While building, the final command of [dev.Dockerfile](https://github.com/langchain-ai/langchain/blob/ca7da8f7ef9bc7a613ff07279c4603cad5fd175a/li... | Dockerfile issues when trying to build the repo using .devcontainer | https://api.github.com/repos/langchain-ai/langchain/issues/14631/comments | 3 | 2023-12-12T23:17:45Z | 2023-12-28T16:25:05Z | https://github.com/langchain-ai/langchain/issues/14631 | 2,038,690,605 | 14,631 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Azure OpenAI now previews the DALLE-3 model. Today, DALLEAPIWrapper only supports the openai API.
### Motivation
My customers are using Azure OpenAI and would like to use DALL-E-3 in their solutions.
### Your contribution
PR may not be possible but I'd like to help anyway I can. | DALLEAPIWrapper to support Azure OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/14625/comments | 2 | 2023-12-12T22:22:43Z | 2024-03-20T16:06:23Z | https://github.com/langchain-ai/langchain/issues/14625 | 2,038,636,476 | 14,625 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add first-class support for Vertex AI Endpoints in Langchain. This would involve providing a similar interface to the existing SageMakerEndpoint class, allowing users to easily connect to and interact with Vertex AI Endpoints.
### Motivation
Although VertexAIModelGarden already exist, there may b... | Add support for Vertex AI Endpoint | https://api.github.com/repos/langchain-ai/langchain/issues/14622/comments | 1 | 2023-12-12T20:35:10Z | 2024-03-19T16:06:32Z | https://github.com/langchain-ai/langchain/issues/14622 | 2,038,512,133 | 14,622 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi, it seems the only DocStore available are InMemory or Google. I'd like to submit a feature request for an S3DocStore.
### Motivation
Many people have raised issues related to limited DocStore options. | S3DocStore | https://api.github.com/repos/langchain-ai/langchain/issues/14616/comments | 3 | 2023-12-12T18:55:18Z | 2024-04-10T16:11:48Z | https://github.com/langchain-ai/langchain/issues/14616 | 2,038,377,269 | 14,616 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain Version: 0.0.348
Python: 3.9.16
Docs suggests to use proxy entry as follows but it does not work:
from slacktoolkit import SlackToolkit
# Proxy settings
proxies = {
'http': 'http://proxy.example.com:8080',
'https': 'https://proxy.example.com:8080'
}
# Initialize Slack... | SlackToolkit() does not support proxy configuration | https://api.github.com/repos/langchain-ai/langchain/issues/14608/comments | 2 | 2023-12-12T17:16:53Z | 2023-12-15T04:00:14Z | https://github.com/langchain-ai/langchain/issues/14608 | 2,038,224,081 | 14,608 |
[
"langchain-ai",
"langchain"
] | ### System Info
Not relevant
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Docume... | QaWithSources default prompt is massive | https://api.github.com/repos/langchain-ai/langchain/issues/14596/comments | 4 | 2023-12-12T13:40:37Z | 2024-03-20T16:06:19Z | https://github.com/langchain-ai/langchain/issues/14596 | 2,037,780,695 | 14,596 |
[
"langchain-ai",
"langchain"
] | ### Feature request
As of the current implementation of the QA with sources chain, if `return_source_documents` is set to `True`, [all the sources](https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/langchain/langchain/chains/qa_with_sources/base.py#L165) that are retrieved fr... | Sources returned in QaWithSources can be optimised | https://api.github.com/repos/langchain-ai/langchain/issues/14595/comments | 1 | 2023-12-12T13:30:30Z | 2024-03-19T16:06:24Z | https://github.com/langchain-ai/langchain/issues/14595 | 2,037,760,278 | 14,595 |
[
"langchain-ai",
"langchain"
] | ### Feature request
How to use custom tracing tool like opentelemetry or tempo
### Motivation
If I don't want to use LangSmith
### Your contribution
N/A | How to use custom tracing tool like opentelemetry or tempo | https://api.github.com/repos/langchain-ai/langchain/issues/14594/comments | 1 | 2023-12-12T12:34:07Z | 2024-03-19T16:06:17Z | https://github.com/langchain-ai/langchain/issues/14594 | 2,037,660,794 | 14,594 |
[
"langchain-ai",
"langchain"
] | ### System Info
OS: Apple M1 Max
______________________
Name: langchain
Version: 0.0.349
Summary: Building applications with LLMs through composability
Home-page: https://github.com/langchain-ai/langchain
Author:
Author-email:
License: MIT
Requires: aiohttp, async-timeout, dataclasses-json, jsonpatch, lan... | Not able to inference deepseek-coder-6.7b-instruct.Q5_K_M.gguf | https://api.github.com/repos/langchain-ai/langchain/issues/14593/comments | 6 | 2023-12-12T11:20:20Z | 2024-05-25T13:36:24Z | https://github.com/langchain-ai/langchain/issues/14593 | 2,037,539,816 | 14,593 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
i have created a chatbot to chat with the sql database using openai and langchain, but how to store or output data into excel using langchain.
I got some idea from chatgpt which i have integrated with my code, but there is an error while importing the modules
below is my code
im... | Issue: <How to store/export the output of a chatbot to excel ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/14592/comments | 5 | 2023-12-12T11:08:08Z | 2024-03-21T16:05:52Z | https://github.com/langchain-ai/langchain/issues/14592 | 2,037,519,560 | 14,592 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9.12, LangChain 0.0.346
### Who can help?
@agola11 @3coins
### 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 Par... | Caching with Bedrock does not distinguish models or params | https://api.github.com/repos/langchain-ai/langchain/issues/14590/comments | 1 | 2023-12-12T10:17:59Z | 2024-03-19T16:06:07Z | https://github.com/langchain-ai/langchain/issues/14590 | 2,037,430,016 | 14,590 |
[
"langchain-ai",
"langchain"
] | ### System Info
python: 3.11
langchain: 0.0.347-0.0.349
langchain_core: 0.0.12, 0.0.13
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / P... | Unable to dump/load custom classes since langchain_core 0.0.13 | https://api.github.com/repos/langchain-ai/langchain/issues/14589/comments | 3 | 2023-12-12T10:16:56Z | 2023-12-13T10:44:16Z | https://github.com/langchain-ai/langchain/issues/14589 | 2,037,428,125 | 14,589 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9.13, LangChain 0.0.347, Windows 10
### Who can help?
@hwchase17 @agola
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X... | OutputFixingParser should use callbacks | https://api.github.com/repos/langchain-ai/langchain/issues/14588/comments | 1 | 2023-12-12T09:35:53Z | 2024-03-19T16:06:02Z | https://github.com/langchain-ai/langchain/issues/14588 | 2,037,349,229 | 14,588 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
below is my code
` confluence_url = config.get("confluence_url", None)
username = config.get("username", None)
api_key = config.get("api_key", None)
space_key = config.get("space_key", None)
documents = []
embedding = OpenAIEmbedd... | Issue: Getting error while integrating Confluence Spaces including attachments | https://api.github.com/repos/langchain-ai/langchain/issues/14586/comments | 3 | 2023-12-12T09:00:13Z | 2024-02-21T11:48:20Z | https://github.com/langchain-ai/langchain/issues/14586 | 2,037,287,446 | 14,586 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.335
Platform: Win11
Python Version: 3.11.5
Hi experts,
I'm trying to execute the RAG Search Example on the Langchain Doc: https://python.langchain.com/docs/expression_language/get_started
**Here is the code:**
from langchain.chat_models import ChatOpenAI
from langcha... | ValidationError: 2 validation errors for DocArrayDoc returned when try to execute the RAG Search Example | https://api.github.com/repos/langchain-ai/langchain/issues/14585/comments | 19 | 2023-12-12T08:57:21Z | 2024-06-08T16:07:56Z | https://github.com/langchain-ai/langchain/issues/14585 | 2,037,282,618 | 14,585 |
[
"langchain-ai",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/langchain/langchain/chains/graph_qa/cypher.py#L266C2-L269C25
Hi, I am heavily using GraphCypherQAChain and sometimes cypher_query_corrector returns generated cypher as valid but have some syntax problems or completely it is ... | GraphCypherQAChain Unhandled Exception while running Erroneous Cypher Queries | https://api.github.com/repos/langchain-ai/langchain/issues/14584/comments | 1 | 2023-12-12T08:18:57Z | 2024-03-19T16:05:58Z | https://github.com/langchain-ai/langchain/issues/14584 | 2,037,219,925 | 14,584 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently, SemanticSimilarityExampleSelector only passes `k` as a parameter to vectorstore [see here](https://github.com/langchain-ai/langchain/blob/76905aa043e3e604b5b34faf5e91d0aedb5ed6dd/libs/core/langchain_core/example_selectors/semantic_similarity.py#L55C10-L55C10). vectorstore, depending on... | passing down vectorstore additional argument in SemanticSimilarityExampleSelector | https://api.github.com/repos/langchain-ai/langchain/issues/14583/comments | 1 | 2023-12-12T07:18:55Z | 2024-03-19T16:05:52Z | https://github.com/langchain-ai/langchain/issues/14583 | 2,037,136,239 | 14,583 |
[
"langchain-ai",
"langchain"
] | ### System Info
python = "^3.10"
openai = "^1.3.8"
langchain = "^0.0.349"
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templ... | RetrievalQA and AzureOpenAIEmbeddings lead to TypeError: cannot pickle '_thread.lock' object | https://api.github.com/repos/langchain-ai/langchain/issues/14581/comments | 15 | 2023-12-12T06:39:49Z | 2024-07-27T16:03:39Z | https://github.com/langchain-ai/langchain/issues/14581 | 2,037,087,675 | 14,581 |
[
"langchain-ai",
"langchain"
] | ### System Info
Ubuntu 20.04
CUDA 12.1
NVIDIA RTX 4070
### Who can help?
@hwchase17
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors... | An output parsing error occurred. Could not parse LLM output create_csv_agent | https://api.github.com/repos/langchain-ai/langchain/issues/14580/comments | 2 | 2023-12-12T05:58:28Z | 2024-03-19T16:05:47Z | https://github.com/langchain-ai/langchain/issues/14580 | 2,037,040,612 | 14,580 |
[
"langchain-ai",
"langchain"
] | ### System Info
Lanchain: 0.0.348
Python 3.12.0
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selec... | Predibase TypeError: LlmMixin.prompt() got an unexpected keyword argument 'model_name' | https://api.github.com/repos/langchain-ai/langchain/issues/14564/comments | 1 | 2023-12-11T23:00:10Z | 2024-03-19T16:05:42Z | https://github.com/langchain-ai/langchain/issues/14564 | 2,036,678,638 | 14,564 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I have this issue when working with more than 1 table using the Llama2 model. Let's say table 1 has values A, B, C, and table 2 has values X, Y, Z. When I run the query, it often gives me an error that it creates the query but assumes that table 1 has values X, Y, Z, and it mixes th... | Issue: Problem when using model llama2 13b chat to create SQL queries in 2 or more tables, it mixes the columns of the tables | https://api.github.com/repos/langchain-ai/langchain/issues/14553/comments | 1 | 2023-12-11T19:58:47Z | 2024-03-18T16:08:58Z | https://github.com/langchain-ai/langchain/issues/14553 | 2,036,427,335 | 14,553 |
[
"langchain-ai",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.348
Name: PyGithub
Version: 2.1.1
### Who can help?
@hwchase17
@agola11
```
Traceback (most recent call last):
File "/Users/mac/Dev Projects/Chainlit_qa/test.py", line 12, in <module>
github = GitHubAPIWrapper(
^^^^^^^^^^^^^^^^^
Fil... | GithubAPIWrapper throws list index out of range error | https://api.github.com/repos/langchain-ai/langchain/issues/14550/comments | 8 | 2023-12-11T18:30:31Z | 2023-12-22T09:32:06Z | https://github.com/langchain-ai/langchain/issues/14550 | 2,036,284,698 | 14,550 |
[
"langchain-ai",
"langchain"
] | ### Feature request
As of `langchain==0.0.348` in [`ChatVertexAI` here](https://github.com/langchain-ai/langchain/blob/v0.0.348/libs/langchain/langchain/chat_models/vertexai.py#L187-L191):
1. `vertexai.language_models.ChatSession.send_message` returns a `vertexai.language_models.MultiCandidateTextGenerationResponse... | Request: `ChatVertexAI` preserving `grounding_metadata` | https://api.github.com/repos/langchain-ai/langchain/issues/14548/comments | 1 | 2023-12-11T18:06:33Z | 2024-01-25T04:37:45Z | https://github.com/langchain-ai/langchain/issues/14548 | 2,036,244,262 | 14,548 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.331, macOS Monterey, Python 3.10.9
### 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
- [ ... | Does HTML Doc Loader accept .htm sites? | https://api.github.com/repos/langchain-ai/langchain/issues/14545/comments | 2 | 2023-12-11T16:25:09Z | 2024-04-10T16:15:24Z | https://github.com/langchain-ai/langchain/issues/14545 | 2,036,050,915 | 14,545 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version = 0.0.344
Python version = 3.11.5
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | impossible to connect to PowerBI Datasets even after providing all the information | https://api.github.com/repos/langchain-ai/langchain/issues/14538/comments | 1 | 2023-12-11T14:07:35Z | 2024-03-18T16:08:54Z | https://github.com/langchain-ai/langchain/issues/14538 | 2,035,763,317 | 14,538 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/13245
<div type='discussions-op-text'>
<sup>Originally posted by **yallapragada** November 12, 2023</sup>
I am testing a simple RAG implementation with Azure Cognitive Search.
I am seeing a "cannot import name 'Vector' from azure.search.do... | Stable release 11.4.0 of azure.search.documents.models not compatible with latest langchain version -> class Vector gone | https://api.github.com/repos/langchain-ai/langchain/issues/14534/comments | 1 | 2023-12-11T12:44:45Z | 2024-03-18T16:08:49Z | https://github.com/langchain-ai/langchain/issues/14534 | 2,035,602,125 | 14,534 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Page: https://python.langchain.com/docs/modules/memory/
In dark mode, there is very little contrast between inputs and outputs. Especially for pages imported from Jupyter notebooks, it can be really confusing figuring out which code blocks are safe to test in a `.py` function a... | DOC: Please add stronger contrast or labeling between notebook input and output blocks | https://api.github.com/repos/langchain-ai/langchain/issues/14532/comments | 2 | 2023-12-11T12:20:45Z | 2024-04-01T16:05:54Z | https://github.com/langchain-ai/langchain/issues/14532 | 2,035,556,970 | 14,532 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Weaviate has released a beta version of their [python client v4](https://weaviate.io/developers/weaviate/client-libraries/python) which seems to be more robust compared to v3. It follows a different structure but allows for more versatility and better error handling when it comes to queries. I thin... | Support Weaviate client v4 | https://api.github.com/repos/langchain-ai/langchain/issues/14531/comments | 1 | 2023-12-11T12:15:23Z | 2024-03-12T13:14:58Z | https://github.com/langchain-ai/langchain/issues/14531 | 2,035,547,273 | 14,531 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.348
wsl
python 3.10.2
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | b'{"status":{"error":"Wrong input: Default vector params are not specified in config"},"time":0.00036507}' | https://api.github.com/repos/langchain-ai/langchain/issues/14526/comments | 1 | 2023-12-11T10:30:41Z | 2024-03-18T16:08:44Z | https://github.com/langchain-ai/langchain/issues/14526 | 2,035,343,197 | 14,526 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain=0.0.348
openai=0.28.1
### 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
- ... | When the self-deployed chatglm3 model is invoked based on the openai API specification and create_sql_agent is used to query the first three rows of the data table, the output format is reported to be incorrect. But there are no formatting errors with qwen. How do I fix chatglm3 | https://api.github.com/repos/langchain-ai/langchain/issues/14523/comments | 1 | 2023-12-11T08:58:58Z | 2024-03-18T16:08:39Z | https://github.com/langchain-ai/langchain/issues/14523 | 2,035,156,450 | 14,523 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain=0.0.348
python=3.9
openai=0.28.1
### 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 S... | 1 | https://api.github.com/repos/langchain-ai/langchain/issues/14522/comments | 1 | 2023-12-11T08:50:01Z | 2023-12-11T09:00:17Z | https://github.com/langchain-ai/langchain/issues/14522 | 2,035,138,288 | 14,522 |
[
"langchain-ai",
"langchain"
] | ### System Info
OS == Windows 11
Python == 3.10.11
Langchain == 0.0.348
### 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 Selec... | [Maybe Bug] `StructuredChatAgent` raises `ValueError` with a `StructuredTool` which has an argument which defaults to a `dict` default value | https://api.github.com/repos/langchain-ai/langchain/issues/14521/comments | 3 | 2023-12-11T08:41:13Z | 2024-03-18T16:08:34Z | https://github.com/langchain-ai/langchain/issues/14521 | 2,035,123,971 | 14,521 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain: 0.0.311
Python: 3.11
OS: macOS 11.6
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Pr... | StructuredChatAgent would go wrong when the input contain some code such as protobuf. | https://api.github.com/repos/langchain-ai/langchain/issues/14520/comments | 3 | 2023-12-11T07:44:54Z | 2024-03-18T16:08:29Z | https://github.com/langchain-ai/langchain/issues/14520 | 2,035,027,147 | 14,520 |
[
"langchain-ai",
"langchain"
] | ### Feature request
i want to use gpt2 for text genration & want to control the llm
### Motivation
gpt2 is smaller version & its is best for next-word prediction
### Your contribution
want to use below code for loading gpt2 model
```
from transformers import AutoModelForCausalLM, AutoTokenizer
mod... | how to use gpt2 with custom promt? | https://api.github.com/repos/langchain-ai/langchain/issues/14519/comments | 1 | 2023-12-11T07:38:08Z | 2024-03-18T16:08:23Z | https://github.com/langchain-ai/langchain/issues/14519 | 2,035,017,496 | 14,519 |
[
"langchain-ai",
"langchain"
] | ### System Info
```langchain = "^0.0.345"```
I want to embed and store multiple documents in PGVector and RAG query the DB.
When saving documents, I am specifying a collection_name for each document.
(For example, if I have 3 documents, I have 3 collection_names)
Is it possible to separate collections like this?
... | Is 'collection_name' required when initializing 'PGVector'? | https://api.github.com/repos/langchain-ai/langchain/issues/14518/comments | 2 | 2023-12-11T05:36:15Z | 2024-03-28T14:13:27Z | https://github.com/langchain-ai/langchain/issues/14518 | 2,034,867,869 | 14,518 |
[
"langchain-ai",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/c0f4b95aa9961724ab4569049b4c3bc12ebbacfc/libs/langchain/langchain/vectorstores/chroma.py#L742
This function breaks the pattern of how the `embedding_function` is referenced by just calling it `embedding`.
Small issue but definitely makes it a bit confusing to navigate ... | Breaking of pattern in `from_document` function | https://api.github.com/repos/langchain-ai/langchain/issues/14517/comments | 1 | 2023-12-11T05:30:25Z | 2024-03-18T16:08:13Z | https://github.com/langchain-ai/langchain/issues/14517 | 2,034,861,990 | 14,517 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.10.2
langchain version 0.0.339
WSL
### 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 Template... | Qdrant retriever with existing data leads to pydantic.error_wrappers.ValidationError: 1 validation error for Document page_content none is not an allowed value (type=type_error.none.not_allowed) | https://api.github.com/repos/langchain-ai/langchain/issues/14515/comments | 16 | 2023-12-11T02:50:24Z | 2024-06-25T10:46:41Z | https://github.com/langchain-ai/langchain/issues/14515 | 2,034,721,756 | 14,515 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
_No response_
### Idea or request for content:
_No response_ | DOC: Could load GGUF models from https | https://api.github.com/repos/langchain-ai/langchain/issues/14514/comments | 21 | 2023-12-11T02:45:28Z | 2024-03-19T16:05:38Z | https://github.com/langchain-ai/langchain/issues/14514 | 2,034,717,889 | 14,514 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Customize how messages are formatted in MessagesPlaceholder
Currently, history messages are always format to:
'''
Human: ...
AI: ...
'''
Popular chat fine-tunings use all sorts of different formats.
Example:
'''
<|im_start|>user
...<|im_end|>
<|im_start|>assistant
...<|im_end... | Customize how messages are formatted in MessagesPlaceholder | https://api.github.com/repos/langchain-ai/langchain/issues/14513/comments | 1 | 2023-12-10T23:33:17Z | 2024-03-17T16:10:46Z | https://github.com/langchain-ai/langchain/issues/14513 | 2,034,583,189 | 14,513 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.348, linux , python 3.11
### 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
- [... | RunnableWithMessageHistory streaming bug | https://api.github.com/repos/langchain-ai/langchain/issues/14511/comments | 11 | 2023-12-10T20:43:15Z | 2024-04-05T16:07:05Z | https://github.com/langchain-ai/langchain/issues/14511 | 2,034,526,238 | 14,511 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
import requests
from typing import Optional
from langchain.tools import StructuredTool
``` python
def post_message(url: str, body: dict, parameters: Optional[dict]=None) -> str:
"""Sends a POST request to the given url with the given body and parameters."""
result ... | Help me run this | https://api.github.com/repos/langchain-ai/langchain/issues/14508/comments | 8 | 2023-12-10T16:37:15Z | 2023-12-11T04:49:51Z | https://github.com/langchain-ai/langchain/issues/14508 | 2,034,443,411 | 14,508 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The in-memory cache section of the LLM Caching documentation shows uncached and subsequent cached responses that differ. The later examples show cached responses that are the same as the uncached response, which makes more sense.
### Idea or request for content:
The cach... | DOC: LLM Caching example using in-memory cache is unclear | https://api.github.com/repos/langchain-ai/langchain/issues/14505/comments | 1 | 2023-12-10T15:22:40Z | 2024-03-17T16:10:41Z | https://github.com/langchain-ai/langchain/issues/14505 | 2,034,414,953 | 14,505 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.348
Python version: 3.10.6
Platform: Linux
The issue is that when using Conversational Chain for with Kendra Retriever with memory, on any followup questions it gives this error.
My guess is somehow QueryText is getting more than the {question} value asked.
:
create_db()
input_db = SQLDatabase.from_uri('sqlite:///sample_db_2.sqlite')
llm_1 = OpenAI(temperature=0)
db_age... | why the sql langchain's custom prompt is not working? | https://api.github.com/repos/langchain-ai/langchain/issues/14487/comments | 2 | 2023-12-09T12:19:40Z | 2024-03-17T16:10:32Z | https://github.com/langchain-ai/langchain/issues/14487 | 2,033,828,081 | 14,487 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have retriever implementation like this
```
def get_vector_store(options: StoreOptions) -> VectorStore:
"""Gets the vector store for the given options."""
vector_store: VectorStore
embedding = get_embeddings()
store_type = os.environ.get("STORE")
if store_type == Stor... | Retrievers don't seem to work properly with ollama | https://api.github.com/repos/langchain-ai/langchain/issues/14485/comments | 4 | 2023-12-09T08:06:14Z | 2023-12-10T04:17:57Z | https://github.com/langchain-ai/langchain/issues/14485 | 2,033,718,595 | 14,485 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It would be nice to write code for any generic LLM to use in a given chain, being able to specify its provider and parameters in a config file outside the source code.
Is there a built-in way to do so? What major roadblocks would you see in doing that?
### Motivation
Most examples that I... | generic codebase? | https://api.github.com/repos/langchain-ai/langchain/issues/14483/comments | 7 | 2023-12-09T07:06:17Z | 2024-04-09T16:14:17Z | https://github.com/langchain-ai/langchain/issues/14483 | 2,033,679,268 | 14,483 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.335
### Who can help?
@hwchase17 @agol
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Docu... | VertexAI classs doesn't support request_timeout | https://api.github.com/repos/langchain-ai/langchain/issues/14478/comments | 2 | 2023-12-09T03:28:39Z | 2024-03-18T16:08:03Z | https://github.com/langchain-ai/langchain/issues/14478 | 2,033,581,284 | 14,478 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Hi,
I'm trying to understand _**Pinecone.from_documents**_ as shown [here ](https://python.langchain.com/docs/integrations/vectorstores/pinecone).
I saw it used the same way in another tutorial as well and it seems like it should be calling OpenAIEmbeddings.embed_document... | DOC: Need clarity on Pinecone.from_documents and OpenAIEmbeddings. | https://api.github.com/repos/langchain-ai/langchain/issues/14472/comments | 7 | 2023-12-08T22:48:39Z | 2024-03-18T16:07:59Z | https://github.com/langchain-ai/langchain/issues/14472 | 2,033,402,079 | 14,472 |
[
"langchain-ai",
"langchain"
] | ### System Info
OS: Using docker image amd64/python:3.10-slim
Python Version: 3.10.13
Langchain Version: 0.0.336
OpenAI Version: 0.27.7
Tenacity Version: 4.65.0
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Re... | agent executor not using custom openai_api_base | https://api.github.com/repos/langchain-ai/langchain/issues/14470/comments | 10 | 2023-12-08T21:41:20Z | 2024-03-18T16:07:54Z | https://github.com/langchain-ai/langchain/issues/14470 | 2,033,344,391 | 14,470 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.346
### Who can help?
@hwch
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loader... | DeprecationWarning: `input_variables' is deprecated and ignored | https://api.github.com/repos/langchain-ai/langchain/issues/14467/comments | 1 | 2023-12-08T21:10:46Z | 2023-12-13T01:43:28Z | https://github.com/langchain-ai/langchain/issues/14467 | 2,033,316,778 | 14,467 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm using the llama2 model for SQL, and I modified it to work directly using LLM. I also added more tables to test the model, and I'm modifying the prompt. When I do this, it generates longer queries based on the question I send, but when the query is very long, it doesn't complete g... | Issue: llama2-sql for long queries doesn't return the complete query. | https://api.github.com/repos/langchain-ai/langchain/issues/14465/comments | 1 | 2023-12-08T19:31:22Z | 2024-03-16T16:14:16Z | https://github.com/langchain-ai/langchain/issues/14465 | 2,033,203,436 | 14,465 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.