issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello,
Thanks for this framework. It's making everyone's work simpler!
I'm using an LLM model to infer data from Portuguese websites, and expecting answers in Portuguese. But some of Langchain features, namely the "Get format instructions" for Output Parses come written in English. I... | Issue: How to use other natural languages besides English? | https://api.github.com/repos/langchain-ai/langchain/issues/13250/comments | 7 | 2023-11-12T06:28:49Z | 2024-07-10T13:09:05Z | https://github.com/langchain-ai/langchain/issues/13250 | 1,989,259,330 | 13,250 |
[
"hwchase17",
"langchain"
] | async def query(update: Update, context: CallbackContext):
global chain, metadatas, texts
if chain is None:
await context.bot.send_message(
chat_id=update.effective_chat.id,
text="Please load the chain first using /load")
return
user_query = update.message.text
cb =... | why when the system doesn't find the answer to the user's question, show hadith still appears? | https://api.github.com/repos/langchain-ai/langchain/issues/13249/comments | 22 | 2023-11-12T05:49:18Z | 2024-02-18T16:05:31Z | https://github.com/langchain-ai/langchain/issues/13249 | 1,989,251,097 | 13,249 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
```
import uvicorn
import os
from typing import AsyncIterable, Awaitable
from dotenv import load_dotenv
from fastapi import FastAPI
from fastapi.responses import FileResponse, StreamingResponse
from langchain.callbacks import AsyncIteratorCallbackHandler
from langchain.chat_m... | Issue: <openai APIConnectionError> | https://api.github.com/repos/langchain-ai/langchain/issues/13247/comments | 4 | 2023-11-12T04:30:51Z | 2024-02-18T16:05:36Z | https://github.com/langchain-ai/langchain/issues/13247 | 1,989,233,891 | 13,247 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
when chain_type='stuff', normal
when
chain_type = 'map_reduce', error:
1 validation error for RetrievalQA
question_prompt
extra fields not permitted (type=value_error.extra)
### Suggestion:
_No response_ | when i use map_reduce type, error appear | https://api.github.com/repos/langchain-ai/langchain/issues/13246/comments | 3 | 2023-11-12T02:00:07Z | 2024-02-18T16:05:41Z | https://github.com/langchain-ai/langchain/issues/13246 | 1,989,197,947 | 13,246 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/12799
<div type='discussions-op-text'>
<sup>Originally posted by **younes-io** November 2, 2023</sup>
I have an `NotImplementedError: ` error when I run this code:
```python
embeddings = OpenAIEmbeddings(deployment=embedding_model, chu... | I get a `NotImplementedError` when I use `docsearch.as_retriever` with `similarity_score_threshold` | https://api.github.com/repos/langchain-ai/langchain/issues/13242/comments | 6 | 2023-11-11T17:04:13Z | 2024-02-19T16:07:05Z | https://github.com/langchain-ai/langchain/issues/13242 | 1,989,042,216 | 13,242 |
[
"hwchase17",
"langchain"
] | ### System Info
Macos: 13.4.1 (apple silicon M1)
python version 3.10.13
relevant packages:
langchain 0.0.334
pydantic 1.10.13
pydantic_core 2.10.1
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Compone... | @tool decorator for StructuredTool.from_function doesn't fill in the `__name__` attribute correctly | https://api.github.com/repos/langchain-ai/langchain/issues/13241/comments | 3 | 2023-11-11T11:37:37Z | 2023-11-11T12:14:23Z | https://github.com/langchain-ai/langchain/issues/13241 | 1,988,907,431 | 13,241 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.334
python: 3.11.6
weaviate-client: 3.25.3
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sel... | Trouble Accessing Document ID in WeaviateHybridSearchRetriever Results | https://api.github.com/repos/langchain-ai/langchain/issues/13238/comments | 5 | 2023-11-11T04:39:30Z | 2024-05-15T16:07:19Z | https://github.com/langchain-ai/langchain/issues/13238 | 1,988,722,501 | 13,238 |
[
"hwchase17",
"langchain"
] | ### System Info
I'm using colab
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document L... | If i assign two SemanticSimilarityExampleSelector with different data in different variable but it combines | https://api.github.com/repos/langchain-ai/langchain/issues/13234/comments | 4 | 2023-11-11T02:23:06Z | 2023-11-11T05:35:01Z | https://github.com/langchain-ai/langchain/issues/13234 | 1,988,660,318 | 13,234 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Why did I follow the tutorial below to generate vector library data, but I wanted to use ConversationalRetrievalChain.from_llm to answer my question, but couldn't answer the question? Or can I only answer with chain?
https://github.com/langchain-ai/langchain/blob/master/cookbook/Sem... | Issue: <ConversationalRetrievalChain.from_llm and partition_pdf > | https://api.github.com/repos/langchain-ai/langchain/issues/13233/comments | 3 | 2023-11-11T02:10:50Z | 2024-02-17T16:05:28Z | https://github.com/langchain-ai/langchain/issues/13233 | 1,988,652,580 | 13,233 |
[
"hwchase17",
"langchain"
] | ### System Info
from langchain.text_splitter import CharacterTextSplitter
from langchain.docstore.document import Document
from langchain.chains.summarize import load_summarize_chain
from fastapi.encoders import jsonable_encoder
from langchain.chains.mapreduce import MapReduceChain
from time import monotonic
g... | load_summarize_chain with map_reduce error : InvalidRequestError: This model's maximum context length is 8192 tokens. However, your messages resulted in 13516 tokens. Please reduce the length of the messages. | https://api.github.com/repos/langchain-ai/langchain/issues/13230/comments | 3 | 2023-11-10T23:05:46Z | 2024-02-16T16:05:46Z | https://github.com/langchain-ai/langchain/issues/13230 | 1,988,539,254 | 13,230 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi: I have tried several strategies to implement map reduce summarization using Azure OpenAi and Langchain . My model is "gpt-35-turbo-16k".
I have tried several experiments but always get to the same warning:
from langchain.schema.document import Document
from langchain.chains.mapreduce ... | Warning: model not found. Using cl100k_base encoding. with Azure Openai and load_summarize_chain when I am trying to implement map_reduce | https://api.github.com/repos/langchain-ai/langchain/issues/13224/comments | 9 | 2023-11-10T20:00:32Z | 2024-05-31T17:36:59Z | https://github.com/langchain-ai/langchain/issues/13224 | 1,988,305,077 | 13,224 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.332
Python 3.10.12
Platform: GCP
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Pr... | Vector Search on GCP Private Network gives AttributeError: 'MatchingEngineIndexEndpoint' object has no attribute '_public_match_client' | https://api.github.com/repos/langchain-ai/langchain/issues/13218/comments | 3 | 2023-11-10T19:10:23Z | 2024-02-16T16:05:51Z | https://github.com/langchain-ai/langchain/issues/13218 | 1,988,218,361 | 13,218 |
[
"hwchase17",
"langchain"
] | ### System Info
Hello All,
I have just installed the helm chart with some small additions to the basic values.yaml and the "langchain-langsmith-backend" contain keeps breaking with the following error, Has anyone had this before?
INFO: Started server process [1]
--
Fri, Nov 10 2023 2:41:24 pm | INFO: Waiting for... | NameError: name '_httpx_client' is not defined | https://api.github.com/repos/langchain-ai/langchain/issues/13204/comments | 4 | 2023-11-10T14:58:08Z | 2024-02-16T16:05:56Z | https://github.com/langchain-ai/langchain/issues/13204 | 1,987,788,713 | 13,204 |
[
"hwchase17",
"langchain"
] | ### System Info
I tried to use `ChatVertexAI` as a replacement for `ChatOpenAI` as the latter is quite slow these days.
I have this code for Chat OpenAI
```
template_string = """ # some explanation
give me suggestions in JSON format where the suggestions are a list of dictionaries with the following keys: ... | Inconsistent output format of ChatVertexAI compared to ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/13202/comments | 2 | 2023-11-10T14:42:40Z | 2024-02-09T18:37:05Z | https://github.com/langchain-ai/langchain/issues/13202 | 1,987,762,764 | 13,202 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.333
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [X] Document ... | More than 800 errors detected with the latest version of mypy | https://api.github.com/repos/langchain-ai/langchain/issues/13199/comments | 4 | 2023-11-10T14:26:34Z | 2024-02-17T16:05:33Z | https://github.com/langchain-ai/langchain/issues/13199 | 1,987,735,492 | 13,199 |
[
"hwchase17",
"langchain"
] | ### System Info
The text-embedding-ada-002 OpenAI embedding model on Azure OpenAI has a maximum batch size of 16. MlflowAIGatewayEmbeddings has a hard-coded batch size of 20 which results in it being unusable with Azure OpenAI's text-embedding-ada-002.
The best fix would be to allow a configurable batchsize as an a... | MlflowAIGatewayEmbeddings : Default Batch size incompatible with Azure OpenAI text-embedding-ada-002 | https://api.github.com/repos/langchain-ai/langchain/issues/13197/comments | 8 | 2023-11-10T13:52:34Z | 2024-05-15T16:01:41Z | https://github.com/langchain-ai/langchain/issues/13197 | 1,987,672,041 | 13,197 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
i have the following code:
```
# import
from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.document_loaders import TextLoader
from ... | langchain Retrieval | https://api.github.com/repos/langchain-ai/langchain/issues/13196/comments | 4 | 2023-11-10T12:47:23Z | 2024-02-22T16:07:08Z | https://github.com/langchain-ai/langchain/issues/13196 | 1,987,564,233 | 13,196 |
[
"hwchase17",
"langchain"
] | ### System Info
Latest langchain, Mac
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Docu... | Example for chat chain with documents retrieval and history capability | https://api.github.com/repos/langchain-ai/langchain/issues/13195/comments | 3 | 2023-11-10T12:23:44Z | 2024-02-16T16:06:11Z | https://github.com/langchain-ai/langchain/issues/13195 | 1,987,527,709 | 13,195 |
[
"hwchase17",
"langchain"
] | ### System Info
I just updated langchain to newest version and my Agent is not working anymore.
Tool structure :
```
class Data_Retriever(BaseModel):
db : Any
class Config:
extra = Extra.forbid
def run(self,request) -> str:
data = self.db.get(request)
return... | The Agent is not using Custom Tools. | https://api.github.com/repos/langchain-ai/langchain/issues/13194/comments | 17 | 2023-11-10T12:23:33Z | 2024-07-25T19:04:06Z | https://github.com/langchain-ai/langchain/issues/13194 | 1,987,527,490 | 13,194 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
_No response_
### Suggestion:
my code:
```
# import
from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.document_loaders import Te... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/13192/comments | 4 | 2023-11-10T11:17:39Z | 2024-02-21T16:07:19Z | https://github.com/langchain-ai/langchain/issues/13192 | 1,987,429,747 | 13,192 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
_No response_
### Suggestion:
```
# import
from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.document_loaders import TextLoader
fro... | langchain & chroma - Basic Example | https://api.github.com/repos/langchain-ai/langchain/issues/13191/comments | 3 | 2023-11-10T10:46:38Z | 2024-02-16T16:06:21Z | https://github.com/langchain-ai/langchain/issues/13191 | 1,987,380,190 | 13,191 |
[
"hwchase17",
"langchain"
] | ### System Info
newest version
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers... | Binding stop to a local llm does not work? | https://api.github.com/repos/langchain-ai/langchain/issues/13188/comments | 4 | 2023-11-10T10:31:00Z | 2024-02-09T16:04:41Z | https://github.com/langchain-ai/langchain/issues/13188 | 1,987,355,999 | 13,188 |
[
"hwchase17",
"langchain"
] | ### System Info
cenos7
python3.9
langchai 0.0.333
Reading error PDF file here:
[llm.pdf](https://github.com/langchain-ai/langchain/files/13318006/llm.pdf)
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Com... | cookbook/Semi_Structured_RAG.ipynb ERROR:IndexError: list index out of range | https://api.github.com/repos/langchain-ai/langchain/issues/13187/comments | 4 | 2023-11-10T09:59:01Z | 2024-02-21T16:07:24Z | https://github.com/langchain-ai/langchain/issues/13187 | 1,987,302,580 | 13,187 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
**My code:**
loader_pdf = PyMuPDFLoader("/Users/python/test_pdf.pdf")
doc_pdf = loader_pdf.load()
llm = ChatOpenAI(temperature=0)
chain = QAGenerationChain.from_llm(llm=llm)
print("pdf:\n",doc_pdf[3].page_content)
qa_pdf = chain.run(doc_pdf[3].page_content)
 [Clang 14.0.6 ]
langchain.version = 0.0.332
pydantic.version = 1.10.13
openai.version = 1.2.0
</pre>
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/script... | Setting a custom http_client fails with pydantic ConfigError | https://api.github.com/repos/langchain-ai/langchain/issues/13185/comments | 5 | 2023-11-10T09:36:13Z | 2023-11-27T18:50:16Z | https://github.com/langchain-ai/langchain/issues/13185 | 1,987,257,994 | 13,185 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hello guys,
I have to use a proxy to access Azure OpenAi because I'm using a VPN for my company.
However when I try to use the [](https://python.langchain.com/docs/modules/data_connection/retrievers/web_research) , I block at fetching the pages because the code inside the langch... | DOC: Setting proxy for the whole langchain library, especially web_research_retriever | https://api.github.com/repos/langchain-ai/langchain/issues/13180/comments | 4 | 2023-11-10T08:54:16Z | 2024-02-16T16:06:36Z | https://github.com/langchain-ai/langchain/issues/13180 | 1,987,191,884 | 13,180 |
[
"hwchase17",
"langchain"
] | ### Feature request
As the title suggests, there is currently no built-in method to retrieve chunks linked through edges in graph-based structures.
This is especially relevant in cases where documents are not self-contained and chunks reference other chunks, either within the same document or in other documents. ... | Document retriever from Knowledge-graph based source | https://api.github.com/repos/langchain-ai/langchain/issues/13179/comments | 1 | 2023-11-10T08:44:39Z | 2023-11-13T09:08:19Z | https://github.com/langchain-ai/langchain/issues/13179 | 1,987,177,608 | 13,179 |
[
"hwchase17",
"langchain"
] | ### Feature request
Support OpenAI seed and fingerprint parameters to get more consistent outputs for the same inputs and model version.
https://cookbook.openai.com/examples/deterministic_outputs_with_the_seed_parameter#seed
https://platform.openai.com/docs/api-reference/chat/create#chat-create-seed
### Motiv... | Support OpenAI seed for deterministic outputs | https://api.github.com/repos/langchain-ai/langchain/issues/13177/comments | 6 | 2023-11-10T08:29:51Z | 2024-08-08T16:06:29Z | https://github.com/langchain-ai/langchain/issues/13177 | 1,987,156,699 | 13,177 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
`
# Import necessary libraries
from llama_index import (
LangchainEmbedding,
)
from langchain.embeddings.huggingface import HuggingFaceEmbeddings
from llama_index import VectorStoreIndex, SimpleDirectoryReader, ServiceContext
from llama_index.vector_stores import ChromaVectorS... | Simple Retrieval QA Example | https://api.github.com/repos/langchain-ai/langchain/issues/13176/comments | 5 | 2023-11-10T08:20:00Z | 2024-02-16T16:06:41Z | https://github.com/langchain-ai/langchain/issues/13176 | 1,987,140,842 | 13,176 |
[
"hwchase17",
"langchain"
] | ### System Info
python version: 3.11
I'm trying to run the sampe code "LangChain: Q&A over Documents", but when I run the below cell, it reports below error
```
pip install --upgrade langchain
from llm_commons.langchain.btp_llm import ChatBTPOpenAI
from llm_commons.langchain.btp_llm import BTPOpenAIEmbeddings
f... | from langchain.indexes import VectorstoreIndexCreator report errors "" | https://api.github.com/repos/langchain-ai/langchain/issues/13172/comments | 3 | 2023-11-10T06:47:43Z | 2024-02-16T16:06:46Z | https://github.com/langchain-ai/langchain/issues/13172 | 1,987,020,797 | 13,172 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.333
openai == 1.2.2
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pa... | Problem With OpenAI Error update | https://api.github.com/repos/langchain-ai/langchain/issues/13171/comments | 2 | 2023-11-10T06:37:20Z | 2024-02-17T16:05:52Z | https://github.com/langchain-ai/langchain/issues/13171 | 1,987,009,878 | 13,171 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
in https://python.langchain.com/docs/get_started/quickstart
in the section LLM / Chat Model
with the code
from langchain.llms import OpenAI
from langchain.chat_models import ChatOpenAI
llm = OpenAI()
chat_model = ChatOpenAI()
# I recevce the error
File [~/nghia_1660s... | TypeError: multiple bases have instance layout conflict. DOC: <Quick start code dont work with version langchain ==0.333> | https://api.github.com/repos/langchain-ai/langchain/issues/13168/comments | 3 | 2023-11-10T04:51:26Z | 2023-11-11T07:50:51Z | https://github.com/langchain-ai/langchain/issues/13168 | 1,986,880,174 | 13,168 |
[
"hwchase17",
"langchain"
] | ### System Info
Getting the below error when try to use load_qa_chain
openai.lib._old_api.APIRemovedInV1:
You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run `openai migrate` to automa... | getiing an error with openai v1 | https://api.github.com/repos/langchain-ai/langchain/issues/13162/comments | 6 | 2023-11-10T02:41:34Z | 2024-03-13T20:02:47Z | https://github.com/langchain-ai/langchain/issues/13162 | 1,986,745,002 | 13,162 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm using llama2 with langchain. To use gpu, I re-installed the llama-cpp-python with cublas options, but after that, I can not get response from langchain.LLMChain.predict() anymore.
The result is like:
```
User:hi
> Entering new LLMChain chain...
Prompt after formatting:
Hi... | Issue: Can't get response from chain.predict() | https://api.github.com/repos/langchain-ai/langchain/issues/13161/comments | 10 | 2023-11-10T02:09:17Z | 2023-11-13T03:13:33Z | https://github.com/langchain-ai/langchain/issues/13161 | 1,986,715,808 | 13,161 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi @baskaryan! Thanks for open-sourcing the [notebook](https://github.com/langchain-ai/langchain/blob/master/cookbook/openai_v1_cookbook.ipynb) related to GPT-4-Vision.
Is there a way, we can estimate the cost for the API calls similar to using `get_openai_callback`?
### Sugge... | Issue: Get cost estimates of GPT-4-Vision | https://api.github.com/repos/langchain-ai/langchain/issues/13159/comments | 2 | 2023-11-10T00:53:36Z | 2024-05-20T16:07:24Z | https://github.com/langchain-ai/langchain/issues/13159 | 1,986,646,789 | 13,159 |
[
"hwchase17",
"langchain"
] | ### System Info
Notebook with latest langchain
### 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
-... | HTMLHeaderTextSplitter won't run (maxHead) | https://api.github.com/repos/langchain-ai/langchain/issues/13149/comments | 8 | 2023-11-09T20:48:09Z | 2024-06-18T19:23:47Z | https://github.com/langchain-ai/langchain/issues/13149 | 1,986,380,076 | 13,149 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have 100 docs , from which i am trying to retrieve top 10 docs which are most relevant to my query using parent document retriever. How can this be achieved.
### Suggestion:
_No response_ | How to retrieve custom number of docs from parent retriver document , I have 100 docs and i don't want the reteiver to just retrieve only 4 docs | https://api.github.com/repos/langchain-ai/langchain/issues/13145/comments | 11 | 2023-11-09T19:56:05Z | 2024-04-02T09:18:17Z | https://github.com/langchain-ai/langchain/issues/13145 | 1,986,306,840 | 13,145 |
[
"hwchase17",
"langchain"
] | ### Feature request
Need the ability to pass arguments to `browser.chromium.launch()` in the `create_sync_playwright_browser` and `create_async_playwright_browser` functions located in [`langchain.tools.playwright.utils.py`](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/tools/playwrigh... | Add ability to pass arguments when creating Playwright browser | https://api.github.com/repos/langchain-ai/langchain/issues/13143/comments | 1 | 2023-11-09T19:09:40Z | 2024-02-15T16:06:06Z | https://github.com/langchain-ai/langchain/issues/13143 | 1,986,241,586 | 13,143 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The documentation recommends to install openai with `pip install openai`.
If you do it currently (langchain 0.0.332) then an incompatible openai version is installed (1.1.2).
It's better to install it using `pip install langchain[openai]` as that will pick a version compatible w... | DOC: Install openai with langchain[openai] | https://api.github.com/repos/langchain-ai/langchain/issues/13134/comments | 11 | 2023-11-09T15:42:53Z | 2024-04-12T16:51:25Z | https://github.com/langchain-ai/langchain/issues/13134 | 1,985,905,385 | 13,134 |
[
"hwchase17",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/c52725bdc5958d5295c2d563fa9b7fcb6ed09a3e/libs/langchain/langchain/chat_models/vertexai.py#L136C29-L136C29
seems there is an issue
from vertexai.preview.language_models import ChatModel
changed into
from vertexai.language_models import ChatModel
| Import changed of Vertex chatModel | https://api.github.com/repos/langchain-ai/langchain/issues/13132/comments | 2 | 2023-11-09T15:30:47Z | 2024-02-15T16:06:11Z | https://github.com/langchain-ai/langchain/issues/13132 | 1,985,875,195 | 13,132 |
[
"hwchase17",
"langchain"
] | ### Feature request
We are using langchain create_sql_agent to build a chat engine with database.
generation and execution of query will be handled by create_sql_agent.
I want to modify the query before execution.
Please find below example:
original query : select * from transaction where type = IPC
modified qu... | Modify mysql query before execution | https://api.github.com/repos/langchain-ai/langchain/issues/13129/comments | 16 | 2023-11-09T14:07:57Z | 2024-07-03T12:36:57Z | https://github.com/langchain-ai/langchain/issues/13129 | 1,985,703,330 | 13,129 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi.
I am currently using the model of the hugging face.
The code I use is below.
`llm = HuggingFacePipeline.from_model_id(model_id="beomi/llama-2-ko-7b", task="text-generation", model_kwargs={"max_length": 2000}, device=0)`
Currently I am only using device=0, but I would like to... | How do I use multiple GPU when using a model with hugging face? | https://api.github.com/repos/langchain-ai/langchain/issues/13128/comments | 11 | 2023-11-09T13:45:39Z | 2024-06-28T07:43:23Z | https://github.com/langchain-ai/langchain/issues/13128 | 1,985,658,707 | 13,128 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.332
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] D... | Streaming not working when using RunnableLambda | https://api.github.com/repos/langchain-ai/langchain/issues/13126/comments | 3 | 2023-11-09T13:32:54Z | 2023-11-09T14:54:59Z | https://github.com/langchain-ai/langchain/issues/13126 | 1,985,634,692 | 13,126 |
[
"hwchase17",
"langchain"
] | ### Feature request
We are using langchain create_sql_agent to build a chat engine with database.
I want to write custom implementation for tool : query_sql_checker_tool
In this custom logic, we want to modify the sql query before execution.
Example:
original query : select * from transaction where type = IPC
... | Custom implementation for query checker tool | https://api.github.com/repos/langchain-ai/langchain/issues/13125/comments | 11 | 2023-11-09T13:05:16Z | 2024-02-16T16:07:01Z | https://github.com/langchain-ai/langchain/issues/13125 | 1,985,582,820 | 13,125 |
[
"hwchase17",
"langchain"
] | ### System Info
Running langchain==0.0.332 with python 3.11 and openai==1.2.0 on Windows.
### 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 Template... | Adding timeout to ChatOpenAI raises ConfigError | https://api.github.com/repos/langchain-ai/langchain/issues/13124/comments | 4 | 2023-11-09T12:47:32Z | 2023-11-13T09:49:28Z | https://github.com/langchain-ai/langchain/issues/13124 | 1,985,552,554 | 13,124 |
[
"hwchase17",
"langchain"
] | ### Feature request
please support httpx_client in openai version 1.1.1
just one more parameter
if there is another solution i would like to get it
thanks
### Motivation
cant work without ssl cert
### Your contribution
in AzureChatOpenAI and AzureOpenAI class
add parameter openai_http_client
in metho... | httpx openai support | https://api.github.com/repos/langchain-ai/langchain/issues/13122/comments | 4 | 2023-11-09T12:04:56Z | 2024-02-25T16:05:52Z | https://github.com/langchain-ai/langchain/issues/13122 | 1,985,482,594 | 13,122 |
[
"hwchase17",
"langchain"
] | ### System Info
Ubuntu 22.04
langchain 0.0.332
python 3.10
### 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
- [ ] ... | ModuleNotFoundError: No module named 'langchain.server' | https://api.github.com/repos/langchain-ai/langchain/issues/13120/comments | 4 | 2023-11-09T10:28:35Z | 2024-02-15T16:06:25Z | https://github.com/langchain-ai/langchain/issues/13120 | 1,985,321,425 | 13,120 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version : 0.0.327
Python version : 3.10.11
Platform : Windows 11
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ]... | LCEL stream function doesn't use LLM cache | https://api.github.com/repos/langchain-ai/langchain/issues/13119/comments | 4 | 2023-11-09T10:12:40Z | 2024-03-17T16:05:16Z | https://github.com/langchain-ai/langchain/issues/13119 | 1,985,293,295 | 13,119 |
[
"hwchase17",
"langchain"
] | ### Feature request
Langchain is a great work!
Is there any possible that you guys can combine [Fusion](https://github.com/run-llama/llama_index/blob/main/docs/examples/low_level/fusion_retriever.ipynb) and [Semi_Structured_RAG](https://github.com/langchain-ai/langchain/blob/master/cookbook/Semi_Structured_RAG.ipynb)... | Fusion_RAG + Semi_Structured_RAG? | https://api.github.com/repos/langchain-ai/langchain/issues/13117/comments | 2 | 2023-11-09T09:53:44Z | 2024-02-15T16:06:30Z | https://github.com/langchain-ai/langchain/issues/13117 | 1,985,253,003 | 13,117 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version 0.0.332, affect all platforms
There is a mistake in the file:
qianfan\resources\llm\completion.py
this `endpoint="/chat/completions-pro`, is not correct ,it should be `endpoint="/chat/completions_pro`,"
like below:
``
"ERNIE-Bot-4": QfLLMInfo(
endpoint="/chat/co... | Qianfan llm error calling "ERNIE-Bot-4" | https://api.github.com/repos/langchain-ai/langchain/issues/13116/comments | 4 | 2023-11-09T09:42:52Z | 2024-02-16T16:07:06Z | https://github.com/langchain-ai/langchain/issues/13116 | 1,985,231,279 | 13,116 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.332
Python version: 3.11.5
### Who can help?
@hwchase17
When loading a local .owl file (the standard example pizza.owl) the operation breaks and gives the following error for all the URI:
does not look like a valid URI, trying to serialize this will break.
Here... | langchain.graph RDFGraph does not read .owl extension files | https://api.github.com/repos/langchain-ai/langchain/issues/13115/comments | 3 | 2023-11-09T09:39:19Z | 2023-11-09T09:56:03Z | https://github.com/langchain-ai/langchain/issues/13115 | 1,985,225,113 | 13,115 |
[
"hwchase17",
"langchain"
] |
# Issue you'd like to raise.
## Issue: <ValidationError: 1 validation error for ChatOpenAI __root__ openai has no ChatCompletion attribute, this is likely due to an old version of the openai package. Try upgrading it with pip install --upgrade openai. (type=value_error)>
### Import necessary packages for ... | Issue: <ValidationError: 1 validation error for ChatOpenAI __root__ `openai` has no `ChatCompletion` attribute, this is likely due to an old version of the openai package. Try upgrading it with `pip install --upgrade openai`. (type=value_error)> | https://api.github.com/repos/langchain-ai/langchain/issues/13114/comments | 7 | 2023-11-09T09:35:22Z | 2024-02-08T16:06:57Z | https://github.com/langchain-ai/langchain/issues/13114 | 1,985,218,334 | 13,114 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
for example in my below case
```python
english_tools = [
Tool(name="SomeNAME_1",
func=lambda q: app.finance_chain.run(q),
description=" Some app related description ",
return_direct=True,
coroutine=lambda q: app.finan... | How can we selectively pass memory to specific tools without passing it to all tools? | https://api.github.com/repos/langchain-ai/langchain/issues/13112/comments | 4 | 2023-11-09T06:33:12Z | 2024-02-23T16:06:52Z | https://github.com/langchain-ai/langchain/issues/13112 | 1,984,928,992 | 13,112 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version: 0.0.300
Python version: 3.10.12
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sele... | Summarization chain batching is not working with Replicate | https://api.github.com/repos/langchain-ai/langchain/issues/13108/comments | 5 | 2023-11-09T04:33:37Z | 2024-02-29T11:04:57Z | https://github.com/langchain-ai/langchain/issues/13108 | 1,984,802,487 | 13,108 |
[
"hwchase17",
"langchain"
] | 
Hello all, I'm attempting to perform a SPARQL graph query using my local LLM, but it appears that something is amiss. Please feel free to share any helpful tips or guidance.
`graph = RdfGraph(
source_file... | Performing a Graph SPARQL Query with a Local LLM | https://api.github.com/repos/langchain-ai/langchain/issues/13107/comments | 6 | 2023-11-09T03:37:33Z | 2024-02-26T16:07:08Z | https://github.com/langchain-ai/langchain/issues/13107 | 1,984,758,551 | 13,107 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Here's an example implementation of `RunnableRetry`,
```
from langchain.chat_models import ChatOpenAI
from langchain.prompts import PromptTemplate
from langchain.schame.runnable.retry import RunnableRetry
template = PromptTemplate.from_template("tell me a joke about {topic}.")
... | How to use a different prompt template upon runnable retry? | https://api.github.com/repos/langchain-ai/langchain/issues/13105/comments | 3 | 2023-11-09T03:13:18Z | 2024-02-12T08:10:50Z | https://github.com/langchain-ai/langchain/issues/13105 | 1,984,740,642 | 13,105 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.330
openai==0.28.1
python==3.9.17
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selec... | Structured Output Parser Always Gives Error | https://api.github.com/repos/langchain-ai/langchain/issues/13101/comments | 7 | 2023-11-09T01:22:50Z | 2024-02-15T16:06:40Z | https://github.com/langchain-ai/langchain/issues/13101 | 1,984,653,868 | 13,101 |
[
"hwchase17",
"langchain"
] | I see the following when using AzureChatOpenAI with with_fallbacks. Removing with_fallbacks doesn't cause this issue.
`Can't instantiate abstract class BaseLanguageModel with abstract methods agenerate_prompt, apredict, apredict_messages, generate_prompt, invoke, predict, predict_messages (type=type_error)`
### S... | Serialize failing - Can't use with_fallbacks with MapReduceChain/Summarization: Can't instantiate abstract class BaseLanguageModel with abstract methods agenerate_prompt... | https://api.github.com/repos/langchain-ai/langchain/issues/13098/comments | 4 | 2023-11-08T23:48:38Z | 2024-02-15T16:06:45Z | https://github.com/langchain-ai/langchain/issues/13098 | 1,984,577,336 | 13,098 |
[
"hwchase17",
"langchain"
] | ### System Info
make text
Running Sphinx v4.5.0
loading pickled environment... done
[autosummary] generating autosummary for: index.rst
building [mo]: targets for 0 po files that are out of date
building [text]: targets for 0 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
... | make text fails | https://api.github.com/repos/langchain-ai/langchain/issues/13096/comments | 4 | 2023-11-08T22:39:37Z | 2024-02-15T16:06:50Z | https://github.com/langchain-ai/langchain/issues/13096 | 1,984,517,806 | 13,096 |
[
"hwchase17",
"langchain"
] | ### System Info
llm/chat_models created using with_fallback() throw attribute error when trying to access their get_num_tokens() function. This could potentially break several use cases where one does chat_model.get_num_tokens(). I believe even the docs access it as such (For example in the [MapReduce using LCEL](http... | 'RunnableWithFallbacks' object has no attribute 'get_num_tokens' | https://api.github.com/repos/langchain-ai/langchain/issues/13095/comments | 8 | 2023-11-08T22:28:33Z | 2024-02-14T16:06:08Z | https://github.com/langchain-ai/langchain/issues/13095 | 1,984,500,319 | 13,095 |
[
"hwchase17",
"langchain"
] | ### Feature request
Is it possible to send back the annotations in the response when a request / response is content filtered by AzureOpenAI? Some prompts are content filtered by Azure and sometimes the response to certain prompts are content filtered as well.
Azure OpenAI sends back the annotations https://learn.m... | Send back annotations sent by OpenAI for content filtered requests (and responses) | https://api.github.com/repos/langchain-ai/langchain/issues/13090/comments | 2 | 2023-11-08T21:23:40Z | 2024-02-14T16:06:13Z | https://github.com/langchain-ai/langchain/issues/13090 | 1,984,421,073 | 13,090 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The tests for Langchain's `Chroma` are currently broken. The reason is:
- By default, chroma persists locally, for ease of use
- All the tests use the same collection name
- Thus, when a new `Chroma` is created, it sees the collections persisted from previous tests.
This causes ... | Issue: Chroma tests are buggy | https://api.github.com/repos/langchain-ai/langchain/issues/13087/comments | 2 | 2023-11-08T20:56:30Z | 2024-02-14T16:06:18Z | https://github.com/langchain-ai/langchain/issues/13087 | 1,984,384,651 | 13,087 |
[
"hwchase17",
"langchain"
] | ### System Info
Traceback:
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.__dict__)
File "/app/demo-chatbot/updatedapp.py", line 351, in <module>
asyncio.run(main())
File "/usr/local/lib/python3.9/asyncio/ru... | OpenAIEmbeddings | https://api.github.com/repos/langchain-ai/langchain/issues/13082/comments | 4 | 2023-11-08T19:37:37Z | 2024-02-15T16:06:55Z | https://github.com/langchain-ai/langchain/issues/13082 | 1,984,273,473 | 13,082 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain cloned
peortry with python v3.11.4
openai v1.1.1
### 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... | Tests are failing in local development | https://api.github.com/repos/langchain-ai/langchain/issues/13081/comments | 5 | 2023-11-08T19:12:43Z | 2024-02-14T16:06:28Z | https://github.com/langchain-ai/langchain/issues/13081 | 1,984,239,004 | 13,081 |
[
"hwchase17",
"langchain"
] | ### System Info
version 0.0.331
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document L... | how to use reranker model with langchain in retrievalQA case? | https://api.github.com/repos/langchain-ai/langchain/issues/13076/comments | 20 | 2023-11-08T18:06:30Z | 2024-07-31T16:06:20Z | https://github.com/langchain-ai/langchain/issues/13076 | 1,984,144,941 | 13,076 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Using LCEL as suggested on the [docs](https://python.langchain.com/docs/modules/agents/), combined with `AgentExecutor`, generates a typing error when passing the runnable agent to the `AgentExecutor` constructor. This is because `AgentExecutor` defines its `agent` property as of type ... | Issue: AgentExecutor typings should accept Runnable for the agent property (to support LCEL agent) | https://api.github.com/repos/langchain-ai/langchain/issues/13075/comments | 3 | 2023-11-08T18:05:14Z | 2024-05-21T05:05:21Z | https://github.com/langchain-ai/langchain/issues/13075 | 1,984,143,084 | 13,075 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi, I'd like to request a feature for a `AnthropicFunctionsAgent` built on top of `AnthropicFunctions` and ideally compatible with `create_conversational_retrieval_agent`.
### Motivation
Everyone working with Anthropic models could use an Agents class!
### Your contribution
Can't curr... | [Feature Request] AnthropicFunctionsAgent | https://api.github.com/repos/langchain-ai/langchain/issues/13073/comments | 2 | 2023-11-08T17:29:21Z | 2024-02-14T16:06:33Z | https://github.com/langchain-ai/langchain/issues/13073 | 1,984,087,808 | 13,073 |
[
"hwchase17",
"langchain"
] | ### System Info
python==3.11
langchain==0.0.326
ollama==v0.1.8
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Out... | Running Ollama asynchronously generates a warning: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited (langchain/llms/ollama.py:164) | https://api.github.com/repos/langchain-ai/langchain/issues/13072/comments | 5 | 2023-11-08T17:23:48Z | 2024-04-02T16:06:09Z | https://github.com/langchain-ai/langchain/issues/13072 | 1,984,077,044 | 13,072 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Related to the #13036.
I've searched in the LangChain documentation by "Search" button and didn't find existing example which was in `cookbooks`.
### Idea or request for content:
Is it possible to add `cookbooks` into the Documentation search? Or maybe right into the Main... | DOC: no `cookbooks` search | https://api.github.com/repos/langchain-ai/langchain/issues/13070/comments | 4 | 2023-11-08T16:48:44Z | 2024-02-07T16:43:40Z | https://github.com/langchain-ai/langchain/issues/13070 | 1,984,016,062 | 13,070 |
[
"hwchase17",
"langchain"
] | ### System Info
Unix and Windows
### 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 Parse... | PyPI versions issue e.g. langchain==0.0.331 is not newer than langchain==0.0.79 | https://api.github.com/repos/langchain-ai/langchain/issues/13069/comments | 3 | 2023-11-08T16:23:02Z | 2023-11-16T12:28:10Z | https://github.com/langchain-ai/langchain/issues/13069 | 1,983,971,005 | 13,069 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The agent(STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION) sometimes does not respond the "Final Answer" instead of the AI's thought.
### Actual result:
The human is asking for the default xxxxxx. The tool has provided the information. I will now relay this information to the human.
... | Issue: STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION sometimes not return the "Final Answer" | https://api.github.com/repos/langchain-ai/langchain/issues/13065/comments | 2 | 2023-11-08T15:22:08Z | 2024-02-16T16:07:16Z | https://github.com/langchain-ai/langchain/issues/13065 | 1,983,852,453 | 13,065 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version pinned to "^0.0.278" (using Poetry)
Python 3.11.5
Other modules from langchain (such as langchain.cache and langchain.chains) are imported within the same file in the application code and are able to be found. Only the `langchain.globals` module is not being recognized
### Who ca... | Seeing an error ModuleNotFoundError: No module named 'langchain.globals' | https://api.github.com/repos/langchain-ai/langchain/issues/13064/comments | 3 | 2023-11-08T15:22:05Z | 2024-05-05T16:05:37Z | https://github.com/langchain-ai/langchain/issues/13064 | 1,983,852,320 | 13,064 |
[
"hwchase17",
"langchain"
] | ### System Info
Using Google Colab Free version with T4 GPU.
chromadb==0.4.16
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts... | ChromaDb EmbeddingFunction definition updated | https://api.github.com/repos/langchain-ai/langchain/issues/13061/comments | 11 | 2023-11-08T14:11:41Z | 2024-08-02T17:38:51Z | https://github.com/langchain-ai/langchain/issues/13061 | 1,983,705,244 | 13,061 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When initializing the langchain UntructuredPDFLoader e.g. as follows
` loader = UnstructuredPDFLoader(downloaded_file, mode='elements')`
This method calls the following function (see langchain/document_loaders/pdf.py):
` class UnstructuredPDFLoader(UnstructuredFileLoader): `
... | Issue: UnstructuredPDFLoader doesn't support Unstructured functionalities | https://api.github.com/repos/langchain-ai/langchain/issues/13060/comments | 1 | 2023-11-08T13:38:53Z | 2024-02-14T16:06:43Z | https://github.com/langchain-ai/langchain/issues/13060 | 1,983,638,100 | 13,060 |
[
"hwchase17",
"langchain"
] | I have 4 tools which return responses of apis inside function. Now I want to build a system that only returns the response of api without any observations. Also agents should have memories.
Is it possible with a langchain agent. If yes can you tell me how ??? | Langchain agent which only returns tools response without observations. | https://api.github.com/repos/langchain-ai/langchain/issues/13059/comments | 4 | 2023-11-08T13:05:28Z | 2024-02-14T16:06:48Z | https://github.com/langchain-ai/langchain/issues/13059 | 1,983,572,989 | 13,059 |
[
"hwchase17",
"langchain"
] | ### System Info
last version of langchain and cohere
### Who can help?
@@agola11
I am encountering an error related to the user_agent when attempting to create a CohererRank object in the LangChain p. I have verified that I am passing a valid cohere_api_key and can successfully use the rerank function from Cohere d... | Issue with user_agent error when creating a CohereReRank object in LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/13058/comments | 3 | 2023-11-08T12:38:34Z | 2024-03-13T19:58:09Z | https://github.com/langchain-ai/langchain/issues/13058 | 1,983,512,624 | 13,058 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version = 0.0.331
Openai version = 1.1.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
-... | Updated to latest langchain version but still getting OpenAI embeddings error | https://api.github.com/repos/langchain-ai/langchain/issues/13056/comments | 6 | 2023-11-08T12:01:41Z | 2024-02-19T16:07:45Z | https://github.com/langchain-ai/langchain/issues/13056 | 1,983,440,119 | 13,056 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.11.5
Langchain (pip show) 0.0.327
Windows OS
Visual Studio Code
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates ... | ValueError: Missing some input keys: - passed data requires input keys if containing { } | https://api.github.com/repos/langchain-ai/langchain/issues/13055/comments | 3 | 2023-11-08T12:01:05Z | 2023-11-08T18:52:53Z | https://github.com/langchain-ai/langchain/issues/13055 | 1,983,439,114 | 13,055 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.331
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ] Docume... | The prompt word format misleads the output content of the large model | https://api.github.com/repos/langchain-ai/langchain/issues/13054/comments | 5 | 2023-11-08T09:54:19Z | 2024-04-04T15:31:33Z | https://github.com/langchain-ai/langchain/issues/13054 | 1,983,196,438 | 13,054 |
[
"hwchase17",
"langchain"
] | ### System Info
# Hi there,
I have started learning about Langchain today. I was creating my first langchain prompt template but something doesn't seem to work.
Here is my code in main.py:
```python
from openai import OpenAI
from dotenv import load_dotenv
from langchain.prompts import PromptTemplate
from lang... | OpenAI instance of Runnable expected | https://api.github.com/repos/langchain-ai/langchain/issues/13053/comments | 7 | 2023-11-08T09:27:14Z | 2024-02-17T07:04:10Z | https://github.com/langchain-ai/langchain/issues/13053 | 1,983,141,722 | 13,053 |
[
"hwchase17",
"langchain"
] | ### System Info
AWS Sagemaker DataScience3.0 Image.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pars... | Bug after the openai updated in Embedding | https://api.github.com/repos/langchain-ai/langchain/issues/13051/comments | 23 | 2023-11-08T07:56:36Z | 2024-04-02T12:17:34Z | https://github.com/langchain-ai/langchain/issues/13051 | 1,982,969,374 | 13,051 |
[
"hwchase17",
"langchain"
] | ### System Info
Running on google colab.
Everything was working up until today, which makes me think it's openAi update-related.
Versions:
Requirement already satisfied: langchain in /usr/local/lib/python3.10/dist-packages (**0.0.331**)
Requirement already satisfied: chromadb in /usr/local/lib/python3.10/dist-p... | Multiple values for keyword argument 'embedding_function' | https://api.github.com/repos/langchain-ai/langchain/issues/13050/comments | 4 | 2023-11-08T07:26:31Z | 2024-04-05T19:39:47Z | https://github.com/langchain-ai/langchain/issues/13050 | 1,982,926,699 | 13,050 |
[
"hwchase17",
"langchain"
] | ### System Info
Windows WSL 2 Ubuntu
Python 3.10.6
langchain-0.0.331 langchain-cli-0.0.15 langserve-0.0.24 langsmith-0.0.60
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding ... | No module named 'langserve.packages' when creating langchain-cli apps | https://api.github.com/repos/langchain-ai/langchain/issues/13049/comments | 12 | 2023-11-08T07:02:02Z | 2023-11-14T18:24:49Z | https://github.com/langchain-ai/langchain/issues/13049 | 1,982,890,810 | 13,049 |
[
"hwchase17",
"langchain"
] |
from langchain.document_loaders import UnstructuredExcelLoader
loader = UnstructuredExcelLoader("example_data/stanley-cups.xlsx", mode="elements")
docs = loader.load()
docs[0]
in the above it gives ouput as
Document(page_content='\n \n \n Team\n Location\n Stanley Cups\n \n ... | Issue: UnstructuredExcelLoader | https://api.github.com/repos/langchain-ai/langchain/issues/13047/comments | 3 | 2023-11-08T06:49:27Z | 2024-02-14T16:07:08Z | https://github.com/langchain-ai/langchain/issues/13047 | 1,982,871,020 | 13,047 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
新的chatgpt可以直接帮助人类分析,规划,似乎已经脱离了原本的软件开发模式,从人设计,到了ai设计了,langchain是不是已经过时了?
### Suggestion:
_No response_ | 看了新的OpenAI开发者大会,langchain还有存在的必要吗 | https://api.github.com/repos/langchain-ai/langchain/issues/13046/comments | 6 | 2023-11-08T06:46:32Z | 2024-02-14T16:07:13Z | https://github.com/langchain-ai/langchain/issues/13046 | 1,982,867,010 | 13,046 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using github tools along with an agent following example given (https://python.langchain.com/docs/integrations/toolkits/github), but the comment_on_issue tool is not able to parse the Action Input given by agent (the format seems to be same as given in the prompts), there seems to b... | help: github util `comment_on_issue` unable to parse `action input` from agent | https://api.github.com/repos/langchain-ai/langchain/issues/13045/comments | 4 | 2023-11-08T06:38:13Z | 2023-11-12T18:52:11Z | https://github.com/langchain-ai/langchain/issues/13045 | 1,982,856,821 | 13,045 |
[
"hwchase17",
"langchain"
] | @dosu-bot
Below is my code and everytime I ask it a question, it rephrases the question then answers it for me. Help me to remove the rephrasing part. I did set it to False yet it still does it.
Also, I would like to return the source of the documents but its showing me this error:
File "C:\Users\Asus\Documents\... | My LLM keeps rephrasing the question and it doesnt return source documents | https://api.github.com/repos/langchain-ai/langchain/issues/13044/comments | 6 | 2023-11-08T06:06:50Z | 2024-02-27T01:13:22Z | https://github.com/langchain-ai/langchain/issues/13044 | 1,982,815,371 | 13,044 |
[
"hwchase17",
"langchain"
] | @dosu-bot
Below is my code and everytime I ask it a question, it rephrases the question then answers it for me. Help me to remove the rephrasing part. I did set it to False yet it still does it.
Also, I would like to return the source of the documents but its showing me this error:
File "C:\Users\Asus\Documents... | My llm keeps rephrasing question and it doesnt return source documents | https://api.github.com/repos/langchain-ai/langchain/issues/13043/comments | 1 | 2023-11-08T04:59:18Z | 2024-02-14T16:07:23Z | https://github.com/langchain-ai/langchain/issues/13043 | 1,982,743,038 | 13,043 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Langchain.llm matches the vllm model, can it also match the fastllm model?
### Suggestion:
_No response_ | fastllm model | https://api.github.com/repos/langchain-ai/langchain/issues/13037/comments | 2 | 2023-11-08T01:06:34Z | 2024-02-14T16:07:28Z | https://github.com/langchain-ai/langchain/issues/13037 | 1,982,528,151 | 13,037 |
[
"hwchase17",
"langchain"
] | ### Feature request
[This idea](https://arxiv.org/abs/2310.06117) is promising and it can be implemented with LangChain
### Motivation
To add a new chaining technique.
### Your contribution
I'm not sure I can implement it. | Step-Back Prompting | https://api.github.com/repos/langchain-ai/langchain/issues/13036/comments | 4 | 2023-11-08T00:58:46Z | 2023-11-08T16:56:36Z | https://github.com/langchain-ai/langchain/issues/13036 | 1,982,516,375 | 13,036 |
[
"hwchase17",
"langchain"
] | ### Feature request
[Chain-of-Verification](https://arxiv.org/pdf/2309.11495.pdf) looks like an interesting idea and LangChain can implement it.
### Motivation
to add one more effective method of the chaining.
### Your contribution
Not sure I can implement it. :( | Chain-of-Verification | https://api.github.com/repos/langchain-ai/langchain/issues/13035/comments | 10 | 2023-11-08T00:48:40Z | 2024-02-09T16:45:57Z | https://github.com/langchain-ai/langchain/issues/13035 | 1,982,507,472 | 13,035 |
[
"hwchase17",
"langchain"
] | ### Description
Compatibility issue with the Langchain library due to the recent changes in the OpenAI Python package (version 1.1.1). The Langchain library relies on certain structures and imports from the OpenAI package, which have been modified in the new version. Specifically, the issue seems to be related to th... | Compatibility Issue with OpenAI Python Package (Version 1.1.1) | https://api.github.com/repos/langchain-ai/langchain/issues/13027/comments | 15 | 2023-11-07T22:18:36Z | 2024-03-01T20:03:05Z | https://github.com/langchain-ai/langchain/issues/13027 | 1,982,332,029 | 13,027 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How can I run embedding with "gte-large" on a multi-GPU machine?
Trying per issue #3486
```
model_name = "thenlper/gte-large"
encode_kwargs = {"normalize_embeddings": True}
model_kwargs = {"device": "cuda", "multi_process":True}
hf = HuggingFaceBgeEmbeddings(
model_name... | Embedding on Multi-GPU | https://api.github.com/repos/langchain-ai/langchain/issues/13026/comments | 3 | 2023-11-07T21:39:50Z | 2024-02-13T16:06:47Z | https://github.com/langchain-ai/langchain/issues/13026 | 1,982,276,784 | 13,026 |
[
"hwchase17",
"langchain"
] | ### Feature request
Load complex PDFs similar to:
https://github.com/langchain-ai/langchain/blob/master/cookbook/Semi_Structured_RAG.ipynb
### Motivation
RAG apps that need complex data loading
### Your contribution
Add template | [Loader template] Unstructured pdf partition to vectorstore | https://api.github.com/repos/langchain-ai/langchain/issues/13024/comments | 3 | 2023-11-07T21:11:05Z | 2024-02-13T20:05:39Z | https://github.com/langchain-ai/langchain/issues/13024 | 1,982,234,376 | 13,024 |
[
"hwchase17",
"langchain"
] | ### Feature request
Feature request
We can take advantage from pinecone parallel upsert (see example: https://docs.pinecone.io/docs/insert-data#sending-upserts-in-parallel)
This will require modification of the current `add_texts` pipeline.
Create a batch (chunk) for doing embeddings (ie have a chunk size of 10... | Support Pinecone Hybrid Search upsert parallelization | https://api.github.com/repos/langchain-ai/langchain/issues/13017/comments | 2 | 2023-11-07T19:54:54Z | 2024-02-13T16:06:57Z | https://github.com/langchain-ai/langchain/issues/13017 | 1,982,113,086 | 13,017 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have a STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION agent which uses a QA (retreival based) tool to answer questions. The QA tool returns references in the response. However the final answer provided by the agent is missing the sources. What can I do to ensure that sources are provided ... | Issue: Sources are lost in the final_answer by agents | https://api.github.com/repos/langchain-ai/langchain/issues/13011/comments | 8 | 2023-11-07T18:07:48Z | 2024-02-23T16:07:02Z | https://github.com/langchain-ai/langchain/issues/13011 | 1,981,937,876 | 13,011 |
[
"hwchase17",
"langchain"
] | ### System Info
https://python.langchain.com/docs/integrations/llms/huggingface_hub
I followed this documentation and increased max_length. But, It seems like the response max_length not increasing. At max, I would get the response text with 110 characters. Please help me to fix my issue
<img width="528" alt="... | Max Characters doesn't increase when value is updated | https://api.github.com/repos/langchain-ai/langchain/issues/13009/comments | 3 | 2023-11-07T17:31:54Z | 2024-02-13T16:07:02Z | https://github.com/langchain-ai/langchain/issues/13009 | 1,981,874,805 | 13,009 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to create a rag using langchain, aws bedrock and opensearch. For I created an index using the code,
```
from opensearchpy import OpenSearch
aos_client = OpenSearch(
hosts=[{"host": opensearch_cluster_domain, "port": ops_port}],
http_auth=auth,
u... | Issue: Opensearch retiever threshold based on similarity score | https://api.github.com/repos/langchain-ai/langchain/issues/13007/comments | 6 | 2023-11-07T16:52:58Z | 2024-02-17T16:06:23Z | https://github.com/langchain-ai/langchain/issues/13007 | 1,981,801,097 | 13,007 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi there,
Thank a lot for the amazing framework. More or less all vector stores must be used with `<CLASS>.from_documents` because the classmethod in almost every case does some weird pre processing (e.g. setting the vector config taken from only god knows where etc).
For instance
```pytho... | Using Vector stores without being forced to use classmethod | https://api.github.com/repos/langchain-ai/langchain/issues/13005/comments | 4 | 2023-11-07T16:08:47Z | 2024-04-30T16:13:59Z | https://github.com/langchain-ai/langchain/issues/13005 | 1,981,716,853 | 13,005 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi everyone,
I am receveing the following error message when following your [documentation on the summarization.]( https://python.langchain.com/docs/use_cases/summarization): AttributeError: 'NoneType' object has no attribute 'startswith'
Any ideas what the problem is?
Looks like this is po... | map_reduce Summarization results in AttributeError: 'NoneType' object has no attribute 'startswith' | https://api.github.com/repos/langchain-ai/langchain/issues/13004/comments | 3 | 2023-11-07T15:58:05Z | 2024-02-13T16:07:12Z | https://github.com/langchain-ai/langchain/issues/13004 | 1,981,693,748 | 13,004 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.