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"
] | ### Issue you'd like to raise.
I want to read otp using gmail tool kit but I am getting an errror when the email is in form of HTML or in image form .
How do I fix this ?
### Suggestion:
_No response_ | Unable to read OTP from an email whose content is in form of HTML/Image | https://api.github.com/repos/langchain-ai/langchain/issues/12820/comments | 3 | 2023-11-03T06:34:28Z | 2024-02-09T16:09:03Z | https://github.com/langchain-ai/langchain/issues/12820 | 1,975,535,523 | 12,820 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Move Chat [LangChain](https://github.com/langchain-ai/chat-langchain) into a template.
### Motivation
ChatLangchain has useful features (prompts, etc) that should be captured in a templates.
### Your contribution
Add template | [Chat template] Chat LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/12818/comments | 2 | 2023-11-03T04:14:37Z | 2024-02-09T16:09:08Z | https://github.com/langchain-ai/langchain/issues/12818 | 1,975,429,808 | 12,818 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Converting https://python.langchain.com/ to a pdf using https://github.com/jean-humann/docs-to-pdf runs forever because https://python.langchain.com/docs/expression_language/cookbook/tools --next leads to a previous page.
`npx docs-to-pdf --initialDocURLs="https://python.langch... | DOC: docs/expression_language/cookbook/tools --next leads to a previous page | https://api.github.com/repos/langchain-ai/langchain/issues/12815/comments | 5 | 2023-11-03T02:53:58Z | 2024-02-12T16:08:39Z | https://github.com/langchain-ai/langchain/issues/12815 | 1,975,379,949 | 12,815 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.311
### 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
- [X] Docum... | Langchain ConfluenceLoader.load(): Get "when" field in metadata | https://api.github.com/repos/langchain-ai/langchain/issues/12812/comments | 4 | 2023-11-03T00:26:16Z | 2024-05-14T16:06:46Z | https://github.com/langchain-ai/langchain/issues/12812 | 1,975,246,193 | 12,812 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Example of what NOT to do:
https://github.com/langchain-ai/langchain/issues/12507
Langchain, PLEASE stop doing this. PLEASE make all your updates backwards compatible. As it is, if you keep making changes like moving modules around, existing scripts break with every new update of Langchain.
##... | PLEASE make all subsequent versions of Langchain backwards compatible!!! | https://api.github.com/repos/langchain-ai/langchain/issues/12803/comments | 3 | 2023-11-02T21:07:39Z | 2024-02-09T16:09:18Z | https://github.com/langchain-ai/langchain/issues/12803 | 1,975,037,118 | 12,803 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The new cohere V3 embed endpoints have a new required parameter - input_type.
Langchain currently doesn't support this parameter
https://txt.cohere.com/introducing-embed-v3/
### Motivation
Being able to use the newest multilingual embedding capabilities is something users who are developing a... | Add support for Cohere embed V3 | https://api.github.com/repos/langchain-ai/langchain/issues/12793/comments | 10 | 2023-11-02T17:15:12Z | 2023-11-07T14:22:53Z | https://github.com/langchain-ai/langchain/issues/12793 | 1,974,708,436 | 12,793 |
[
"langchain-ai",
"langchain"
] | ### System Info
Sample Snippet:
```
from langchain.chains.question_answering import load_qa_chain
chain = load_qa_chain(llm, chain_type = "stuff")
query = "decentralized identity"
docs = docsearch.similarity_search(query)
text = chain({"input_documents": docs, "question": query, "verbose": True})
```
E... | Issue: Amazon Bedrock Cohere Command LLM - Malformed input request: 2 schema violations found | https://api.github.com/repos/langchain-ai/langchain/issues/12790/comments | 4 | 2023-11-02T16:06:47Z | 2024-02-12T16:08:43Z | https://github.com/langchain-ai/langchain/issues/12790 | 1,974,583,805 | 12,790 |
[
"langchain-ai",
"langchain"
] | when i used vocab_only=True for tokenize and add documents to opensearch vectors store, facing the following issue. could you please help me to fix,
GGML_ASSERT: C:\Users\pip-install-vabntc\project\llama-cpp-python\vendor\llama.cpp\llama.cpp:4032: !!kv_self.ctx | GGML_ASSERT when using LlamaCppEmbeddings using langchain with quantized Llama 7B chat model | https://api.github.com/repos/langchain-ai/langchain/issues/12788/comments | 4 | 2023-11-02T15:23:06Z | 2023-11-03T04:00:11Z | https://github.com/langchain-ai/langchain/issues/12788 | 1,974,495,685 | 12,788 |
[
"langchain-ai",
"langchain"
] | ### System Info
Version 0.0.328, macOS, Python 3.11.5
In [_convert_website_search_response() ](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/retrievers/google_vertex_ai_search.py#L120-L154) of [langchain.retrievers.google_vertex_ai_search](https://github.com/langchain-ai/langchain/b... | UnboundLocalError in langchain.retrievers.google_vertex_ai_search | https://api.github.com/repos/langchain-ai/langchain/issues/12780/comments | 5 | 2023-11-02T13:07:25Z | 2024-02-05T22:55:14Z | https://github.com/langchain-ai/langchain/issues/12780 | 1,974,212,272 | 12,780 |
[
"langchain-ai",
"langchain"
] | ### Feature request
WebResearchRetriever is a really great way to build a RAG based solution on public data. The challenge with using it in production is two things:
1. WebResearchRetriever contains a field called url_database and its an in memory python list, it would be good to provide some sort of alternative (m... | WebResearchRetriever enhancement with Memory and Reingestion of Documents | https://api.github.com/repos/langchain-ai/langchain/issues/12776/comments | 2 | 2023-11-02T12:35:11Z | 2024-02-08T16:10:20Z | https://github.com/langchain-ai/langchain/issues/12776 | 1,974,157,607 | 12,776 |
[
"langchain-ai",
"langchain"
] | ### System Info
linux: 6.5.0-asahi-15-1-edge-ARCH
python=3.11.5
langchain=0.0.327
sentence-transformers=2.2.2
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Pr... | Core dump with Hugginface Embedding on aarch64 (M1 macbook) | https://api.github.com/repos/langchain-ai/langchain/issues/12775/comments | 14 | 2023-11-02T11:51:02Z | 2024-02-18T16:06:42Z | https://github.com/langchain-ai/langchain/issues/12775 | 1,974,087,849 | 12,775 |
[
"langchain-ai",
"langchain"
] | ### Feature request
**Status Quo**
Currently, the [MathpixPDFLoader](https://api.python.langchain.com/en/latest/_modules/langchain/document_loaders/pdf.html#MathpixPDFLoader) sets its data property as follows:
```
@property
def data(self) -> dict:
options = {"conversion_formats": {self.proce... | Add option to set request parameters for MathpixPDFLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12773/comments | 3 | 2023-11-02T10:29:26Z | 2024-02-01T19:02:45Z | https://github.com/langchain-ai/langchain/issues/12773 | 1,973,949,972 | 12,773 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
The error
{'error': [{'message': "'id' is a reserved property name, no such prop with name 'id' found in class 'LangChain_14ee2519c3154dcb9ea3f47a8967d0e8' in the schema. Check your schema files for which properties in this class are available"}]}
loader = ConfluenceLoader(
url="URL... | Issue: Schema error when ingesting documents | https://api.github.com/repos/langchain-ai/langchain/issues/12772/comments | 2 | 2023-11-02T10:19:42Z | 2024-02-09T16:09:28Z | https://github.com/langchain-ai/langchain/issues/12772 | 1,973,933,503 | 12,772 |
[
"langchain-ai",
"langchain"
] | ### System Info
Running langchain in Nextjs app
```
"langchain": "^0.0.175",
"next": "^13.5.2",
"react": "18.2.0",
```
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] E... | YoutubeLoader throws 'module not found' error | https://api.github.com/repos/langchain-ai/langchain/issues/12771/comments | 4 | 2023-11-02T10:15:03Z | 2024-02-12T16:08:54Z | https://github.com/langchain-ai/langchain/issues/12771 | 1,973,925,566 | 12,771 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When using FAISS vector store, how can I get the size of vector store?
For example, I used FAISS.load_local(path, embeddings) to load a vector store, how to get the size of the loaded vector store? Which should be the total number of documents in it.
### Suggestion:
_No response_ | Issue: When using FAISS vector store, how can I get the size of vector store | https://api.github.com/repos/langchain-ai/langchain/issues/12767/comments | 5 | 2023-11-02T07:38:15Z | 2024-03-21T04:37:09Z | https://github.com/langchain-ai/langchain/issues/12767 | 1,973,677,488 | 12,767 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain == 0.0.327
sqlite3
Here's how the setup is done
Entity memory
```
memory = ConversationEntityMemory(
llm=llm,
input_key='question',
entity_store=store,
chat_history_key='chat_history',
return_messages=True
)... | ConversationEntityMemory + SQLiteEntityStore doesn't store chat_history to the database at all | https://api.github.com/repos/langchain-ai/langchain/issues/12766/comments | 2 | 2023-11-02T07:34:53Z | 2024-02-08T16:10:36Z | https://github.com/langchain-ai/langchain/issues/12766 | 1,973,673,398 | 12,766 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
In create_Sql_agent, when the agent is querying a table schema with partition field, it nevers adds parition and the program goes wrong, how to let the agent add partition field everytime it queries a table schema? Many thanks.
### Suggestion:
_No response_ | create_sql_agent checks schema of a table with partiton field always goes wrong | https://api.github.com/repos/langchain-ai/langchain/issues/12765/comments | 2 | 2023-11-02T06:38:16Z | 2024-02-08T16:10:40Z | https://github.com/langchain-ai/langchain/issues/12765 | 1,973,604,467 | 12,765 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I tried to use webscraping by using langchain and used the async chromium loader as per the lanchain documentation but I was getting error asyncio.run() error so I made some chnages that i found on web but its still not working .
below is the code:
import asyncio
import playwright
fr... | Issue: getting not implemented error when using async chromium loader | https://api.github.com/repos/langchain-ai/langchain/issues/12763/comments | 7 | 2023-11-02T04:34:54Z | 2024-07-06T16:05:28Z | https://github.com/langchain-ai/langchain/issues/12763 | 1,973,488,881 | 12,763 |
[
"langchain-ai",
"langchain"
] | ### Feature request
DPP (Determinantal Point Process) retriever for retrieve examples.
### Motivation
DPPRetriever can obtain diverse examples. Therefore, I think DDP is needed in langchain.
### Your contribution
NO | DPP retriever | https://api.github.com/repos/langchain-ai/langchain/issues/12761/comments | 3 | 2023-11-02T03:08:49Z | 2024-02-20T16:07:41Z | https://github.com/langchain-ai/langchain/issues/12761 | 1,973,423,287 | 12,761 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I provide the agent a get_date function as a tool,but when I ask the agent what is today's date, the agent provide the action and action input, but instead of executing it, it directly finished the chain。
 for the backend and Streamlit for the frontend. It works, but for some users' questions, it takes too much time to output anything. If I look at the output of intermediate steps, I can see that the chatbot tries to pri... | Issue: analytic chatbot that's based on Langchain (with agents and tools) and Streamlit is too slow | https://api.github.com/repos/langchain-ai/langchain/issues/12758/comments | 2 | 2023-11-02T01:05:08Z | 2024-04-08T16:07:51Z | https://github.com/langchain-ai/langchain/issues/12758 | 1,973,327,167 | 12,758 |
[
"langchain-ai",
"langchain"
] | ### System Info
Running with `langchain==0.0.327` on Fedora Linux and Windows.
Finetuning with `gpt-3.5-turbo-16k-0613`.
Language: `Python 3.10.11`
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components... | Langchain Agent Duplicates Response Separated by "\n" with Finetuned LLM | https://api.github.com/repos/langchain-ai/langchain/issues/12752/comments | 3 | 2023-11-01T23:15:52Z | 2024-03-27T12:43:12Z | https://github.com/langchain-ai/langchain/issues/12752 | 1,973,243,397 | 12,752 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Template that show routing across N datastores
### Motivation
Reasoning about [where to fetch information (https://python.langchain.com/docs/expression_language/how_to/routing) from a natural language query is important for retrieval across data sources.
### Your contribution
Add template | [Extraction template] Query decomposition + routing | https://api.github.com/repos/langchain-ai/langchain/issues/12745/comments | 2 | 2023-11-01T21:05:55Z | 2024-02-07T16:09:43Z | https://github.com/langchain-ai/langchain/issues/12745 | 1,973,112,630 | 12,745 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add template to simplify fine-tuning
### Motivation
[LLM fine-tuning](https://blog.langchain.dev/using-langsmith-to-support-fine-tuning-of-open-source-llms/) can improve task-specific performance
### Your contribution
Add template | [Fine tuning template] Fine-tune LLM | https://api.github.com/repos/langchain-ai/langchain/issues/12744/comments | 1 | 2023-11-01T21:00:11Z | 2024-02-07T16:09:48Z | https://github.com/langchain-ai/langchain/issues/12744 | 1,973,104,857 | 12,744 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Set up template to simplify fine-tuning of embedding models.
### Motivation
[Fine-tuning](https://blog.langchain.dev/using-langsmith-to-support-fine-tuning-of-open-source-llms/) of embedding models can improve RAG.
### Your contribution
Add template | [Fine tuning template] Fine-tune embedding model | https://api.github.com/repos/langchain-ai/langchain/issues/12743/comments | 2 | 2023-11-01T20:57:07Z | 2024-02-08T16:10:50Z | https://github.com/langchain-ai/langchain/issues/12743 | 1,973,100,842 | 12,743 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Given a runnable (e.g., RAG pipeline) automatically run eval against a given (public) dataset
### Motivation
Made evaluation simple by abstracting w/ a template and passing in only a runnable.
(Template can be called as RemoteRunnable.)
Benchmark your runnable on an existing public LangSmith d... | [Evaluation template] Runs evaluation against LangSmith (public) dataset | https://api.github.com/repos/langchain-ai/langchain/issues/12742/comments | 1 | 2023-11-01T20:53:55Z | 2024-02-07T16:09:58Z | https://github.com/langchain-ai/langchain/issues/12742 | 1,973,096,837 | 12,742 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Synthetic dataset generation and extraction (to JSON or similar)
### Motivation
Datasets (for eval or fine-tuning) are challenging to generate. Some prompts have used LLMs to [generate](https://smith.langchain.com/hub/homanp/question-answer-pair?ref=blog.langchain.dev&organizationId=1fa8b1f4-fcb9... | [Data generation template] Synthetic QA pairs from input document | https://api.github.com/repos/langchain-ai/langchain/issues/12741/comments | 1 | 2023-11-01T20:40:08Z | 2024-02-07T16:10:03Z | https://github.com/langchain-ai/langchain/issues/12741 | 1,973,076,333 | 12,741 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Summarization on audio content (podcasts, YT videos, lectures) would be useful.
### Motivation
Prior work by [AssemblyAI](https://github.com/AssemblyAI/youtube-tutorials/blob/main/podcast-summary-app/podcasts.py) has focused on this.
### Your contribution
Add template | [Summarization template] Audio | https://api.github.com/repos/langchain-ai/langchain/issues/12740/comments | 5 | 2023-11-01T20:36:18Z | 2024-06-18T09:12:29Z | https://github.com/langchain-ai/langchain/issues/12740 | 1,973,071,476 | 12,740 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Name Entity Recognition is the process of identifying and classifying named entities (like people, organizations, dates, and locations) in text.
### Motivation
NER is useful in various areas:
1. Information Retrieval: Helps in improving the efficiency of search engines. For example, if someone... | [Extraction template] NER | https://api.github.com/repos/langchain-ai/langchain/issues/12739/comments | 2 | 2023-11-01T20:33:54Z | 2024-03-08T16:46:59Z | https://github.com/langchain-ai/langchain/issues/12739 | 1,973,068,176 | 12,739 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Use oss LLM w/ agent (e.g., [Zephyr](https://huggingface.co/HuggingFaceH4/zephyr-7b-alpha))
### Motivation
See notes [here](https://blog.llamaindex.ai/dumber-llm-agents-need-more-constraints-and-better-tools-17a524c59e12), [here](https://betterprogramming.pub/exploring-react-agent-for-better-prom... | [Agent template] Local / oss agent | https://api.github.com/repos/langchain-ai/langchain/issues/12738/comments | 1 | 2023-11-01T20:24:36Z | 2024-02-07T16:10:08Z | https://github.com/langchain-ai/langchain/issues/12738 | 1,973,055,694 | 12,738 |
[
"langchain-ai",
"langchain"
] | ### Feature request
SQL + semantic searching w/ pgvector
### Motivation
Follow the format of [this cookbook](https://github.com/langchain-ai/langchain/pull/12365/files) to enable unified SQL + semantic search (on a column with embeddings).
### Your contribution
Template | [Query construction template] Semantic + SQL with pgvector | https://api.github.com/repos/langchain-ai/langchain/issues/12737/comments | 1 | 2023-11-01T20:16:56Z | 2024-02-07T16:10:13Z | https://github.com/langchain-ai/langchain/issues/12737 | 1,973,045,358 | 12,737 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Extraction a structured (e.g., csv, pandas DF, etc) table from unstructured text
### Motivation
LLMs can infer table structure from text input.
A template that performs this and output a dataq (e.g., csv, pandas DF, etc) object would be useful.
### Your contribution
Add template | [Extraction template] Tables from unstructured text | https://api.github.com/repos/langchain-ai/langchain/issues/12735/comments | 1 | 2023-11-01T20:04:17Z | 2024-02-07T16:10:17Z | https://github.com/langchain-ai/langchain/issues/12735 | 1,973,027,411 | 12,735 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Tagging using (local LLM or API) for categorizing support tickets
### Motivation
Support ticket classification
### Your contribution
Add template | [Tagging template] Support ticket classification | https://api.github.com/repos/langchain-ai/langchain/issues/12734/comments | 2 | 2023-11-01T20:01:25Z | 2024-03-17T16:05:07Z | https://github.com/langchain-ai/langchain/issues/12734 | 1,973,023,622 | 12,734 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Template that features multi-modal RAG
### Motivation
* [Unstructured for document processing](https://github.com/langchain-ai/langchain/blob/master/cookbook/Semi_structured_and_multi_modal_RAG.ipynb)
* Multimodal embeddings
* Showcase vectorstore(s) that support img+text
* Multi-modal LLM for an... | [RAG template] Multi-modal | https://api.github.com/repos/langchain-ai/langchain/issues/12732/comments | 2 | 2023-11-01T19:47:42Z | 2024-02-08T16:10:55Z | https://github.com/langchain-ai/langchain/issues/12732 | 1,973,001,832 | 12,732 |
[
"langchain-ai",
"langchain"
] | I have made a Custom Prompt template using:
```
`class CustomPromptTemplate(BaseChatPromptTemplate):
# The template to use
template: str
# The list of tools available
tools: List[Tool]
def format_messages(self, **kwargs) -> str:
# Get the intermediate steps (AgentAction, Observation ... | Adding memory with customprompt and Custom agent is resulting in error | https://api.github.com/repos/langchain-ai/langchain/issues/12730/comments | 2 | 2023-11-01T19:22:39Z | 2024-02-07T16:10:27Z | https://github.com/langchain-ai/langchain/issues/12730 | 1,972,961,377 | 12,730 |
[
"langchain-ai",
"langchain"
] | I have made a Custom Prompt template using: | Error after adding memory to custom agent and prompt template | https://api.github.com/repos/langchain-ai/langchain/issues/12728/comments | 1 | 2023-11-01T19:00:22Z | 2023-11-01T19:29:19Z | https://github.com/langchain-ai/langchain/issues/12728 | 1,972,930,121 | 12,728 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using the STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION agent and I am trying to implement tools that take varying number of arguments (e.g. tool1 takes a single argument and tool2 takes 3 arguments). I am using arg_schema to define the arguments and their types. I am wondering how ca... | Issue: How to implement validation on number of arguments in tools? | https://api.github.com/repos/langchain-ai/langchain/issues/12721/comments | 2 | 2023-11-01T16:36:12Z | 2024-02-07T16:10:34Z | https://github.com/langchain-ai/langchain/issues/12721 | 1,972,713,528 | 12,721 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Agent calls get_date_time custom tool but does not actually use it. The following was its output
Action: Amadeus\_flight\_offers\_search,
{
"originLocationCode": "LA",
"destinationLocationCode": "NYC",
"departureDate": "$(get\_date\_time)",
"returnDate": "$(get\_date\_time)",
"a... | Issue: Agent doesn't actually utilize custom tool | https://api.github.com/repos/langchain-ai/langchain/issues/12720/comments | 2 | 2023-11-01T15:59:01Z | 2024-02-07T16:10:37Z | https://github.com/langchain-ai/langchain/issues/12720 | 1,972,651,132 | 12,720 |
[
"langchain-ai",
"langchain"
] | ### System Info
Ubuntu 22.04
python = "3.11"
langchain = "0.0.320"
openai = "0.28.1"
### Who can help?
https://github.com/hwchase17
https://github.com/agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embeddi... | OpenAIEmbeddings fails to connect | https://api.github.com/repos/langchain-ai/langchain/issues/12714/comments | 4 | 2023-11-01T14:36:00Z | 2024-07-02T04:39:34Z | https://github.com/langchain-ai/langchain/issues/12714 | 1,972,502,865 | 12,714 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.327, MacOS, Python 3.11.6
### Who can help?
@netseye
### 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 Par... | OpenAIEmbeddings timeout parameter doesn't work | https://api.github.com/repos/langchain-ai/langchain/issues/12712/comments | 2 | 2023-11-01T13:51:58Z | 2024-02-11T16:07:42Z | https://github.com/langchain-ai/langchain/issues/12712 | 1,972,423,280 | 12,712 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
langchain==0.0.315
pymilvus==2.3.0
Python 3.11.5
```
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prom... | Milvus wrapper doesn't support http URI | https://api.github.com/repos/langchain-ai/langchain/issues/12710/comments | 2 | 2023-11-01T13:05:41Z | 2024-02-07T16:10:47Z | https://github.com/langchain-ai/langchain/issues/12710 | 1,972,344,326 | 12,710 |
[
"langchain-ai",
"langchain"
] | ### System Info
I encountered an issue while using the create_pandas_df_agent function in LangChain to process data. When I asked a question about the data, an exception was thrown with the message “I now know the final answer”.
This phenomenon is not inevitable
model is "gpt-3.5-turbo"
### Who can help?... | Exception “I now know the final answer” thrown when using “create_pandas_df_agent” | https://api.github.com/repos/langchain-ai/langchain/issues/12709/comments | 4 | 2023-11-01T12:23:00Z | 2024-02-12T16:08:58Z | https://github.com/langchain-ai/langchain/issues/12709 | 1,972,275,338 | 12,709 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: langchain==0.0.327
Python version: Python 3.11.4
System: Windows 11 x64
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ]... | similarity_score_threshold not working as expected with ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/12707/comments | 3 | 2023-11-01T11:26:58Z | 2024-02-10T16:07:52Z | https://github.com/langchain-ai/langchain/issues/12707 | 1,972,187,745 | 12,707 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using the ConversationBufferWindowMemory class and I would like to have different memories for different users. So that each user has its individual memory.
memory = ConversationBufferWindowMemory(k=3, memory_key="chat_history", return_messages=True)
qa = ConversationalRetrie... | Issue: How can I utilize different histories for different users | https://api.github.com/repos/langchain-ai/langchain/issues/12706/comments | 5 | 2023-11-01T11:12:01Z | 2024-03-18T16:06:09Z | https://github.com/langchain-ai/langchain/issues/12706 | 1,972,166,699 | 12,706 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.327
Python 3.10
### Who can help?
@hwchase17 or @eyurtsev are contributors of CerebriumAI based on Github history.
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] P... | CerebriumAI model_api_request deprecation | https://api.github.com/repos/langchain-ai/langchain/issues/12705/comments | 2 | 2023-11-01T10:57:49Z | 2024-02-01T18:49:21Z | https://github.com/langchain-ai/langchain/issues/12705 | 1,972,145,406 | 12,705 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version 0.0.327, WSL ubuntu 22, python version 3.10.3
As you can see in the code below the UnstructuredFileLoader does not work and can not load the file.
```
from langchain.document_loaders import UnstructuredFileLoader
from langchain.document_loaders import UnstructuredFileIOLoader
... | UnstructuredFileLoader does not work so I am using UnstructuredFileIOLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12700/comments | 2 | 2023-11-01T09:18:50Z | 2024-02-08T16:11:15Z | https://github.com/langchain-ai/langchain/issues/12700 | 1,971,998,242 | 12,700 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
While reviewing the document, I am learning about the callback functionality of langchain and have a question.
In langchain.callbacks, there are two classes: `BaseCallbackHandler` and `BaseTracer`.
From what I can see in the document, it seems like the roles of these two cl... | DOC: BaseCallbackHandler vs BaseTracer | https://api.github.com/repos/langchain-ai/langchain/issues/12698/comments | 2 | 2023-11-01T07:27:08Z | 2024-02-09T16:09:53Z | https://github.com/langchain-ai/langchain/issues/12698 | 1,971,850,317 | 12,698 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
With the Pinecone index setup with `cosine` metric, so the scores received from the vector database are already in the`cosine` metric.
However, the `_select_relevance_score_fn` of langchain pinecone vector store returns the base vector store's `_cosine_relevance_score_fn` for the `cos... | Issue: Pinecone Vector Store incorrectly assigns score in similarity_search_with_relevance_scores | https://api.github.com/repos/langchain-ai/langchain/issues/12697/comments | 2 | 2023-11-01T06:51:09Z | 2024-02-06T15:16:20Z | https://github.com/langchain-ai/langchain/issues/12697 | 1,971,809,367 | 12,697 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.327
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document... | ChatTongyi class use _generate method as async call and result in replying text dispeared | https://api.github.com/repos/langchain-ai/langchain/issues/12695/comments | 8 | 2023-11-01T05:20:30Z | 2024-02-19T16:08:10Z | https://github.com/langchain-ai/langchain/issues/12695 | 1,971,721,957 | 12,695 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I have searched for a while but there is no example for RetrievalQA batch inference. For example, here is my code:
`model_name = "sentence-transformers/paraphrase-multilingual-mpnet-base-v2"
embeddings = HuggingFaceEmbeddings(model_name=model_name)
db = ElasticVectorSearc... | DOC: RetrievalQA.from_chain_type batch inference with elastic vectorstore | https://api.github.com/repos/langchain-ai/langchain/issues/12693/comments | 3 | 2023-11-01T04:26:22Z | 2024-02-16T16:08:01Z | https://github.com/langchain-ai/langchain/issues/12693 | 1,971,675,122 | 12,693 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.326
Python 3.10.8
llm = Bedrock
Note: I tested this with the Bedrock LLM and these 3 models:
anthropic.claude-instant-v1
anthropic.claude-v2
ai21.j2-ultra-v1
The error does NOT occur when using llm=OpenAI
EDIT:
Can only replicate this error with anthropic.claude-ins... | Missing 'Action:' after 'Thought: | https://api.github.com/repos/langchain-ai/langchain/issues/12689/comments | 3 | 2023-11-01T01:41:04Z | 2024-02-13T16:08:53Z | https://github.com/langchain-ai/langchain/issues/12689 | 1,971,542,844 | 12,689 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.10.12
langchain [v0.0.327](https://github.com/langchain-ai/langchain/releases/tag/v0.0.327)
### Who can help?
@agola
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prom... | Local var ref in PALChain.from_math_prompt | https://api.github.com/repos/langchain-ai/langchain/issues/12681/comments | 2 | 2023-10-31T22:45:41Z | 2024-02-07T16:11:18Z | https://github.com/langchain-ai/langchain/issues/12681 | 1,971,402,125 | 12,681 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have this method that is trying to format the output of LLM:
```typescript
private async getOrderedTitles(titles: string[], question: string) {
const outputParser = StructuredOutputParser.fromZodSchema(z.array(z.number().describe("The score for this title")));
const llm = new OpenAI({ m... | output parsed: Error: Failed to parse. Text: "10,0,0,....". Error: TypeError: text.trim is not a function | https://api.github.com/repos/langchain-ai/langchain/issues/12667/comments | 1 | 2023-10-31T19:16:56Z | 2023-11-01T12:26:20Z | https://github.com/langchain-ai/langchain/issues/12667 | 1,971,149,418 | 12,667 |
[
"langchain-ai",
"langchain"
] | ### System Info
`[tool.poetry.dependencies]
python = "=3.8.16"
langchain = "^0.0.327"
google-cloud-aiplatform = "^1.35.0"
`
code:
`embedding = VertexAIEmbeddings()`
error:
`Traceback (most recent call last): ... | VertexAIEmbeddings is raising timout exception | https://api.github.com/repos/langchain-ai/langchain/issues/12662/comments | 2 | 2023-10-31T17:31:54Z | 2023-11-03T08:59:32Z | https://github.com/langchain-ai/langchain/issues/12662 | 1,970,956,799 | 12,662 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I´m using https://python.langchain.com/docs/guides/debugging and https://python.langchain.com/docs/modules/chains/document/refine.
Somehow the documentation does not line up. How can I set verbose=True on a chain when using LCEL?
### Idea or request for content:
Add documenta... | DOC: When using LCEL, how do I set verbose=True on a chain? | https://api.github.com/repos/langchain-ai/langchain/issues/12659/comments | 3 | 2023-10-31T17:11:43Z | 2023-10-31T19:56:08Z | https://github.com/langchain-ai/langchain/issues/12659 | 1,970,920,738 | 12,659 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The idea is to have an object that can be used in the same way as `LanguageModel` objects, but the object would contain a list of `LanguageModels` that could be chosen according to rules.
For instance I would to call my list of LLM with a round robin strategy in order to distribute requests amon... | MultiLanguageModel: work with multiple LLM with the interface of a single one | https://api.github.com/repos/langchain-ai/langchain/issues/12656/comments | 10 | 2023-10-31T16:39:54Z | 2024-02-26T16:07:18Z | https://github.com/langchain-ai/langchain/issues/12656 | 1,970,867,010 | 12,656 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9.16
Langchain 0.0.326
Linux (Fedora 37)
### 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
-... | MRKL agent is passing "Observation" text to tools when using non-OpenAI LLMs and breaks structured input tools | https://api.github.com/repos/langchain-ai/langchain/issues/12645/comments | 9 | 2023-10-31T15:55:50Z | 2024-07-04T08:07:06Z | https://github.com/langchain-ai/langchain/issues/12645 | 1,970,785,521 | 12,645 |
[
"langchain-ai",
"langchain"
] | ### System Info
- langchain version: 0.0.320
- python: 3.9.17
### 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... | `llm.batch` method fails with `max_concurrency` in config | https://api.github.com/repos/langchain-ai/langchain/issues/12643/comments | 1 | 2023-10-31T15:49:39Z | 2023-11-21T20:56:52Z | https://github.com/langchain-ai/langchain/issues/12643 | 1,970,772,521 | 12,643 |
[
"langchain-ai",
"langchain"
] | I am trying to use Langchain information extraction chain with OpenAI. Firstly, I am reading a PDF file having some text about products or product. There is no specefic format of PDF, it can be in any format like, there can be only one product on one page or one product can be on two pages or there can be 10 products o... | Langchain Information Extraction | https://api.github.com/repos/langchain-ai/langchain/issues/12636/comments | 7 | 2023-10-31T14:32:45Z | 2024-03-08T16:39:02Z | https://github.com/langchain-ai/langchain/issues/12636 | 1,970,609,183 | 12,636 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.9.16, langchain==0.0.322
### Who can help?
@agola11 @sudranga
### 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 ... | Cannot keep history of Cypher LLM in GraphCypherQAChain in the memory object | https://api.github.com/repos/langchain-ai/langchain/issues/12635/comments | 3 | 2023-10-31T14:30:34Z | 2024-06-03T12:27:15Z | https://github.com/langchain-ai/langchain/issues/12635 | 1,970,604,472 | 12,635 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi there,
Thanks you so much for this awesome library!
I have a suggestion that might improve the AzureChatOpenAI class.
In my company we use AzureChatOpenAI where the initialization of a `chat` object looks like this:
```
os.environ["OPENAI_API_KEY"] = get_token().token
return Azure... | Add an optional get_token function argument to AzureChatOpenAI to be called on retry | https://api.github.com/repos/langchain-ai/langchain/issues/12632/comments | 1 | 2023-10-31T13:46:03Z | 2024-02-06T16:10:06Z | https://github.com/langchain-ai/langchain/issues/12632 | 1,970,512,615 | 12,632 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Import Error while creating SelfQueryRetriever
`retriever = SelfQueryRetriever.from_llm(
llm,
vectordb,
document_content_description,
metadata_field_info,
verbose=True)`
The documentation mentions it requires lark but doesn't explicitly mention its... | DOC: Import Error while creating SelfQueryRetriever | https://api.github.com/repos/langchain-ai/langchain/issues/12631/comments | 4 | 2023-10-31T13:12:27Z | 2024-07-09T12:45:12Z | https://github.com/langchain-ai/langchain/issues/12631 | 1,970,446,072 | 12,631 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version. - 0.0.326
Python - 3.9.6
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Ou... | AttributeError: 'PGVector' object has no attribute 'CollectionStore'. Did you mean: 'collection_name'? | https://api.github.com/repos/langchain-ai/langchain/issues/12629/comments | 8 | 2023-10-31T11:02:09Z | 2024-02-15T16:07:55Z | https://github.com/langchain-ai/langchain/issues/12629 | 1,970,198,162 | 12,629 |
[
"langchain-ai",
"langchain"
] | ```
langchain_chain = (
FewShotPromptTemplate(
examples=examples,
example_prompt=example_prompt,
prefix=prefix,
suffix="current time {now}\n{format_instructions} \n Question: {question} ",
input_variables=["question", "now", "format_instructions... | How to use FewShotPromptTemplate and RunnableBranch combination? | https://api.github.com/repos/langchain-ai/langchain/issues/12626/comments | 3 | 2023-10-31T10:03:04Z | 2023-11-01T09:19:06Z | https://github.com/langchain-ai/langchain/issues/12626 | 1,970,082,248 | 12,626 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have created a retrieval QA project. In this project, I want to add memory to LLM so that it can also remember the previous chat. I have configured the LLM not to answer from its own knowledge but from the context I provided, and it is working fine. However, when I add memory to it, it... | Issue: Creating Memory of QAChain , Making the llm not to answer from its own knowledge but rely on the context we provided | https://api.github.com/repos/langchain-ai/langchain/issues/12621/comments | 3 | 2023-10-31T08:07:32Z | 2024-05-09T16:08:08Z | https://github.com/langchain-ai/langchain/issues/12621 | 1,969,872,868 | 12,621 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I've have been trying to work with AWS bedrock Cohere command LLM with Langchain and I'm referring [https://github.com/aws-samples/rag-using-langchain-amazon-bedrock-and-opensearch/blob/main/ask-bedrock-with-rag.py](url) as source.
**Below are few snippet of code that I'm working wit... | Issue: Amazon Bedrock Cohere Command - Malformed input request: 2 schema violations found, please reformat your input and try again. | https://api.github.com/repos/langchain-ai/langchain/issues/12620/comments | 7 | 2023-10-31T05:43:21Z | 2024-01-03T12:12:32Z | https://github.com/langchain-ai/langchain/issues/12620 | 1,969,684,277 | 12,620 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain: 0.0.326
__post_init__ in __init__ accidentally removed in: https://github.com/langchain-ai/langchain/commit/2c58dca5f0ca946421ef9b7cc8149d38537ee466
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related ... | PGVector __post_init__ was removed in 0.0.326 | https://api.github.com/repos/langchain-ai/langchain/issues/12616/comments | 2 | 2023-10-31T02:40:48Z | 2024-02-08T16:11:35Z | https://github.com/langchain-ai/langchain/issues/12616 | 1,969,528,605 | 12,616 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently, there are two separate chains for math: LLMSymbolicMathChain and LLMMathChain. Is there a way to get the best of both words?
### Motivation
Sometimes it is better to use one over the other for my app, but currently, I can only use one.
### Your contribution
Not that I know of. | Better Math Chain | https://api.github.com/repos/langchain-ai/langchain/issues/12614/comments | 0 | 2023-10-31T00:59:14Z | 2023-10-31T01:59:39Z | https://github.com/langchain-ai/langchain/issues/12614 | 1,969,450,626 | 12,614 |
[
"langchain-ai",
"langchain"
] | I am working with a DataFrame that has multiple columns to get their text. Why is the method only accepts one column as input?
Here is the reference to the line of the code:
https://github.com/langchain-ai/langchain/blob/481bf6fae695653c52b26895292a40cf010c08e2/libs/langchain/langchain/document_loaders/dataframe.... | DataFrameLoader accepts ONLY one column and by default labeled as "text" | https://api.github.com/repos/langchain-ai/langchain/issues/12601/comments | 8 | 2023-10-30T22:51:00Z | 2024-07-31T14:12:38Z | https://github.com/langchain-ai/langchain/issues/12601 | 1,969,345,542 | 12,601 |
[
"langchain-ai",
"langchain"
] | ### System Info
Trying to replicate the basic langchain summarization type = Stuff usage as on [website documentation](https://python.langchain.com/docs/use_cases/summarization), but it is not able to process long doc.
Test model used: meta-llama/Llama-2-7b-chat-hf
Test result: tried its original demo code, it ... | Summarization: documentation example not replicable. Invalid response object from API together/or w/ reponse time error | https://api.github.com/repos/langchain-ai/langchain/issues/12591/comments | 3 | 2023-10-30T21:29:38Z | 2024-05-09T16:08:03Z | https://github.com/langchain-ai/langchain/issues/12591 | 1,969,256,873 | 12,591 |
[
"langchain-ai",
"langchain"
] | Hi! Usually I process English documents, but I recently had to process files in Portuguese and UnstructuredFileLoader can't deal with it. I loose characters such as ç, é, í, ã, õ, etc. It doesn't matter if its PDF, HTML or DOCX. Is there a way to encode it properly?
ex:
Art. 110. Sem prejuzo da nova redao dada ao... | Issue: Encoding error with UnstructuredFileLoader | https://api.github.com/repos/langchain-ai/langchain/issues/12577/comments | 2 | 2023-10-30T18:35:24Z | 2023-10-30T19:42:34Z | https://github.com/langchain-ai/langchain/issues/12577 | 1,968,988,998 | 12,577 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: v0.0.326
Python: 3.10
### Who can help?
@hw We have been encountering a recurring issue with the Bing Search tool (BingSearchAPIWrapper) in LangChain developed in Python. The tool occasionally fails to return results, and the backend function displays the message `webPages`. This ... | [Bing Search Wrapper] KeyError Exception 'webPages' in LangChain Bing Search Tool: Recurring Bug Impacting Search Results | https://api.github.com/repos/langchain-ai/langchain/issues/12575/comments | 4 | 2023-10-30T18:08:40Z | 2024-02-11T16:08:06Z | https://github.com/langchain-ai/langchain/issues/12575 | 1,968,948,475 | 12,575 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have a ConversationSummaryBufferMemory object which stores the chat history between human and AI. One such history looks like
```python
[HumanMessage(content='Hi', additional_kwargs={}, example=False),
AIMessage(content='Hi, how can I help you?', additional_kwargs={}, example=... | Issue: How to convert ConversationSummaryBufferMemory messages to list of tuples of strings | https://api.github.com/repos/langchain-ai/langchain/issues/12571/comments | 2 | 2023-10-30T17:23:04Z | 2024-02-07T16:11:38Z | https://github.com/langchain-ai/langchain/issues/12571 | 1,968,870,408 | 12,571 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I have a faiss vector store that I created before, when I print it it appears as <langchain.vectorstores.faiss.FAISS object at 0x0000022B3DFBBB50>. Then, I create a new faiss vector store and when I print it, it appears as <langchain.vectorstores.faiss.FAISS object at 0x0000022B... | After doing merge_from with Faiss, vector store appears as None. | https://api.github.com/repos/langchain-ai/langchain/issues/12570/comments | 2 | 2023-10-30T17:06:45Z | 2024-05-13T16:55:55Z | https://github.com/langchain-ai/langchain/issues/12570 | 1,968,841,818 | 12,570 |
[
"langchain-ai",
"langchain"
] | ### Update: Pull request here: #12586
Video Demo: [https://youtu.be/wspB6QbDzBc](https://youtu.be/wspB6QbDzBc)
### Feature request
Description:
I have developed a class `HuggingFaceTextGenInferenceAuto` to automate the process of managing Docker inference server containers for the `HuggingFaceTextGenerat... | Feature: Addition of HuggingFaceTextGenInferenceAuto for Automated Container and Server Management | https://api.github.com/repos/langchain-ai/langchain/issues/12564/comments | 3 | 2023-10-30T15:26:28Z | 2024-02-09T16:10:14Z | https://github.com/langchain-ai/langchain/issues/12564 | 1,968,643,564 | 12,564 |
[
"langchain-ai",
"langchain"
] | ### System Info
from langchain.retrievers.llama_index import LlamaIndexRetriever
------
```shell
llama-index==0.8.55
langchain==0.0.325
```
> in Chain.run(self, callbacks, tags, metadata, *args, **kwargs)
503 if len(args) != 1:
504 raise ValueError("`run` supports only one positional ... | while importing LlamaIndexRetriever, an error occurs that | https://api.github.com/repos/langchain-ai/langchain/issues/12563/comments | 4 | 2023-10-30T15:17:31Z | 2024-03-13T19:56:46Z | https://github.com/langchain-ai/langchain/issues/12563 | 1,968,622,506 | 12,563 |
[
"langchain-ai",
"langchain"
] | ### System Info
System Info:
langchain==0.0.325
Python 3.11.4
Flask==3.0.0
Flask-Cors==4.0.0
Flask-RESTful==0.3.10
Case 1:
```
dbqa = ConversationalRetrievalChain.from_llm(llm, vectordb.as_retriever(), memory=memory)
response = dbqa({"question": data["query"]})
```
Error:
Missing some input keys: {... | chat_history conflict when using ConversationalRetrievalChain.from_llm | https://api.github.com/repos/langchain-ai/langchain/issues/12560/comments | 11 | 2023-10-30T15:01:25Z | 2024-02-13T16:09:02Z | https://github.com/langchain-ai/langchain/issues/12560 | 1,968,589,077 | 12,560 |
[
"langchain-ai",
"langchain"
] | ### System Info
latest version of langchain
python=3.11
sqlalchemy==1.3.17
### Who can help?
from sqlalchemy import create_engine
import os, sys, openai
import constants, definitions
from langchain.sql_database import SQLDatabase
from langchain.llms.openai import OpenAI
from langchain_experimental.sql import... | AttributeError: 'Engine' object has no attribute '_instantiate_plugins', while trying to connect with MS SQL | https://api.github.com/repos/langchain-ai/langchain/issues/12557/comments | 2 | 2023-10-30T14:31:50Z | 2024-02-07T16:11:53Z | https://github.com/langchain-ai/langchain/issues/12557 | 1,968,516,081 | 12,557 |
[
"langchain-ai",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.320
### 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
- [ ] Output Parsers
- ... | Neo4J keyword index creation problem | https://api.github.com/repos/langchain-ai/langchain/issues/12553/comments | 3 | 2023-10-30T13:04:58Z | 2024-02-08T16:11:56Z | https://github.com/langchain-ai/langchain/issues/12553 | 1,968,312,500 | 12,553 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
https://python.langchain.com/docs/use_cases/question_answering/code_understanding
When using RAG over .vue、.json code sources, how to split them then save to vector storage?
### Suggestion:
_No response_ | Issue: <Using RAG over code, how to split vue and json source> | https://api.github.com/repos/langchain-ai/langchain/issues/12551/comments | 2 | 2023-10-30T12:55:56Z | 2024-02-07T16:12:03Z | https://github.com/langchain-ai/langchain/issues/12551 | 1,968,295,350 | 12,551 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Integrate other models from hugging face models models (likely decoder based models) as a LLM , which we can use for RAG applications
### Motivation
Since the model weights of LLM are huge we can have our own model trained on small dataset they can be pluged into RAG applications
### Y... | Custom LLM Implementation | https://api.github.com/repos/langchain-ai/langchain/issues/12547/comments | 9 | 2023-10-30T10:44:33Z | 2024-08-01T08:32:33Z | https://github.com/langchain-ai/langchain/issues/12547 | 1,968,042,327 | 12,547 |
[
"langchain-ai",
"langchain"
] | ### System Info
python =3.9.14
langchain =0.0.325
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Pars... | LCEL cookbook issue : Error: unsupported operand type(s) for |: 'ChatPromptTemplate' and 'ChatOpenAI' | https://api.github.com/repos/langchain-ai/langchain/issues/12546/comments | 2 | 2023-10-30T10:32:14Z | 2023-10-30T11:03:24Z | https://github.com/langchain-ai/langchain/issues/12546 | 1,968,019,237 | 12,546 |
[
"langchain-ai",
"langchain"
] | ### System Info
Milvus standlone:2.3.2
Langchain version:0.0.325
OpenAI: 0.28.1
pymilvus: 2.3.2
Pydantic:2.4.2
### 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
- ... | couldn't work from langchain,OpenAI and Milvus | https://api.github.com/repos/langchain-ai/langchain/issues/12541/comments | 2 | 2023-10-30T09:32:59Z | 2024-02-07T16:12:09Z | https://github.com/langchain-ai/langchain/issues/12541 | 1,967,908,244 | 12,541 |
[
"langchain-ai",
"langchain"
] | ### System Info
win11
python3.9.12
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ]... | Bug in Prompt Description in SQLDatabaseToolkit Reproduction: | https://api.github.com/repos/langchain-ai/langchain/issues/12539/comments | 2 | 2023-10-30T08:44:19Z | 2024-02-07T16:12:13Z | https://github.com/langchain-ai/langchain/issues/12539 | 1,967,821,242 | 12,539 |
[
"langchain-ai",
"langchain"
] | ### System Info
'''
Traceback (most recent call last):
File "query.py", line 51, in <module>
action1 = act(total_text)
File "query.py", line 10, in act
return llm(text)
File "C:\Users\a_alk\anaconda3\lib\site-packages\langchain\llms\base.py", line 790, in __call__
self.generate(
IndexError: l... | Error in Google Palm | https://api.github.com/repos/langchain-ai/langchain/issues/12538/comments | 2 | 2023-10-30T08:38:48Z | 2024-02-07T16:12:18Z | https://github.com/langchain-ai/langchain/issues/12538 | 1,967,809,475 | 12,538 |
[
"langchain-ai",
"langchain"
] | ### System Info
The returned score is not in the range of [0,1], rather it is a relatively large negative number such as -172.597
I am only providing the query
I am using langchain with bedrock under aws
I wonder if should set something at the point of building the vectorstore or should have set the score f... | similarity_search_with_relevance_scores | https://api.github.com/repos/langchain-ai/langchain/issues/12535/comments | 3 | 2023-10-30T05:11:31Z | 2024-02-09T16:10:29Z | https://github.com/langchain-ai/langchain/issues/12535 | 1,967,525,151 | 12,535 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
import sys, os
current_dir = os.path.dirname(os.path.abspath(__file__))
project_root = os.path.abspath(os.path.join(current_dir, os.pardir))
sys.path.append(project_root)
from langchain.document_loaders import TextLoader
from langchain.text_splitter import SpacyTextSplitter
f... | Using VectorDBQA and llama2 . Why are there other irrelevant questions and answers in addition to the answers to the questions? | https://api.github.com/repos/langchain-ai/langchain/issues/12533/comments | 3 | 2023-10-30T04:19:48Z | 2024-02-08T16:12:12Z | https://github.com/langchain-ai/langchain/issues/12533 | 1,967,466,491 | 12,533 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Im trying to use an agent as a router for two retrievals. I also want it to have memory so im using the conversational agent with two RetrievalQA chains and ConversationBufferWindowMemory.
Heres the code after creating the retrievals and chatTemplates:
```
chat = ChatVertexAI(
... | Trouble using the Conversational Agent: Missing some input keys: {'input'} and Agent.plan() got multiple values for argument 'intermediate_steps' | https://api.github.com/repos/langchain-ai/langchain/issues/12521/comments | 9 | 2023-10-29T20:12:26Z | 2024-03-18T16:06:05Z | https://github.com/langchain-ai/langchain/issues/12521 | 1,967,138,090 | 12,521 |
[
"langchain-ai",
"langchain"
] | ### System Info
platform = Windows 11. Linux Ubuntu 22.04
python = 3.10
langchain = 0.0.325
### Who can help?
@hwchase17 @agola11 @eyu
When trying to reproduce the example of the Scoring evaluator [https://python.langchain.com/docs/guides/evaluation/string/scoring_eval_chain#usage-without-references] with t... | Getting invalid output error when using score evaluator | https://api.github.com/repos/langchain-ai/langchain/issues/12517/comments | 12 | 2023-10-29T16:51:32Z | 2024-02-15T16:08:00Z | https://github.com/langchain-ai/langchain/issues/12517 | 1,967,066,381 | 12,517 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
hello everyone
I have a website which needs to pe scrapped and the
website has the tabular data
so when I scrap the data using web loaders in langchain and build a llm on top of it
it is not able to answer the query.
So what can be the suitable approach to solve this issue
###... | Retrieval extraction of Tabular data | https://api.github.com/repos/langchain-ai/langchain/issues/12515/comments | 5 | 2023-10-29T13:00:45Z | 2024-02-11T16:08:26Z | https://github.com/langchain-ai/langchain/issues/12515 | 1,966,981,612 | 12,515 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Please support chatglm3-6b-32k thank you very much
### Idea or request for content:
_No response_ | chatglm3-6b-32k----Please support chatglm3-6b-32k thank you very much | https://api.github.com/repos/langchain-ai/langchain/issues/12514/comments | 2 | 2023-10-29T12:09:10Z | 2024-04-03T16:07:29Z | https://github.com/langchain-ai/langchain/issues/12514 | 1,966,963,901 | 12,514 |
[
"langchain-ai",
"langchain"
] | ### System Info
MacOS, 8GB RAM, M2
### Who can help?
@hwchase17 @agola11
Langchain Chat Models, Celery (apply.async())
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts /... | Celery getting hung when langchain gets ratelimit error | https://api.github.com/repos/langchain-ai/langchain/issues/12513/comments | 2 | 2023-10-29T11:01:23Z | 2024-02-10T16:08:37Z | https://github.com/langchain-ai/langchain/issues/12513 | 1,966,941,802 | 12,513 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello - i try vectorize a local txt-file and get an answer out of it using the following code:
```
from langchain.document_loaders import DirectoryLoader, TextLoader
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.embeddings import HuggingFaceEmbed... | Use also bigger files as input to get answers? | https://api.github.com/repos/langchain-ai/langchain/issues/12512/comments | 2 | 2023-10-29T09:40:27Z | 2024-02-07T16:12:43Z | https://github.com/langchain-ai/langchain/issues/12512 | 1,966,916,184 | 12,512 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
In scenarios where chain_type=refine, how do I output a prompt for each call?
```
chain = load_qa_chain(llm=llm, chain_type='refine', verbose=True)
```
The test found that setting verbose=True, also only outputs the prompt for the last llm request.
### Idea or request for con... | DOC: how to output a prompt for each call, in chain_type=refine | https://api.github.com/repos/langchain-ai/langchain/issues/12511/comments | 2 | 2023-10-29T08:59:04Z | 2024-02-10T16:08:42Z | https://github.com/langchain-ai/langchain/issues/12511 | 1,966,903,798 | 12,511 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
For example, in scenarios where chain_type=refine, LLM calls are made multiple times.
How do you control the intervals between LLM calls?
### Idea or request for content:
_No response_ | DOC: How do I control the time interval for invoking LLM | https://api.github.com/repos/langchain-ai/langchain/issues/12510/comments | 2 | 2023-10-29T08:53:04Z | 2024-02-07T16:12:52Z | https://github.com/langchain-ai/langchain/issues/12510 | 1,966,902,078 | 12,510 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The refine mode of langchain has already found the answer, and then requesting the interface is a waste of resources, can it be ended early?
### Idea or request for content:
_No response_ | DOC: How to end the refine process early in langchain? | https://api.github.com/repos/langchain-ai/langchain/issues/12509/comments | 2 | 2023-10-29T08:25:39Z | 2024-02-06T16:11:41Z | https://github.com/langchain-ai/langchain/issues/12509 | 1,966,893,900 | 12,509 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Since 0.0.324, "from langchain.vectorstores import VectorStore" doesn't work anymore, any idea how to fix this?
Thanks!
### Suggestion:
_No response_ | Issue: ImportError: cannot import name 'VectorStore' from 'langchain.vectorstores' | https://api.github.com/repos/langchain-ai/langchain/issues/12507/comments | 7 | 2023-10-29T06:31:12Z | 2024-02-14T16:08:33Z | https://github.com/langchain-ai/langchain/issues/12507 | 1,966,863,704 | 12,507 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
when using agent.run, tool's observation is returned.
when using agent.acall, just returned agent's Thought to user
### Suggestion:
_No response_ | Issue: agent tool has been set with return_direct, when using agent.acall, just return Thought to user | https://api.github.com/repos/langchain-ai/langchain/issues/12506/comments | 2 | 2023-10-29T06:18:45Z | 2024-02-06T16:11:46Z | https://github.com/langchain-ai/langchain/issues/12506 | 1,966,861,166 | 12,506 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I build a chatbot using conversationchain. I want to final output to be steamed. I tried StreamingStdOutCallbackHandler and FinalStreamingStdOutCallbackHandler.
The problem with StreamingStdOutCallbackHandler is that it also prints out the memory of the chain.
The problem with... | Issue: StreamingStdOutCallbackHandler and FinalStreamingStdOutCallbackHandler | https://api.github.com/repos/langchain-ai/langchain/issues/12503/comments | 4 | 2023-10-29T02:45:00Z | 2024-02-11T16:08:36Z | https://github.com/langchain-ai/langchain/issues/12503 | 1,966,819,941 | 12,503 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Okay I have tried both SQL database chain and create SQL agent from agents and what i have seen is that after run and it returns zero records from the database and LLM gives the output from its own. So basically I have only one fruit in my database and if I ask what fruit contains vitami... | SQLDatabaseChain sharing data that's not in database | https://api.github.com/repos/langchain-ai/langchain/issues/12495/comments | 9 | 2023-10-28T21:30:30Z | 2024-03-18T16:05:59Z | https://github.com/langchain-ai/langchain/issues/12495 | 1,966,745,591 | 12,495 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.