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"
] | ### System Info
Using Google Colab Free version with T4 GPU.
chromadb==0.4.16
### Who can help?
@agola11 @hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts... | ChromaDb EmbeddingFunction definition updated | https://api.github.com/repos/langchain-ai/langchain/issues/13061/comments | 11 | 2023-11-08T14:11:41Z | 2024-08-02T17:38:51Z | https://github.com/langchain-ai/langchain/issues/13061 | 1,983,705,244 | 13,061 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When initializing the langchain UntructuredPDFLoader e.g. as follows
` loader = UnstructuredPDFLoader(downloaded_file, mode='elements')`
This method calls the following function (see langchain/document_loaders/pdf.py):
` class UnstructuredPDFLoader(UnstructuredFileLoader): `
... | Issue: UnstructuredPDFLoader doesn't support Unstructured functionalities | https://api.github.com/repos/langchain-ai/langchain/issues/13060/comments | 1 | 2023-11-08T13:38:53Z | 2024-02-14T16:06:43Z | https://github.com/langchain-ai/langchain/issues/13060 | 1,983,638,100 | 13,060 |
[
"langchain-ai",
"langchain"
] | I have 4 tools which return responses of apis inside function. Now I want to build a system that only returns the response of api without any observations. Also agents should have memories.
Is it possible with a langchain agent. If yes can you tell me how ??? | Langchain agent which only returns tools response without observations. | https://api.github.com/repos/langchain-ai/langchain/issues/13059/comments | 4 | 2023-11-08T13:05:28Z | 2024-02-14T16:06:48Z | https://github.com/langchain-ai/langchain/issues/13059 | 1,983,572,989 | 13,059 |
[
"langchain-ai",
"langchain"
] | ### System Info
last version of langchain and cohere
### Who can help?
@@agola11
I am encountering an error related to the user_agent when attempting to create a CohererRank object in the LangChain p. I have verified that I am passing a valid cohere_api_key and can successfully use the rerank function from Cohere d... | Issue with user_agent error when creating a CohereReRank object in LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/13058/comments | 3 | 2023-11-08T12:38:34Z | 2024-03-13T19:58:09Z | https://github.com/langchain-ai/langchain/issues/13058 | 1,983,512,624 | 13,058 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version = 0.0.331
Openai version = 1.1.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
-... | Updated to latest langchain version but still getting OpenAI embeddings error | https://api.github.com/repos/langchain-ai/langchain/issues/13056/comments | 6 | 2023-11-08T12:01:41Z | 2024-02-19T16:07:45Z | https://github.com/langchain-ai/langchain/issues/13056 | 1,983,440,119 | 13,056 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11.5
Langchain (pip show) 0.0.327
Windows OS
Visual Studio Code
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates ... | ValueError: Missing some input keys: - passed data requires input keys if containing { } | https://api.github.com/repos/langchain-ai/langchain/issues/13055/comments | 3 | 2023-11-08T12:01:05Z | 2023-11-08T18:52:53Z | https://github.com/langchain-ai/langchain/issues/13055 | 1,983,439,114 | 13,055 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.331
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ] Docume... | The prompt word format misleads the output content of the large model | https://api.github.com/repos/langchain-ai/langchain/issues/13054/comments | 5 | 2023-11-08T09:54:19Z | 2024-04-04T15:31:33Z | https://github.com/langchain-ai/langchain/issues/13054 | 1,983,196,438 | 13,054 |
[
"langchain-ai",
"langchain"
] | ### System Info
# Hi there,
I have started learning about Langchain today. I was creating my first langchain prompt template but something doesn't seem to work.
Here is my code in main.py:
```python
from openai import OpenAI
from dotenv import load_dotenv
from langchain.prompts import PromptTemplate
from lang... | OpenAI instance of Runnable expected | https://api.github.com/repos/langchain-ai/langchain/issues/13053/comments | 7 | 2023-11-08T09:27:14Z | 2024-02-17T07:04:10Z | https://github.com/langchain-ai/langchain/issues/13053 | 1,983,141,722 | 13,053 |
[
"langchain-ai",
"langchain"
] | ### System Info
AWS Sagemaker DataScience3.0 Image.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pars... | Bug after the openai updated in Embedding | https://api.github.com/repos/langchain-ai/langchain/issues/13051/comments | 23 | 2023-11-08T07:56:36Z | 2024-04-02T12:17:34Z | https://github.com/langchain-ai/langchain/issues/13051 | 1,982,969,374 | 13,051 |
[
"langchain-ai",
"langchain"
] | ### System Info
Running on google colab.
Everything was working up until today, which makes me think it's openAi update-related.
Versions:
Requirement already satisfied: langchain in /usr/local/lib/python3.10/dist-packages (**0.0.331**)
Requirement already satisfied: chromadb in /usr/local/lib/python3.10/dist-p... | Multiple values for keyword argument 'embedding_function' | https://api.github.com/repos/langchain-ai/langchain/issues/13050/comments | 4 | 2023-11-08T07:26:31Z | 2024-04-05T19:39:47Z | https://github.com/langchain-ai/langchain/issues/13050 | 1,982,926,699 | 13,050 |
[
"langchain-ai",
"langchain"
] | ### System Info
Windows WSL 2 Ubuntu
Python 3.10.6
langchain-0.0.331 langchain-cli-0.0.15 langserve-0.0.24 langsmith-0.0.60
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding ... | No module named 'langserve.packages' when creating langchain-cli apps | https://api.github.com/repos/langchain-ai/langchain/issues/13049/comments | 12 | 2023-11-08T07:02:02Z | 2023-11-14T18:24:49Z | https://github.com/langchain-ai/langchain/issues/13049 | 1,982,890,810 | 13,049 |
[
"langchain-ai",
"langchain"
] |
from langchain.document_loaders import UnstructuredExcelLoader
loader = UnstructuredExcelLoader("example_data/stanley-cups.xlsx", mode="elements")
docs = loader.load()
docs[0]
in the above it gives ouput as
Document(page_content='\n \n \n Team\n Location\n Stanley Cups\n \n ... | Issue: UnstructuredExcelLoader | https://api.github.com/repos/langchain-ai/langchain/issues/13047/comments | 3 | 2023-11-08T06:49:27Z | 2024-02-14T16:07:08Z | https://github.com/langchain-ai/langchain/issues/13047 | 1,982,871,020 | 13,047 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
新的chatgpt可以直接帮助人类分析,规划,似乎已经脱离了原本的软件开发模式,从人设计,到了ai设计了,langchain是不是已经过时了?
### Suggestion:
_No response_ | 看了新的OpenAI开发者大会,langchain还有存在的必要吗 | https://api.github.com/repos/langchain-ai/langchain/issues/13046/comments | 6 | 2023-11-08T06:46:32Z | 2024-02-14T16:07:13Z | https://github.com/langchain-ai/langchain/issues/13046 | 1,982,867,010 | 13,046 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using github tools along with an agent following example given (https://python.langchain.com/docs/integrations/toolkits/github), but the comment_on_issue tool is not able to parse the Action Input given by agent (the format seems to be same as given in the prompts), there seems to b... | help: github util `comment_on_issue` unable to parse `action input` from agent | https://api.github.com/repos/langchain-ai/langchain/issues/13045/comments | 4 | 2023-11-08T06:38:13Z | 2023-11-12T18:52:11Z | https://github.com/langchain-ai/langchain/issues/13045 | 1,982,856,821 | 13,045 |
[
"langchain-ai",
"langchain"
] | @dosu-bot
Below is my code and everytime I ask it a question, it rephrases the question then answers it for me. Help me to remove the rephrasing part. I did set it to False yet it still does it.
Also, I would like to return the source of the documents but its showing me this error:
File "C:\Users\Asus\Documents\... | My LLM keeps rephrasing the question and it doesnt return source documents | https://api.github.com/repos/langchain-ai/langchain/issues/13044/comments | 6 | 2023-11-08T06:06:50Z | 2024-02-27T01:13:22Z | https://github.com/langchain-ai/langchain/issues/13044 | 1,982,815,371 | 13,044 |
[
"langchain-ai",
"langchain"
] | @dosu-bot
Below is my code and everytime I ask it a question, it rephrases the question then answers it for me. Help me to remove the rephrasing part. I did set it to False yet it still does it.
Also, I would like to return the source of the documents but its showing me this error:
File "C:\Users\Asus\Documents... | My llm keeps rephrasing question and it doesnt return source documents | https://api.github.com/repos/langchain-ai/langchain/issues/13043/comments | 1 | 2023-11-08T04:59:18Z | 2024-02-14T16:07:23Z | https://github.com/langchain-ai/langchain/issues/13043 | 1,982,743,038 | 13,043 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Langchain.llm matches the vllm model, can it also match the fastllm model?
### Suggestion:
_No response_ | fastllm model | https://api.github.com/repos/langchain-ai/langchain/issues/13037/comments | 2 | 2023-11-08T01:06:34Z | 2024-02-14T16:07:28Z | https://github.com/langchain-ai/langchain/issues/13037 | 1,982,528,151 | 13,037 |
[
"langchain-ai",
"langchain"
] | ### Feature request
[This idea](https://arxiv.org/abs/2310.06117) is promising and it can be implemented with LangChain
### Motivation
To add a new chaining technique.
### Your contribution
I'm not sure I can implement it. | Step-Back Prompting | https://api.github.com/repos/langchain-ai/langchain/issues/13036/comments | 4 | 2023-11-08T00:58:46Z | 2023-11-08T16:56:36Z | https://github.com/langchain-ai/langchain/issues/13036 | 1,982,516,375 | 13,036 |
[
"langchain-ai",
"langchain"
] | ### Feature request
[Chain-of-Verification](https://arxiv.org/pdf/2309.11495.pdf) looks like an interesting idea and LangChain can implement it.
### Motivation
to add one more effective method of the chaining.
### Your contribution
Not sure I can implement it. :( | Chain-of-Verification | https://api.github.com/repos/langchain-ai/langchain/issues/13035/comments | 10 | 2023-11-08T00:48:40Z | 2024-02-09T16:45:57Z | https://github.com/langchain-ai/langchain/issues/13035 | 1,982,507,472 | 13,035 |
[
"langchain-ai",
"langchain"
] | ### Description
Compatibility issue with the Langchain library due to the recent changes in the OpenAI Python package (version 1.1.1). The Langchain library relies on certain structures and imports from the OpenAI package, which have been modified in the new version. Specifically, the issue seems to be related to th... | Compatibility Issue with OpenAI Python Package (Version 1.1.1) | https://api.github.com/repos/langchain-ai/langchain/issues/13027/comments | 15 | 2023-11-07T22:18:36Z | 2024-03-01T20:03:05Z | https://github.com/langchain-ai/langchain/issues/13027 | 1,982,332,029 | 13,027 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
How can I run embedding with "gte-large" on a multi-GPU machine?
Trying per issue #3486
```
model_name = "thenlper/gte-large"
encode_kwargs = {"normalize_embeddings": True}
model_kwargs = {"device": "cuda", "multi_process":True}
hf = HuggingFaceBgeEmbeddings(
model_name... | Embedding on Multi-GPU | https://api.github.com/repos/langchain-ai/langchain/issues/13026/comments | 3 | 2023-11-07T21:39:50Z | 2024-02-13T16:06:47Z | https://github.com/langchain-ai/langchain/issues/13026 | 1,982,276,784 | 13,026 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Load complex PDFs similar to:
https://github.com/langchain-ai/langchain/blob/master/cookbook/Semi_Structured_RAG.ipynb
### Motivation
RAG apps that need complex data loading
### Your contribution
Add template | [Loader template] Unstructured pdf partition to vectorstore | https://api.github.com/repos/langchain-ai/langchain/issues/13024/comments | 3 | 2023-11-07T21:11:05Z | 2024-02-13T20:05:39Z | https://github.com/langchain-ai/langchain/issues/13024 | 1,982,234,376 | 13,024 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Feature request
We can take advantage from pinecone parallel upsert (see example: https://docs.pinecone.io/docs/insert-data#sending-upserts-in-parallel)
This will require modification of the current `add_texts` pipeline.
Create a batch (chunk) for doing embeddings (ie have a chunk size of 10... | Support Pinecone Hybrid Search upsert parallelization | https://api.github.com/repos/langchain-ai/langchain/issues/13017/comments | 2 | 2023-11-07T19:54:54Z | 2024-02-13T16:06:57Z | https://github.com/langchain-ai/langchain/issues/13017 | 1,982,113,086 | 13,017 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have a STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION agent which uses a QA (retreival based) tool to answer questions. The QA tool returns references in the response. However the final answer provided by the agent is missing the sources. What can I do to ensure that sources are provided ... | Issue: Sources are lost in the final_answer by agents | https://api.github.com/repos/langchain-ai/langchain/issues/13011/comments | 8 | 2023-11-07T18:07:48Z | 2024-02-23T16:07:02Z | https://github.com/langchain-ai/langchain/issues/13011 | 1,981,937,876 | 13,011 |
[
"langchain-ai",
"langchain"
] | ### System Info
https://python.langchain.com/docs/integrations/llms/huggingface_hub
I followed this documentation and increased max_length. But, It seems like the response max_length not increasing. At max, I would get the response text with 110 characters. Please help me to fix my issue
<img width="528" alt="... | Max Characters doesn't increase when value is updated | https://api.github.com/repos/langchain-ai/langchain/issues/13009/comments | 3 | 2023-11-07T17:31:54Z | 2024-02-13T16:07:02Z | https://github.com/langchain-ai/langchain/issues/13009 | 1,981,874,805 | 13,009 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am trying to create a rag using langchain, aws bedrock and opensearch. For I created an index using the code,
```
from opensearchpy import OpenSearch
aos_client = OpenSearch(
hosts=[{"host": opensearch_cluster_domain, "port": ops_port}],
http_auth=auth,
u... | Issue: Opensearch retiever threshold based on similarity score | https://api.github.com/repos/langchain-ai/langchain/issues/13007/comments | 6 | 2023-11-07T16:52:58Z | 2024-02-17T16:06:23Z | https://github.com/langchain-ai/langchain/issues/13007 | 1,981,801,097 | 13,007 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi there,
Thank a lot for the amazing framework. More or less all vector stores must be used with `<CLASS>.from_documents` because the classmethod in almost every case does some weird pre processing (e.g. setting the vector config taken from only god knows where etc).
For instance
```pytho... | Using Vector stores without being forced to use classmethod | https://api.github.com/repos/langchain-ai/langchain/issues/13005/comments | 4 | 2023-11-07T16:08:47Z | 2024-04-30T16:13:59Z | https://github.com/langchain-ai/langchain/issues/13005 | 1,981,716,853 | 13,005 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi everyone,
I am receveing the following error message when following your [documentation on the summarization.]( https://python.langchain.com/docs/use_cases/summarization): AttributeError: 'NoneType' object has no attribute 'startswith'
Any ideas what the problem is?
Looks like this is po... | map_reduce Summarization results in AttributeError: 'NoneType' object has no attribute 'startswith' | https://api.github.com/repos/langchain-ai/langchain/issues/13004/comments | 3 | 2023-11-07T15:58:05Z | 2024-02-13T16:07:12Z | https://github.com/langchain-ai/langchain/issues/13004 | 1,981,693,748 | 13,004 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When using the new gpt's json mode by setting response_format={ "type": "json_object" }, the langchain agent failed to parse the openai output, is there any plan to support that?
### Suggestion:
_No response_ | Issue: langchain agent doesnt work with the new json mode of gpt4-1106-preview | https://api.github.com/repos/langchain-ai/langchain/issues/13003/comments | 11 | 2023-11-07T15:52:22Z | 2024-04-12T16:14:06Z | https://github.com/langchain-ai/langchain/issues/13003 | 1,981,682,406 | 13,003 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/12598
<div type='discussions-op-text'>
<sup>Originally posted by **nelsoni-talentu** October 30, 2023</sup>
Hi community,
I am developing an app to interact (Q&A) with several documents previously embedded and stored into a MongoDB Atlas clu... | ConversationalRetrievalChain.from_llm with MongoDB is failing. | https://api.github.com/repos/langchain-ai/langchain/issues/12996/comments | 3 | 2023-11-07T14:00:15Z | 2023-11-16T20:37:46Z | https://github.com/langchain-ai/langchain/issues/12996 | 1,981,433,036 | 12,996 |
[
"langchain-ai",
"langchain"
] | When we employ the new models introduced during DevDay, gpt-3.5-turbo-1106 and gpt-4-1106-preview, get_openai_callback() does not accurately display their total cost, which includes both the prompt and completion token cost. The subsequent minimal working example illustrates this issue. The costs should not be $0.0, bu... | get_openai_callback() does not show the cost taken from new OpenAI's model ("gpt-4-1106-preview" and "gpt-3.5-turbo-1106") | https://api.github.com/repos/langchain-ai/langchain/issues/12994/comments | 7 | 2023-11-07T13:12:17Z | 2024-02-02T12:14:09Z | https://github.com/langchain-ai/langchain/issues/12994 | 1,981,323,192 | 12,994 |
[
"langchain-ai",
"langchain"
] | ### Feature request
We need to be able to customize `PYDANTIC_FORMAT_INSTRUCTIONS` (https://statics.teams.cdn.office.net/evergreen-assets/safelinks/1/atp-safelinks.html) in `PydanticOutputParser`. If our prompt is written in a different language e.g. in spanish, then the english `PYDANTIC_FORMAT_INSTRUCTIONS` causes p... | Parametrize hardcoded PYDANTIC_FORMAT_INSTRUCTIONS in PydanticOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/12992/comments | 2 | 2023-11-07T11:45:08Z | 2024-02-13T16:07:18Z | https://github.com/langchain-ai/langchain/issues/12992 | 1,981,164,657 | 12,992 |
[
"langchain-ai",
"langchain"
] | ### System Info
latest langchain
### Who can help?
@rlancemarti
### 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
- [ ] Document L... | GPT4AllEmbeddings should get n_threads like Embed4All | https://api.github.com/repos/langchain-ai/langchain/issues/12991/comments | 2 | 2023-11-07T10:44:38Z | 2024-02-13T16:07:22Z | https://github.com/langchain-ai/langchain/issues/12991 | 1,981,060,545 | 12,991 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.331
python 3.10.13
openai 1.1.1
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [x] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ]... | Bugs of cookbook/openai_v1_cookbook.ipynb | https://api.github.com/repos/langchain-ai/langchain/issues/12990/comments | 6 | 2023-11-07T10:26:27Z | 2024-02-07T19:26:01Z | https://github.com/langchain-ai/langchain/issues/12990 | 1,981,028,074 | 12,990 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
Python 3.11.5
langchain 0.0.315
macOS 14.2
```
### 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 ... | Wikipedia Agent confabulates answers | https://api.github.com/repos/langchain-ai/langchain/issues/12989/comments | 5 | 2023-11-07T09:51:37Z | 2024-02-13T16:07:27Z | https://github.com/langchain-ai/langchain/issues/12989 | 1,980,958,342 | 12,989 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11.4
LangChain 0.0.321
Platform info (WSL2):
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Relat... | Requests to the Embeddings_Create Operation under Azure OpenAI API version 2023-07-01-preview have exceeded call rate limit of your current OpenAI S0 pricing tier | https://api.github.com/repos/langchain-ai/langchain/issues/12986/comments | 5 | 2023-11-07T09:09:31Z | 2024-03-13T11:04:00Z | https://github.com/langchain-ai/langchain/issues/12986 | 1,980,878,758 | 12,986 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Hello.
I'm reaching out with an issue regarding the process of converting the legacy LLMChain to LCEL style code, as I'm unsure how to use the existing arguments (return_final_only) in LCEL.
* my legacy code
```
chain = LLMChain(llm=llm, prompt=prompt, return_final_only=Fal... | How can I use `return_final_only=False` with LCEL? | https://api.github.com/repos/langchain-ai/langchain/issues/12983/comments | 3 | 2023-11-07T07:46:24Z | 2024-02-13T16:07:37Z | https://github.com/langchain-ai/langchain/issues/12983 | 1,980,747,712 | 12,983 |
[
"langchain-ai",
"langchain"
] | ### System Info
I'm using a locally hosted LLM and want to apply Langchain's ConversationalRetrievalChain or RetrievalQA in an offline setting for chatbot developments, however there is an error as the current configuration do not support local hosted tokenizer.
Appreciate if you can help advise on the modificatio... | ConversationalRetrievalChain using local LLM models and tokenizers | https://api.github.com/repos/langchain-ai/langchain/issues/12982/comments | 8 | 2023-11-07T07:11:23Z | 2024-03-05T18:59:12Z | https://github.com/langchain-ai/langchain/issues/12982 | 1,980,695,813 | 12,982 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version 0.0.331rc1, python3.9, ubuntu 21.04
### Who can help?
@hwchase17 @agola
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templat... | Broken ConversationSummaryBufferMemory and more | https://api.github.com/repos/langchain-ai/langchain/issues/12980/comments | 4 | 2023-11-07T06:03:23Z | 2024-02-13T16:07:48Z | https://github.com/langchain-ai/langchain/issues/12980 | 1,980,609,049 | 12,980 |
[
"langchain-ai",
"langchain"
] | ### System Info
LC: `v0.0.331rc1`
### Who can help?
The latest LC release candidate does not support the new embeddings API of the OpenAI SDK.
```
AttributeError: module 'openai' has no attribute 'Embedding'
```
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### R... | Update `OpenAIEmbeddings` to work with OpenAI SDK updates | https://api.github.com/repos/langchain-ai/langchain/issues/12970/comments | 9 | 2023-11-07T00:31:37Z | 2024-02-14T16:07:39Z | https://github.com/langchain-ai/langchain/issues/12970 | 1,980,316,909 | 12,970 |
[
"langchain-ai",
"langchain"
] | ### System Info
Downloading langchain-0.0.331-py3-none-any.whl (2.0 MB)
Downloading openai-1.1.1-py3-none-any.whl (217 kB)
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Mo... | AttributeError: module 'openai' has no attribute 'Completion' | https://api.github.com/repos/langchain-ai/langchain/issues/12967/comments | 25 | 2023-11-07T00:07:47Z | 2023-11-12T23:49:19Z | https://github.com/langchain-ai/langchain/issues/12967 | 1,980,294,255 | 12,967 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi , I was working on QA using a large csv dataset.
I am using a local llm model (llama2) along with create_csv_agent. Following is my code snippet.
`from langchain.llms import OpenAI
from langchain.chat_models import ChatOpenAI
from langchain.agents.agent_types import AgentType
f... | Issue: QA with a large csv dataset | https://api.github.com/repos/langchain-ai/langchain/issues/12962/comments | 3 | 2023-11-06T22:33:41Z | 2024-02-12T16:07:14Z | https://github.com/langchain-ai/langchain/issues/12962 | 1,980,194,390 | 12,962 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.331 (also tested 0.0.326)
Python Version: 3.11.6
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [x] Embedding Models
- [ ] Prompt... | OpenAIEmbeddings doesn't allow specifying API key in parameters | https://api.github.com/repos/langchain-ai/langchain/issues/12959/comments | 3 | 2023-11-06T22:01:28Z | 2024-02-12T16:07:19Z | https://github.com/langchain-ai/langchain/issues/12959 | 1,980,143,971 | 12,959 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain: v0.0.331
openai: v1.1.0
platform: Mac M2
python: 3.11.2
### 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 / ... | Recent langchain version not matching openai v1.0.0+ release spec for client | https://api.github.com/repos/langchain-ai/langchain/issues/12958/comments | 12 | 2023-11-06T21:53:47Z | 2024-07-19T16:06:46Z | https://github.com/langchain-ai/langchain/issues/12958 | 1,980,132,466 | 12,958 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, It's me again. I'm trying to create my own ConversationSummaryMemory and make _DEFAULT_ENTITY_EXTRACTION_TEMPLATE in JSON format. Is there a way to do so?
### Suggestion:
_No response_ | Issue: rewrite the _DEFAULT_ENTITY_EXTRACTION_TEMPLATE in JSON format | https://api.github.com/repos/langchain-ai/langchain/issues/12957/comments | 3 | 2023-11-06T21:53:23Z | 2024-02-12T16:07:29Z | https://github.com/langchain-ai/langchain/issues/12957 | 1,980,131,843 | 12,957 |
[
"langchain-ai",
"langchain"
] | ### System Info
all last versions as of 6/11/2023
### 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 Parser... | A ton of Bugs after OpenAI API update today | https://api.github.com/repos/langchain-ai/langchain/issues/12956/comments | 9 | 2023-11-06T21:41:02Z | 2023-12-11T12:03:14Z | https://github.com/langchain-ai/langchain/issues/12956 | 1,980,109,527 | 12,956 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.331 latest
Openai v0.28.1
Python v3.11.6
Deeplake 3.8.4 latest
### Who can help?
@eyurtsev
@hwchase17
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Emb... | Using RunnablePassthrough with Deeplake gives RuntimeError: std::get: wrong index for variant | https://api.github.com/repos/langchain-ai/langchain/issues/12955/comments | 3 | 2023-11-06T21:38:34Z | 2024-02-12T16:07:34Z | https://github.com/langchain-ai/langchain/issues/12955 | 1,980,103,620 | 12,955 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain: 0.0.331
OpenAI: 1.1.0
Python: 3.11.2
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Sele... | Module 'openai' has no attribute 'Embedding' | https://api.github.com/repos/langchain-ai/langchain/issues/12954/comments | 24 | 2023-11-06T21:31:20Z | 2024-01-18T18:53:59Z | https://github.com/langchain-ai/langchain/issues/12954 | 1,980,093,720 | 12,954 |
[
"langchain-ai",
"langchain"
] | ### "response_format" parameter on the new GPT-4-turbo model
I can sucessfully call the new GPT-4-turbo model by using:
`const model = new ChatOpenAI({modelName:"gpt-4-1106-preview"})`
But I can't add the "response_format" parameter to set its response explicitly to be a json, as stated in:
https://platform... | Issue: "response_format" parameter on the new GPT-4-turbo model | https://api.github.com/repos/langchain-ai/langchain/issues/12953/comments | 11 | 2023-11-06T21:16:44Z | 2024-05-15T18:04:28Z | https://github.com/langchain-ai/langchain/issues/12953 | 1,980,073,140 | 12,953 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain v0.0.323
Openai v1.0.1 (latest)
Python v3.11.6
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt... | openai has no ChatCompletion attribute, this is likely due to an old version of the openai package. | https://api.github.com/repos/langchain-ai/langchain/issues/12949/comments | 34 | 2023-11-06T20:49:17Z | 2024-02-19T16:07:56Z | https://github.com/langchain-ai/langchain/issues/12949 | 1,980,034,271 | 12,949 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Whenever my agent does not require a tool, (tool has already been used, or query does not require a tool), it continues output.
```
datetimetool = Tool(
name="datetimetool",
func=lambda x: datetime.now().strftime('%A %d %B %Y, %I:%M%p'),
description="Retrieve and retu... | Issue: Agent runs on loop, "Observation: Invalid Format: Missing 'Action:' after 'Thought:" | https://api.github.com/repos/langchain-ai/langchain/issues/12944/comments | 22 | 2023-11-06T18:00:50Z | 2024-06-21T07:34:37Z | https://github.com/langchain-ai/langchain/issues/12944 | 1,979,742,044 | 12,944 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python Version: 3.11
LangChain Version: 0.0.331
OpenAI Version: 1.0.0
### Who can help?
@hwchase17, @agola11, @eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models... | OpenAIEmbeddings() does not work because of these bugs | https://api.github.com/repos/langchain-ai/langchain/issues/12943/comments | 18 | 2023-11-06T17:56:29Z | 2023-11-08T21:38:33Z | https://github.com/langchain-ai/langchain/issues/12943 | 1,979,733,329 | 12,943 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain v0.0.287
Windows 10
Python 3.9
### 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
- [ ] Output P... | BaseCombineDocumentsChain's "input_documents" parameter not overridden by child classes | https://api.github.com/repos/langchain-ai/langchain/issues/12942/comments | 5 | 2023-11-06T17:23:19Z | 2024-05-13T16:08:32Z | https://github.com/langchain-ai/langchain/issues/12942 | 1,979,664,993 | 12,942 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When trying to concurrently fetch many collections from a single postgres server using PGVector, this will currently produce this error:
```
(psycopg2.errors.InternalError_) tuple concurrently updated
```
This is the expected behaviour for the code as it is and is produced by this line:
```... | PGVector: support for concurrency | https://api.github.com/repos/langchain-ai/langchain/issues/12933/comments | 1 | 2023-11-06T14:19:17Z | 2023-11-06T19:03:36Z | https://github.com/langchain-ai/langchain/issues/12933 | 1,979,277,387 | 12,933 |
[
"langchain-ai",
"langchain"
] | Hi, could you please share me an working example for text classification using Langchain with LlamaCPP or llama-cpp-python module, when tried the following with Llama2 7B Q5_K_M
```
prompt_template = """A message can be classified as one of the following categories: book, cancel, change.
Examples:
- Book: "I w... | Example prompt for text classification | https://api.github.com/repos/langchain-ai/langchain/issues/12931/comments | 5 | 2023-11-06T13:44:57Z | 2023-11-09T04:59:23Z | https://github.com/langchain-ai/langchain/issues/12931 | 1,979,196,378 | 12,931 |
[
"langchain-ai",
"langchain"
] | ### System Info
### Issue you'd like to raise.
Bedrock Streaming support was added in the [PR](https://github.com/langchain-ai/langchain/pull/10393/files#diff-9874347f7fa335df661ff4089b0922b3214e08a92e9879610424522f806358f7R62)
But there is an issue if streaming is enabled with `stop sequence`, See the below... | Amazon Bedrock streaming not working with stop sequence | https://api.github.com/repos/langchain-ai/langchain/issues/12926/comments | 1 | 2023-11-06T11:03:20Z | 2023-11-06T11:24:18Z | https://github.com/langchain-ai/langchain/issues/12926 | 1,978,862,164 | 12,926 |
[
"langchain-ai",
"langchain"
] | I created a pandas dataframe agent when i am querying over multiple csv files sometimes it is giving correct answer some time it is hallucinates by giving the python code to run to get the answer.
Here's the response I am getting:
```
To determine the region with the highest total revenue, we can group the data by ... | Pandas data frame agent hallucinates when asking a quesry: Sending python code insted of actual result | https://api.github.com/repos/langchain-ai/langchain/issues/12925/comments | 7 | 2023-11-06T10:38:37Z | 2024-02-13T16:08:07Z | https://github.com/langchain-ai/langchain/issues/12925 | 1,978,817,037 | 12,925 |
[
"langchain-ai",
"langchain"
] | Wanted to merge confluence and githubissue loader. But facing a problem as confluence loader requires additional arguments while loading. So, I am unable to use the MergedDataLoader here.
Code:
loader = ConfluenceLoader(url="URL", username="USER", api_key="API")
loader1 = GitHubIssuesLoader(repo="REPO", access_to... | Issue: Unable to Merge confluence and githubissues loader | https://api.github.com/repos/langchain-ai/langchain/issues/12923/comments | 3 | 2023-11-06T08:54:54Z | 2024-02-12T16:07:44Z | https://github.com/langchain-ai/langchain/issues/12923 | 1,978,615,854 | 12,923 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python == 3.11.3
Langchain == 0.0.330
### 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
- [X] Output P... | Issue: StructuredChatOutputParser regex may prevent agent's actions | https://api.github.com/repos/langchain-ai/langchain/issues/12922/comments | 3 | 2023-11-06T08:20:11Z | 2023-11-06T23:43:40Z | https://github.com/langchain-ai/langchain/issues/12922 | 1,978,555,611 | 12,922 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I've created a tool of parsing text content from pdf files, by adding it to the llm, the tool can get called correclty if I input the text, but the problem is the tool get called many times(I just wait there for minitues and then stopped.), could you help:
```
class ChatLlmWithTool... | Issue: tool get called many times | https://api.github.com/repos/langchain-ai/langchain/issues/12919/comments | 3 | 2023-11-06T05:43:34Z | 2024-02-12T16:07:49Z | https://github.com/langchain-ai/langchain/issues/12919 | 1,978,337,091 | 12,919 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.10.0
langchain 0.3.300
### 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 ... | ChatTongyi do not support AsyncIteratorCallbackHandler | https://api.github.com/repos/langchain-ai/langchain/issues/12917/comments | 3 | 2023-11-06T03:48:40Z | 2024-02-12T16:07:54Z | https://github.com/langchain-ai/langchain/issues/12917 | 1,978,229,664 | 12,917 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.330
Python 3.10.8
### Who can help?
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ]... | DocArrayInMemorySearch | Pydantic 2+ Breaking Changes | https://api.github.com/repos/langchain-ai/langchain/issues/12916/comments | 3 | 2023-11-06T02:46:56Z | 2024-04-25T16:21:57Z | https://github.com/langchain-ai/langchain/issues/12916 | 1,978,179,255 | 12,916 |
[
"langchain-ai",
"langchain"
] | ### System Info
Any system.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loade... | subclassing VectorStoreRetriever causes unjustifiable infinite recursion | https://api.github.com/repos/langchain-ai/langchain/issues/12913/comments | 2 | 2023-11-06T01:17:11Z | 2023-11-06T01:48:44Z | https://github.com/langchain-ai/langchain/issues/12913 | 1,978,090,823 | 12,913 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: 0.0.330
Windows 11
Python 3.11.3
SQLAlchemy version: 2.0.23
### 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 ... | create_sql_agent Error: table_names {"'<table name>'"} not found in database. | https://api.github.com/repos/langchain-ai/langchain/issues/12911/comments | 5 | 2023-11-05T20:09:44Z | 2024-07-19T16:06:59Z | https://github.com/langchain-ai/langchain/issues/12911 | 1,977,943,019 | 12,911 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using RedisChatMessageHistory from langchain and i am trying to deploy it using docker and i am facing issues in connecting to the redis . can someone help me over here @hwchase17
### Suggestion:
_No response_ | Issue: How to deploy langchain using docker and redis used by langchain | https://api.github.com/repos/langchain-ai/langchain/issues/12910/comments | 8 | 2023-11-05T18:40:09Z | 2023-11-08T12:13:13Z | https://github.com/langchain-ai/langchain/issues/12910 | 1,977,910,131 | 12,910 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://blog.langchain.dev/plan-and-execute-agents/
Links at the end of the Conclusion section do not work.
[here (Python)](https://python.langchain.com/docs/modules/agents/agent_types/plan_and_execute?ref=blog.langchain.dev
) and [here (JS)](https://js.langchain.com/docs... | DOC: Links at the bottom of Plan and Execute Agents blog do not work | https://api.github.com/repos/langchain-ai/langchain/issues/12904/comments | 3 | 2023-11-05T13:34:23Z | 2024-02-11T16:06:36Z | https://github.com/langchain-ai/langchain/issues/12904 | 1,977,791,576 | 12,904 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
``I am using Google Palm,Faiss,HF Instruct Embeddings.When ever I am Quering with RetrievalQAWithSourcesChain.
I am getting
```
[chain/error] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain] [2.01s] Chain run errored with error:
"IndexErro... | Issue: <[chain/error] [1:chain:RetrievalQAWithSourcesChain > 3:chain:MapReduceDocumentsChain > 9:chain:LLMChain] [2.01s] Chain run errored with error: "IndexError('list index out of range')"> | https://api.github.com/repos/langchain-ai/langchain/issues/12903/comments | 9 | 2023-11-05T12:19:52Z | 2024-06-30T16:03:18Z | https://github.com/langchain-ai/langchain/issues/12903 | 1,977,763,705 | 12,903 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
My openai llm see to run fine but some how not getting the answer in Finished chain.
Model used
```
def llm_function(csv_file_name):
agent = create_csv_agent(
ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613", request_timeout=120),
csv_file_name,
... | Finished chain - None, when I run an csv_agent on a csv file. | https://api.github.com/repos/langchain-ai/langchain/issues/12900/comments | 3 | 2023-11-05T09:30:48Z | 2024-02-11T16:06:41Z | https://github.com/langchain-ai/langchain/issues/12900 | 1,977,689,238 | 12,900 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have successfully installed the apoc plugin by pressing the neo4j document, and run ` return apoc.version() ` on the neo4j client to return successfully.
However, when Neo4jGraph was used in Langchain connection, errors were still reported.
```
ValueError: Could not use APOC procedures. Please en... | Langchain connects Neo4j v5.9 error Could not use APOC procedures | https://api.github.com/repos/langchain-ai/langchain/issues/12901/comments | 14 | 2023-11-05T09:13:20Z | 2024-05-20T05:19:27Z | https://github.com/langchain-ai/langchain/issues/12901 | 1,977,701,382 | 12,901 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.330
Python 3.10.12
### Who can help?
@hwchase17
### 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
... | Encounter KeyError: 'user_agent' while using CohereRerank() | https://api.github.com/repos/langchain-ai/langchain/issues/12899/comments | 6 | 2023-11-05T07:40:49Z | 2024-03-14T10:18:11Z | https://github.com/langchain-ai/langchain/issues/12899 | 1,977,674,946 | 12,899 |
[
"langchain-ai",
"langchain"
] | ### System Info
Platform: macOS Sonoma 14.0
Python Version: 3.11
LangChain Version: 0.0.330
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Temp... | LLMChain does not stream | https://api.github.com/repos/langchain-ai/langchain/issues/12894/comments | 7 | 2023-11-04T22:00:53Z | 2024-07-18T16:07:19Z | https://github.com/langchain-ai/langchain/issues/12894 | 1,977,527,950 | 12,894 |
[
"langchain-ai",
"langchain"
] | ### System Info
pip freeze
attrs==19.3.0
Automat==0.8.0
blinker==1.4
certifi==2019.11.28
chardet==3.0.4
Click==7.0
cloud-init==23.3.1
colorama==0.4.3
command-not-found==0.3
configobj==5.0.6
constantly==15.1.0
cryptography==2.8
dbus-python==1.2.16
diskcache==5.6.3
distro==1.4.0
distro-info==0.23+ubuntu... | It seems that stop does not work with ollama models. | https://api.github.com/repos/langchain-ai/langchain/issues/12892/comments | 8 | 2023-11-04T21:30:07Z | 2024-05-16T16:07:34Z | https://github.com/langchain-ai/langchain/issues/12892 | 1,977,518,229 | 12,892 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Page link: https://python.langchain.com/docs/modules/agents/agent_types/react#using-chat-models
Under "Using chat models", second paragraph:
```The main difference here is a different prompt. We will use JSON to encode the agent's actions (chat models are a bit tougher to s... | DOC: Typo under docs for using chat models for ReAct agents | https://api.github.com/repos/langchain-ai/langchain/issues/12891/comments | 2 | 2023-11-04T20:46:53Z | 2024-02-10T16:06:38Z | https://github.com/langchain-ai/langchain/issues/12891 | 1,977,501,097 | 12,891 |
[
"langchain-ai",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.308
Macos ventura 13.2.1
### 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 Te... | Langchain Structured_Chat_Zero_Shot_Description agent use no tools | https://api.github.com/repos/langchain-ai/langchain/issues/12883/comments | 3 | 2023-11-04T13:49:20Z | 2024-02-10T16:06:42Z | https://github.com/langchain-ai/langchain/issues/12883 | 1,977,348,240 | 12,883 |
[
"langchain-ai",
"langchain"
] | ### System Info
Name: langchain Version: 0.0.308
Macos 13.2.1
### 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 Selecto... | Langchain OPENAI_MULTI_FUNCTIONS Agent doesn't retrieve the data from the second Input (Chain). Can OPENAI_MULTI_FUNCTIONS Agent realize two actions, one after the other ? | https://api.github.com/repos/langchain-ai/langchain/issues/12882/comments | 5 | 2023-11-04T13:41:28Z | 2024-02-12T16:07:58Z | https://github.com/langchain-ai/langchain/issues/12882 | 1,977,343,851 | 12,882 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
lass Node(BaseModel):
problem:str=Field(...,description="the problem related to fan")
causes:List[str]=Field(...,description="causes related to particular problem")
component:Dict[str,str]=Field(...,description='key should be component of fan and value should be descriptio... | Issue: <getting error in create_structured_output_chain prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/12879/comments | 5 | 2023-11-04T10:40:46Z | 2024-02-13T16:08:12Z | https://github.com/langchain-ai/langchain/issues/12879 | 1,977,275,775 | 12,879 |
[
"langchain-ai",
"langchain"
] | ### System Info
Cohere embeddings v3 model requires a input_type parameter . This is specific to the new models as per cohere API doc. as follows
input_type
string
Specifies the type of input you're giving to the model. Not required for older versions of the embedding models (i.e. anything lower than v3), but is ... | Cohere embeddings API error . Doesnot work with its new v3 model | https://api.github.com/repos/langchain-ai/langchain/issues/12877/comments | 2 | 2023-11-04T08:18:38Z | 2023-11-04T13:25:35Z | https://github.com/langchain-ai/langchain/issues/12877 | 1,977,229,050 | 12,877 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version 0.0.330
Chroma version 0.4.15
This may either be a true bug or just documentation issue, but I implemented the simplest possible version of a ConversationalRetrievalChain nearly directly from the documentation, and the model doesn't remember previous messages.
```
from langcha... | Conversation memory example - previous messages not remembered | https://api.github.com/repos/langchain-ai/langchain/issues/12875/comments | 6 | 2023-11-04T06:41:49Z | 2024-03-29T12:25:48Z | https://github.com/langchain-ai/langchain/issues/12875 | 1,977,200,742 | 12,875 |
[
"langchain-ai",
"langchain"
] | ### System Info
- OS: macOS Monterey Version 12.6 Chip Apple M1
- Python: 3.10.8
- langchain: 0.0.330
- google-auth: 2.23.4
Details:
```
python -V
Python 3.10.8
```
```
pip freeze
aiohttp==3.8.6
aiosignal==1.3.1
annotated-types==0.6.0
anyio==3.7.1
async-timeout==4.0.3
attrs==23.1.0
cachetools=... | GoogleDriveLoader with ADC default error | https://api.github.com/repos/langchain-ai/langchain/issues/12870/comments | 3 | 2023-11-04T01:36:09Z | 2024-07-22T17:43:34Z | https://github.com/langchain-ai/langchain/issues/12870 | 1,977,102,464 | 12,870 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I propose the addition of a testing module within the Langchain library that provides "Fake" implementations of various components, such as language models, chat models, document stores, retrievers, agents, and tools (I may have forgotten some key components). The purpose of these fake components i... | `langchain.testing` Module with Fake Components for Testing Downstream Langchain Applications | https://api.github.com/repos/langchain-ai/langchain/issues/12867/comments | 1 | 2023-11-03T22:44:46Z | 2024-02-09T16:07:48Z | https://github.com/langchain-ai/langchain/issues/12867 | 1,977,020,002 | 12,867 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version - 0.0.330
Python version - 3.10
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templ... | 'super' object has no attribute 'parse_obj' | https://api.github.com/repos/langchain-ai/langchain/issues/12866/comments | 6 | 2023-11-03T22:39:46Z | 2024-06-20T16:09:05Z | https://github.com/langchain-ai/langchain/issues/12866 | 1,977,015,555 | 12,866 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
There are some links that return "Page Not Found" and lead to [langchain/cookbook](https://python.langchain.com/cookbook) when refreshed.
The three links are under [Other types of agent runtimes](https://python.langchain.com/docs/modules/agents/#other-types-of-agent-runtimes).
... | DOC: Links for agent runtimes do not work | https://api.github.com/repos/langchain-ai/langchain/issues/12864/comments | 3 | 2023-11-03T22:24:15Z | 2024-02-09T16:07:53Z | https://github.com/langchain-ai/langchain/issues/12864 | 1,977,005,054 | 12,864 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
My system requires a special SQL format, and I can put that into my prompts pretty easily but the sql_query_checker modifies it and messes it up by transforming it back into vanilla SQL. How can I turn the checker off?
### Suggestion:
_No response_ | How can I disable the sql_query_checker? | https://api.github.com/repos/langchain-ai/langchain/issues/12863/comments | 3 | 2023-11-03T22:10:10Z | 2024-02-09T16:07:58Z | https://github.com/langchain-ai/langchain/issues/12863 | 1,976,990,108 | 12,863 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.263
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Documen... | OpenAIEmbeddings Sending TikToken Tokens Rather than Texts | https://api.github.com/repos/langchain-ai/langchain/issues/12854/comments | 6 | 2023-11-03T19:18:13Z | 2024-07-04T19:10:15Z | https://github.com/langchain-ai/langchain/issues/12854 | 1,976,794,880 | 12,854 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Here is the Error I am getting when I am Importing from langchain.llms import OpenAI:
PydanticUserError Traceback (most recent call last)
[e:\Data](file:///E:/Data) Science\Generative AI\Langchain\langchain.ipynb Cell 1 line 1
----> [1](vscode-notebook-cell:/... | "PydanticUserError" when importing OpenAI using Langchain.llms | https://api.github.com/repos/langchain-ai/langchain/issues/12852/comments | 4 | 2023-11-03T18:22:35Z | 2024-02-12T16:08:14Z | https://github.com/langchain-ai/langchain/issues/12852 | 1,976,736,591 | 12,852 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
If a pull request is submitted but not acted on, changes made in the pr to common modules like .toml and __init__.py can quickly become dated and require hand-reconciliation. Thn, when the pr is tested, it will fail and mayr enter a loop where it doesn't get tested again until it is agai... | Issue: Unclear timeline and process for PR | https://api.github.com/repos/langchain-ai/langchain/issues/12850/comments | 6 | 2023-11-03T17:45:47Z | 2024-02-13T16:08:23Z | https://github.com/langchain-ai/langchain/issues/12850 | 1,976,663,529 | 12,850 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I was following the tutorial [here](https://python.langchain.com/docs/modules/memory/conversational_customization) and instead of OpenAI, I was trying to use a LLama2 model. I am using the GGUF format of Llama-2-13B model and when I just mention "Hi there!" it goes into the following q... | Llama model entering into a lenghty question answer mode | https://api.github.com/repos/langchain-ai/langchain/issues/12848/comments | 7 | 2023-11-03T17:37:34Z | 2024-03-28T14:44:20Z | https://github.com/langchain-ai/langchain/issues/12848 | 1,976,652,400 | 12,848 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
def delete_document_embeddings_by_filename(file_path, persist_directory):
chroma_db = chromadb.PersistentClient(path=persist_directory)
print(chroma_db)
collection = chroma_db.get_collection(name="langchain")
print(collection)
collection.delete(where={"source": file_path})
output o... | Issue: not able to delete embeddings of a pdf from the embeddings folder | https://api.github.com/repos/langchain-ai/langchain/issues/12846/comments | 3 | 2023-11-03T17:23:36Z | 2024-02-09T16:08:19Z | https://github.com/langchain-ai/langchain/issues/12846 | 1,976,633,201 | 12,846 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.329
Python 3.10.11
MacOS 12.7.1 (21G920)
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Select... | vectorstores/docarray: `_similarity_search_with_relevance_scores` raises a NotImplementedError | https://api.github.com/repos/langchain-ai/langchain/issues/12843/comments | 6 | 2023-11-03T16:33:14Z | 2024-03-22T16:05:55Z | https://github.com/langchain-ai/langchain/issues/12843 | 1,976,559,861 | 12,843 |
[
"langchain-ai",
"langchain"
] | I am new to Langchain and OpenAI models. I am creating a custom PDF reading in Python using Langchain ChatOpenAI model to interact with the chat completion endpoint. I keep getting this error message and I don't know what to do. Please help. All suggestions are welcome!
Here is a part of my code where the error mess... | Issue: Langchain ChatOpenAI chat_model.complete error message: 'chatopenai' object has no attribute 'complete' | https://api.github.com/repos/langchain-ai/langchain/issues/12842/comments | 3 | 2023-11-03T16:26:06Z | 2023-11-15T17:05:49Z | https://github.com/langchain-ai/langchain/issues/12842 | 1,976,543,428 | 12,842 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.329
Python 3.9
Windows 10
### 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
- [ ] Outpu... | `ChatAnyscale` not working because of OpenAI API Key | https://api.github.com/repos/langchain-ai/langchain/issues/12841/comments | 8 | 2023-11-03T15:28:38Z | 2024-02-17T16:06:33Z | https://github.com/langchain-ai/langchain/issues/12841 | 1,976,450,097 | 12,841 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain = 0.0.329
I have the following code, and it works fine as long as the JSON file does not exist.
```
try:
content_formatter = LlamaContentFormatter()
formatter_template = "Write a {word_count} word essay about {topic}."
prompt = PromptTemplate(
... | When saving an LLM to JSON, and retrieving it back the content_formatter is null | https://api.github.com/repos/langchain-ai/langchain/issues/12840/comments | 3 | 2023-11-03T14:26:28Z | 2024-02-09T16:08:23Z | https://github.com/langchain-ai/langchain/issues/12840 | 1,976,320,267 | 12,840 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I use debian 11,
python 3.10,
anaconda3
langchain==0.0.240
RAM = 16 Go
swap = 10 Go
SSD = 60 GO
I try to use the simplest program with Ctransfors:
```
from langchain.llms import CTransformers
from langchain.chains import LLMChain
from langchain import PromptTemplate
... | Issue: core dumped / segmentation fault | https://api.github.com/repos/langchain-ai/langchain/issues/12835/comments | 3 | 2023-11-03T12:36:30Z | 2024-02-09T16:08:28Z | https://github.com/langchain-ai/langchain/issues/12835 | 1,976,111,325 | 12,835 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python == 3.9.18
Langchain == 0.0.327
### Who can help?
MultiRetrievalQAChain
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prom... | MultiRetrievalQAChain - unable to return source document when I use multiple documents | https://api.github.com/repos/langchain-ai/langchain/issues/12834/comments | 3 | 2023-11-03T12:32:47Z | 2024-02-09T16:08:33Z | https://github.com/langchain-ai/langchain/issues/12834 | 1,976,102,264 | 12,834 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
def delete_document_embeddings_by_filename(file_name, persist_directory):
print(file_name,"file_name is ")
print(persist_directory,"persist_directory is")
chroma_db = chromadb.PersistentClient(path=persist_directory)
print(chroma_db,"chroma_db is ---------------->>>... | Issue: Not able to delete embeddings of a file | https://api.github.com/repos/langchain-ai/langchain/issues/12833/comments | 6 | 2023-11-03T12:28:42Z | 2024-02-12T16:08:34Z | https://github.com/langchain-ai/langchain/issues/12833 | 1,976,092,559 | 12,833 |
[
"langchain-ai",
"langchain"
] | ### System Info
- Langchain=0.0.325
- Python=3.10.0
- Windows
### Who can help?
@IlyaMichlin @hwchase17 @baskaryan
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / P... | RecursiveCharacterTextSplitter with regex separator raises error if there is only 1 match of the regex | https://api.github.com/repos/langchain-ai/langchain/issues/12832/comments | 4 | 2023-11-03T12:25:13Z | 2024-02-09T16:08:43Z | https://github.com/langchain-ai/langchain/issues/12832 | 1,976,083,720 | 12,832 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am wondering if I need to adjust the prompt template of the combine_docs_chain (combine_docs_chain.llm_chain.prompt.template) to account for the needs of llama 2 models that require the following format:
[INST] <<SYS>> You are a HR-assistant that answers questions:
<</SYS>>
{que... | Issue: Is langchain automatically adjusting its prompts to account for required formats of models such as llama2? | https://api.github.com/repos/langchain-ai/langchain/issues/12826/comments | 4 | 2023-11-03T10:56:15Z | 2024-04-09T13:23:54Z | https://github.com/langchain-ai/langchain/issues/12826 | 1,975,931,873 | 12,826 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain=0.0.208
platform=Windows
python=3.9.16
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | Extraction of contents from docx files through UnstructuredWordDocumentLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12825/comments | 18 | 2023-11-03T10:03:17Z | 2024-02-21T16:07:54Z | https://github.com/langchain-ai/langchain/issues/12825 | 1,975,828,491 | 12,825 |
[
"langchain-ai",
"langchain"
] | ### Feature request
In OpenSearchVectorSearch langchain wrapper there is no way to delete the indexes from vector DB.
### Motivation
I was working on a project and had to delete some indexes because they already existed in DB.
Had to write the code myself to do that.
### Your contribution
Yes I can create a PR... | Request to add OpenSearchVectorSearch delete index method | https://api.github.com/repos/langchain-ai/langchain/issues/12824/comments | 1 | 2023-11-03T09:43:28Z | 2024-02-09T16:08:53Z | https://github.com/langchain-ai/langchain/issues/12824 | 1,975,799,508 | 12,824 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When you give a query, it rephrases the query(which isn't the issue), but the rephrased query gets shown which is very problematic because it delays response and the rephrase gets shown to the user.
example, if I ask What is an apple is, i get shown something like " What is the definiti... | Issue: rephrasing of question in Conversational retrieval chain which delays responses and users see it | https://api.github.com/repos/langchain-ai/langchain/issues/12823/comments | 3 | 2023-11-03T09:10:55Z | 2024-02-09T16:08:58Z | https://github.com/langchain-ai/langchain/issues/12823 | 1,975,736,883 | 12,823 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.