issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"langchain-ai",
"langchain"
] | ### Feature request
Adapt the pinecone vectorstore to support upcoming starter tier. The changes are related to removing namespaces and `delete by metadata` feature.
### Motivation
Indexes in upcoming Pinecone V4 won't support:
* namespaces
* `configure_index()`
* delete by metadata
* `describe_index()` ... | Pinecone: Support starter tier | https://api.github.com/repos/langchain-ai/langchain/issues/7472/comments | 6 | 2023-07-10T10:19:16Z | 2023-07-12T19:41:36Z | https://github.com/langchain-ai/langchain/issues/7472 | 1,796,444,479 | 7,472 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I want to override `google_search_url` for the `class GoogleSearchAPIWrapper `. though it is not exist yet.
https://api.python.langchain.com/en/latest/utilities/langchain.utilities.google_search.GoogleSearchAPIWrapper.html#langchain.utilities.google_search.GoogleSearchAPIWrapper
Just like BingS... | Add google search API url | https://api.github.com/repos/langchain-ai/langchain/issues/7471/comments | 1 | 2023-07-10T09:23:14Z | 2023-10-16T16:05:24Z | https://github.com/langchain-ai/langchain/issues/7471 | 1,796,347,569 | 7,471 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.219
Python 3.9
### 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
- [ ... | openai.error.InvalidRequestError: The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again. | https://api.github.com/repos/langchain-ai/langchain/issues/7470/comments | 2 | 2023-07-10T09:11:15Z | 2023-10-16T16:05:29Z | https://github.com/langchain-ai/langchain/issues/7470 | 1,796,327,821 | 7,470 |
[
"langchain-ai",
"langchain"
] | ### Feature request
starting from 1.26.1, Vertex SDK exposes chat_history explicitly.
### Motivation
currently you can't work with chat_history if you use a fresh version of Vertex SDK
### Your contribution
yes, I'll do it. | Support new chat_history for Vertex AI | https://api.github.com/repos/langchain-ai/langchain/issues/7469/comments | 1 | 2023-07-10T08:54:03Z | 2023-07-13T05:13:31Z | https://github.com/langchain-ai/langchain/issues/7469 | 1,796,298,829 | 7,469 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.228
### Who can help?
@dev2049
### 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
- [ ] Docume... | TypeError: 'NoneType' object is not callable in SelfQueryRetriever.from_llm | https://api.github.com/repos/langchain-ai/langchain/issues/7468/comments | 3 | 2023-07-10T08:33:10Z | 2023-07-10T13:36:01Z | https://github.com/langchain-ai/langchain/issues/7468 | 1,796,263,402 | 7,468 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I am using pgvector and hoping for an MMR retrieval method similar to qdrant implementation.
### Motivation
MMR retrieval can return more diverse results, removing duplicate rows, which meets my needs (I did some testing on qdrant). However, I couldn't find an implementation in vectorstore of... | pgvector add implemention of MMR | https://api.github.com/repos/langchain-ai/langchain/issues/7466/comments | 3 | 2023-07-10T08:08:26Z | 2023-11-28T16:16:39Z | https://github.com/langchain-ai/langchain/issues/7466 | 1,796,222,961 | 7,466 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
LangChain version v0.0.228
Linux * 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Python 3.9.13
```
### Who can help?
@hwchase17
@agola11
@coyotespike
### Information
- [ ] The official example notebooks/scripts
- [X] My own mod... | BashChain allows Remote Control Execution. | https://api.github.com/repos/langchain-ai/langchain/issues/7463/comments | 1 | 2023-07-10T06:43:43Z | 2023-10-16T16:05:34Z | https://github.com/langchain-ai/langchain/issues/7463 | 1,796,085,216 | 7,463 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.208 python==3.10.12 linux==Ubuntu 20.04.6 LTS
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sele... | openai_api_key stored as string | https://api.github.com/repos/langchain-ai/langchain/issues/7462/comments | 2 | 2023-07-10T06:32:59Z | 2023-10-16T16:05:39Z | https://github.com/langchain-ai/langchain/issues/7462 | 1,796,067,285 | 7,462 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello every one!
Im triying to use an LLM models to consult data from OpenTargetPlatform (theyive information about disaeses and its bond with some molecules etc). They have and endpoint which can be access using Graph QL. OpenTargetPlatform have several query structures for diff... | Help using GraphQL tool | https://api.github.com/repos/langchain-ai/langchain/issues/7459/comments | 1 | 2023-07-10T05:22:54Z | 2023-10-16T16:05:45Z | https://github.com/langchain-ai/langchain/issues/7459 | 1,795,972,865 | 7,459 |
[
"langchain-ai",
"langchain"
] | Hi there,
I am new to langchain and I encountered some problems when import `langchain.agents`.
I run `main.py` as follows:
```python
# main.py
# python main.py
import os
os.environ["OPENAI_API_KEY"]="my key"
import langchain.agents
```
Some errors occur:
```
Traceback (most recent call last):
Fi... | Error occurs when `import langchain.agents` | https://api.github.com/repos/langchain-ai/langchain/issues/7458/comments | 6 | 2023-07-10T04:43:44Z | 2023-10-21T16:07:20Z | https://github.com/langchain-ai/langchain/issues/7458 | 1,795,933,159 | 7,458 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.228
python 3.11.1
LLM: self hosting llm using [text-generation-inference](https://github.com/huggingface/text-generation-inference)
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Co... | The single quote in Example Input of SQLDatabaseToolkit will mislead LLM | https://api.github.com/repos/langchain-ai/langchain/issues/7457/comments | 16 | 2023-07-10T04:17:49Z | 2024-02-14T16:13:03Z | https://github.com/langchain-ai/langchain/issues/7457 | 1,795,907,276 | 7,457 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.195
python==3.9.17
system-info==ubuntu
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
... | Getting ` NotImplementedError: PythonReplTool does not support async` when trying to use `arun` on CSV agent | https://api.github.com/repos/langchain-ai/langchain/issues/7455/comments | 3 | 2023-07-10T02:48:11Z | 2024-02-14T16:13:08Z | https://github.com/langchain-ai/langchain/issues/7455 | 1,795,819,951 | 7,455 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.208
platform: win 10
python: 3.9.
The warning message is :
'Created a chunk of size 374, which is longer than the specified 100'.
### Who can help?
@hwchase17 @eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related C... | 'chunk_size' doesnt work on 'split_documents' function | https://api.github.com/repos/langchain-ai/langchain/issues/7452/comments | 2 | 2023-07-10T00:33:09Z | 2023-07-13T00:41:21Z | https://github.com/langchain-ai/langchain/issues/7452 | 1,795,665,180 | 7,452 |
[
"langchain-ai",
"langchain"
] | Adding a unit test for any experimental module in the standard location, such as `tests/unit_tests/experimental/test_baby_agi.py`, leads to this failing unit test:
```python
../tests/unit_tests/output_parsers/test_base_output_parser.py ...................................F
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>... | Issue: Unable to add a unit test for experimental modules | https://api.github.com/repos/langchain-ai/langchain/issues/7451/comments | 5 | 2023-07-10T00:09:26Z | 2023-10-10T17:06:29Z | https://github.com/langchain-ai/langchain/issues/7451 | 1,795,646,919 | 7,451 |
[
"langchain-ai",
"langchain"
] | ### System Info
lanchain: latest, python 3.10.10
This script writes the content to the file initially, but there is a flawed step when closing the file. I've extracted this log to show the issue. For some reason, the agent thinks that if it submits an empty text input with append set to false, the previous conte... | write_tool logic is off | https://api.github.com/repos/langchain-ai/langchain/issues/7450/comments | 2 | 2023-07-09T23:18:56Z | 2023-10-16T16:05:54Z | https://github.com/langchain-ai/langchain/issues/7450 | 1,795,626,027 | 7,450 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
We shouldn't have to sign up for another API just to follow the quickstart tutorial. Please replace this with something that doesn't require sign-up.
### Idea or request for content:
Proposal: Use `http://api.duckduckgo.com/?q=x&format=json`
Example:
`http://api.duckdu... | DOC: Please replace SERP_API examples with an alternative | https://api.github.com/repos/langchain-ai/langchain/issues/7448/comments | 1 | 2023-07-09T21:52:15Z | 2023-10-08T23:09:17Z | https://github.com/langchain-ai/langchain/issues/7448 | 1,795,579,900 | 7,448 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/supabase
Under '-- Create a table to store your documents' the id column is set to big serial but it is referenced later as uuid 10 lines down when creating the function
### Idea or request for ... | DOC: Table creation for Supabase (Postgres) has incorrect type | https://api.github.com/repos/langchain-ai/langchain/issues/7446/comments | 3 | 2023-07-09T20:33:00Z | 2023-08-11T00:15:17Z | https://github.com/langchain-ai/langchain/issues/7446 | 1,795,552,337 | 7,446 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain ==0.0.228, watchdog==3.0.0, streamlit==1.24.0, databutton==0.34.0, ipykernel==6.23.3
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts... | BabyAGI: Error storing results in vdb | https://api.github.com/repos/langchain-ai/langchain/issues/7445/comments | 5 | 2023-07-09T20:31:00Z | 2023-10-19T16:06:19Z | https://github.com/langchain-ai/langchain/issues/7445 | 1,795,551,743 | 7,445 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi. I'm trying to test the duckduckgoSearchRun tool and I'm running the basic example from the documentation https://python.langchain.com/docs/modules/agents/tools/integrations/ddg . I already have installed the certificates without any errors:
`./Install\ Certificates.command
-- ... | SSL certificate problem (even when verify = False) | https://api.github.com/repos/langchain-ai/langchain/issues/7443/comments | 1 | 2023-07-09T19:15:44Z | 2023-10-15T16:04:38Z | https://github.com/langchain-ai/langchain/issues/7443 | 1,795,527,141 | 7,443 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.215
python: 3.10.11
OS: Ubuntu 18.04
### 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... | list_tables_sql_db is not a valid tool, try another one. | https://api.github.com/repos/langchain-ai/langchain/issues/7440/comments | 3 | 2023-07-09T18:10:42Z | 2024-03-10T15:17:49Z | https://github.com/langchain-ai/langchain/issues/7440 | 1,795,505,933 | 7,440 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/chroma.html#basic-example-including-saving-to-disk
## Environment
- macOS
- Python 3.10.9
- langchain 0.0.228
- chromadb 0.3.26
Use https://github.com/hwchase17/langchain/blob/v0.0.22... | DOC: Bug in loading Chroma from disk (vectorstores/integrations/chroma) | https://api.github.com/repos/langchain-ai/langchain/issues/7436/comments | 2 | 2023-07-09T17:05:24Z | 2023-07-10T11:17:19Z | https://github.com/langchain-ai/langchain/issues/7436 | 1,795,484,020 | 7,436 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I followed the documentation @ https://python.langchain.com/docs/use_cases/code/twitter-the-algorithm-analysis-deeplake.
I replaced 'twitter-the-algorithm' with another code base I'm analyzing and used my own credentials from OpenAI and Deep Lake.
When I run the code (on VS ... | DOC: Code/twitter-the-algorithm-analysis-deeplake not working as written | https://api.github.com/repos/langchain-ai/langchain/issues/7435/comments | 8 | 2023-07-09T15:55:06Z | 2023-10-19T16:06:23Z | https://github.com/langchain-ai/langchain/issues/7435 | 1,795,458,482 | 7,435 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
$ uname -a
MINGW64_NT-10.0-19045 LAPTOP-4HTFESLT 3.3.6-341.x86_64 2022-09-05 20:28 UTC x86_64 Msys
$ python --version
Python 3.10.11
$ pip show langchain
Name: langchain
Version: 0.0.228
Summary: Building applications with LLMs through composability
Home-page: https://www.github.com/hw... | Have set my langchain+ tracing key, it is not being recognized | https://api.github.com/repos/langchain-ai/langchain/issues/7431/comments | 3 | 2023-07-09T14:50:31Z | 2024-08-08T13:14:06Z | https://github.com/langchain-ai/langchain/issues/7431 | 1,795,434,040 | 7,431 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.216
langchainplus-sdk==0.0.17
python==3.10
I'm trying to connect SQLDatabaseChain to AWS Athena and getting the following error:
```
conString = f"awsathena+rest://{AWS_ACCESS_KEY_ID}:{AWS_SECRET_ACCESS_KEY}@athena.{AWS_REGION_ID}.amazonaws.com/{DATABASE}"
engine_args={
... | SQLDatabase and SQLDatabaseChain with AWS Athena | https://api.github.com/repos/langchain-ai/langchain/issues/7430/comments | 12 | 2023-07-09T13:46:19Z | 2024-02-27T16:08:30Z | https://github.com/langchain-ai/langchain/issues/7430 | 1,795,409,409 | 7,430 |
[
"langchain-ai",
"langchain"
] | ### System Info (M1 mac)
Python implementation: CPython
Python version : 3.11.4
IPython version : 8.14.0
Compiler : GCC 12.2.0
OS : Linux
Release : 5.15.49-linuxkit-pr
Machine : aarch64
Processor : CPU cores : 5
Architecture: 64bit
[('aiohttp', '3.8.4'), ('aiosignal'... | Similarity search returns random docs, not the ones that contain the specified keywords | https://api.github.com/repos/langchain-ai/langchain/issues/7427/comments | 9 | 2023-07-09T12:31:36Z | 2023-10-14T20:41:00Z | https://github.com/langchain-ai/langchain/issues/7427 | 1,795,381,432 | 7,427 |
[
"langchain-ai",
"langchain"
] | ### System Info
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[15], line 15
12 qa = RetrievalQA(combine_documents_chain=qa_chain, retriever=retriever.as_retriever())
14 query = "halo"
---> 15... | TypeError: Object of type PromptTemplate is not JSON serializable | https://api.github.com/repos/langchain-ai/langchain/issues/7426/comments | 2 | 2023-07-09T10:02:36Z | 2023-10-15T16:04:53Z | https://github.com/langchain-ai/langchain/issues/7426 | 1,795,324,312 | 7,426 |
[
"langchain-ai",
"langchain"
] | ### Feature request
We are using langchain for non-English applications. The prefix for system is hardcoded as "System":
```python
for m in messages:
if isinstance(m, HumanMessage):
role = human_prefix
elif isinstance(m, AIMessage):
role = ai_prefix
elif isinsta... | Can you make system_prefix customizable? | https://api.github.com/repos/langchain-ai/langchain/issues/7415/comments | 1 | 2023-07-08T22:26:17Z | 2023-10-14T20:09:47Z | https://github.com/langchain-ai/langchain/issues/7415 | 1,795,149,831 | 7,415 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Pipe `intermediate_steps` out of MR chain:
```
# Combining documents by mapping a chain over them, then combining results
combine_documents = MapReduceDocumentsChain(
# Map chain
llm_chain=map_llm_chain,
# Reduce chain
reduce_documents_chain=reduce_documen... | Pipe `intermediate_steps` out of map_reduce.run() | https://api.github.com/repos/langchain-ai/langchain/issues/7412/comments | 4 | 2023-07-08T19:14:30Z | 2024-02-09T16:25:54Z | https://github.com/langchain-ai/langchain/issues/7412 | 1,795,070,373 | 7,412 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hey! Below is the code i'm using
```
llm_name = "gpt-3.5-turbo"
# llm_name = "gpt-4"
os.environ["OPENAI_API_KEY"] = ""
st.set_page_config(layout="wide")
def load_db(file_path, chain_type, k):
loader = PyPDFLoader(file_path)
documents = loader.load()
text_splitter = RecursiveC... | InvalidRequestError: This model's maximum context length is 4097 tokens. However, your messages resulted in 5822 tokens. Please reduce the length of the messages. | https://api.github.com/repos/langchain-ai/langchain/issues/7411/comments | 3 | 2023-07-08T19:08:53Z | 2023-11-15T16:07:44Z | https://github.com/langchain-ai/langchain/issues/7411 | 1,795,068,803 | 7,411 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I'm trying to create a Q&A application, where i'm using Vicuna and it's taking lot of time to return the response. Below is the code
```
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.vectorstores impo... | Adding function to utilize normal models like distilbert, roberta etc | https://api.github.com/repos/langchain-ai/langchain/issues/7406/comments | 1 | 2023-07-08T16:21:18Z | 2023-10-14T20:09:52Z | https://github.com/langchain-ai/langchain/issues/7406 | 1,795,005,669 | 7,406 |
[
"langchain-ai",
"langchain"
] | Hi: I'm trying to merge a list of `langchain.vectorstores.FAISS` objects to create a new (merged) vectorstore, but I still need the original (pre-merge) vectorstores intact. I can use `x.merge_from(y)` which works great:
`merged_stores = reduce(lambda x, y: (z := x).merge_from(y) or z, stores)
`
but that modifi... | Trying to merge a list of FAISS vectorstores without modifying the original vectorstores, but deepcopy() fails | https://api.github.com/repos/langchain-ai/langchain/issues/7402/comments | 5 | 2023-07-08T14:05:34Z | 2023-10-21T16:07:25Z | https://github.com/langchain-ai/langchain/issues/7402 | 1,794,954,384 | 7,402 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add the `name` and `arguments` from `function_call` to `on_llm_new_token` when `streaming=True`.
Now it's getting called with an empty token several times and no way to retrieve the `function_call['arguments']`.
We need to add this to every llm/
### Motivation
I'm streaming my calls (user... | Add the `name` and `arguments` from `function_call` to `on_llm_new_token` when `streaming=True` | https://api.github.com/repos/langchain-ai/langchain/issues/7385/comments | 6 | 2023-07-07T23:14:25Z | 2023-09-25T09:45:57Z | https://github.com/langchain-ai/langchain/issues/7385 | 1,794,522,874 | 7,385 |
[
"langchain-ai",
"langchain"
] | ### System Info
> langchain==0.0.227
> langchainplus-sdk==0.0.20
> chromadb==0.3.26
### 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 / ... | ChromaDB score goes the wrong way | https://api.github.com/repos/langchain-ai/langchain/issues/7384/comments | 6 | 2023-07-07T23:11:04Z | 2024-02-09T16:25:58Z | https://github.com/langchain-ai/langchain/issues/7384 | 1,794,520,863 | 7,384 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I want to pass arguments to the retriever used in the `VectorStoreIndexWrapper` `query` and `query_with_sources` methods. Right now, those methods don't have any means of passing `VectorStoreRetriever` arguments into `vectorstore.as_retriever()`:
```
langchain/indexes/vectorstore.py
de... | Passing VectorStoreRetriever arguments to VectorStoreIndexWrapper.query() | https://api.github.com/repos/langchain-ai/langchain/issues/7376/comments | 1 | 2023-07-07T20:39:29Z | 2023-10-14T20:09:57Z | https://github.com/langchain-ai/langchain/issues/7376 | 1,794,271,625 | 7,376 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Below is the code which i'm using for another model
```
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.vectorstores import DocArrayInMemorySearch
from langchain.chains import Conve... | How to load Vicuna-7b, Vicuna13-b and Falcon LLM's from langchain through ConversationalRetrievalChain function? | https://api.github.com/repos/langchain-ai/langchain/issues/7374/comments | 0 | 2023-07-07T20:17:44Z | 2023-07-07T20:26:58Z | https://github.com/langchain-ai/langchain/issues/7374 | 1,794,215,961 | 7,374 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
@hwchase17 There's been a reporter from Fortune who are in their words: "launching our A.I. 50 list later this month. LangChain is being considered for the list, and while I've tried to get in touch with Harrison and Ankush in as many ways as possible, I haven't been able to."
They've... | Fortune Reporter trying to get in touch with Chase | https://api.github.com/repos/langchain-ai/langchain/issues/7373/comments | 1 | 2023-07-07T20:07:36Z | 2023-07-10T16:26:16Z | https://github.com/langchain-ai/langchain/issues/7373 | 1,794,191,212 | 7,373 |
[
"langchain-ai",
"langchain"
] | ### System Info
from typing_extensions import Protocol
from langchain.llms import OpenAI
llm = OpenAI(model_name='text-davinci-003', temperature=0.7, max_tokens=512)
print(llm)
-----------------------------------------------------------------------------------------------
ImportError ... | from langchain.llms import OpenAI causing ImportError: cannot import name 'Protocol' | https://api.github.com/repos/langchain-ai/langchain/issues/7369/comments | 3 | 2023-07-07T18:30:00Z | 2024-06-08T12:37:41Z | https://github.com/langchain-ai/langchain/issues/7369 | 1,794,024,937 | 7,369 |
[
"langchain-ai",
"langchain"
] | I am using conversational retrieval chain with memory, but I am getting incorrect answers for trivial questions.
Any suggestions what can I do to improve the accuracy of the output?
#memory = ConversationEntityMemory(llm=llm, return_messages=True)
memory=ConversationBufferMemory(memory_key="chat_history",output_... | conversationalRetrievalChain - how to improve accuracy | https://api.github.com/repos/langchain-ai/langchain/issues/7368/comments | 3 | 2023-07-07T18:26:31Z | 2023-10-16T16:06:15Z | https://github.com/langchain-ai/langchain/issues/7368 | 1,794,019,802 | 7,368 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When using the youtube loader. I think it would be useful to take into account the chapters if present.
1. The chapter timecode could be used to know when to chunk. Any chunk inside a chapter timeframe could also contain the same "youtube_chapter_title" metadata.
2. The name of the chapter coul... | use youtube chapter as hints and metadata in the youtube loader | https://api.github.com/repos/langchain-ai/langchain/issues/7366/comments | 13 | 2023-07-07T18:19:36Z | 2024-06-15T18:33:35Z | https://github.com/langchain-ai/langchain/issues/7366 | 1,794,008,740 | 7,366 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.10
Langchain 0.0.226
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 ... | ConversationBufferWindowMemory returns empty string on empty history instead of empty array. | https://api.github.com/repos/langchain-ai/langchain/issues/7365/comments | 7 | 2023-07-07T17:56:12Z | 2023-12-05T12:07:46Z | https://github.com/langchain-ai/langchain/issues/7365 | 1,793,960,528 | 7,365 |
[
"langchain-ai",
"langchain"
] | ### System Info
the provided class
[langchain/langchain/llms/huggingface_endpoint.py](https://github.com/hwchase17/langchain/blob/370becdfc2dea35eab6b56244872001116d24f0b/langchain/llms/huggingface_endpoint.py)
class HuggingFaceEndpoint(LLM):
has a bug.
it should be
```python
if self.task == "text-generati... | HuggingFaceEndpoint Class Bug | https://api.github.com/repos/langchain-ai/langchain/issues/7353/comments | 1 | 2023-07-07T14:49:27Z | 2023-07-11T07:06:07Z | https://github.com/langchain-ai/langchain/issues/7353 | 1,793,680,431 | 7,353 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version - 0.0.201
Platform - Windows 11
Python - 3.10.11
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Tem... | map_reduce and refine not working with RetrievalQA chain | https://api.github.com/repos/langchain-ai/langchain/issues/7347/comments | 9 | 2023-07-07T13:09:59Z | 2023-11-14T16:08:01Z | https://github.com/langchain-ai/langchain/issues/7347 | 1,793,525,647 | 7,347 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
python environment:
neo4j 5.0.0
neobolt 1.7.17
neo4j version: neo4j-35-apoc:v20220808
报错:
File "D:\Anaconda3\envs\langchain\lib\site-packages\neo4j_sync\io_bolt3.py", line 200, in run
raise ConfigurationError(
neo4j.exceptions.ConfigurationError: Database name parameter for sele... | Issue: When implementing Cypher Search using neo4j environment | https://api.github.com/repos/langchain-ai/langchain/issues/7346/comments | 5 | 2023-07-07T13:00:11Z | 2023-10-28T16:05:40Z | https://github.com/langchain-ai/langchain/issues/7346 | 1,793,511,650 | 7,346 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I am looking for loading OPEN API yaml file into vertex ai llm model. Langchain provides that for OPENAI but not for vertex ai. This is how I currently write code in Open AI. I want a similar functionality for Vertex AI
spec = OpenAPISpec.from_file("sample.yaml")
openai_fns, call_a... | Load OPEN API yaml file to vertex ai LLM model | https://api.github.com/repos/langchain-ai/langchain/issues/7345/comments | 1 | 2023-07-07T12:36:51Z | 2023-10-14T20:10:17Z | https://github.com/langchain-ai/langchain/issues/7345 | 1,793,476,844 | 7,345 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I want to download a large file, 5,000,000 characters, and I get an error: openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-DOqIVFPozlLEOcvlTbpvpcKt on tokens per min. Limit: 150000 / min. Current: 0 / min. Contact us through our help... | Issue: openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization | https://api.github.com/repos/langchain-ai/langchain/issues/7343/comments | 20 | 2023-07-07T11:34:51Z | 2024-03-12T03:27:18Z | https://github.com/langchain-ai/langchain/issues/7343 | 1,793,386,363 | 7,343 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Inferring query filters from natural language is powerful. The SelfQuery retriever is a great implementation but is not yet compatible with Elasticseach.
### Motivation
Choosing Elasticsearch as a vector store is interesting in terms of hybrid search.
It also makes sense when you have an establi... | Create a built in translator for SelfQueryRetriever for Elasticsearch | https://api.github.com/repos/langchain-ai/langchain/issues/7341/comments | 2 | 2023-07-07T10:53:34Z | 2023-11-21T16:06:47Z | https://github.com/langchain-ai/langchain/issues/7341 | 1,793,313,012 | 7,341 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain v0.0.225, Ubuntu 22.04.2 LTS, Python 3.10
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pa... | langchain + gpt4all | https://api.github.com/repos/langchain-ai/langchain/issues/7340/comments | 6 | 2023-07-07T10:43:13Z | 2023-11-28T16:09:46Z | https://github.com/langchain-ai/langchain/issues/7340 | 1,793,294,393 | 7,340 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello everyone,
I've tried numerous approaches, but every time I attempt to transcribe a video from Google, the Whisper task gets terminated.
Does anyone have any suggestions?
```
def youtube_transcript(query: str) -> str:
# Use the URL of the YouTube video you want to d... | Issue: Whisper terminates YouTube transcriptions. | https://api.github.com/repos/langchain-ai/langchain/issues/7339/comments | 3 | 2023-07-07T10:39:03Z | 2023-10-14T20:10:22Z | https://github.com/langchain-ai/langchain/issues/7339 | 1,793,287,416 | 7,339 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I have been trying to delete custom redis data using langchain. But the search feature only returns the document and the metadata with similarity score. Hence I modified the code to return the document ID along with the document data. The id will be helpful for manual deletion of certain elements. ... | Add feature to get document ID from redis after redis search document retrieval. | https://api.github.com/repos/langchain-ai/langchain/issues/7338/comments | 2 | 2023-07-07T10:29:51Z | 2023-10-06T16:04:59Z | https://github.com/langchain-ai/langchain/issues/7338 | 1,793,271,619 | 7,338 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am doing the pdf question answering using the below code.
Note: I am integrated the ConversationBufferMemory for keeping my chat in the memory
```
from langchain.document_loaders import PyPDFLoader
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.memory impo... | Working of ConversationBufferMemory in the context of document based question answering | https://api.github.com/repos/langchain-ai/langchain/issues/7337/comments | 1 | 2023-07-07T10:12:08Z | 2023-10-14T20:10:27Z | https://github.com/langchain-ai/langchain/issues/7337 | 1,793,238,048 | 7,337 |
[
"langchain-ai",
"langchain"
] | I want pass "chat_history" to the agents like :
```python
...
agent = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS, verbose=True)
response = agent.run({"input": {"chat_history": _message_to_tuple(history), "question": query}})
```
but got an error. how can i pass 'chat_history' to the agent?
... | Issue: question about agents | https://api.github.com/repos/langchain-ai/langchain/issues/7336/comments | 6 | 2023-07-07T09:49:22Z | 2023-10-19T16:06:33Z | https://github.com/langchain-ai/langchain/issues/7336 | 1,793,196,340 | 7,336 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hello,
I am trying to use AzureChatOpenAI to develop a QA system with memory. For that purpose, I have the following code:
```python
import faiss
import pickle
from langchain.chat_models import AzureChatOpenAI
from langchain.memory import ConversationBufferMemory
from langchain.chains imp... | AzureChatOpenAI raises The API deployment for this resource does not exist when used with ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7331/comments | 3 | 2023-07-07T08:41:48Z | 2024-02-20T21:07:36Z | https://github.com/langchain-ai/langchain/issues/7331 | 1,793,084,323 | 7,331 |
[
"langchain-ai",
"langchain"
] | ### System Info
I intend to use the conversation summary buffer memory with ChatOpenAI in a conversation chain. For the chat, there's a need to set the system message to instruct and give appropriate personality to the chat assistant. However, system message is not supported to be inserted in the memory either via the... | Conversation Summary Buffer Memory does not accept a system message | https://api.github.com/repos/langchain-ai/langchain/issues/7327/comments | 8 | 2023-07-07T07:27:42Z | 2024-07-29T01:54:55Z | https://github.com/langchain-ai/langchain/issues/7327 | 1,792,965,212 | 7,327 |
[
"langchain-ai",
"langchain"
] | I've got a GoogleDriveLoader implemented with a exponential backoff and a sleep function to try further mitigate rate limits, but I still get rate limit errors from Google.
Even though I've added a time.sleep(5) statement, I assume it only takes effect before each attempt to load all the documents, not between indiv... | Issue: Rate limiting on large Google Drive folder | https://api.github.com/repos/langchain-ai/langchain/issues/7325/comments | 3 | 2023-07-07T06:06:08Z | 2023-12-30T16:07:34Z | https://github.com/langchain-ai/langchain/issues/7325 | 1,792,853,218 | 7,325 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I used RecursiveCharacterTextSplitter.from_tiktoken_encoder to split a document, and if I set chunk_size to 2000, OpenAI cannot answer my question by the documents, if I set chunk_size to 500, OpenAI can work very well. I want to know, As a rule of thumb, what is the best size for a chun... | What is the best size for a chunk | https://api.github.com/repos/langchain-ai/langchain/issues/7322/comments | 2 | 2023-07-07T05:42:08Z | 2023-10-14T20:10:37Z | https://github.com/langchain-ai/langchain/issues/7322 | 1,792,823,901 | 7,322 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: v0.0.225
Python Version: 3.10
Deployed and running on AWS Lambda deployed with x86_64 architecture.
### Who can help?
@jacoblee93
### Information
- [x] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat ... | Zapier Toolkit and Function Agents not compatible | https://api.github.com/repos/langchain-ai/langchain/issues/7315/comments | 2 | 2023-07-07T01:38:10Z | 2023-10-14T20:10:42Z | https://github.com/langchain-ai/langchain/issues/7315 | 1,792,553,905 | 7,315 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Python Documentation for Output Parser Unavailable
URL: https://python.langchain.com/docs/modules/prompts/output_parsers.html
### Idea or request for content:
I am currently taking the "Langchain/lesson/2/models, prompts, and parsers" course from deeplearning.ai. While workin... | DOC: Broken Python Information Link in Langchain Documentation | https://api.github.com/repos/langchain-ai/langchain/issues/7311/comments | 2 | 2023-07-07T00:02:09Z | 2023-07-07T16:31:22Z | https://github.com/langchain-ai/langchain/issues/7311 | 1,792,485,542 | 7,311 |
[
"langchain-ai",
"langchain"
] | ### System Info
I got error when try to load custom LLM for Llama-Index
```
# setup prompts - specific to StableLM
from llama_index.prompts.prompts import SimpleInputPrompt
system_prompt = """<|SYSTEM|># StableLM Tuned (Alpha version)
- StableLM is a helpful and harmless open-source AI language model develope... | Llama_index model as a tool for lang chain | https://api.github.com/repos/langchain-ai/langchain/issues/7309/comments | 5 | 2023-07-06T22:34:36Z | 2023-07-09T20:42:18Z | https://github.com/langchain-ai/langchain/issues/7309 | 1,792,391,896 | 7,309 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It would be nice to add a maximal_marginal_relevance to the MongoDBAtlasVectorSearch vectorstore
### Motivation
This will bring help users to get more diverse results than the ones only based on the relevance score
### Your contribution
I'll write a PR | MongoDBAtlasVectorSearch vectorstore - add maximal_marginal_relevance method | https://api.github.com/repos/langchain-ai/langchain/issues/7304/comments | 2 | 2023-07-06T21:24:25Z | 2023-10-12T16:05:25Z | https://github.com/langchain-ai/langchain/issues/7304 | 1,792,265,347 | 7,304 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.225
Python version: 3.8.5
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ]... | Evaluation returns 'INCORRECT' when ground truth is empty and prediction is empty | https://api.github.com/repos/langchain-ai/langchain/issues/7303/comments | 1 | 2023-07-06T21:20:21Z | 2023-10-12T16:05:30Z | https://github.com/langchain-ai/langchain/issues/7303 | 1,792,259,575 | 7,303 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I got this code that i want to move to the model gpt3.5-turbo since its 10 times cheaper than the text-davinci-003 but i get this error
```
ValueError: OpenAIChat currently only supports single prompt, got ["Use the following portion of a long document to see if any of the te... | DOC: <ValueError: OpenAIChat currently only supports single prompt, got ["Use the following portion of a long document to see if any of the text is relevant to answer the question."]'DOC: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/7302/comments | 3 | 2023-07-06T21:08:00Z | 2023-11-24T16:08:09Z | https://github.com/langchain-ai/langchain/issues/7302 | 1,792,242,224 | 7,302 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain=0.0.225, python=3.9.17, openai=0.27.8
openai.api_type = "azure", openai.api_version = "2023-05-15"
api_base, api_key, deployment_name environment variables all configured.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified... | langchain.document_loaders.generic GenericLoader not working on Azure OpenAI - InvalidRequestError: Resource Not Found, cannot detect declared resource | https://api.github.com/repos/langchain-ai/langchain/issues/7298/comments | 5 | 2023-07-06T19:16:57Z | 2024-02-10T16:22:03Z | https://github.com/langchain-ai/langchain/issues/7298 | 1,792,095,489 | 7,298 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain: 0.0.225
OS: Arch Linux
Python: 3.11
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templat... | OpenAI Chat agents don't make use of OpenAI API `messages` parameter. | https://api.github.com/repos/langchain-ai/langchain/issues/7291/comments | 3 | 2023-07-06T17:42:57Z | 2023-10-14T20:10:48Z | https://github.com/langchain-ai/langchain/issues/7291 | 1,791,972,879 | 7,291 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain: v0.0.225
OS: Ubuntu 22.04
### Who can help?
@agola11
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | on_retriever_end() not called with ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7290/comments | 12 | 2023-07-06T16:51:42Z | 2024-04-25T16:11:49Z | https://github.com/langchain-ai/langchain/issues/7290 | 1,791,902,494 | 7,290 |
[
"langchain-ai",
"langchain"
] | ### System Info
Mac OS Ventura 13.3.1 (a)
Python 3.10.8
LangChain 0.0.224
### Who can help?
@hwchase17
@hinthornw
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / P... | Input in GraphQAChain Prompt is Malformed When Only 1 Triplet Is Found | https://api.github.com/repos/langchain-ai/langchain/issues/7289/comments | 2 | 2023-07-06T16:25:05Z | 2023-07-07T21:19:54Z | https://github.com/langchain-ai/langchain/issues/7289 | 1,791,868,997 | 7,289 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
If we run a `Search` on the python.langchain.com/docs/ we got the result as several clickable fields. Those fields are the URLs of the found results. But the fields are too short to show the URLs. We cannot see what LangChain doc pages were found. We see just the start of the URL ... | DOC: Search functionality: `Verified Sources:` fields unreadable | https://api.github.com/repos/langchain-ai/langchain/issues/7288/comments | 1 | 2023-07-06T16:17:48Z | 2023-10-05T22:06:37Z | https://github.com/langchain-ai/langchain/issues/7288 | 1,791,859,217 | 7,288 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.223
Linux
Python 3.11
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt... | Can't use human_prefix and ai_prefix with agent | https://api.github.com/repos/langchain-ai/langchain/issues/7285/comments | 3 | 2023-07-06T15:57:25Z | 2024-04-01T11:21:35Z | https://github.com/langchain-ai/langchain/issues/7285 | 1,791,828,808 | 7,285 |
[
"langchain-ai",
"langchain"
] | ### System Info
When I initialise ChatAnthropic(), it got the error:
anthropic_version = packaging.version.parse(version("anthropic"))
AttributeError: module 'packaging' has no attribute 'version'
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own mo... | anthropic_version = packaging.version.parse(version("anthropic")) AttributeError: module 'packaging' has no attribute 'version' | https://api.github.com/repos/langchain-ai/langchain/issues/7283/comments | 5 | 2023-07-06T15:35:39Z | 2023-10-14T20:10:57Z | https://github.com/langchain-ai/langchain/issues/7283 | 1,791,794,342 | 7,283 |
[
"langchain-ai",
"langchain"
] | ### System Info
Getting ''' ValueError: Unable to send PDF to Mathpix''' while using MathpixPDFLoader.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / ... | MathpixPDFLoader doesn't work. | https://api.github.com/repos/langchain-ai/langchain/issues/7282/comments | 5 | 2023-07-06T15:15:17Z | 2023-10-07T17:05:46Z | https://github.com/langchain-ai/langchain/issues/7282 | 1,791,761,739 | 7,282 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It would be nice to have a similar function as `get_openai_callback()` for VertexAI. This actually gives the input tokens, output tokens and cost of using OpenAI models:
```python
with get_openai_callback() as cb:
llm = OpenAI(temperature=0)
chat = ChatOpenAI(temperature=0)
emb =... | Callback for VertexAI to monitor cost and token consumption | https://api.github.com/repos/langchain-ai/langchain/issues/7280/comments | 8 | 2023-07-06T14:50:29Z | 2024-06-05T10:48:30Z | https://github.com/langchain-ai/langchain/issues/7280 | 1,791,718,932 | 7,280 |
[
"langchain-ai",
"langchain"
] | You can pass filter to an kNN in elasticsearch.
This is currently implemented in the langchain wrapper in the exact KNN search.
But is not yet implemented in the approximate KNN search.
Add filter param to [_default_knn_query](https://github.com/jeffvestal/langchain/blob/10f34bf62e2d53f0b1a7b15ba21c2328b64862cd/la... | Allow filter to be passed in ElasticKnnSearch knn_search and knn_hybrid_search | https://api.github.com/repos/langchain-ai/langchain/issues/7277/comments | 1 | 2023-07-06T13:56:39Z | 2023-09-20T14:35:44Z | https://github.com/langchain-ai/langchain/issues/7277 | 1,791,621,321 | 7,277 |
[
"langchain-ai",
"langchain"
] | ### Feature request
This adds support for Apache SOLRs vector search capabilities
(https://solr.apache.org/guide/solr/latest/query-guide/dense-vector-search.html)
### Motivation
As SOLR is a commonly used search index and now offers this feature, it is important to allow SOLR users to be able to integrate seamlessl... | [FEATURE] SOLR Based Vector Store | https://api.github.com/repos/langchain-ai/langchain/issues/7273/comments | 8 | 2023-07-06T12:44:39Z | 2024-02-15T16:11:20Z | https://github.com/langchain-ai/langchain/issues/7273 | 1,791,490,032 | 7,273 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
```
def handle_embeddings(payload):
loader = UnstructuredPDFLoader(payload["filepath"])
documents = loader.load()
text_splitter = SpacyTextSplitter(pipeline=payload["language"], chunk_size=1536, chunk_overlap=0)
docs = text_splitter.split_documents(documents)
... | 'Qdrant.from_documents' Memory overflow | https://api.github.com/repos/langchain-ai/langchain/issues/7272/comments | 8 | 2023-07-06T12:25:00Z | 2023-10-16T16:06:24Z | https://github.com/langchain-ai/langchain/issues/7272 | 1,791,458,701 | 7,272 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using Tools and Agents to query on different vectorstores. But when I am asking question which is not from the vectorstore.It responds i dont know. So is there any approach i can try where if the answer is not from the vectorstore i can carry out the conversation like chatgpt. If ... | Langchain Tools and Agents | https://api.github.com/repos/langchain-ai/langchain/issues/7269/comments | 5 | 2023-07-06T10:11:15Z | 2023-12-01T16:09:13Z | https://github.com/langchain-ai/langchain/issues/7269 | 1,791,243,008 | 7,269 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain v0.0.225, Windows10, Python 3.10
### 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
- [ ] Outp... | langchain + gpt4all 执行异常,总提示参数问题 | https://api.github.com/repos/langchain-ai/langchain/issues/7268/comments | 3 | 2023-07-06T09:22:31Z | 2023-10-14T20:11:07Z | https://github.com/langchain-ai/langchain/issues/7268 | 1,791,159,677 | 7,268 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain v0.0.225, Windows, Python 3.10
### 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 Selector... | Inconsistent behavior of `CharacterTextSplitter` when changing `keep_separator` for special regex characters | https://api.github.com/repos/langchain-ai/langchain/issues/7262/comments | 1 | 2023-07-06T07:57:36Z | 2023-07-06T13:54:13Z | https://github.com/langchain-ai/langchain/issues/7262 | 1,791,023,162 | 7,262 |
[
"langchain-ai",
"langchain"
] | ### System Info
Error: Please install chromadb as a dependency with, e.g. `npm install -S chromadb`
at Function.imports (file:///home/aqib/backend-11/vision/node_modules/langchain/dist/vectorstores/chroma.js:160:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Chroma.en... | Chroma DB Error | https://api.github.com/repos/langchain-ai/langchain/issues/7260/comments | 11 | 2023-07-06T07:46:56Z | 2024-03-13T19:55:57Z | https://github.com/langchain-ai/langchain/issues/7260 | 1,791,006,392 | 7,260 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm using the `OpenAIEmbeddings` object to create embeddings for my list of documents. While it expects a list of strings, the `embed_documents` function seems misleading as to accept a list of documents. As a result, passing a list of documents raises `AttributeError` since `Document` o... | Issue: confusion about `Document` or string input for `embed_documents` function | https://api.github.com/repos/langchain-ai/langchain/issues/7259/comments | 3 | 2023-07-06T07:32:37Z | 2023-10-05T17:49:36Z | https://github.com/langchain-ai/langchain/issues/7259 | 1,790,985,762 | 7,259 |
[
"langchain-ai",
"langchain"
] | I was using openai functions agent with custom functions , the custom function(loan eligibility) needs three augments , state, age and income .
when i run the agent with question "how much can i borrow in state CA?" , it is directly calling function without asking age and income from the user .
below is the error... | OpenAI Functions Agent not asking required parameter value | https://api.github.com/repos/langchain-ai/langchain/issues/7255/comments | 1 | 2023-07-06T06:19:57Z | 2023-10-12T16:06:00Z | https://github.com/langchain-ai/langchain/issues/7255 | 1,790,892,343 | 7,255 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.0.225, Python 3.10, Windows
### 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 Selector... | Structured Chat Agent cannot save_context when memory has additional input variables | https://api.github.com/repos/langchain-ai/langchain/issues/7254/comments | 1 | 2023-07-06T04:49:18Z | 2023-10-12T16:06:05Z | https://github.com/langchain-ai/langchain/issues/7254 | 1,790,798,010 | 7,254 |
[
"langchain-ai",
"langchain"
] | null | How to parse docx/pdf file which contains text table and image?Also, we need to classify text table and image, maybe operations are different?thanks | https://api.github.com/repos/langchain-ai/langchain/issues/7252/comments | 2 | 2023-07-06T04:35:02Z | 2023-10-12T16:06:10Z | https://github.com/langchain-ai/langchain/issues/7252 | 1,790,785,354 | 7,252 |
[
"langchain-ai",
"langchain"
] | ### Feature request
how to disable the OpenAI initialization when you're not using an OpenAI model.
[Please check this issue](https://github.com/hwchase17/langchain/issues/7189#issuecomment-1621931461)
### Motivation
I am trying to build a VectorstoreIndexCreator using the following configuration
embeddin... | How to disable the OpenAI initialization when you're not using an OpenAI model | https://api.github.com/repos/langchain-ai/langchain/issues/7251/comments | 3 | 2023-07-06T04:19:04Z | 2024-03-02T14:38:20Z | https://github.com/langchain-ai/langchain/issues/7251 | 1,790,771,160 | 7,251 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain : 0.0.223
os: mac Ventura 13.4.1 max
python: 3.11.3
### 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... | Does LlamaCPP currently not support the gpu acceleration of mps when n_gpu_layer to 1? | https://api.github.com/repos/langchain-ai/langchain/issues/7249/comments | 0 | 2023-07-06T03:50:02Z | 2023-07-06T03:56:20Z | https://github.com/langchain-ai/langchain/issues/7249 | 1,790,747,965 | 7,249 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add `show_progress_bar` within `OpenAIEmbeddings` class.
### Motivation
Simply speaking,
1. Showing progress bar within existing progress bar is generally not a good practice. Most of time it will break.
2. There might be people who want to keep their console quiet.
### Your contribution
... | Make tqdm optional for OpenAIEmbeddings | https://api.github.com/repos/langchain-ai/langchain/issues/7246/comments | 1 | 2023-07-06T02:21:17Z | 2023-07-06T03:58:55Z | https://github.com/langchain-ai/langchain/issues/7246 | 1,790,672,805 | 7,246 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
A continuation of #7126,
Pinecone features in Langchain that are not mentioned in Langchain's documentation. https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/pinecone
### Idea or request for content:
Add documentation for the other Pinecone ... | DOC: Pinecone functions need more documentation | https://api.github.com/repos/langchain-ai/langchain/issues/7243/comments | 1 | 2023-07-06T00:15:48Z | 2023-10-12T16:06:20Z | https://github.com/langchain-ai/langchain/issues/7243 | 1,790,553,866 | 7,243 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.224
Platform: Mac
Python Version: 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 / Prom... | Async callback has issues | https://api.github.com/repos/langchain-ai/langchain/issues/7242/comments | 2 | 2023-07-06T00:03:04Z | 2023-07-06T12:43:26Z | https://github.com/langchain-ai/langchain/issues/7242 | 1,790,539,904 | 7,242 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Include source document index information in the combine document chain prompt. For example in `_get_inputs` of `StuffDocumentChain` we could make the following change (in addition to corresponding changes to `format_document`):
```
# From
doc_strings = [format_document(doc, self.document_prom... | Add Document Index Information for QA Inline Citations | https://api.github.com/repos/langchain-ai/langchain/issues/7239/comments | 22 | 2023-07-05T22:46:45Z | 2024-05-16T16:06:39Z | https://github.com/langchain-ai/langchain/issues/7239 | 1,790,462,714 | 7,239 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: '0.0.218'
windows 10
### Who can help?
@dev2049 @homanp
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pars... | OpenAPISpec functions can get stuck in a loop | https://api.github.com/repos/langchain-ai/langchain/issues/7233/comments | 2 | 2023-07-05T21:31:57Z | 2023-10-12T16:06:26Z | https://github.com/langchain-ai/langchain/issues/7233 | 1,790,374,247 | 7,233 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Still new here so I mimicked the setup of `llm/llamacpp.py` wrapper for the draft of Salesforce's new LLM [XGen](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard/discussions/91).
### Motivation
Expand the LLM sets integrated in Langchain.
### Your contribution
PR #7221 | Salesforce XGen integration | https://api.github.com/repos/langchain-ai/langchain/issues/7223/comments | 1 | 2023-07-05T19:54:04Z | 2023-07-06T04:53:07Z | https://github.com/langchain-ai/langchain/issues/7223 | 1,790,201,590 | 7,223 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi I found myself having to do a "hack" when using MultiPromptChain.
In particular when ny destination chains take more than one parameter into the template at runtime for example "{current"_timestamp}"
I was getting the following exception
```
File "/home/xxx/venv/lib/python3.10... | Issue: Issue with MutliPromptRouter with memory destination chains | https://api.github.com/repos/langchain-ai/langchain/issues/7220/comments | 2 | 2023-07-05T19:50:23Z | 2023-10-12T16:06:31Z | https://github.com/langchain-ai/langchain/issues/7220 | 1,790,197,414 | 7,220 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add retry policy to VertexAI models.
### Motivation
E.g., when trying to run a summarization chain on many chunks (I reproduce the error with 99 chunks), an exception `ResourceExhausted: 429 Quota exceeded` might be returned by Vertex.
### Your contribution
yes, I'll submit a PR shortly. | Add retries to VertexAI models | https://api.github.com/repos/langchain-ai/langchain/issues/7217/comments | 1 | 2023-07-05T18:45:48Z | 2023-07-10T08:52:37Z | https://github.com/langchain-ai/langchain/issues/7217 | 1,790,092,753 | 7,217 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
More of a clarification than an issue. In the javascript documentation, it describes the Document interface. https://js.langchain.com/docs/modules/schema/document. Does an equivalent thing exist in the Python version. When I try 'from langchain.document import Document` in pytho... | DOC: DOCUMENT interface in Javascript but not in Python | https://api.github.com/repos/langchain-ai/langchain/issues/7215/comments | 2 | 2023-07-05T18:15:21Z | 2023-07-05T18:41:14Z | https://github.com/langchain-ai/langchain/issues/7215 | 1,790,052,100 | 7,215 |
[
"langchain-ai",
"langchain"
] | ### System Info
There seem to be some hallucinations involving the president and Michael Jackson.
I use the following, where `data` is loaded using `UnstructuredURLLoader(urls).load()` and `urls` is just a list of URLs I'm interested in. Needless to say that none of the URLs involve Michael Jackson (or the preside... | Undesired outputs when using map_reduce | https://api.github.com/repos/langchain-ai/langchain/issues/7199/comments | 2 | 2023-07-05T13:55:41Z | 2023-07-08T17:20:32Z | https://github.com/langchain-ai/langchain/issues/7199 | 1,789,623,893 | 7,199 |
[
"langchain-ai",
"langchain"
] | ### System Info
**Python : Python 3.9.13
Langchain: langchain==0.0.219
OS : Ubuntu**
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / P... | ConversationalRetrievalChain return only the prompt not the answer | https://api.github.com/repos/langchain-ai/langchain/issues/7193/comments | 4 | 2023-07-05T11:58:18Z | 2023-11-20T16:06:21Z | https://github.com/langchain-ai/langchain/issues/7193 | 1,789,401,709 | 7,193 |
[
"langchain-ai",
"langchain"
] | https://github.com/hwchase17/langchain/blob/e27ba9d92bd2cc4ac9ed7439becb2d32816fc89c/langchain/llms/huggingface_pipeline.py#L169
should modified to
#response = self.pipeline(prompt)
response = self.pipeline(prompt, **kwargs) | kwargs are forgot to send to huggingface pipeline call | https://api.github.com/repos/langchain-ai/langchain/issues/7192/comments | 3 | 2023-07-05T11:18:41Z | 2023-12-19T00:50:02Z | https://github.com/langchain-ai/langchain/issues/7192 | 1,789,340,428 | 7,192 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When using AgentType.OPENAI_FUNCTIONS, the error message "openai.error.InvalidRequestError: 'Gmail: Find Email' does not match '^[a-zA-Z0-9_-]{1,64}$' - '[functions.6.name](http://functions.6.name/)'" suggests that the name you are using for the function ('Gmail: Find Email') does not ad... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/7191/comments | 3 | 2023-07-05T10:53:22Z | 2023-10-12T16:06:36Z | https://github.com/langchain-ai/langchain/issues/7191 | 1,789,300,649 | 7,191 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have written a code to add the memory to ConversationalRetrievalChain but I am getting an error **"Missing some input keys: {'question'}"**. Below is the snippet of my code
memory = ConversationBufferMemory(
memory_key="chat_history",
input_key=... | Issue: Missing some input keys: {'question'} when using ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/7190/comments | 6 | 2023-07-05T10:50:07Z | 2024-03-04T14:32:18Z | https://github.com/langchain-ai/langchain/issues/7190 | 1,789,293,722 | 7,190 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am trying to build a **VectorstoreIndexCreator** using the following configuration
embeddings= **SentenceTransformerEmbeddings** embeddings
vectorstore_cls = **Chroma**
llm = **HuggingfaceHub** Model
Note: I am not using any **openai** model as **llm** or **embedding** purpose
here is the... | Did not find openai_api_key, please add an environment variable `OPENAI_API_KEY` which contains it, or pass `openai_api_key` as a named parameter. (type=value_error) | https://api.github.com/repos/langchain-ai/langchain/issues/7189/comments | 11 | 2023-07-05T10:43:47Z | 2024-04-12T15:07:16Z | https://github.com/langchain-ai/langchain/issues/7189 | 1,789,283,892 | 7,189 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11.4
duckdb==0.8.1
chromadb==0.3.26
langchain==0.0.221
### 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 / P... | Load Chroma database: Invalid Input Error: No magic bytes found at end of file 'database/vectors/chroma-embeddings.parquet' | https://api.github.com/repos/langchain-ai/langchain/issues/7188/comments | 2 | 2023-07-05T10:33:28Z | 2023-10-12T16:06:41Z | https://github.com/langchain-ai/langchain/issues/7188 | 1,789,266,410 | 7,188 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/model_io/models/llms/integrations/sagemaker
This example is not working. I've just copy pasted the code from here and ran it in my notebook instance. I'm using falcon-40b-instruct model.
The error I'm getting is as follows
Error ra... | DOC: https://python.langchain.com/docs/modules/model_io/models/llms/integrations/sagemaker | https://api.github.com/repos/langchain-ai/langchain/issues/7187/comments | 4 | 2023-07-05T10:10:48Z | 2024-02-10T16:22:12Z | https://github.com/langchain-ai/langchain/issues/7187 | 1,789,229,545 | 7,187 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.