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.
I am trying to instantiate 2 LLMChains, each of which should use a SystemMessagePromptTemplate to specify the way that it should communicate. Both are using the same LLM from the HF pipeline.
The following code gives the error "ValidationError: 1 validation error for LLMChain prompt ... | Issue: LLMChain throwing abstract class BasePromptTemplate error, even when the prompt templates used are not abstract. | https://api.github.com/repos/langchain-ai/langchain/issues/8266/comments | 5 | 2023-07-26T02:12:59Z | 2024-02-28T07:48:47Z | https://github.com/langchain-ai/langchain/issues/8266 | 1,821,455,583 | 8,266 |
[
"hwchase17",
"langchain"
] | ### System Info
Latest langchain version 0.0.240
with agent type STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION and memory, it failed to add chat memory if input format is json or dict.
For example
agent_chain = initialize_agent(tools
, chat
... | with agent type STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, failed to add chat memory if input format is json or dict | https://api.github.com/repos/langchain-ai/langchain/issues/8264/comments | 2 | 2023-07-26T01:32:48Z | 2023-11-01T16:05:25Z | https://github.com/langchain-ai/langchain/issues/8264 | 1,821,422,356 | 8,264 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain verion: 0.0.237
python version: 3.11.4
### Who can help?
@hwchase17
When loading an OWL graph in the following code, an exception occurs that says: "Exception has occurred: KeyError 'op'". It appears that RFGraph class is having trouble with the owl standard specifically.
```from ... | langchain.graph RDFGraph does not read OWL | https://api.github.com/repos/langchain-ai/langchain/issues/8263/comments | 2 | 2023-07-26T01:31:14Z | 2023-07-27T00:27:18Z | https://github.com/langchain-ai/langchain/issues/8263 | 1,821,421,277 | 8,263 |
[
"hwchase17",
"langchain"
] | ### System Info
Here is my code:
```from langchain.vectorstores import Chroma
from langchain.embeddings.openai import OpenAIEmbeddings
persist_directory = 'docs/chroma/'
embedding = OpenAIEmbeddings(request_timeout=60)
vectordb = Chroma(persist_directory=persist_directory, embedding_function=embedding)
questio... | Retrying langchain.embeddings.openai.embed_with_retry | https://api.github.com/repos/langchain-ai/langchain/issues/8259/comments | 5 | 2023-07-26T00:22:33Z | 2023-11-03T16:06:02Z | https://github.com/langchain-ai/langchain/issues/8259 | 1,821,358,055 | 8,259 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.10 with langchain 0.0.242
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- ... | Using 'generate' as early_stopping_method raises ValueError when trying to return the stopped response | https://api.github.com/repos/langchain-ai/langchain/issues/8249/comments | 4 | 2023-07-25T19:32:42Z | 2024-01-16T18:18:27Z | https://github.com/langchain-ai/langchain/issues/8249 | 1,821,003,148 | 8,249 |
[
"hwchase17",
"langchain"
] | ### System Info
Matching Engine uses the wrong method "embed_documents" for embedding the query. Therefore when using things like HyDE, it just embeds the query verbatim without first running a chain to generate a hypothetical answer.
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official ... | Matching Engine uses the wrong method "embed_documents" for embedding the query | https://api.github.com/repos/langchain-ai/langchain/issues/8240/comments | 5 | 2023-07-25T16:40:56Z | 2024-05-13T16:08:13Z | https://github.com/langchain-ai/langchain/issues/8240 | 1,820,720,366 | 8,240 |
[
"hwchase17",
"langchain"
] | ### System Info
platform = mac m2
python = 3.11
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | Getting invalid input variable in prompt template using load_evaluator | https://api.github.com/repos/langchain-ai/langchain/issues/8229/comments | 2 | 2023-07-25T12:31:39Z | 2023-10-31T16:04:54Z | https://github.com/langchain-ai/langchain/issues/8229 | 1,820,232,219 | 8,229 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/integrations/document_loaders/email
above link tells how to load email file but how to download .msg outlook mail file?
### Idea or request for content:
Please include link for how to get email .msg file as mentioned on https://python.langchai... | DOC: <Please write a comprehensive title after the 'DOC: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8228/comments | 4 | 2023-07-25T12:30:40Z | 2023-11-09T16:13:25Z | https://github.com/langchain-ai/langchain/issues/8228 | 1,820,230,066 | 8,228 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.232
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
... | TimeoutError: The read operation timed out on return self._sslobj.read(len, buffer) | https://api.github.com/repos/langchain-ai/langchain/issues/8227/comments | 2 | 2023-07-25T12:19:16Z | 2023-10-31T16:05:00Z | https://github.com/langchain-ai/langchain/issues/8227 | 1,820,205,260 | 8,227 |
[
"hwchase17",
"langchain"
] | ### System Info
- langchain: 0.0.240
- openai: 0.27.8
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors... | langchain.schema.output_parser.OutputParserException | https://api.github.com/repos/langchain-ai/langchain/issues/8226/comments | 5 | 2023-07-25T11:55:23Z | 2023-12-08T16:05:55Z | https://github.com/langchain-ai/langchain/issues/8226 | 1,820,165,129 | 8,226 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: langchain==0.0.229
Platform: MacOS 12.6.2
Python version: 3.9.6
Issue:
I am using the PlanAndExecute agent with a tool that generates image as well as the HumanInputRun tool. The behaviour I'm trying to achieve is that, if I give a prompt asking to 'Generate a digital artwork... | PlanAndExecute agent doesn't always prompt for user input when the action is HumanInputRun tool | https://api.github.com/repos/langchain-ai/langchain/issues/8223/comments | 2 | 2023-07-25T10:33:42Z | 2024-06-19T19:24:12Z | https://github.com/langchain-ai/langchain/issues/8223 | 1,820,041,030 | 8,223 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain = 0.0.240
python = 3.9.13
OS = Windows 11
### 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... | PDFLoader metadata.source points to temp file path rather than pdf url | https://api.github.com/repos/langchain-ai/langchain/issues/8222/comments | 8 | 2023-07-25T09:47:49Z | 2023-11-26T16:07:44Z | https://github.com/langchain-ai/langchain/issues/8222 | 1,819,944,603 | 8,222 |
[
"hwchase17",
"langchain"
] | ### System Info
Versions:
```text
langchain==0.0.240
google-cloud-discoveryengine==0.9.1
google-cloud-aiplatform==1.28.1
```
`GoogleCloudEnterpriseSearchRetriever` it consistently returns zero results without error.
Workarounds / Validations attempted:
* If I put invalid values (e.g. an invalid engine)... | GoogleCloudEnterpriseSearchRetriever consistently returns no results | https://api.github.com/repos/langchain-ai/langchain/issues/8219/comments | 10 | 2023-07-25T09:02:39Z | 2023-12-21T16:07:25Z | https://github.com/langchain-ai/langchain/issues/8219 | 1,819,868,243 | 8,219 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The refactoring changes in this [PR](https://github.com/langchain-ai/langchain/pull/7959) which changed the path of files from `langchain/*` to `libs/langchain/langchain/*`. But, the corresponding import statements are not refactored which is causing the tests to fail during local deve... | Issue: Refactoring Changes Breaking the Tests | https://api.github.com/repos/langchain-ai/langchain/issues/8217/comments | 1 | 2023-07-25T05:04:59Z | 2023-07-26T17:07:07Z | https://github.com/langchain-ai/langchain/issues/8217 | 1,819,559,886 | 8,217 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
With GoogleSerperAPIWrapper(type="news"), how do I config to get the result in the past 24 hours?
### Suggestion:
_No response_ | Issue: How do I search for the result in the past 24 hours with GoogleSerperAPIWrapper | https://api.github.com/repos/langchain-ai/langchain/issues/8216/comments | 5 | 2023-07-25T04:23:46Z | 2023-12-19T12:18:27Z | https://github.com/langchain-ai/langchain/issues/8216 | 1,819,526,632 | 8,216 |
[
"hwchase17",
"langchain"
] | ### System Info
pymilvus: 2.2.0
langchain: 0.0.219
python: 3.10
openai: 0.27.6
### 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 / Prom... | Unable to delete an entity by ID when utilizing 'vectorstore.delete(ids)' through 'langchain.vectorstor.milvus'. | https://api.github.com/repos/langchain-ai/langchain/issues/8215/comments | 3 | 2023-07-25T04:12:18Z | 2023-11-01T02:11:05Z | https://github.com/langchain-ai/langchain/issues/8215 | 1,819,518,167 | 8,215 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
When using document search from the existing Pinecone index that was created using Cosine **Similarity** in the `ConversationalRetrievalChain`, the `score_theshold` would eliminate most relevant documents instead of least relevant ones because the _similarity_ metric will be converted t... | Issue: Pinecone retriever with Cosine Similarity is treated like Cosine Distance | https://api.github.com/repos/langchain-ai/langchain/issues/8207/comments | 2 | 2023-07-24T22:23:33Z | 2023-11-13T19:47:39Z | https://github.com/langchain-ai/langchain/issues/8207 | 1,819,234,460 | 8,207 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
```
dosearch = Pinecone.from_texts([t.page_content for t in split_docs], embeddings, index_name=index_name)
```
when I upsert the documents to Pinecone, If I want to get all the ids from `dosearch`, how I can do?
### Suggestion:
_No response_ | Issue: how to get infomation when using Pinecone.from_texts | https://api.github.com/repos/langchain-ai/langchain/issues/8204/comments | 1 | 2023-07-24T21:55:41Z | 2023-07-25T00:06:56Z | https://github.com/langchain-ai/langchain/issues/8204 | 1,819,203,715 | 8,204 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The Apify integration has been delete by @hwchase17 in commit aa0e69bc98fa9c77b01e5104f12b2b779f64fd33 and thus this documentation is not valid anymore:
https://python.langchain.com/docs/integrations/tools/apify
### Idea or request for content:
It would be highly benefi... | DOC: Apify integration missing | https://api.github.com/repos/langchain-ai/langchain/issues/8201/comments | 3 | 2023-07-24T19:46:13Z | 2023-12-08T16:06:00Z | https://github.com/langchain-ai/langchain/issues/8201 | 1,819,030,275 | 8,201 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add support llama-cpp verbose argument
### Motivation
missing
### Your contribution
Just add it in the init():
..........
streaming: bool = True
"""Whether to stream the results, token by token."""
verbose: bool = True
@root_validator()
def validate_environ... | Does not support llama-cpp verbose argument | https://api.github.com/repos/langchain-ai/langchain/issues/8200/comments | 2 | 2023-07-24T19:33:03Z | 2023-10-30T16:04:43Z | https://github.com/langchain-ai/langchain/issues/8200 | 1,819,010,028 | 8,200 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hybrid search for Supabase in the python version of Langchain would be much appreciated:
[Supabase Hybrid Search](https://js.langchain.com/docs/modules/data_connection/retrievers/integrations/supabase-hybrid/)
[langchain/src/retrievers/supabase.ts](https://github.com/hwchase17/langchainjs/blo... | SupabaseHybridSearch as in langchainjs | https://api.github.com/repos/langchain-ai/langchain/issues/8194/comments | 2 | 2023-07-24T18:44:22Z | 2024-04-10T16:18:48Z | https://github.com/langchain-ai/langchain/issues/8194 | 1,818,945,223 | 8,194 |
[
"hwchase17",
"langchain"
] | ### System Info
I am getting an error on FAISS.from_documents(). "openai.error.InvalidRequestError: Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.embedding.Embedding'>" I tried everything and did they change something recently? This code worked fine and now it doesn't n... | Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.embedding.Embedding'> | https://api.github.com/repos/langchain-ai/langchain/issues/8190/comments | 7 | 2023-07-24T17:47:03Z | 2023-12-08T16:10:32Z | https://github.com/langchain-ai/langchain/issues/8190 | 1,818,861,918 | 8,190 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain == 0.0.240
Python 3.10.9
### 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 Par... | AttributeError: 'Redis' object has no attribute '_Redis__get_retriever_tags'. Did you mean: '_VectorStore__get_retriever_tags'? | https://api.github.com/repos/langchain-ai/langchain/issues/8185/comments | 7 | 2023-07-24T16:43:01Z | 2023-11-06T16:06:35Z | https://github.com/langchain-ai/langchain/issues/8185 | 1,818,775,624 | 8,185 |
[
"hwchase17",
"langchain"
] | null | AttributeError: 'Redis' object has no attribute '_Redis__get_retriever_tags'. Did you mean: '_VectorStore__get_retriever_tags'? | https://api.github.com/repos/langchain-ai/langchain/issues/8184/comments | 0 | 2023-07-24T15:55:00Z | 2023-07-24T16:39:27Z | https://github.com/langchain-ai/langchain/issues/8184 | 1,818,702,146 | 8,184 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi there, I've been trying to come up with a system that can do the following:
1. take in a string as input (much longer len than the 512 token limit of the flan-t5-large model I'm using)
2. Use vector db (currently using FAISS) + langchain to index and query for relevant chunks
3... | Issue: Using HuggingFace Inference Endpoint as LLM in QA Chain | https://api.github.com/repos/langchain-ai/langchain/issues/8181/comments | 4 | 2023-07-24T14:21:40Z | 2023-10-31T16:05:25Z | https://github.com/langchain-ai/langchain/issues/8181 | 1,818,532,496 | 8,181 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hi,
The integration document for langchain with AWS sagemaker has been removed.
Do we have an updated doc for that.
[https://python.langchain.com/docs/modules/model_io/models/llms/integrations/sagemaker.html](url)
### Idea or request for content:
_No response_ | DOC: Langchain integration with sagemaker missing | https://api.github.com/repos/langchain-ai/langchain/issues/8178/comments | 2 | 2023-07-24T12:20:04Z | 2023-07-25T01:55:26Z | https://github.com/langchain-ai/langchain/issues/8178 | 1,818,312,666 | 8,178 |
[
"hwchase17",
"langchain"
] | ### System Info
python = 3.10
langchain = 0.0.222
### 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... | Redis scores seems to be sorted from lowest to highest (with cosine) | https://api.github.com/repos/langchain-ai/langchain/issues/8177/comments | 7 | 2023-07-24T11:40:47Z | 2023-12-19T09:02:13Z | https://github.com/langchain-ai/langchain/issues/8177 | 1,818,244,391 | 8,177 |
[
"hwchase17",
"langchain"
] | ### Feature request
Provide a way to use instructor-based embeddings with dynamic instructions.
### Motivation
Currently HuggingFaceInstructEmbeddings initialized with instruction. This create problems with using multiple instructions, because this basically force you to initialize different instance for each instru... | Dynamic instruction for instructor embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/8176/comments | 1 | 2023-07-24T11:30:33Z | 2023-10-30T16:04:53Z | https://github.com/langchain-ai/langchain/issues/8176 | 1,818,227,516 | 8,176 |
[
"hwchase17",
"langchain"
] | ### System Info
[Basic Langchain Q&A use case example](https://python.langchain.com/docs/use_cases/question_answering/) throws ValueError when `<html>` tag of website doesn't set `lang` attribute.
In particular, `WebBaseLoader` parses the website soup metadata with:
```
def _build_metadata(soup: Any, url: str... | Basic Langchain Q&A use case example throws ValueError when `<html>` tag of website doesn't set `lang` attribute. | https://api.github.com/repos/langchain-ai/langchain/issues/8174/comments | 2 | 2023-07-24T11:16:52Z | 2023-07-25T11:09:57Z | https://github.com/langchain-ai/langchain/issues/8174 | 1,818,206,096 | 8,174 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using FAISS vector store for storing the vector embeddings of the documents and retrieving the relevant document with respect to the query. My question is that `FAISS` does not store the embeddings permanently, instead it stores it in RAM and when running the code once again, it sim... | How to use MongoDB to store vector embeddings and during extracting the relevant document, using `FAISS` for similarity search based document relevancy? | https://api.github.com/repos/langchain-ai/langchain/issues/8170/comments | 11 | 2023-07-24T08:50:57Z | 2024-02-29T10:28:34Z | https://github.com/langchain-ai/langchain/issues/8170 | 1,817,948,424 | 8,170 |
[
"hwchase17",
"langchain"
] | ### System Info
1. Python 3.10
2. Langchain 0.0.240
3. Mac OSX Monterey Intel Processor
### Who can help?
@hwchase17
@ago
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prom... | Cannot use CombinedMemory with VectorStoreRetrieverMemory and ConversationBufferMemory for ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/8168/comments | 0 | 2023-07-24T08:00:27Z | 2023-07-24T10:24:13Z | https://github.com/langchain-ai/langchain/issues/8168 | 1,817,863,224 | 8,168 |
[
"hwchase17",
"langchain"
] | ### Feature request
There might be scenarios where transformations and joins will need to be applied on tables from different schemas but currently, the code only supports a single schema query structure.
### Motivation
I am working on Databricks Unity Catalog Query Assistant feature for a Product and need this chan... | Supporting Multiple Schemas for SQL Query Generation in Databricks | https://api.github.com/repos/langchain-ai/langchain/issues/8167/comments | 2 | 2023-07-24T07:42:28Z | 2023-11-04T16:05:01Z | https://github.com/langchain-ai/langchain/issues/8167 | 1,817,835,890 | 8,167 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi langchain team!
I'd like to contribute this feature to the langchain document loaders.
There are multiple pros for using Adobe API instead of the existing libraries for converting pdf to text and other metadata; e.g, adobe API allows for extraction of tables and figures in pdf documents a... | Adding Adobe PDF extraction API as an additional langchain document loader | https://api.github.com/repos/langchain-ai/langchain/issues/8163/comments | 4 | 2023-07-24T05:21:58Z | 2024-02-04T17:54:13Z | https://github.com/langchain-ai/langchain/issues/8163 | 1,817,645,290 | 8,163 |
[
"hwchase17",
"langchain"
] | ### Feature request
support for llama models for petals module
### Motivation
i'm furstated when i want to use petals (distributed model) for llama2, my gpu is not enough to run all models
### Your contribution
- | langchain.llms.Petals doesnt support llama models | https://api.github.com/repos/langchain-ai/langchain/issues/8161/comments | 2 | 2023-07-24T04:56:39Z | 2023-11-04T16:05:05Z | https://github.com/langchain-ai/langchain/issues/8161 | 1,817,621,937 | 8,161 |
[
"hwchase17",
"langchain"
] | ### System Info
python = ">=3.9,<3.12"
fire = "0.5.0"
pandas = "2.0.2"
sqlalchemy = "2.0.15"
rich = "13.4.1"
mysqlclient = "2.1.1"
pandera = "0.15.1"
openai = "0.27.7"
guidance = "0.0.62"
langchain = "0.0.221"
textual = "^0.29.0"
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official e... | Migration OpenAIEmbedding from Azure to OpenAI reproduce gives an error message "ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions." | https://api.github.com/repos/langchain-ai/langchain/issues/8159/comments | 2 | 2023-07-24T03:58:46Z | 2023-11-03T16:06:27Z | https://github.com/langchain-ai/langchain/issues/8159 | 1,817,560,003 | 8,159 |
[
"hwchase17",
"langchain"
] | ### System Info
from langchain.agents.chat.output_parser import ChatOutputParser
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/__init__.py", line 6, in <module>
from langchain.agents import MRKLChain,... | Error when importing ChatOutputParser: no validator found for <class 're.Pattern'> | https://api.github.com/repos/langchain-ai/langchain/issues/8158/comments | 9 | 2023-07-24T02:00:27Z | 2024-02-14T16:12:38Z | https://github.com/langchain-ai/langchain/issues/8158 | 1,817,456,702 | 8,158 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi,
I'm using version 0.0.105 of langchain (nodejs).
I'm using PDFLoader to embed PDF documents, and I've noticed that the extracted documents do not retain the hyperlinks that were present in the files.
Is there a way to retain them? I couldn't find it in the document or the PDFLoader class.... | Retain links when extracting text using PDFLoader | https://api.github.com/repos/langchain-ai/langchain/issues/8157/comments | 3 | 2023-07-24T01:53:00Z | 2023-07-25T02:05:02Z | https://github.com/langchain-ai/langchain/issues/8157 | 1,817,450,573 | 8,157 |
[
"hwchase17",
"langchain"
] | ### System Info
Good day, I'm attempting to use `create_tagging_chain_pydantic` to tag certain markets wherein a product is used. The product can be used across multiple markets. Unfortunately the chain doesn't appear to respect the `enum` values passed to it for a return type of an array of string (it works correct... | create_tagging_chain returning an array string not respecting enum values | https://api.github.com/repos/langchain-ai/langchain/issues/8156/comments | 2 | 2023-07-24T01:43:31Z | 2023-12-18T23:48:57Z | https://github.com/langchain-ai/langchain/issues/8156 | 1,817,442,875 | 8,156 |
[
"hwchase17",
"langchain"
] | ### Feature request
When I testing MultiRetrievalQAChain in synchronous mode, it worked perfectly. It can choose QA from the right retriever. But when I implement MultiRetrievalQAChain into production with streaming, I need mode async.
anyone can help me ?
TIA
### Motivation
I'm quite frustated when I found Mul... | MultiRetrievalQAChain async mode | https://api.github.com/repos/langchain-ai/langchain/issues/8149/comments | 1 | 2023-07-23T14:24:48Z | 2023-10-29T16:04:26Z | https://github.com/langchain-ai/langchain/issues/8149 | 1,817,148,325 | 8,149 |
[
"hwchase17",
"langchain"
] | ### Feature request
Would like to have YoutubeLoader on Nodejs api
https://api.python.langchain.com/en/latest/document_loaders/langchain.document_loaders.youtube.YoutubeLoader.html#langchain.document_loaders.youtube.YoutubeLoader
### Motivation
The motivation of this is to have the feature to load the transcript ... | YoutubeLoader for nodejs | https://api.github.com/repos/langchain-ai/langchain/issues/8148/comments | 2 | 2023-07-23T13:09:56Z | 2023-11-01T16:06:00Z | https://github.com/langchain-ai/langchain/issues/8148 | 1,817,123,966 | 8,148 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.240
### 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 Par... | RecursiveCharacterTextSplitter overlap sometimes does not work | https://api.github.com/repos/langchain-ai/langchain/issues/8142/comments | 6 | 2023-07-23T05:00:58Z | 2024-02-14T16:12:43Z | https://github.com/langchain-ai/langchain/issues/8142 | 1,816,988,798 | 8,142 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi there,
I've found many scenarios where ConversationalRetrievalChain's attempt to condense a conversation history into a stand-alone question fails, either because the history is too complex or, for example, if the user simply provides an affirmation.
Why do we attempt to conden... | Issue: Why condense the conversational history when Open AI provides a 'messages' field in its API? | https://api.github.com/repos/langchain-ai/langchain/issues/8141/comments | 3 | 2023-07-23T04:01:03Z | 2023-10-23T22:41:46Z | https://github.com/langchain-ai/langchain/issues/8141 | 1,816,978,039 | 8,141 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: ```langchain = "^0.0.236"````
Python 3.10.10
MacOSx 13.4.1 (c) (22F770820d)
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- ... | create_sql_aqent not working with `AgentType.OPENAI_FUNCTIONS` | https://api.github.com/repos/langchain-ai/langchain/issues/8132/comments | 5 | 2023-07-22T16:35:34Z | 2023-10-29T16:04:36Z | https://github.com/langchain-ai/langchain/issues/8132 | 1,816,823,556 | 8,132 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Unable to use metadata filtering of a collection qdrant and then use it in as_retriever function.
### Suggestion:
Qdrant.from_documents should include a filtering method as well to filer on the collection with payload (metadata) | Issue: Using qdrant.as_retriver() to use the filtered data of a collection (filtered on the basis of payload data) | https://api.github.com/repos/langchain-ai/langchain/issues/8126/comments | 5 | 2023-07-22T14:09:54Z | 2023-11-03T16:06:32Z | https://github.com/langchain-ai/langchain/issues/8126 | 1,816,778,695 | 8,126 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.238
System: WSL - Ubuntu
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pa... | call directly the prompt of GPT4All Model | https://api.github.com/repos/langchain-ai/langchain/issues/8125/comments | 2 | 2023-07-22T13:43:02Z | 2023-07-25T08:29:19Z | https://github.com/langchain-ai/langchain/issues/8125 | 1,816,770,103 | 8,125 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How I can change the value of "retriever.llm_chain.prompt" accordingly for specific task to achieve better and accurate results as self Query retrieval isn't working with Open source LLMs it raises following error and there is an issue related to this error that's not yet resolved as w... | Issue: Rewrite SelfQueryRetriever llm prompt for better results | https://api.github.com/repos/langchain-ai/langchain/issues/8123/comments | 1 | 2023-07-22T11:23:10Z | 2023-10-28T16:04:20Z | https://github.com/langchain-ai/langchain/issues/8123 | 1,816,729,475 | 8,123 |
[
"hwchase17",
"langchain"
] | ### System Info
at line 250, self.semantic_hybrid_search function only pass two parameters, query and k. it missing "**kwargs "
241 def similarity_search(
242 self, query: str, k: int = 4, **kwargs: Any
243 ) -> List[Document]:
244 search_type = kwargs.get("search_type", self.search_typ... | missing parameter in similarity_search function in azuresearch.py | https://api.github.com/repos/langchain-ai/langchain/issues/8122/comments | 2 | 2023-07-22T10:43:30Z | 2023-10-28T16:04:25Z | https://github.com/langchain-ai/langchain/issues/8122 | 1,816,718,804 | 8,122 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The hyperlink which should navigate to the Python guide for Prompts seems to be broken.
Affected link -> https://docs.langchain.com/docs/components/prompts/
Click on the `Python Guide` link under the `info` section. It leads to `Page Not Found`.
:
score = 0
for i, data in enumerate(questions):
print(ask_for_info(data["question"], data["options"]))
provide... | Human Tool with websocket | https://api.github.com/repos/langchain-ai/langchain/issues/8095/comments | 5 | 2023-07-21T19:47:10Z | 2023-11-06T18:11:00Z | https://github.com/langchain-ai/langchain/issues/8095 | 1,816,308,692 | 8,095 |
[
"hwchase17",
"langchain"
] | ### Feature request
parse the text in a pdf to determine whether it contains header fields such as From:, To:, Date: etc which make it likely that the original data was an email. if so, return the contents of those fields as Document metadata which can, for example, be used as metadata in a database.
### Motivation
... | retrieve email metadata from email stored as pdf | https://api.github.com/repos/langchain-ai/langchain/issues/8094/comments | 2 | 2023-07-21T19:40:54Z | 2023-10-27T16:04:53Z | https://github.com/langchain-ai/langchain/issues/8094 | 1,816,302,776 | 8,094 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Painless scripting shows an example scoring function here
https://opensearch.org/docs/latest/search-plugins/knn/painless-functions/#get-started-with-k-nns-painless-scripting-functions
You can see that they reference the query vector by `params.query_value`. This is better, in my o... | Issue: OpenSearch painless scripting scoring function could be improved | https://api.github.com/repos/langchain-ai/langchain/issues/8089/comments | 1 | 2023-07-21T18:19:26Z | 2023-10-27T16:04:59Z | https://github.com/langchain-ai/langchain/issues/8089 | 1,816,206,936 | 8,089 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently, The YoutubeLoader class loads transcripts and converts all of them into a single large piece of text loosing all the information regarding when it was said in the video to be able to reference it later.
I understand we cannot have very small/ unpridictable lengths of transcripts, which ... | YoutubeLoader to load documents from transcripts as chunks | https://api.github.com/repos/langchain-ai/langchain/issues/8087/comments | 4 | 2023-07-21T18:16:32Z | 2023-10-28T16:04:30Z | https://github.com/langchain-ai/langchain/issues/8087 | 1,816,203,822 | 8,087 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version 0.0.225
M1 Mac
Python 3.11.3
### Who can help?
@naveentatikonda
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / ... | OpenSearchVectorStore's similarity search functions can't handle k>10 with script_scoring | https://api.github.com/repos/langchain-ai/langchain/issues/8081/comments | 6 | 2023-07-21T16:16:32Z | 2023-10-27T16:05:09Z | https://github.com/langchain-ai/langchain/issues/8081 | 1,816,067,589 | 8,081 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version 0.0.238
openai version 0.27.8
### 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 Selecto... | Calling the OpenAI Functions agent with an empty tool list crashes | https://api.github.com/repos/langchain-ai/langchain/issues/8080/comments | 2 | 2023-07-21T15:52:04Z | 2023-11-01T16:06:10Z | https://github.com/langchain-ai/langchain/issues/8080 | 1,816,034,824 | 8,080 |
[
"hwchase17",
"langchain"
] | Can be fixed by carrying over openapi enum definitions to new `enum` field here:
https://github.com/hwchase17/langchain/blob/95e369b38dfc8fcb55c8d1ac435ad40e326e653d/langchain/chains/openai_functions/openapi.py#L85 | Missing Enum support in OpenAI Functions | https://api.github.com/repos/langchain-ai/langchain/issues/8079/comments | 1 | 2023-07-21T15:15:39Z | 2023-10-27T16:05:19Z | https://github.com/langchain-ai/langchain/issues/8079 | 1,815,982,077 | 8,079 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/model_io/models/llms/integrations/google_vertex_ai_palm - a few things are already outdated.
### Idea or request for content:
_No response_ | DOC: Fix issues related to Vertex AI LLMs | https://api.github.com/repos/langchain-ai/langchain/issues/8074/comments | 0 | 2023-07-21T13:44:36Z | 2023-08-18T05:56:11Z | https://github.com/langchain-ai/langchain/issues/8074 | 1,815,838,663 | 8,074 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
This is that the documentation has to be improved
from langchain.indexes.vectorstore import VectorstoreIndexWrapper
to from langchain.indexes.vectorstore import VectorStoreIndexWrapper
<img width="762" alt="image" src="https://github.com/hwchase17/langchain/assets/32350453/7ef0... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8072/comments | 2 | 2023-07-21T13:24:57Z | 2024-03-18T16:57:29Z | https://github.com/langchain-ai/langchain/issues/8072 | 1,815,807,402 | 8,072 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using langchain 0.0.238, I want to use ConversationBufferMemory with sql-agent-toolkit. Please support in this regard.
I changed prompt :
# flake8: noqa
SQL_PREFIX = """You are an agent designed to interact with a SQL database.
Given an input question, create a syntactically correct {dialect... | unable to implement memory with sql agent toolkit | https://api.github.com/repos/langchain-ai/langchain/issues/8069/comments | 7 | 2023-07-21T12:12:30Z | 2023-10-29T16:04:52Z | https://github.com/langchain-ai/langchain/issues/8069 | 1,815,703,682 | 8,069 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hello, I have a proposal on adding Integration TCs on BingSearchAPIWrapper, in utilities/bing_search, similar with GoogleSerperAPIWrapper.
As bing search provides several API endpoints like [Bing News Search API](https://www.microsoft.com/en-us/bing/apis/bing-news-search-api), I thought it would b... | Integration test on BingSearchAPIWrapper | https://api.github.com/repos/langchain-ai/langchain/issues/8068/comments | 2 | 2023-07-21T11:36:16Z | 2023-10-27T16:05:34Z | https://github.com/langchain-ai/langchain/issues/8068 | 1,815,656,226 | 8,068 |
[
"hwchase17",
"langchain"
] | ### Feature request
Recognize input schemas that do not use `Field` as structured schemas.
### Motivation
A simple schema without `Field` values such as this one will fail to be recognized as a structured schema:
```python
class RepeatTextSchema(BaseModel):
text: str
occurences: int
```
It will thu... | Handle simpler tool input schemas for structured tools | https://api.github.com/repos/langchain-ai/langchain/issues/8066/comments | 10 | 2023-07-21T09:36:30Z | 2023-11-05T16:05:35Z | https://github.com/langchain-ai/langchain/issues/8066 | 1,815,491,917 | 8,066 |
[
"hwchase17",
"langchain"
] | ### Feature request
Support async functions with the `@tool` decorator (and `StructuredTool.from_function`, I guess).
### Motivation
The API provided by `@tool` is really nice, but using the decorator on an async function currently doesn't work.
### Your contribution
None so far but happy to help if I can. | Async @tool functions | https://api.github.com/repos/langchain-ai/langchain/issues/8065/comments | 1 | 2023-07-21T09:33:16Z | 2023-10-27T16:05:38Z | https://github.com/langchain-ai/langchain/issues/8065 | 1,815,487,097 | 8,065 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
def from_prompts(
cls,
llm: BaseLanguageModel,
db: SQLDatabase,
prompt_infos: List[Dict[str, str]],
default_chain: Optional[LLMChain] = None,
verbose: bool = False,
**kwargs: Any,
) -> Self:
"""Convenience cons... | Issue:in the multiprompt chain connecting sqldatabasechain | https://api.github.com/repos/langchain-ai/langchain/issues/8062/comments | 2 | 2023-07-21T08:43:59Z | 2023-10-27T16:05:43Z | https://github.com/langchain-ai/langchain/issues/8062 | 1,815,411,509 | 8,062 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version: '0.0.238'
### Who can help?
SemanticSimilarityExampleSelector().add_example() raise "IndexError" exception due to empty list ids returned from Chroma().add_texts() when metadata is not None.
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own m... | Bug: Chroma().add_texts() return empty ids list when metadata is not None | https://api.github.com/repos/langchain-ai/langchain/issues/8061/comments | 3 | 2023-07-21T08:17:06Z | 2023-07-24T01:18:49Z | https://github.com/langchain-ai/langchain/issues/8061 | 1,815,375,116 | 8,061 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
**Documentation Link:** https://python.langchain.com/docs/modules/model_io/models/llms/integrations/huggingface_textgen_inference
### Idea or request for content:
_No response_ | DOC: Unable to Pass HuggingFace Access Token via Huggingface TextGen Inference for large language model hosted in HuggingFace Inference Endpoint in protected mode. | https://api.github.com/repos/langchain-ai/langchain/issues/8060/comments | 7 | 2023-07-21T08:10:05Z | 2023-11-14T16:07:00Z | https://github.com/langchain-ai/langchain/issues/8060 | 1,815,365,924 | 8,060 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I am using a fine tuned model that generates user prompts to SQL queries, instead of the default model provided by langchain. The reason for doing this is because langchain does not know about all the data from the database unless you provide context to it but there is a lot of data ... | Issue: using Fine-tuning model with Langchain | https://api.github.com/repos/langchain-ai/langchain/issues/8057/comments | 1 | 2023-07-21T06:51:49Z | 2023-10-27T16:05:48Z | https://github.com/langchain-ai/langchain/issues/8057 | 1,815,254,507 | 8,057 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Getting missing input parameter error. Is there anything i am missing?
````
ValidationError Traceback (most recent call last)
Input In [82], in <cell line: 17>()
1 from langchain import LLMChain, OpenAI, PromptTemplate
2 prompt_template = f"... | Invalid prompt schema; check for mismatched or missing input parameters. {'relevant_context', 'user_query'} (type=value_error)Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8056/comments | 2 | 2023-07-21T06:45:54Z | 2023-10-27T16:05:53Z | https://github.com/langchain-ai/langchain/issues/8056 | 1,815,248,073 | 8,056 |
[
"hwchase17",
"langchain"
] | ### System Info
### I'm not sure what exactly is causing the issue. Is it langchain, TGI, or streamlit
generate() got multiple keyword arguments for 'stop_sequences' upon running the script along with streamlit
```
TypeError: generate() got multiple values for keyword argument 'stop_sequences'
Traceback:
File "... | generate() got multiple keyword arguments for 'stop_sequences' while generating using hf TGI | https://api.github.com/repos/langchain-ai/langchain/issues/8055/comments | 2 | 2023-07-21T06:36:26Z | 2023-07-21T15:24:11Z | https://github.com/langchain-ai/langchain/issues/8055 | 1,815,238,276 | 8,055 |
[
"hwchase17",
"langchain"
] | ### Feature request
How does Alibaba Cloud's Tongyi Qianwen Big Model combine with Langchain?
langchain如何与阿里云的通义千问大模型结合起来
### Motivation
Alibaba Cloud's Tongyi Qianwen
### Your contribution
none | Langchain support Alibaba Cloud's Tongyi Qianwen model? | https://api.github.com/repos/langchain-ai/langchain/issues/8054/comments | 16 | 2023-07-21T06:00:26Z | 2023-12-19T00:49:48Z | https://github.com/langchain-ai/langchain/issues/8054 | 1,815,202,873 | 8,054 |
[
"hwchase17",
"langchain"
] | Hi! I have been using langmith on on local env using docker.
Is there a roadmap for continue supporting that?
is langsmith going to be totally independent non-opensource per se?
Asking this because I can't really use the public langsmith service due to NDA, and I also have some issues that i'm happy to help fixing.... | Issue: Langsmith running using local docker containers, roadmap, local model support? | https://api.github.com/repos/langchain-ai/langchain/issues/8052/comments | 5 | 2023-07-21T05:13:57Z | 2023-12-01T16:08:58Z | https://github.com/langchain-ai/langchain/issues/8052 | 1,815,166,208 | 8,052 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/hwchase17/langchain/discussions/8003
<div type='discussions-op-text'>
<sup>Originally posted by **kevinmat** July 20, 2023</sup>
Hi,
I see that function consumes the Exception , Is it possible to override this functionality so that any exception from callbacks returns back th... | CallbackManager _handle_event consumes Exceptions | https://api.github.com/repos/langchain-ai/langchain/issues/8051/comments | 1 | 2023-07-21T05:09:22Z | 2023-10-27T16:05:59Z | https://github.com/langchain-ai/langchain/issues/8051 | 1,815,162,839 | 8,051 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I have defined an OPENAI_FUNCTIONS agent. I have created a tool from a function where I have defined a BaseModel as input parameter
```
class FooInputModel(BaseModel):
id: str
name: str
agent_kwargs = {
"extra_prompt_messages": [MessagesPlaceholder(variable... | Issue: Tool is always called with a string parameter instead of Model despite using OPENAI_FUNCTIONS agent | https://api.github.com/repos/langchain-ai/langchain/issues/8042/comments | 2 | 2023-07-20T23:54:50Z | 2023-07-25T14:25:43Z | https://github.com/langchain-ai/langchain/issues/8042 | 1,814,957,380 | 8,042 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hello everyone,
I am trying to make a mcq tool but that tools need input for that particular question everytime what that quiz tool is called. Any approach which i can try
### Suggestion:
_No response_ | can it be possible to take input in custom tool | https://api.github.com/repos/langchain-ai/langchain/issues/8039/comments | 3 | 2023-07-20T23:07:26Z | 2023-10-27T16:06:04Z | https://github.com/langchain-ai/langchain/issues/8039 | 1,814,917,699 | 8,039 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
hey there,
I am facing problem for streaming responses in fastapi can i get some info that how
to use websockets to stream the response
### Suggestion:
_No response_ | how to deploy langchain bot using fastapi with streaming responses | https://api.github.com/repos/langchain-ai/langchain/issues/8029/comments | 2 | 2023-07-20T21:02:55Z | 2023-10-26T16:04:48Z | https://github.com/langchain-ai/langchain/issues/8029 | 1,814,794,951 | 8,029 |
[
"hwchase17",
"langchain"
] | ### Feature request
Update `TextGen` to include `streaming` support for Oobabooga.
### Motivation
Oobabooga provides a streaming API that will be very helpful. [TextGen](https://github.com/hwchase17/langchain/pull/5997) already supports the regular API.
### Your contribution
:) | Streaming support for Oobabooga API? | https://api.github.com/repos/langchain-ai/langchain/issues/8028/comments | 4 | 2023-07-20T20:54:55Z | 2023-11-20T16:05:42Z | https://github.com/langchain-ai/langchain/issues/8028 | 1,814,786,549 | 8,028 |
[
"hwchase17",
"langchain"
] | ### Feature request
This probably needs more refinement but how but there are a lot of components floating around that overlaps with one another.
As per my understanding, the broader categorization should be:
Chains: Simple scenarios - steps are hardcoded
Agent Executors: Complex scenarios - steps are determine... | Agents and agent executor are 2 different concepts and shouldn't be placed in the same bucket | https://api.github.com/repos/langchain-ai/langchain/issues/8024/comments | 1 | 2023-07-20T19:46:36Z | 2023-10-26T16:04:53Z | https://github.com/langchain-ai/langchain/issues/8024 | 1,814,693,973 | 8,024 |
[
"hwchase17",
"langchain"
] | ### Feature request
E.g., it would be great if
```
m = AIMessage(content="Hi!")
print(m)
```
returned something like "AI: Hi!"
### Motivation
It would make representation of message history (e.g., for debugging or serialization into a json) a little bit easier.
### Your contribution
yes, I'm happy to do it... | Add a str representation for the Message | https://api.github.com/repos/langchain-ai/langchain/issues/8023/comments | 2 | 2023-07-20T18:59:28Z | 2023-10-26T16:04:58Z | https://github.com/langchain-ai/langchain/issues/8023 | 1,814,626,098 | 8,023 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to use create_csv_agent with memory in order to make the model answer based on previous answers so this was the code I used to achieve such task, mostly from issue #5611 with a few adjustments
```
def csv_extractor(json_request: str):
'''
Useful for extracting d... | Issue:Using memory with agents gives wrong results | https://api.github.com/repos/langchain-ai/langchain/issues/8020/comments | 4 | 2023-07-20T17:59:43Z | 2023-10-28T16:04:45Z | https://github.com/langchain-ai/langchain/issues/8020 | 1,814,527,905 | 8,020 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How do you extract the last thought process from an agent?
The final answer from the agent is too summarized for my liking. However the 'Final Thought' process is great with all the details. I am having some difficulties extracting that information event with `return_immediate_steps=T... | Extract Final Thoughts from Agent as part of Final Answer. | https://api.github.com/repos/langchain-ai/langchain/issues/8019/comments | 3 | 2023-07-20T17:53:44Z | 2023-08-14T14:47:22Z | https://github.com/langchain-ai/langchain/issues/8019 | 1,814,519,811 | 8,019 |
[
"hwchase17",
"langchain"
] | ### Feature request
I am writing to request an enhancement for the FLARE chain in Langchain. I'm wondering how I can change the class to accept local (fine-tuned) models rather then use OpenAi API. Since FLARE uses a retriever, a question generator, and a response generator, it would be interesting to leverage the s... | FLARE Implementation with Local Fine-Tuned Models | https://api.github.com/repos/langchain-ai/langchain/issues/8015/comments | 3 | 2023-07-20T16:36:17Z | 2024-04-23T07:00:46Z | https://github.com/langchain-ai/langchain/issues/8015 | 1,814,401,030 | 8,015 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I was looking up the documentation as well. However, from the documentation it seems as if both types of agents are doing the same thing. Even when I looked at the backend code, both agent codes seemed almost identical. I am not so sure what I am missing in terms of my understanding. Any... | What is the difference between OpenAI Function and OpenAI Multi Functions Agent | https://api.github.com/repos/langchain-ai/langchain/issues/8011/comments | 4 | 2023-07-20T15:07:47Z | 2023-12-16T21:51:12Z | https://github.com/langchain-ai/langchain/issues/8011 | 1,814,224,911 | 8,011 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hello every one!
I am following the tutorial of the use of agents. Specifically, now I am exploring the type [OpenAIFunctions. ](https://python.langchain.com/docs/modules/agents/agent_types/openai_functions_agent).
I am following the exact same tutorial and I get some err... | Error in OpenAI Functions Agent | https://api.github.com/repos/langchain-ai/langchain/issues/8009/comments | 5 | 2023-07-20T14:47:06Z | 2023-07-20T18:25:10Z | https://github.com/langchain-ai/langchain/issues/8009 | 1,814,175,432 | 8,009 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi Everyone,
I am trying to use `llama-2-70b-chat` with the LlamaCpp() as described here : https://python.langchain.com/docs/modules/model_io/models/llms/integrations/llamacpp#metal
My system specs are
MacBook Pro, M1 Chip, 16GB, 500GB SSD
Here is my code using LlamaCpp:
... | Issue: Using "llama-2-70b-chat/ggml-model-q4_0.bin" with LlamaCpp() | https://api.github.com/repos/langchain-ai/langchain/issues/8004/comments | 12 | 2023-07-20T13:52:10Z | 2023-11-15T16:07:27Z | https://github.com/langchain-ai/langchain/issues/8004 | 1,814,051,785 | 8,004 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I came to know that there are two methods to keep memory in **ConversationalRetrievalChain**
1. Method -1
Using **ConversationBufferMemory**
```
from langchain.chains import ConversationalRetrievalChain
from langchain.memory import ConversationBufferMemory
memory = Conversation... | Difference between ConversationBufferMemory and chat_history parameter | https://api.github.com/repos/langchain-ai/langchain/issues/8002/comments | 5 | 2023-07-20T13:40:25Z | 2024-07-02T12:21:04Z | https://github.com/langchain-ai/langchain/issues/8002 | 1,814,025,506 | 8,002 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version== 0.0.237
Platform == Google Colaboratory
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prom... | APIfy dataset loader does not provide the attribute "page_content" in the loaded documents | https://api.github.com/repos/langchain-ai/langchain/issues/7999/comments | 5 | 2023-07-20T12:32:18Z | 2023-10-28T16:04:50Z | https://github.com/langchain-ai/langchain/issues/7999 | 1,813,895,614 | 7,999 |
[
"hwchase17",
"langchain"
] | ### System Info
`langchain 0.0.235`
I wrote my own callback handler
`class ChatHandler(BaseCallbackHandler):`
which includes the function
```
def on_tool_end(self, output: str, observation_prefix: Optional[str] = None, llm_prefix: Optional[str] = None, **kwargs: Any) -> Any:
"""Run when tool ends ... | custom BaseCallbackHandler in STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION agent not calling on_tool_end | https://api.github.com/repos/langchain-ai/langchain/issues/7998/comments | 3 | 2023-07-20T11:16:38Z | 2023-07-25T14:15:21Z | https://github.com/langchain-ai/langchain/issues/7998 | 1,813,748,887 | 7,998 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I've been stuck on a task that I was working on, not knowing how to exactly proceed with it. Where I need to combine different type of chain in the routes of an Agent.
So I have managed to build the following pipeline using an Agent. I receive a query and according to the context of t... | Issue: <Combining LLMChain and ConversationalRelationChain in an agent's routes> | https://api.github.com/repos/langchain-ai/langchain/issues/7997/comments | 5 | 2023-07-20T11:01:40Z | 2024-01-12T05:24:25Z | https://github.com/langchain-ai/langchain/issues/7997 | 1,813,722,288 | 7,997 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.230
MacOS
### 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
- [ ] Out... | I don't have access to the short-term memory using Agent with gpt-3.5-turbo | https://api.github.com/repos/langchain-ai/langchain/issues/7996/comments | 2 | 2023-07-20T10:46:50Z | 2023-10-26T16:05:28Z | https://github.com/langchain-ai/langchain/issues/7996 | 1,813,694,849 | 7,996 |
[
"hwchase17",
"langchain"
] | ### System Info
python 3.9
langchain 0.0.234
qdrant-client 1.1.7
### 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... | Can't connect to Qdrant since 0.0.234 | https://api.github.com/repos/langchain-ai/langchain/issues/7995/comments | 7 | 2023-07-20T10:30:28Z | 2023-11-23T16:07:15Z | https://github.com/langchain-ai/langchain/issues/7995 | 1,813,665,397 | 7,995 |
[
"hwchase17",
"langchain"
] | ### System Info
I am using the below code to make an agent that decides, upon the question, whether to use semantic search or pandas agent
to answer the question about a dataset of employees
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified script... | Get the code applied by the pandas agent | https://api.github.com/repos/langchain-ai/langchain/issues/7994/comments | 1 | 2023-07-20T10:19:46Z | 2023-07-30T06:05:42Z | https://github.com/langchain-ai/langchain/issues/7994 | 1,813,647,909 | 7,994 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.237.
Python 3.11
Mac OS X M1
### 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
- [ ] Ou... | ChatLangChain requesting _default_relevance_score_fn' on <module 'langchain.vectorstores.faiss> on init | https://api.github.com/repos/langchain-ai/langchain/issues/7992/comments | 6 | 2023-07-20T09:32:36Z | 2023-11-05T16:05:39Z | https://github.com/langchain-ai/langchain/issues/7992 | 1,813,565,399 | 7,992 |
[
"hwchase17",
"langchain"
] | null | Does it support 文心一言? | https://api.github.com/repos/langchain-ai/langchain/issues/7990/comments | 15 | 2023-07-20T08:59:25Z | 2023-12-18T23:49:08Z | https://github.com/langchain-ai/langchain/issues/7990 | 1,813,507,242 | 7,990 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain Python v0.0.237
Based on this code snippet it appears that OutputFixingParser doesn't support async flows.
https://github.com/hwchase17/langchain/blob/df84e1bb64d96377f909651f696f310c43c2f2c5/langchain/output_parsers/fix.py#L46-L52
It's calling the run function and not arun
### Who ca... | OutputFixingParser is not async | https://api.github.com/repos/langchain-ai/langchain/issues/7989/comments | 2 | 2023-07-20T08:29:12Z | 2023-10-26T16:05:33Z | https://github.com/langchain-ai/langchain/issues/7989 | 1,813,454,976 | 7,989 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.237
python==3.8.16
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sele... | Redis does not use the parameters passed in by Redis.as_retriever() | https://api.github.com/repos/langchain-ai/langchain/issues/7986/comments | 2 | 2023-07-20T07:57:13Z | 2023-12-09T16:42:25Z | https://github.com/langchain-ai/langchain/issues/7986 | 1,813,396,450 | 7,986 |
[
"hwchase17",
"langchain"
] | ### Feature request
Almost all the chains offered in langchain framework support Verbose option which helps the developers understand what prompt is being applied under the hood and plan their work accordingly. It immensely help while debugging. create_extraction_chain is a very helpful one and I found this is not a... | TypeError: create_extraction_chain() got an unexpected keyword argument 'verbose' | https://api.github.com/repos/langchain-ai/langchain/issues/7982/comments | 0 | 2023-07-20T06:39:12Z | 2023-07-20T13:52:15Z | https://github.com/langchain-ai/langchain/issues/7982 | 1,813,275,803 | 7,982 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How do you increase the max_tokens for the agent? I am using gpt35turbo16k. I notice that the model is only using ~4096 tokens. Is there a way to override this?
The reason I am asking is I am ingesting large text in the prompt and the final answer I am getting is so short that does no... | Agent does not use max_tokens parameter from ChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/7981/comments | 1 | 2023-07-20T05:58:45Z | 2023-08-14T14:47:00Z | https://github.com/langchain-ai/langchain/issues/7981 | 1,813,216,875 | 7,981 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.

In Milvus, we are able to create databases and create collections within the database itself. Hence i will be able to create a collection with the same name in different databases. Ho... | Issue: How to pass in database name parameter into Milvus | https://api.github.com/repos/langchain-ai/langchain/issues/7979/comments | 14 | 2023-07-20T05:32:27Z | 2024-08-05T08:13:51Z | https://github.com/langchain-ai/langchain/issues/7979 | 1,813,191,448 | 7,979 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm trying to use some LLM model from huggingface, for example "model_name=lmsys/vicuna-13b-v1.3", in the chain `load_qa_chain`. The LLM model could be fetched through AutoModelForCausalLM.from_pretrained, e.g.
```
model = AutoModelForCausalLM.from_pretrained(
model_name... | Issue: integrate local LLM (from huggingface) into load_qa_chain | https://api.github.com/repos/langchain-ai/langchain/issues/7975/comments | 2 | 2023-07-20T02:37:21Z | 2023-10-26T16:05:38Z | https://github.com/langchain-ai/langchain/issues/7975 | 1,813,037,695 | 7,975 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have a valid serpapi API key that I can use in the serpapi playground and with direct calls using python requests, but when I use it with Langchain I get an error saying that the key is invalid. I have my key set as environment variable, but I continue to get this error:
ValueError:... | Serpapi API key not working with Langchain | https://api.github.com/repos/langchain-ai/langchain/issues/7971/comments | 5 | 2023-07-19T23:53:59Z | 2024-05-12T16:22:03Z | https://github.com/langchain-ai/langchain/issues/7971 | 1,812,900,999 | 7,971 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version is the latest one - 0.0.237
### 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
- [ ] O... | Argument 'string' has incorrect type (expected str, got lxml.etree._ElementUnicodeResult) | https://api.github.com/repos/langchain-ai/langchain/issues/7968/comments | 4 | 2023-07-19T22:23:56Z | 2023-10-28T16:04:55Z | https://github.com/langchain-ai/langchain/issues/7968 | 1,812,815,863 | 7,968 |
[
"hwchase17",
"langchain"
] | ### System Info
Mac M2 Max 32GB
### Who can help?
@rlancemartin
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document ... | Doc metadata can get passed into prompt unexpectedly | https://api.github.com/repos/langchain-ai/langchain/issues/7967/comments | 1 | 2023-07-19T21:57:17Z | 2023-10-25T16:05:37Z | https://github.com/langchain-ai/langchain/issues/7967 | 1,812,789,717 | 7,967 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.