issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"hwchase17",
"langchain"
] | ### 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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"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 |
[
"hwchase17",
"langchain"
] | ### Feature request
parse the text in a pdf to determine whether it contains header fields such as From:, To:, Date: etc which make it likely that the original data was an email. if so, return the contents of those fields as Document metadata which can, for example, be used as metadata in a database. (reopening of htt... | email with metadata from pdfs | https://api.github.com/repos/langchain-ai/langchain/issues/12494/comments | 2 | 2023-10-28T21:01:17Z | 2024-02-06T16:11:56Z | https://github.com/langchain-ai/langchain/issues/12494 | 1,966,738,613 | 12,494 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
# Issue
On the documentation page: https://python.langchain.com/docs/get_started/quickstart
In the Next Steps section:
- Explore [end-to-end use cases](https://python.langchain.com/docs/use_cases) results in page not found
## Screenshot
<img width="960" alt="Langchain_doc... | DOC: Broken link in Quickstart page | https://api.github.com/repos/langchain-ai/langchain/issues/12490/comments | 1 | 2023-10-28T19:20:13Z | 2024-01-30T01:22:51Z | https://github.com/langchain-ai/langchain/issues/12490 | 1,966,711,948 | 12,490 |
[
"hwchase17",
"langchain"
] | ### System Info
i am getting an error while using Redistore as docstore `A tuple item must be str, int, float or bytes.`. I do not get error when using the InMemorystore. the problem is with mset function, in redistore mset throws error when i pass a document object, but redistore works if just pass a string.
### Who... | Getting error while using Redistore as docstore in parent document retreival | https://api.github.com/repos/langchain-ai/langchain/issues/12488/comments | 3 | 2023-10-28T18:21:41Z | 2024-02-12T16:09:38Z | https://github.com/langchain-ai/langchain/issues/12488 | 1,966,694,473 | 12,488 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
How can I cache llama models that called in langchain llms CTransformers and add it to a docker image to prevent it download the model every time I called in a cloud environment?
As I researched, I saw no clear explanation of how to cache models in Ctransformers.
### Suggestion:
_No ... | langchain Ctransformers caching and usage in Dockerfile volume | https://api.github.com/repos/langchain-ai/langchain/issues/12483/comments | 3 | 2023-10-28T13:22:30Z | 2024-02-08T16:12:46Z | https://github.com/langchain-ai/langchain/issues/12483 | 1,966,594,109 | 12,483 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I am attempting to run: https://python.langchain.com/docs/expression_language/cookbook/code_writing
and I'm seeing this error:
```
from langchain_experimental.utilities import PythonREPL
ImportError: cannot import name 'PythonREPL' from 'langchain_experimental.utilitie... | DOC: Code Writing example throws error with PythonREPL import | https://api.github.com/repos/langchain-ai/langchain/issues/12480/comments | 2 | 2023-10-28T11:56:06Z | 2023-10-28T15:59:15Z | https://github.com/langchain-ai/langchain/issues/12480 | 1,966,566,919 | 12,480 |
[
"hwchase17",
"langchain"
] | ### Feature request
Module: langchain.chains.conversational_retrieval.base.ConversationalRetrievalChain
`qa = ConversationalRetrievalChain(
retriever=self.vector_store.as_retriever(), # type: ignore
combine_docs_chain=self.doc_chain,
question_generator=LLMChain(
... | Get document ids from ConversationalRetrievalChain's reponse | https://api.github.com/repos/langchain-ai/langchain/issues/12479/comments | 2 | 2023-10-28T11:44:24Z | 2023-10-29T16:42:00Z | https://github.com/langchain-ai/langchain/issues/12479 | 1,966,563,554 | 12,479 |
[
"hwchase17",
"langchain"
] | ### Feature request
Any plan to support nvidia's latest TensorRT-LLM, maybe via triton-inference-server backend?
### Motivation
New integration
### Your contribution
Test | Support TensorRT-LLM? | https://api.github.com/repos/langchain-ai/langchain/issues/12474/comments | 10 | 2023-10-28T05:04:42Z | 2024-07-09T16:05:44Z | https://github.com/langchain-ai/langchain/issues/12474 | 1,966,435,894 | 12,474 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
During using the agent, I added memory to the agent, but the result seems to be no memory ability,my code is as follows:
`llm=ChatOpenAI(temperature=0, model="gpt-3.5-turbo-16k-0613")
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
agent = init... | Issue: <It seems that my agent has no memory ability> | https://api.github.com/repos/langchain-ai/langchain/issues/12469/comments | 3 | 2023-10-28T01:37:02Z | 2024-02-10T16:09:02Z | https://github.com/langchain-ai/langchain/issues/12469 | 1,966,354,197 | 12,469 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
During using the agent, I added memory to the agent, but the result seems to be no memory ability,my code is as follows:
`llm=ChatOpenAI(temperature=0, model="gpt-3.5-turbo-16k-0613")
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
agent... | DOC: <It seems that my agent has no memory ability> | https://api.github.com/repos/langchain-ai/langchain/issues/12468/comments | 0 | 2023-10-28T01:33:33Z | 2023-10-28T01:33:53Z | https://github.com/langchain-ai/langchain/issues/12468 | 1,966,353,099 | 12,468 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I want it to use the observation in the way I want it to use it, however it makes a summary of the observation when it is not the expected result even indicating it in the docstrings, prompt templates....
Agent:
agent_chain = initialize_agent(
agent=AgentType.CHAT_C... | The tool is not working as expected, the observation is correct but it does not return the information the way | https://api.github.com/repos/langchain-ai/langchain/issues/12467/comments | 8 | 2023-10-27T23:59:32Z | 2024-02-13T16:09:22Z | https://github.com/langchain-ai/langchain/issues/12467 | 1,966,313,877 | 12,467 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.325
Python version: Python 3.11.6
### Who can help?
@hwchase17
`chain_type="map_rerank"` is not working when the search cannot be found on the DB
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs... | ValueError: Could not parse output - map_rerank | https://api.github.com/repos/langchain-ai/langchain/issues/12459/comments | 4 | 2023-10-27T21:33:29Z | 2024-03-27T16:07:37Z | https://github.com/langchain-ai/langchain/issues/12459 | 1,966,217,407 | 12,459 |
[
"hwchase17",
"langchain"
] | ### System Info
Running Ubuntu 22.04.3 LTS
And I am using python 3.11.5 with the following packages:
Package Version
------------------------ ------------
accelerate 0.21.0
aiohttp 3.8.6
aiosignal 1.3.1
annotated-types 0.6.0
anyio ... | langchain.agents.create_sql_agent / SQLDatabaseToolkit - Agent never gets DB schema and tries to query nonexistent table names. | https://api.github.com/repos/langchain-ai/langchain/issues/12458/comments | 2 | 2023-10-27T21:18:04Z | 2024-02-06T16:12:16Z | https://github.com/langchain-ai/langchain/issues/12458 | 1,966,204,121 | 12,458 |
[
"hwchase17",
"langchain"
] | ### Feature request
Guys,
Just to make it more 'generic' instead of path, could you not make it file handle ? Any reason it has to be file path ?
langchain_experimental.agents.agent_toolkits.csv.base.create_csv_agent
langchain_experimental.agents.agent_toolkits.csv.base.create_csv_agent(llm: [BaseLanguageModel](htt... | Can you make it file handle rather than file/path in langchain_experimental.agents.agent_toolkits.csv.base.create_csv_agent | https://api.github.com/repos/langchain-ai/langchain/issues/12449/comments | 1 | 2023-10-27T20:07:08Z | 2024-02-06T16:12:21Z | https://github.com/langchain-ai/langchain/issues/12449 | 1,966,129,336 | 12,449 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.324
openai==0.28.1
Python 3.9.16
Using gpt-35-turbo-16k model from azure
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts ... | Importing openai causes openai.error.InvalidRequestError: Resource not found | https://api.github.com/repos/langchain-ai/langchain/issues/12430/comments | 7 | 2023-10-27T16:33:47Z | 2024-02-13T16:09:27Z | https://github.com/langchain-ai/langchain/issues/12430 | 1,965,847,758 | 12,430 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
In the create_openapi_agent there is an argument called **shared_memory** and it is passed to the LLM in the **ZeroShotAgent**. What is the difference between this one:
agent = ZeroShotAgent(
llm_chain=LLMChain(llm=llm, prompt=prompt, **memory=shared_memory**), (this is a reado... | Adding a memory to the openAPI agent | https://api.github.com/repos/langchain-ai/langchain/issues/12424/comments | 3 | 2023-10-27T14:46:07Z | 2024-02-08T16:13:05Z | https://github.com/langchain-ai/langchain/issues/12424 | 1,965,684,040 | 12,424 |
[
"hwchase17",
"langchain"
] | ### Feature request
Currently: api-based models that pass rate limits raise an error and abort.
Desirable: sending api requests together in parallel, in a way that tracks their global token usage and response times, and waits as needed to avoid the rate limit.
### Motivation
Currently api-based models that pass rat... | Developing an api request manager that automatically avoids rate limits | https://api.github.com/repos/langchain-ai/langchain/issues/12423/comments | 1 | 2023-10-27T13:52:28Z | 2024-03-31T16:05:15Z | https://github.com/langchain-ai/langchain/issues/12423 | 1,965,582,446 | 12,423 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am trying to fetch relavant topics based on the metadata "country". The documents i am passing as this metadata in this particular format:
Document(page_content=".........", metadata={''Country': 'Ireland'})]..... and so on
now i want to filter retrived content based on the Country ... | get_relavant_docs with metadata parameter is not working as expected | https://api.github.com/repos/langchain-ai/langchain/issues/12421/comments | 12 | 2023-10-27T13:00:30Z | 2024-02-14T16:08:38Z | https://github.com/langchain-ai/langchain/issues/12421 | 1,965,481,118 | 12,421 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain v0.0.324
python 3.10
window10 amd64
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates ... | Error happened in PromptTemplate + PydanticOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/12417/comments | 5 | 2023-10-27T10:40:28Z | 2024-07-08T16:04:35Z | https://github.com/langchain-ai/langchain/issues/12417 | 1,965,249,491 | 12,417 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I basically followed the tutorial and got exception at the last of call to `agent.invoke`, full code:
```
llm = OpenAI(openai_api_key="xxxxxxxxxxxxx")
from langchain.agents import Tool
@tool
def get_word_length(word: str) -> int:
"""Returns the length of a word."""
retur... | openai.error.InvalidRequestError: Unrecognized request argument supplied: functions | https://api.github.com/repos/langchain-ai/langchain/issues/12415/comments | 2 | 2023-10-27T09:29:56Z | 2023-11-08T08:28:03Z | https://github.com/langchain-ai/langchain/issues/12415 | 1,965,130,370 | 12,415 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I've successfully generated and stored embeddings for PDF documents, Confluence content, and URL data within a single 'embeddings' folder using ChromaDB. However, I'm looking to enhance the functionality and add the ability to delete and re-add PDF/URL/Confluence data from this combine... | Issue: Adding and Deleting PDF/URL/Confluence Data in Combined 'Embeddings' Folder using ChromaDB | https://api.github.com/repos/langchain-ai/langchain/issues/12413/comments | 4 | 2023-10-27T09:13:58Z | 2024-02-10T16:09:23Z | https://github.com/langchain-ai/langchain/issues/12413 | 1,965,103,714 | 12,413 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I'm building an agent to interact with neo4j with a custom chain (I'm aware of the chains already implemented for this case), my problem comes when I try to pass multiple arbitrary arguments to my tool. What i want to know is how can I propagate arguments from the creation of the agent... | Issue: Passing multiple arbitrary parameters to a tool. | https://api.github.com/repos/langchain-ai/langchain/issues/12410/comments | 13 | 2023-10-27T08:48:20Z | 2024-02-15T16:08:05Z | https://github.com/langchain-ai/langchain/issues/12410 | 1,965,059,653 | 12,410 |
[
"hwchase17",
"langchain"
] | **Accessing ChromaDB Embedding Vector from S3 Bucket**
**Issue Description:**
I am attempting to access the ChromaDB embedding vector from an S3 Bucket and I've used the following Python code for reference:
```python
# Now we can load the persisted database from disk, and use it as normal.
vectordb = Chroma(p... | Accessing ChromaDB Embedding Vector from S3 Bucket | https://api.github.com/repos/langchain-ai/langchain/issues/12408/comments | 1 | 2023-10-27T06:50:30Z | 2024-05-08T16:05:44Z | https://github.com/langchain-ai/langchain/issues/12408 | 1,964,880,228 | 12,408 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using the below code to fetch contents for user queries.
db = PGVector(
collection_name=collection_name,
connection_string=CONNECTION_STRING,
embedding_function=embeddings,
)
retriever = db.as_retriever(
search_kwargs={"k": 5}
)
while its working fine gene... | Issue: PGvector-Langchain-inconsistent similatiry search | https://api.github.com/repos/langchain-ai/langchain/issues/12405/comments | 2 | 2023-10-27T05:42:17Z | 2024-02-06T16:12:36Z | https://github.com/langchain-ai/langchain/issues/12405 | 1,964,806,092 | 12,405 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain: 0.0.166
Ubuntu: 22.04
NodeJS: 18.18.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 / Prompt Selectors
- ... | sourceDocuments are not returned when streaming with RetrievalQAChain but returns properly when *not* using streaming | https://api.github.com/repos/langchain-ai/langchain/issues/12400/comments | 4 | 2023-10-27T03:53:38Z | 2024-06-10T06:23:52Z | https://github.com/langchain-ai/langchain/issues/12400 | 1,964,716,724 | 12,400 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: 0.0.323
Platform: MacOS Sonoma
Python version: 3.11
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Pro... | `Docx2txtLoader` isn't loading docx files properly | https://api.github.com/repos/langchain-ai/langchain/issues/12399/comments | 2 | 2023-10-27T03:28:56Z | 2024-04-24T16:13:51Z | https://github.com/langchain-ai/langchain/issues/12399 | 1,964,699,011 | 12,399 |
[
"hwchase17",
"langchain"
] | ### Feature request
Self-RAG is a new open-source technique (MIT license) that implements:
1. **Adaptive retrieval via retrieval tokens:** allows you to fine-tune LLMs to output `[Retrieval]` tokens mid-generation to indicate when to perform retrieval. It has been empirically shown to improve open-source models to ma... | [Feature Request]: Self-RAG support (NEW TECHNIQUE) | https://api.github.com/repos/langchain-ai/langchain/issues/12375/comments | 2 | 2023-10-26T21:02:47Z | 2024-03-30T16:05:21Z | https://github.com/langchain-ai/langchain/issues/12375 | 1,964,365,338 | 12,375 |
[
"hwchase17",
"langchain"
] | ### System Info
Running on colab:
langchain==0.0.324
gigachat==0.1.6
gpt4all==2.0.1
chromadb==0.4.15
Python 3.10.12
### 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
... | VectorDBQA bug on Gigachat | https://api.github.com/repos/langchain-ai/langchain/issues/12372/comments | 2 | 2023-10-26T20:52:19Z | 2024-02-06T16:12:41Z | https://github.com/langchain-ai/langchain/issues/12372 | 1,964,352,398 | 12,372 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have been experimenting with SelfQueryRetriever. I am trying to use it to find a book based on a query.
For example:
"Find me a book that was written by Hayek".
The LLM correctly creates the query:
"query='Hayek' filter=Comparison(comparator=<Comparator.EQ: 'eq'>, attribute='A... | Issue: SelfQueryRetriever and contains('string') | https://api.github.com/repos/langchain-ai/langchain/issues/12370/comments | 1 | 2023-10-26T20:45:02Z | 2023-11-05T16:45:47Z | https://github.com/langchain-ai/langchain/issues/12370 | 1,964,343,443 | 12,370 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.