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"
] | ### System Info
python==3.10.13
langchain==0.0.336
pydantic==1.10.13
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | OpenAI Functions Extraction Chain not returning a list | https://api.github.com/repos/langchain-ai/langchain/issues/13533/comments | 6 | 2023-11-17T20:18:52Z | 2024-04-15T16:42:30Z | https://github.com/langchain-ai/langchain/issues/13533 | 1,999,863,087 | 13,533 |
[
"hwchase17",
"langchain"
] | ### System Info
- Python 3.11.5
- google-ai-generativelanguage==0.3.3
- langchain==0.0.336
### 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 Templ... | Output parser fails with index out of range error but doesn't give actual fail reason in case of GooglePalm | https://api.github.com/repos/langchain-ai/langchain/issues/13532/comments | 3 | 2023-11-17T20:02:52Z | 2024-02-23T16:05:32Z | https://github.com/langchain-ai/langchain/issues/13532 | 1,999,837,560 | 13,532 |
[
"hwchase17",
"langchain"
] | ### Feature request
I would be very nice to be able to build something similar to RAG, but for checking an assumption quality against a knowledge base.
### Motivation
Currently, RAG allows a semantic search but does not help when it comes to evaluating the quality of a user input, based on your vector db.
The poi... | RAG but for fact checking | https://api.github.com/repos/langchain-ai/langchain/issues/13526/comments | 5 | 2023-11-17T17:31:41Z | 2024-02-24T16:05:37Z | https://github.com/langchain-ai/langchain/issues/13526 | 1,999,617,934 | 13,526 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain == 0.0.336
python == 3.9.6
### Who can help?
@hwchase17 @eyu
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output ... | YoutubeLoader translation not working | https://api.github.com/repos/langchain-ai/langchain/issues/13523/comments | 6 | 2023-11-17T16:32:37Z | 2024-02-19T18:30:42Z | https://github.com/langchain-ai/langchain/issues/13523 | 1,999,507,481 | 13,523 |
[
"hwchase17",
"langchain"
] | Hello,
### System Info
Langchain Version: 0.0.336
OS: Windows
### Who can help?
No response
### Information
- [x] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [x] Prompts / Prompt Templates / Prompt Selectors
- [x] Vector... | Extract SQL information and execute | https://api.github.com/repos/langchain-ai/langchain/issues/13519/comments | 7 | 2023-11-17T15:27:24Z | 2024-02-24T16:05:42Z | https://github.com/langchain-ai/langchain/issues/13519 | 1,999,384,822 | 13,519 |
[
"hwchase17",
"langchain"
] | ### System Info
aiohttp==3.8.4
aiosignal==1.3.1
altair==5.0.1
annotated-types==0.6.0
anyio==3.7.1
asgiref==3.7.2
async-timeout==4.0.2
attrs==23.1.0
backoff==2.2.1
blinker==1.6.2
cachetools==5.3.1
certifi==2023.5.7
cffi==1.15.1
chardet==5.1.0
charset-normalizer==3.2.0
click==8.1.5
clickhouse-connect==0.... | VectorStoreRetrieverMemory doesn't work with AgentExecutor | https://api.github.com/repos/langchain-ai/langchain/issues/13516/comments | 4 | 2023-11-17T14:08:19Z | 2024-02-23T16:05:47Z | https://github.com/langchain-ai/langchain/issues/13516 | 1,999,219,108 | 13,516 |
[
"hwchase17",
"langchain"
] | ### Feature request
I see the current SQLiteCache is storing the entire prompt message in the SQLite db.
It would be more efficient to just hash the prompt and store this as the key for cache lookup.
### Motivation
My prompt messages are often lengthy and I want to optimize the storage requirements of the Cache.
... | SQLiteCache - store only the hash of the prompt as key instead of the entire prompt | https://api.github.com/repos/langchain-ai/langchain/issues/13513/comments | 3 | 2023-11-17T12:40:31Z | 2024-02-23T16:05:52Z | https://github.com/langchain-ai/langchain/issues/13513 | 1,999,036,428 | 13,513 |
[
"hwchase17",
"langchain"
] | ### System Info
I am facing an issue using `MarkdownHeaderTextSplitter` class and, after looking at the code, I noticed that the problem might be present in several Text Splitters and I did not find any issue on this, so I create a new one.
I am trying to use `MarkdownHeaderTextSplitter` regarding the `TextSplitter... | Text splitters inhéritance | https://api.github.com/repos/langchain-ai/langchain/issues/13510/comments | 3 | 2023-11-17T10:20:27Z | 2024-03-18T16:06:44Z | https://github.com/langchain-ai/langchain/issues/13510 | 1,998,763,281 | 13,510 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I am trying claude-2 model using the ChatAnthropic library and iterating over my data to call the model end for predictions. Since it's a chain of input, I am using StuffDocumentsChain. I am facing two issues currently.
1. CLOSE_WAIT error after the connection is established with cl... | Issue: Getting CLOSE_WAIT and too many files open error using ChatAnthropic and StuffDocumentsChain | https://api.github.com/repos/langchain-ai/langchain/issues/13509/comments | 12 | 2023-11-17T10:05:35Z | 2024-06-24T16:07:27Z | https://github.com/langchain-ai/langchain/issues/13509 | 1,998,738,328 | 13,509 |
[
"hwchase17",
"langchain"
] | ### System Info
Python 3.9
langchain 0.0.336
openai 1.3.2
pandas 2.1.3
### Who can help?
@EYU
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | VLLMOpenAI -- create() got an unexpected keyword argument 'api_key' | https://api.github.com/repos/langchain-ai/langchain/issues/13507/comments | 3 | 2023-11-17T08:56:07Z | 2023-11-20T01:49:57Z | https://github.com/langchain-ai/langchain/issues/13507 | 1,998,591,711 | 13,507 |
[
"hwchase17",
"langchain"
] | ### System Info
I was using 0.0.182-rc.1 and I tried upgrading to the latest, 0.0.192
But I'm still getting the error.
Please note: everything was working fine before, I have made no changes.
Did openai change something?
Not sure what is going on here but it looks like its from openai side. If so how do I fix this... | Sudden failure to initialize | https://api.github.com/repos/langchain-ai/langchain/issues/13505/comments | 3 | 2023-11-17T07:42:15Z | 2024-02-23T16:05:57Z | https://github.com/langchain-ai/langchain/issues/13505 | 1,998,469,952 | 13,505 |
[
"hwchase17",
"langchain"
] | ### System Info
Location: langchain/lllms/base.py
I think there's a hidden error in a 'generate' method. (line 554)
Inside of the second 'if' statement, it calls the index of callbacks that may cause the potential error.
`Callbacks` is an object of `CallbackManager`, which is not iterable, so it can not be call... | Found Potential Bug! (langchain > llm > base.py) | https://api.github.com/repos/langchain-ai/langchain/issues/13504/comments | 4 | 2023-11-17T07:05:15Z | 2024-02-26T16:06:48Z | https://github.com/langchain-ai/langchain/issues/13504 | 1,998,415,070 | 13,504 |
[
"hwchase17",
"langchain"
] | ### Feature request
can you add memory for RetrievalQA.from_chain_type(). I haven't seen any implementation of memory for this kind of RAG chain. It would be nice to have memory and ask questions in context.
### Motivation
I just can't get any memory to work with RetrievalQA.from_chain_type().
### Your contribution... | implement memory for RetrievalQA.from_chain_type() | https://api.github.com/repos/langchain-ai/langchain/issues/13503/comments | 3 | 2023-11-17T06:52:41Z | 2024-02-23T16:06:07Z | https://github.com/langchain-ai/langchain/issues/13503 | 1,998,400,060 | 13,503 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
**Description:**
The Redistext search feature in Redis Vector Store functions well with a small number of indexed documents (20-30). However, when the quantity of indexed documents exceeds 400-500, the performance degrades noticeably. Some keys are missed during the Redistext search, an... | Why does Redis vector store misses some keys in redistext search. although key and related details exists in index.Issue | https://api.github.com/repos/langchain-ai/langchain/issues/13500/comments | 3 | 2023-11-17T05:05:26Z | 2024-02-23T16:06:12Z | https://github.com/langchain-ai/langchain/issues/13500 | 1,998,286,493 | 13,500 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I created a tool in an agent to output some data. The data contains ADMET properties and other properties. Although I have made it very clear that all properties should be kept in the tool function as well as in the output parser, I still can not get the non-ADMET properties in the final... | Output Parser not Work in an Agent Chain | https://api.github.com/repos/langchain-ai/langchain/issues/13498/comments | 3 | 2023-11-17T03:53:58Z | 2024-02-23T16:06:17Z | https://github.com/langchain-ai/langchain/issues/13498 | 1,998,227,516 | 13,498 |
[
"hwchase17",
"langchain"
] | ### System Info
When using fail, similarity_search_with_score function, the parameters filter and score_threshold together, the results will be problematic
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/... | faiss中的错误 | https://api.github.com/repos/langchain-ai/langchain/issues/13497/comments | 3 | 2023-11-17T03:29:19Z | 2024-02-23T16:06:22Z | https://github.com/langchain-ai/langchain/issues/13497 | 1,998,208,034 | 13,497 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I want to create an ADMET properties prediction tool in an agent. But the result is not so good. Here is my code:
def Func_Tool_XYZ(parameters):
print("\n", parameters)
print("触发Func_Tool_ADMET插件")
print("........正在解析ADMET属性..........")
data = {
"SMILES": ... | Property Lost in an Agent Chain | https://api.github.com/repos/langchain-ai/langchain/issues/13495/comments | 4 | 2023-11-17T03:09:10Z | 2024-02-23T16:06:27Z | https://github.com/langchain-ai/langchain/issues/13495 | 1,998,187,189 | 13,495 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The `make api_docs_build` command is very slow. This command builds the API Reference documentation. This command is defined in the `Makefile`
### Suggestion:
_No response_ | very slow make command | https://api.github.com/repos/langchain-ai/langchain/issues/13494/comments | 7 | 2023-11-17T02:58:21Z | 2024-02-09T16:47:54Z | https://github.com/langchain-ai/langchain/issues/13494 | 1,998,176,960 | 13,494 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.320
MacOS 13.14.1
Python 3.9.18
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Promp... | Adding messages to history doesn't work with custom message types | https://api.github.com/repos/langchain-ai/langchain/issues/13493/comments | 4 | 2023-11-17T02:23:36Z | 2024-02-23T16:06:32Z | https://github.com/langchain-ai/langchain/issues/13493 | 1,998,146,316 | 13,493 |
[
"hwchase17",
"langchain"
] | ### System Info
google-cloud-aiplatform = "^1.36.4"
langchain = "0.0.336"
python 3.11
```
pydantic.v1.error_wrappers.ValidationError: 1 validation error for VertexAI
__root__
Unknown model publishers/google/models/chat-bison-32k; {'gs://google-cloud-aiplatform/schema/predict/instance/text_generation_1.0.... | VertexAI chat-bison-32k support | https://api.github.com/repos/langchain-ai/langchain/issues/13478/comments | 3 | 2023-11-16T20:58:24Z | 2023-11-16T22:28:16Z | https://github.com/langchain-ai/langchain/issues/13478 | 1,997,770,078 | 13,478 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
The MLflowAIGateway module names should be consistent with `MLflow` (upper case ML and lowercase f):
`from langchain.chat_models import ChatMLflowAIGateway`
For embeddings and completions, current module names are:
```
from langchain.llms import MlflowAIGateway
from langchain.embe... | Issue: minor naming discrepency of MLflowAIGateway | https://api.github.com/repos/langchain-ai/langchain/issues/13475/comments | 3 | 2023-11-16T19:00:55Z | 2024-02-22T16:06:03Z | https://github.com/langchain-ai/langchain/issues/13475 | 1,997,547,851 | 13,475 |
[
"hwchase17",
"langchain"
] | ### System Info
databricks Machine Learning Runtime: 13.3
langchain==0.0.319
python == 3.9
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prom... | inconsistency parameter requirements for chat_models.ChatMLflowAIGateway | https://api.github.com/repos/langchain-ai/langchain/issues/13474/comments | 3 | 2023-11-16T18:51:10Z | 2024-02-22T16:06:09Z | https://github.com/langchain-ai/langchain/issues/13474 | 1,997,529,011 | 13,474 |
[
"hwchase17",
"langchain"
] | ### System Info
Version: langchain 0.0.336
Version: sqlalchemy 2.0.1
File "/Users/anonymous/code/anon/anon/utils/cache.py", line 40, in set_cache
from langchain.cache import SQLiteCache
File "/Users/anonymous/dotfiles/virtualenvs/aiproject/lib/python3.11/site-packages/langchain/cache.py", line 45, in <m... | ImportError: cannot import name 'Row' from 'sqlalchemy' | https://api.github.com/repos/langchain-ai/langchain/issues/13464/comments | 6 | 2023-11-16T15:08:51Z | 2024-03-18T16:06:39Z | https://github.com/langchain-ai/langchain/issues/13464 | 1,997,084,178 | 13,464 |
[
"hwchase17",
"langchain"
] | ### System Info
I am facing an issue during the testing of my chatbot, here is below i attached a screenshot which can show you the exact issue.

But when i hit the api again with first small letter 'what' i... | ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/13461/comments | 6 | 2023-11-16T13:42:31Z | 2024-02-22T16:06:13Z | https://github.com/langchain-ai/langchain/issues/13461 | 1,996,884,066 | 13,461 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Wrote the following code in Google Colab but it is unable to fetch the data. Kindly help.
from langchain.document_loaders.sitemap import SitemapLoader
sitemap_loader = SitemapLoader(web_path="https://langchain.readthedocs.io/sitemap.xml")
docs = sitemap_loader.load()
print(docs)
... | Issue: Sitemap Loader not fetching | https://api.github.com/repos/langchain-ai/langchain/issues/13460/comments | 7 | 2023-11-16T12:56:45Z | 2024-05-03T06:29:38Z | https://github.com/langchain-ai/langchain/issues/13460 | 1,996,800,557 | 13,460 |
[
"hwchase17",
"langchain"
] | @dosu-bot
1 more question for my code thats below.
This is my code:
loader = PyPDFLoader(file_name)
documents = loader.load()
llm = ChatOpenAI(temperature = 0, model_name='gpt-3.5-turbo', callbacks=[StreamingStdOutCallbackHandler()], streaming = True)
text_splitter = RecursiveCharacterTextSplitter(
chunk... | Output being rephrased | https://api.github.com/repos/langchain-ai/langchain/issues/13458/comments | 3 | 2023-11-16T12:34:29Z | 2024-02-22T16:06:23Z | https://github.com/langchain-ai/langchain/issues/13458 | 1,996,761,493 | 13,458 |
[
"hwchase17",
"langchain"
] | @dosu-bot
Below is my code and in the line " llm_response = conversation({"query": question})", what would happen if I did conversation.run or conversation.apply or conversation.batch or conversation.invoke? When I do use each of those?
load_dotenv()
file_name = "Admin 2.0.pdf"
def print_letter_by_letter(t... | Difference between run, apply, invoke, batch | https://api.github.com/repos/langchain-ai/langchain/issues/13457/comments | 7 | 2023-11-16T11:42:35Z | 2024-04-09T16:15:50Z | https://github.com/langchain-ai/langchain/issues/13457 | 1,996,672,590 | 13,457 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.336
OS: Windows
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | Langchain SQLDatabase is not able to access table information correctly from private schema of PostgreSQL database | https://api.github.com/repos/langchain-ai/langchain/issues/13455/comments | 3 | 2023-11-16T11:12:24Z | 2024-03-17T16:05:51Z | https://github.com/langchain-ai/langchain/issues/13455 | 1,996,620,397 | 13,455 |
[
"hwchase17",
"langchain"
] | ### System Info
**System Information:**
- Python: 3.10.13
- Conda: 23.3.1
- Openai: 0.28.1
- LangChain: 0.0.330
- System: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
- Platform: AWS SageMaker Notebook
**Issue:**
- Few hours ago everything was working fine but now all of a sudden OpenAI isn't generating J... | LangChain(OpenAI) not returning JSON format output | https://api.github.com/repos/langchain-ai/langchain/issues/13454/comments | 3 | 2023-11-16T10:42:38Z | 2024-02-18T13:34:12Z | https://github.com/langchain-ai/langchain/issues/13454 | 1,996,569,188 | 13,454 |
[
"hwchase17",
"langchain"
] | ### Feature request
Can you allow the usage of existing Open ai assistant instead of creating a new one every time when using OpenAI Runnable
### Motivation
I dont want to clutter my assistant list with a bunch of clones
### Your contribution
The developer should only provide the assistant ID in the Constructor f... | OpenAI Assitant | https://api.github.com/repos/langchain-ai/langchain/issues/13453/comments | 10 | 2023-11-16T10:40:22Z | 2024-03-10T06:08:22Z | https://github.com/langchain-ai/langchain/issues/13453 | 1,996,565,178 | 13,453 |
[
"hwchase17",
"langchain"
] | ### System Info
Error info:
<CT_SectPr '<w:sectPr>' at 0x2c9fa6c50> is not in list
### 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 / ... | Can't load docx file with directory in content. | https://api.github.com/repos/langchain-ai/langchain/issues/13452/comments | 4 | 2023-11-16T10:17:19Z | 2024-02-22T16:06:28Z | https://github.com/langchain-ai/langchain/issues/13452 | 1,996,521,784 | 13,452 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Friends, how can I return the retrieval texts(context)? My script is as follows:
```python
from langchain.document_loaders import PyPDFDirectoryLoader
from langchain.embeddings import OpenAIEmbeddings
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain... | Issue: How to return retrieval texts? | https://api.github.com/repos/langchain-ai/langchain/issues/13446/comments | 5 | 2023-11-16T08:05:09Z | 2024-02-22T16:06:33Z | https://github.com/langchain-ai/langchain/issues/13446 | 1,996,290,256 | 13,446 |
[
"hwchase17",
"langchain"
] | ### System Info
python
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- ... | create_csv_agent UnicodeDecodeError('utf-8' ) | https://api.github.com/repos/langchain-ai/langchain/issues/13444/comments | 4 | 2023-11-16T06:55:28Z | 2024-02-22T16:06:38Z | https://github.com/langchain-ai/langchain/issues/13444 | 1,996,188,135 | 13,444 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: latest (0.0.336)
### Who can help?
@hwchase17 (from git blame and from #13110)
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selec... | openai tools don't work with streaming=True | https://api.github.com/repos/langchain-ai/langchain/issues/13442/comments | 6 | 2023-11-16T05:02:17Z | 2023-12-16T07:55:17Z | https://github.com/langchain-ai/langchain/issues/13442 | 1,996,065,154 | 13,442 |
[
"hwchase17",
"langchain"
] | ### System Info
This was working fine for my previous configuration,
langchain v0.0.225
chromadb v0.4.7
But now neither this is working, nor the latest version of both
langchain v0.0.336
chromadb v0.4.17
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My o... | langchain.vectorstores.Chroma support for EmbeddingFunction.__call__ update of ChromaDB | https://api.github.com/repos/langchain-ai/langchain/issues/13441/comments | 6 | 2023-11-16T04:32:31Z | 2024-03-18T16:06:34Z | https://github.com/langchain-ai/langchain/issues/13441 | 1,996,037,409 | 13,441 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi Guys,
Here I made a new fork to [https://github.com/MetaSLAM/CyberChain](https://github.com/MetaSLAM/CyberChain), where I would like to combine the powerful Langchain ability and GPT4 into the real-world robotic challenges.
My question raised here is mainly about:
1. How can I setup th... | Request new feature for Robotic Application | https://api.github.com/repos/langchain-ai/langchain/issues/13440/comments | 5 | 2023-11-16T04:11:33Z | 2024-04-18T16:35:43Z | https://github.com/langchain-ai/langchain/issues/13440 | 1,996,017,598 | 13,440 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain version: 0.0.336
mac
python3.8
### 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... | model init ValueError | https://api.github.com/repos/langchain-ai/langchain/issues/13438/comments | 3 | 2023-11-16T03:23:29Z | 2024-02-21T09:50:32Z | https://github.com/langchain-ai/langchain/issues/13438 | 1,995,978,394 | 13,438 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.266
### Who can help?
@hwchase17
@eyurtsev
### 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
-... | [PGVector] The scores returned by 'similarity_search_with_score' are NOT proportional to the similarity | https://api.github.com/repos/langchain-ai/langchain/issues/13437/comments | 5 | 2023-11-16T03:10:54Z | 2024-02-22T16:06:43Z | https://github.com/langchain-ai/langchain/issues/13437 | 1,995,965,954 | 13,437 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm trying to make a chatbot using conversationchain. The prompt takes three variables, “history” from memory, user input: "input", and another variable say variable3. But it has an error “Got unexpected prompt input variables. The prompt expects ['history', 'input', 'variable3'], bu... | Issue: problem with conversationchain take multiple inputs | https://api.github.com/repos/langchain-ai/langchain/issues/13433/comments | 4 | 2023-11-16T00:54:37Z | 2024-07-19T13:57:00Z | https://github.com/langchain-ai/langchain/issues/13433 | 1,995,838,321 | 13,433 |
[
"hwchase17",
"langchain"
] | ### Feature request
Although there are many output parsers in langchain, how to custom the output in a chain agent can not find any solutions right now--yet it may be sometimes necessary. Let's say a chain agent x, the tools are Tool1, Tool2 and Tool3, if:
the output of Tool2 should be customized, and no longer be ... | Custom Tool Output in a Chain | https://api.github.com/repos/langchain-ai/langchain/issues/13432/comments | 2 | 2023-11-16T00:46:31Z | 2024-02-22T16:06:48Z | https://github.com/langchain-ai/langchain/issues/13432 | 1,995,831,335 | 13,432 |
[
"hwchase17",
"langchain"
] | ### System Info
```
langchain==0.0.335
python==3.10
```
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output P... | `get_openai_callback()` does not count tokens when LCEL chain used with `.stream()` method | https://api.github.com/repos/langchain-ai/langchain/issues/13430/comments | 13 | 2023-11-16T00:05:51Z | 2024-07-24T13:34:05Z | https://github.com/langchain-ai/langchain/issues/13430 | 1,995,786,367 | 13,430 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.335
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pars... | TextGen is not raising Exception when response status code is not 200 | https://api.github.com/repos/langchain-ai/langchain/issues/13416/comments | 4 | 2023-11-15T21:01:18Z | 2024-06-01T00:07:34Z | https://github.com/langchain-ai/langchain/issues/13416 | 1,995,562,229 | 13,416 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I have been learning LangChain for the last month and I have been struggling in the last week to "_guarantee_" `ConversationalRetrievalChain` only answers based on the knowledge added on embeddings. I don't know if I am missing some LangChain configuration or if it is just a matte... | Issue: Making sure `ConversationalRetrievalChain` only answer based on the retriever information | https://api.github.com/repos/langchain-ai/langchain/issues/13414/comments | 9 | 2023-11-15T19:19:26Z | 2024-05-30T06:05:59Z | https://github.com/langchain-ai/langchain/issues/13414 | 1,995,385,588 | 13,414 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add IDE auto-complete to `langchain.llm` module
Currently, IntelliJ-based IDEs (PyCharm) interpret an LLM model to be `typing.Any`. Below is an example for the `GPT4All` package

### Mot... | IDE Support - Python Package - langchain.llms | https://api.github.com/repos/langchain-ai/langchain/issues/13411/comments | 1 | 2023-11-15T18:14:01Z | 2024-02-21T16:06:19Z | https://github.com/langchain-ai/langchain/issues/13411 | 1,995,289,924 | 13,411 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain = 0.0.335
openai = 1.2.4
python = 3.11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selector... | Missing required arguments; Expected either ('model' and 'prompt') or ('model', 'prompt' and 'stream') | https://api.github.com/repos/langchain-ai/langchain/issues/13410/comments | 14 | 2023-11-15T18:00:46Z | 2024-05-10T16:08:15Z | https://github.com/langchain-ai/langchain/issues/13410 | 1,995,270,190 | 13,410 |
[
"hwchase17",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.327
Name: chromadb
Version: 0.4.8
Summary: Chroma.
### Who can help?
@hwchase17 I believe the chromadb don't close the file handle during persistence making it difficult to use it on cloud services like Modal Labs. What about adding a close method or similar to make... | Persistent client open file handles | https://api.github.com/repos/langchain-ai/langchain/issues/13409/comments | 3 | 2023-11-15T17:59:14Z | 2024-02-21T16:06:24Z | https://github.com/langchain-ai/langchain/issues/13409 | 1,995,268,049 | 13,409 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain on master branch
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ]... | RunnableLambda: returned runnable called synchronously when using ainvoke | https://api.github.com/repos/langchain-ai/langchain/issues/13407/comments | 2 | 2023-11-15T17:27:49Z | 2023-11-28T11:18:27Z | https://github.com/langchain-ai/langchain/issues/13407 | 1,995,223,902 | 13,407 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi there,
I am doing a research on creating a PDF reader AI which can answer users' questions based on the PDF uploaded and the prompt user entered. I got it so far with using the OpenAI package but now want's to make it more advance by using ChatOpenAI with the LangChain Schema pack... | Issue: Need Help - Implement ChatOpenAI into my LangChain Research | https://api.github.com/repos/langchain-ai/langchain/issues/13406/comments | 3 | 2023-11-15T17:12:08Z | 2023-11-28T21:44:27Z | https://github.com/langchain-ai/langchain/issues/13406 | 1,995,196,688 | 13,406 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently no support for multi-modal embeddings from VertexAI exists. However, I did stumble upon this experimental implementation of [GoogleVertexAIMultimodalEmbeddings](https://js.langchain.com/docs/modules/data_connection/experimental/multimodal_embeddings/google_vertex_ai) in LangChain for Java... | Add support for multimodal embeddings from Google Vertex AI | https://api.github.com/repos/langchain-ai/langchain/issues/13400/comments | 4 | 2023-11-15T15:02:35Z | 2024-02-23T16:06:37Z | https://github.com/langchain-ai/langchain/issues/13400 | 1,994,956,885 | 13,400 |
[
"hwchase17",
"langchain"
] | ### Feature request
Elastic supports natively to have multiple DenseVectors in a document, which can be selected during query time / search. The langchain vector search interface enables to pass additional keyword args. But at the moment, the implementation of _search in the ElasticSearch implementation does not cons... | ElasticSearch allow for multiple vector_query_fields than default text & make it a kwarg in search functions | https://api.github.com/repos/langchain-ai/langchain/issues/13398/comments | 1 | 2023-11-15T14:42:10Z | 2024-03-13T19:57:51Z | https://github.com/langchain-ai/langchain/issues/13398 | 1,994,918,113 | 13,398 |
[
"hwchase17",
"langchain"
] | ### System Info
Not relevant.
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output... | Missing escape in `llms.utils.enforce_stop_tokens()` | https://api.github.com/repos/langchain-ai/langchain/issues/13397/comments | 3 | 2023-11-15T14:36:39Z | 2023-11-17T22:09:17Z | https://github.com/langchain-ai/langchain/issues/13397 | 1,994,907,050 | 13,397 |
[
"hwchase17",
"langchain"
] | ### Feature request
Make `Message` and/or `Memory` to support `Timestamp`
### Motivation
To provide context and clarity regarding the timing of conversation. This can be helpful for reference and coordination, especially when discussing time-sensitive topics.
I noticed that [one agent in opengpts](https://opengpt... | [Enhancement] Timestamp supported Message and/or Memory | https://api.github.com/repos/langchain-ai/langchain/issues/13393/comments | 2 | 2023-11-15T13:21:24Z | 2023-11-15T13:40:39Z | https://github.com/langchain-ai/langchain/issues/13393 | 1,994,769,118 | 13,393 |
[
"hwchase17",
"langchain"
] | ### System Info
Windows 11, Langchain 0.0327, Python 3.10.
The Doc2txtLoader does not work for web paths, as a PermissionError occurs when self.tempfile attempts to write content to the tempfile:
if not os.path.isfile(self.file_path) and self._is_valid_url(self.file_path):
r = requests.ge... | Doc2txtLoader not working for web paths | https://api.github.com/repos/langchain-ai/langchain/issues/13391/comments | 3 | 2023-11-15T10:15:47Z | 2024-02-21T16:06:34Z | https://github.com/langchain-ai/langchain/issues/13391 | 1,994,466,938 | 13,391 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I'm trying to work through the streaming parameters around run_manager and callbacks.
Here's a minimal setup of what I'm trying to establish
```
class MyTool(BaseTool)
name: "my_extra_tool"
async def _arun(self, query: str, run_manager: Optional[AsyncCallbackMan... | DOC: Clarify how to handle runs and linked calls with run_managers | https://api.github.com/repos/langchain-ai/langchain/issues/13390/comments | 5 | 2023-11-15T09:59:55Z | 2024-02-21T16:06:39Z | https://github.com/langchain-ai/langchain/issues/13390 | 1,994,439,783 | 13,390 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.321
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 Selectors
- [ ] Output P... | MySQL : SQL Query generated contains enclosing single quotes leading to SQL Alchemy giving Programming Error, 1064 | https://api.github.com/repos/langchain-ai/langchain/issues/13387/comments | 4 | 2023-11-15T09:09:20Z | 2023-11-15T09:51:03Z | https://github.com/langchain-ai/langchain/issues/13387 | 1,994,353,668 | 13,387 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
```
openai.proxy = {
"http": "http://127.0.0.1:7890",
"https": "http://127.0.0.1:7890"
}
callback = AsyncIteratorCallbackHandler()
llm = OpenAI(
openai_api_key= os.environ["OPENAI_API_KEY"],
temperature=0,
streaming=True,
... | Issue: <error faq() takes 1 positional argument but 2 were given> | https://api.github.com/repos/langchain-ai/langchain/issues/13383/comments | 8 | 2023-11-15T04:05:00Z | 2024-02-21T16:06:44Z | https://github.com/langchain-ai/langchain/issues/13383 | 1,993,997,381 | 13,383 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi guys,
Here is the situation, I have 3 tools to use one by one. But, the outputs of which are not in the same types. Say:
Tool 1: output normally, and can be further thought by GPT in the chain,
Tool 2: output specially, which means the output should not be thought further by GP... | Custom Tool Output | https://api.github.com/repos/langchain-ai/langchain/issues/13382/comments | 4 | 2023-11-15T03:27:22Z | 2024-02-21T16:06:49Z | https://github.com/langchain-ai/langchain/issues/13382 | 1,993,967,484 | 13,382 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version:
Platform: WSL for Windows (Linux 983G3J3 5.15.90.1-microsoft-standard-WSL2)
Python version: 3.10.6
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embed... | VertexAIModelGarden _generate method not in sync with VertexAI API | https://api.github.com/repos/langchain-ai/langchain/issues/13370/comments | 8 | 2023-11-14T21:55:57Z | 2024-03-18T16:06:29Z | https://github.com/langchain-ai/langchain/issues/13370 | 1,993,638,093 | 13,370 |
[
"hwchase17",
"langchain"
] | ### System Info
openai==1.2.4
langchain==0.0.325
llama_index==0.8.69
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt S... | module 'openai' has no attribute 'error' | https://api.github.com/repos/langchain-ai/langchain/issues/13368/comments | 15 | 2023-11-14T20:37:27Z | 2024-05-15T21:00:26Z | https://github.com/langchain-ai/langchain/issues/13368 | 1,993,528,820 | 13,368 |
[
"hwchase17",
"langchain"
] | ### System Info
after getting million embedding records in postgres, everything became ridiculously slow and postgres cpu usage went to 100%
fix was simple:
```
CREATE INDEX CONCURRENTLY langchain_pg_embedding_collection_id ON langchain_pg_embedding(collection_id);
CREATE INDEX CONCURRENTLY langchain_pg_collection... | PGVector don't have indices what kills postgres in production | https://api.github.com/repos/langchain-ai/langchain/issues/13365/comments | 2 | 2023-11-14T19:38:34Z | 2024-02-20T16:05:56Z | https://github.com/langchain-ai/langchain/issues/13365 | 1,993,436,169 | 13,365 |
[
"hwchase17",
"langchain"
] | ### System Info
CosmosDBHistory messages are wiping out the session of each run.
Need the library to not recreate the object for the same session or else this cannot be used as chatbot which is stateless
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [... | CosmosDBHistoryMessage | https://api.github.com/repos/langchain-ai/langchain/issues/13361/comments | 6 | 2023-11-14T18:58:13Z | 2024-06-08T16:07:30Z | https://github.com/langchain-ai/langchain/issues/13361 | 1,993,370,326 | 13,361 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
notion page properties
https://developers.notion.com/reference/page-property-values
Current version Notion DB loader for doesn't supports following properties for metadata
- `checkbox`
- `email`
- `number`
- `select`
### Suggestion:
I would like to make a PR to fix thi... | Issue: Notion DB loader for doesn't supports some properties | https://api.github.com/repos/langchain-ai/langchain/issues/13356/comments | 0 | 2023-11-14T17:20:22Z | 2023-11-15T04:31:13Z | https://github.com/langchain-ai/langchain/issues/13356 | 1,993,198,924 | 13,356 |
[
"hwchase17",
"langchain"
] | ### Feature request
Supplying a not default parameter to a model is not something that will require always showing a warning. It should be easy to suppress that specific warning.
### Motivation
The logging gets full of those warnings just because you are supplying not default parameters such as "top_p", "freq... | Ability to suppress warning when supplying a "not default parameter" to OpenAI Chat Models | https://api.github.com/repos/langchain-ai/langchain/issues/13351/comments | 3 | 2023-11-14T15:43:35Z | 2024-02-20T16:06:00Z | https://github.com/langchain-ai/langchain/issues/13351 | 1,993,012,205 | 13,351 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have my code and for the first section of it I am inputting a memory key based in the session_id as a UUID
I am receiving the following error: Any idea what the issue is?
> Traceback (most recent call last):
> File "/Users/habuhassan004/Desktop/VIK/10x-csv-chat/llm.py", line 62,... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/13349/comments | 7 | 2023-11-14T13:53:39Z | 2024-02-20T16:06:06Z | https://github.com/langchain-ai/langchain/issues/13349 | 1,992,791,286 | 13,349 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
```
llm = ChatOpenAI(
openai_api_key= os.environ["OPENAI_API_KEY"],
temperature=0,
streaming=True,
callbacks=[AsyncIteratorCallbackHandler()]
)
embeddings = OpenAIEmbeddings()
loader = TextLoader("static/faq/ecommerce_faq.txt")
documents = loader.load()
text... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/13344/comments | 4 | 2023-11-14T11:02:21Z | 2024-02-20T16:06:11Z | https://github.com/langchain-ai/langchain/issues/13344 | 1,992,514,531 | 13,344 |
[
"hwchase17",
"langchain"
] | ### Feature request
Is there a way to autoawq support for vllm, Im 'setting quantization to 'awq' but its not working
### Motivation
faster inference
### Your contribution
N/A | autoawq for vllm | https://api.github.com/repos/langchain-ai/langchain/issues/13343/comments | 3 | 2023-11-14T10:47:09Z | 2024-03-13T19:57:18Z | https://github.com/langchain-ai/langchain/issues/13343 | 1,992,482,519 | 13,343 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.335
Platform: Windows 10
Python Version = 3.11.3
IDE: VS Code
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [... | PowerPoint loader crashing | https://api.github.com/repos/langchain-ai/langchain/issues/13342/comments | 9 | 2023-11-14T10:24:09Z | 2024-02-25T16:05:42Z | https://github.com/langchain-ai/langchain/issues/13342 | 1,992,439,429 | 13,342 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Hi all. Can anyone help to answer why there's no init function (constructor) for classes in LangChain, while Pydantic occurs everywhere. It seems hard for IDEs to jump to related codes. Is that one kind of anti-pattern of Python programming?
### Suggestion:
_No response_ | Why no constructor (init function) in Langchain while pydantics are everywhere? | https://api.github.com/repos/langchain-ai/langchain/issues/13340/comments | 3 | 2023-11-14T09:14:09Z | 2024-02-14T00:35:21Z | https://github.com/langchain-ai/langchain/issues/13340 | 1,992,311,627 | 13,340 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Hi all, on main website [langchain.com](https://www.langchain.com/), above the folder, to the right of hero section both boxes (python and js) point to the [python docs](https://python.langchain.com/docs/get_started/introduction).
### Idea or request for content:
It's bet... | DOC: Wrong documentation link | https://api.github.com/repos/langchain-ai/langchain/issues/13336/comments | 2 | 2023-11-14T08:10:40Z | 2024-02-20T16:06:20Z | https://github.com/langchain-ai/langchain/issues/13336 | 1,992,202,637 | 13,336 |
[
"hwchase17",
"langchain"
] | ### Feature request
LangChain supports GET functions, but there is no support for POST functions. This feature request proposes the addition of POST API functionality to enhance the capabilities of LangChain.
### Motivation
The motivation behind this feature request is to extend the capabilities of LangChain to hand... | Add POST API Functionality to LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/13334/comments | 5 | 2023-11-14T07:49:34Z | 2024-05-03T18:24:54Z | https://github.com/langchain-ai/langchain/issues/13334 | 1,992,174,212 | 13,334 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I couldnt find any documentation on this , please help
How can i stream the response from Ollama ?
### Suggestion:
_No response_ | Issue: <How to do streaming response from Ollama??> | https://api.github.com/repos/langchain-ai/langchain/issues/13333/comments | 6 | 2023-11-14T06:21:20Z | 2024-06-14T21:05:29Z | https://github.com/langchain-ai/langchain/issues/13333 | 1,992,069,370 | 13,333 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm trying to replicate [this example](https://python.langchain.com/docs/integrations/vectorstores/elasticsearch#basic-example) of langchain. I'm using ElasticSearch as the database to store the embedding. In the given example I have replaced `embeddings = OpenAIEmbeddings()` with `emb... | Reduce embeddings size | https://api.github.com/repos/langchain-ai/langchain/issues/13332/comments | 4 | 2023-11-14T05:19:21Z | 2024-02-26T01:10:56Z | https://github.com/langchain-ai/langchain/issues/13332 | 1,992,011,242 | 13,332 |
[
"hwchase17",
"langchain"
] | ### Feature request
Implement extraction of message content whenever iMessageChatLoader skips messages with null `text` field even though the content is present in other fields.
### Motivation
Due to iMessage's database schema change in its new MacOS Ventura, newer messages now have content encoded in the `attribute... | Enhancing iMessageChatLoader to prevent skipping messages with extractable content | https://api.github.com/repos/langchain-ai/langchain/issues/13326/comments | 0 | 2023-11-14T04:08:46Z | 2023-11-28T20:45:45Z | https://github.com/langchain-ai/langchain/issues/13326 | 1,991,952,054 | 13,326 |
[
"hwchase17",
"langchain"
] | I have a web app and the SQLAlchemy is 1.x , when I use langchain which needs SQLAlchemy 2.x , it‘s diffcult for me to update the SQLAlchemy to 2.x,how can I fix this problem | SQLAlchemy version | https://api.github.com/repos/langchain-ai/langchain/issues/13325/comments | 3 | 2023-11-14T03:56:20Z | 2024-02-20T16:06:30Z | https://github.com/langchain-ai/langchain/issues/13325 | 1,991,938,627 | 13,325 |
[
"hwchase17",
"langchain"
] | ### System Info
- Langchain version: langchain==0.0.335
- OpenAI version: openai==1.2.3
- Platform: Darwin MacBook Pro 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:41 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8103 arm64
- Python version: Python 3.9.6
### Who can help?
@hwchase17
### Information
- ... | OpenAI exception classes have different import path in openai 1.2.3, causing breaking change in ChatOpenAI - Simple fix | https://api.github.com/repos/langchain-ai/langchain/issues/13323/comments | 2 | 2023-11-14T03:41:42Z | 2024-02-14T04:22:33Z | https://github.com/langchain-ai/langchain/issues/13323 | 1,991,927,961 | 13,323 |
[
"hwchase17",
"langchain"
] | ### System Info
I get following error just by adding model parameters to existing code that works with other models
"Malformed input request: 2 schema violations found, please reformat your input and try again."
```
model_name = "meta.llama2-13b-chat-v1"
model_kwargs = {
"max_gen_len": 512,
"temperature":... | Add support for Bedrock Llama 2 13b model (meta.llama2-13b-chat-v1) | https://api.github.com/repos/langchain-ai/langchain/issues/13316/comments | 4 | 2023-11-14T00:34:45Z | 2024-02-22T16:07:04Z | https://github.com/langchain-ai/langchain/issues/13316 | 1,991,719,732 | 13,316 |
[
"hwchase17",
"langchain"
] | ### Feature request
I wan´t to use Pinecone SelfQueryRetriever with a metadata in datetime format. When I try to ask anything with a date show the error Bad Request.
I already change my class PineconeTranslator with this code with the same pattern of Scale, change the translator class. Since Pinecone just accept in... | Pinecone SelfQueryRetriever with datetime filter | https://api.github.com/repos/langchain-ai/langchain/issues/13309/comments | 3 | 2023-11-13T22:25:18Z | 2024-06-01T00:07:33Z | https://github.com/langchain-ai/langchain/issues/13309 | 1,991,588,047 | 13,309 |
[
"hwchase17",
"langchain"
] | ### Feature request
Implement Async methods in ollama llm and chat model classes.
### Motivation
Ollama implementation doesn't include the async methods _astream and _agenerate and i cannot create a async agent...
### Your contribution
This is my first issue, i can try but i am working in 3 different projects rig... | Ollama LLM: Implement async functionality | https://api.github.com/repos/langchain-ai/langchain/issues/13306/comments | 6 | 2023-11-13T21:59:16Z | 2024-05-20T16:07:34Z | https://github.com/langchain-ai/langchain/issues/13306 | 1,991,555,162 | 13,306 |
[
"hwchase17",
"langchain"
] | ### Feature request
We have several RAG templates in [langchain template](https://github.com/langchain-ai/langchain/tree/master/templates) using other vector DB except Opensearch.
We need to add a similar template for Opensearch also as opensearch support the same feature.
As a first step we will start with Op... | Langchain Template for RAG using Opensearch | https://api.github.com/repos/langchain-ai/langchain/issues/13295/comments | 3 | 2023-11-13T16:58:01Z | 2024-02-12T16:51:20Z | https://github.com/langchain-ai/langchain/issues/13295 | 1,991,066,462 | 13,295 |
[
"hwchase17",
"langchain"
] | ### System Info
Linux and langchain
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Ou... | Context retrieval | https://api.github.com/repos/langchain-ai/langchain/issues/13291/comments | 3 | 2023-11-13T13:48:33Z | 2024-02-19T16:06:10Z | https://github.com/langchain-ai/langchain/issues/13291 | 1,990,699,489 | 13,291 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I currently have an OLLAMA model running locally. I aim to develop a CustomLLM model that supports asynchronous streaming to interface with this model. However, the OLLAMA adapter provided by LangChain lacks support for these specific features. How can I accomplish this integration?
###... | Issue: Create async streaming custom LLM | https://api.github.com/repos/langchain-ai/langchain/issues/13289/comments | 6 | 2023-11-13T11:20:02Z | 2024-02-19T16:06:15Z | https://github.com/langchain-ai/langchain/issues/13289 | 1,990,442,921 | 13,289 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am working with an elastic search index running locally via a docker container. Now I want to incorporate memory so that an elastic search query can be handled just like a chat. How can I do that so that every time the question I asked from the previous answers? It should prepare the e... | Incorporate Memory inside ElasticsearchDatabaseChain | https://api.github.com/repos/langchain-ai/langchain/issues/13288/comments | 6 | 2023-11-13T11:02:36Z | 2024-02-20T16:06:40Z | https://github.com/langchain-ai/langchain/issues/13288 | 1,990,415,478 | 13,288 |
[
"hwchase17",
"langchain"
] | ### Feature request
Similar to Text Generation Inference (TGI) for LLMs, HuggingFace created an inference server for text embeddings models called Text Embedding Inference (TEI).
See: https://github.com/huggingface/text-embeddings-inference
Could you integrate TEI into the supported LangChain text embedding models ... | Support for Text Embedding Inference (TEI) from HuggingFace | https://api.github.com/repos/langchain-ai/langchain/issues/13286/comments | 3 | 2023-11-13T08:52:10Z | 2024-04-29T16:11:21Z | https://github.com/langchain-ai/langchain/issues/13286 | 1,990,163,579 | 13,286 |
[
"hwchase17",
"langchain"
] | ### System Info
from langchain.chat_models import AzureChatOpenAI
llm_chat = AzureChatOpenAI(deployment_name="gpt-4_32k", model_name = 'gpt-4-32k', openai_api_version=openai.api_version, temperature=0)
from langchain.chains import LLMChain
from langchain.prompts import PromptTemplate
prompt = PromptTemplate(... | NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}} when using openai==1.2.3 and langchain==0.0.335 | https://api.github.com/repos/langchain-ai/langchain/issues/13284/comments | 24 | 2023-11-13T08:30:39Z | 2024-07-24T06:53:59Z | https://github.com/langchain-ai/langchain/issues/13284 | 1,990,129,379 | 13,284 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
**my code:**
from langchain.document_loaders import PyPDFLoader, TextLoader, PyMuPDFLoader
from langchain.chat_models import ChatOpenAI
from langchain.chains import QAGenerationChain
from langchain.prompts.prompt import PromptTemplate
loader_pdf = PyMuPDFLoader("/Users/11.pdf"... | Replacing the correct code with GPT-4 will result in an error | https://api.github.com/repos/langchain-ai/langchain/issues/13283/comments | 3 | 2023-11-13T08:16:48Z | 2024-02-19T16:06:25Z | https://github.com/langchain-ai/langchain/issues/13283 | 1,990,101,660 | 13,283 |
[
"hwchase17",
"langchain"
] | ### System Info
Platform:Windows
LangChain:0.0.335
python:3.9.12
### Who can help?
@eyurtsev @hwchase17 @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / P... | Use "parse_file" in class "ConversationBufferMemory" raise a ValidationError | https://api.github.com/repos/langchain-ai/langchain/issues/13282/comments | 7 | 2023-11-13T07:47:40Z | 2024-03-13T18:59:57Z | https://github.com/langchain-ai/langchain/issues/13282 | 1,990,059,585 | 13,282 |
[
"hwchase17",
"langchain"
] |
I am using PGvector as retriever in my Conversational Retriever Chain.
in my document there is some meta information saved like topic, keywords etc.
how can use this meta information in retrieval instead of only using content?
Would appreciate any solution for this. | Utilize metadata during retrieval in ConversationalRetrieval and PGvector | https://api.github.com/repos/langchain-ai/langchain/issues/13281/comments | 4 | 2023-11-13T07:43:07Z | 2024-02-21T16:07:04Z | https://github.com/langchain-ai/langchain/issues/13281 | 1,990,054,092 | 13,281 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
i should qa over an document using retrieval. i should not use any large language model. i can only use embedding model. here is my code:
```
# import
from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddings
from langchain.text_splitter import CharacterTe... | qa retrieval | https://api.github.com/repos/langchain-ai/langchain/issues/13279/comments | 5 | 2023-11-13T07:15:53Z | 2024-02-19T16:06:36Z | https://github.com/langchain-ai/langchain/issues/13279 | 1,990,021,102 | 13,279 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
i fix the code as following:
```
# import
from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.document_loaders import TextLoader
fro... | retrieval embedding | https://api.github.com/repos/langchain-ai/langchain/issues/13278/comments | 4 | 2023-11-13T06:49:13Z | 2024-03-17T16:05:37Z | https://github.com/langchain-ai/langchain/issues/13278 | 1,989,993,127 | 13,278 |
[
"hwchase17",
"langchain"
] | how can I use SQLDatabaseSequentialChain to reduce the number of tokens for llms,can you give me some example or demo,I dont find useful info from the docs | how to use SQLDatabaseSequentialChain | https://api.github.com/repos/langchain-ai/langchain/issues/13277/comments | 3 | 2023-11-13T06:38:26Z | 2024-02-19T16:06:40Z | https://github.com/langchain-ai/langchain/issues/13277 | 1,989,982,161 | 13,277 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
i have the following code for q&a system with retrieval mechanism:
```
# import
from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.d... | turkish embedding | https://api.github.com/repos/langchain-ai/langchain/issues/13276/comments | 6 | 2023-11-13T06:15:51Z | 2024-03-17T16:05:31Z | https://github.com/langchain-ai/langchain/issues/13276 | 1,989,960,245 | 13,276 |
[
"hwchase17",
"langchain"
] | ### System Info
```
cat /proc/version
=> Linux version 5.15.107+
cat /etc/debian_version
=> 10.13
import langchain
langchain.__version__
=> '0.0.334'
```
I spent some time to debug why the function signature `search` is different between linux / macos m1.
I found that in macos, because it has arm arch, doe... | FAISS save_local / load_local don't be aware of avx2 | https://api.github.com/repos/langchain-ai/langchain/issues/13275/comments | 5 | 2023-11-13T06:05:42Z | 2024-02-19T16:06:45Z | https://github.com/langchain-ai/langchain/issues/13275 | 1,989,950,234 | 13,275 |
[
"hwchase17",
"langchain"
] | ### System Info
Thank you for your great help. I have issue with setting the score function (I have AWS LangChain using bedrock). What I have is:
from langchain.vectorstores import FAISS
loader = CSVLoader("./rag_data/a.csv")
documents_aws = loader.load()
docs = CharacterTextSplitter(chunk_size=2000, chunk_ove... | AWS LangChain using bedrock: Setting Relevance Score Function | https://api.github.com/repos/langchain-ai/langchain/issues/13273/comments | 18 | 2023-11-13T04:15:41Z | 2024-03-18T16:06:24Z | https://github.com/langchain-ai/langchain/issues/13273 | 1,989,857,834 | 13,273 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I am try to use sagemaker endpoint to use the embedding model, but I am confused about using EmbeddingsContentHandler, after trying I figure out how to define the transform_input function, but the transform_output did not work as expected, it give out some errors, which like
... | https://python.langchain.com/docs/modules/model_io/models/llms/integrations/sagemaker | https://api.github.com/repos/langchain-ai/langchain/issues/13271/comments | 5 | 2023-11-13T02:59:08Z | 2024-02-19T16:06:50Z | https://github.com/langchain-ai/langchain/issues/13271 | 1,989,795,517 | 13,271 |
[
"hwchase17",
"langchain"
] | ### Feature request
The LangChail modules can be naturally used to build something like OpenAI GPTs builder.
My understanding is, LangChain needs to add descriptions and description_embeddings to all integrations/chains/agents (not only to the tools). It allows to build the Super Agent aka Agent Builder.
### Motiva... | Chain/Agent Builder | https://api.github.com/repos/langchain-ai/langchain/issues/13270/comments | 2 | 2023-11-13T01:44:32Z | 2024-02-12T16:56:52Z | https://github.com/langchain-ai/langchain/issues/13270 | 1,989,733,972 | 13,270 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
- Langchain version: 0.0.335
- Affected LLM: chatgpt 3.5 turbo 1106 (NOT affecting: gpt 3.5 turbo 16k, gpt4, gpt4 turbo preview)
- Code template, similar to:
`llm=ChatOpenAI(model_name='gpt-3.5-turbo-1106',
openai_api_key=openai_key
... | Issue: gpt3.5-turbo-1106 responds differently from the OpenAI playground | https://api.github.com/repos/langchain-ai/langchain/issues/13268/comments | 5 | 2023-11-12T23:20:38Z | 2024-05-01T16:05:23Z | https://github.com/langchain-ai/langchain/issues/13268 | 1,989,630,478 | 13,268 |
[
"hwchase17",
"langchain"
] | I am testing a simple RAG implementation with Azure Cognitive Search. I am seeing a "cannot import name 'Vector' from azure.search.documents.models" error when I invoke my chain. Origin of my error is line 434 in lanchain/vectorstores/azuresearch.py (from azure.search.documents.models import Vector)
this is the rele... | Import error in lanchain/vectorstores/azuresearch.py | https://api.github.com/repos/langchain-ai/langchain/issues/13263/comments | 3 | 2023-11-12T20:01:20Z | 2024-02-18T16:05:11Z | https://github.com/langchain-ai/langchain/issues/13263 | 1,989,546,510 | 13,263 |
[
"hwchase17",
"langchain"
] | ### System Info
I can not import BabyAGI
from langchain_experimental import BabyAGI
The langchain version is:
pip show langchain
Name: langchain
Version: 0.0.334
Summary: Building applications with LLMs through composability
Home-page: https://github.com/langchain-ai/langchain
Author:
Author-email:
Lic... | ImportError: cannot import name 'BabyAGI' from 'langchain_experimental' | https://api.github.com/repos/langchain-ai/langchain/issues/13256/comments | 3 | 2023-11-12T17:16:05Z | 2024-02-18T16:05:16Z | https://github.com/langchain-ai/langchain/issues/13256 | 1,989,494,128 | 13,256 |
[
"hwchase17",
"langchain"
] | ### Feature request
I hope this message finds you well. I noticed that OpenAI has recently unveiled their Assistant API, and I observed that the Langchain framework in JavaScript has already implemented an agent utilizing this new API. Could you kindly provide information on when this integration will be extended to P... | OpenAI Assistant in Python | https://api.github.com/repos/langchain-ai/langchain/issues/13255/comments | 1 | 2023-11-12T14:58:55Z | 2023-11-26T14:48:34Z | https://github.com/langchain-ai/langchain/issues/13255 | 1,989,440,076 | 13,255 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.334
python 3.11.5
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prom... | Any time I try to use a openAPI API that requires auth, the openapi_chain call fails. | https://api.github.com/repos/langchain-ai/langchain/issues/13251/comments | 11 | 2023-11-12T06:43:23Z | 2024-02-21T16:07:08Z | https://github.com/langchain-ai/langchain/issues/13251 | 1,989,262,646 | 13,251 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.