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"
] | ### Discussed in https://github.com/langchain-ai/langchain/discussions/5410
<div type='discussions-op-text'>
<sup>Originally posted by **luca-git** May 29, 2023</sup>
My goal is to extend the tools used by baby AGI, more specifically to use at least the basic WriteFileTool() and ReadFileTool(). They use two in... | BabyAGI implementation with tools with multiple inputs (requiring Structured Tool Chat Agent) | https://api.github.com/repos/langchain-ai/langchain/issues/8346/comments | 2 | 2023-07-27T08:14:36Z | 2023-11-02T16:16:00Z | https://github.com/langchain-ai/langchain/issues/8346 | 1,823,850,168 | 8,346 |
[
"langchain-ai",
"langchain"
] | ### System Info
gptcache==0.1.37
langchain==0.0.240
python 3.8
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- ... | GPTCache is getting created multiple times for the same llm_string | https://api.github.com/repos/langchain-ai/langchain/issues/8343/comments | 1 | 2023-07-27T06:04:49Z | 2023-07-27T14:47:28Z | https://github.com/langchain-ai/langchain/issues/8343 | 1,823,677,777 | 8,343 |
[
"langchain-ai",
"langchain"
] | ### System Info
While using both URL-Playwriter or PlayWright Browser Toolkit I am getting this error.
The solution I used:
1. I used asyncio.create_task
2. I used nest_asyncio.apply
but the error is the same. Please help if someone is also getting the same error and found some solution
** in the documentation.
## This is the code (from docs)
```python
from langchain.tools.playwright.utils import c... | Issue: ModuleNotFoundError: No module named 'playwright' | https://api.github.com/repos/langchain-ai/langchain/issues/8338/comments | 6 | 2023-07-27T03:55:02Z | 2024-07-21T10:37:18Z | https://github.com/langchain-ai/langchain/issues/8338 | 1,823,563,453 | 8,338 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When I have a single PDF file it works very well, when I have several files it does not find the same question as if it did when there was only one pdf file, I have the following code
store = PGVector(
collection_name=COLLECTION_NAME,
connection_string=CONNECTION_STRING,
... | Error finding in multiple pdfs | https://api.github.com/repos/langchain-ai/langchain/issues/8334/comments | 2 | 2023-07-27T02:05:37Z | 2023-11-02T16:05:14Z | https://github.com/langchain-ai/langchain/issues/8334 | 1,823,486,705 | 8,334 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have a csv file I would like to interact with but when I start using it says:
Retrying langchain.embeddings.openai.embed_with_retry.<locals>._embed_with_retry in 4.0 seconds as it raised APIError: OpenAI API returned an empty embedding.
Retrying langchain.embeddings.openai.embed_wi... | Issue: Max CSV Size | https://api.github.com/repos/langchain-ai/langchain/issues/8332/comments | 2 | 2023-07-27T01:49:19Z | 2023-11-02T16:05:40Z | https://github.com/langchain-ai/langchain/issues/8332 | 1,823,470,170 | 8,332 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version=0.0.237
python version = 3.11.4
### Who can help?
@hwchase17
The RDFGraph class appears to throw an exception when an OWL ontology contains a Restriction.
For example, a Turtle ontology contains the following restriction causes the error "Unexpected IRI 'n16c4af590.........",... | RDFGraph throws exception when ontology contains blank nodes | https://api.github.com/repos/langchain-ai/langchain/issues/8331/comments | 1 | 2023-07-27T01:25:11Z | 2023-08-09T07:44:41Z | https://github.com/langchain-ai/langchain/issues/8331 | 1,823,441,492 | 8,331 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I propose to make BaseMemoryAsync, BaseChatMessageHistoryAsync, SummarizerMixinAsync, BaseChatMemoryAsync and add support for async save_context to the main Chain class. For web development, everything is asynchronous, and this is critical.
### Motivation
I've faced a problem when writing a chatb... | Async Memory | https://api.github.com/repos/langchain-ai/langchain/issues/8329/comments | 1 | 2023-07-27T00:31:00Z | 2023-11-02T16:05:19Z | https://github.com/langchain-ai/langchain/issues/8329 | 1,823,401,369 | 8,329 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
This might be a general issue with LLM tools but I wanted to pose it here since this community is very active.
When you feed a huge CSV file with thousands of comments, you are trying to summarize them but also extract some quotes.
When feeding this file into Langchain, it will s... | Issue: How to extract quotes from a large file | https://api.github.com/repos/langchain-ai/langchain/issues/8328/comments | 2 | 2023-07-26T23:19:52Z | 2023-11-01T16:04:50Z | https://github.com/langchain-ai/langchain/issues/8328 | 1,823,346,330 | 8,328 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add support for passing CustomAttributes to the `SagemakerEnpiontLLM` wrapper around `client.invoke_enpoint()`
With the release of LLama-v2 on Sagemaker Jumpstart, we are required to pass EULA=TRUE # END USER LICENSE AGREEMENT
Endstate
```python
class SagemakerEndpoint(LLM):
...
... | SagemakerEndpoint LLM does not support InvokeEndpoint CustomAttributes needed for Llama-V2 | https://api.github.com/repos/langchain-ai/langchain/issues/8326/comments | 9 | 2023-07-26T22:59:57Z | 2024-05-22T16:06:57Z | https://github.com/langchain-ai/langchain/issues/8326 | 1,823,323,149 | 8,326 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I am converting from CONVERSATIONAL_REACT agent to Functions and having a tough time figuring out how to customize the prompt. Memory was not obvious, but worked as expected. However, adding additional inputs does not:
``` Python
memory = ConversationBufferMemory(memory_key=... | DOC: How to use OPENAI_MULTI_FUNCTIONS with custom prompt? | https://api.github.com/repos/langchain-ai/langchain/issues/8325/comments | 2 | 2023-07-26T22:58:19Z | 2023-09-08T17:18:24Z | https://github.com/langchain-ai/langchain/issues/8325 | 1,823,322,018 | 8,325 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi,
this repo on huggingface implements word-level timestamps into locally run whisper models: https://huggingface.co/spaces/Matthijs/whisper_word_timestamps/tree/main
I have created a simple modification of this for generating simple CSVs with words and timestamps, a functionality i'd love t... | Whisper with word-level timestamps | https://api.github.com/repos/langchain-ai/langchain/issues/8319/comments | 1 | 2023-07-26T20:28:13Z | 2023-11-01T16:04:55Z | https://github.com/langchain-ai/langchain/issues/8319 | 1,823,113,323 | 8,319 |
[
"langchain-ai",
"langchain"
] | ### Feature request
According to the [Amazon Kendra documentation](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Query.html), a query response contains three types of results:
- **Relevant suggested answers.** The answers can be either a text excerpt or table excerpt. The answer can be highlighted in the... | In the AmazonKendraRetriever, allow selection of which API to use: query or retrieve (default) | https://api.github.com/repos/langchain-ai/langchain/issues/8315/comments | 2 | 2023-07-26T19:22:38Z | 2023-11-01T16:05:00Z | https://github.com/langchain-ai/langchain/issues/8315 | 1,823,016,792 | 8,315 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.243
```
@property
def embeddings(self) -> Embeddings:
return self.embeddings
```
is referencing itself instead of `self.embedding` resulting in Recursion error.
```
return self.embeddings
^^^^^^^^^^^^^^^
[Previous line repeated 993 more times]
Recurs... | ElasticVectorSearch().as_retriever() throwingRecursionError: maximum recursion depth exceeded | https://api.github.com/repos/langchain-ai/langchain/issues/8310/comments | 1 | 2023-07-26T18:35:13Z | 2023-07-26T19:15:41Z | https://github.com/langchain-ai/langchain/issues/8310 | 1,822,953,914 | 8,310 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi All,
I tried to run Apify tutorial and I ran on the issue of ImportError: cannot import name 'ApifyWrapper' from 'langchain.utilities'. I checked the Utilities library under utilities/__init__.py and I couldn't find anything under the Generic integrations with third-party systems and packages.
Any... | ImportError: cannot import name 'ApifyWrapper' from 'langchain.utilities' | https://api.github.com/repos/langchain-ai/langchain/issues/8307/comments | 11 | 2023-07-26T18:18:22Z | 2023-12-08T16:05:50Z | https://github.com/langchain-ai/langchain/issues/8307 | 1,822,932,353 | 8,307 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Possibility to make a direct return of a tool's output on certain cases.
### Motivation
Under specific circumstances, it would be extremely beneficial to be able to return a tool's output directly to the user. For instance, this feature would be helpful when using a search tool. If a searc... | Make a return_direct of a tool's output under certain conditions | https://api.github.com/repos/langchain-ai/langchain/issues/8306/comments | 8 | 2023-07-26T18:13:52Z | 2024-07-30T16:05:49Z | https://github.com/langchain-ai/langchain/issues/8306 | 1,822,926,870 | 8,306 |
[
"langchain-ai",
"langchain"
] | ### System Info
Pop!_OS 22.04 LTS
Python 3.11.4
Langchain v0.0.242
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt S... | VertexAI using `text-bison` returns no output | https://api.github.com/repos/langchain-ai/langchain/issues/8304/comments | 3 | 2023-07-26T17:33:31Z | 2023-12-20T22:59:35Z | https://github.com/langchain-ai/langchain/issues/8304 | 1,822,865,052 | 8,304 |
[
"langchain-ai",
"langchain"
] | ### System Info
When i install for the first time using this command
```
pip install 'langchain[all]'
```
It installs the older version `langchain 0.0.39`
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] L... | installing pip install langchain[all] installs the old version of langchain 0.0.39 | https://api.github.com/repos/langchain-ai/langchain/issues/8298/comments | 3 | 2023-07-26T16:32:22Z | 2023-08-07T18:29:02Z | https://github.com/langchain-ai/langchain/issues/8298 | 1,822,776,944 | 8,298 |
[
"langchain-ai",
"langchain"
] | ### System Info
python = 3.9
es = 8.9
langchain = 0.0.237
### 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 Se... | ElasticVectorSearch.from_documents failed | https://api.github.com/repos/langchain-ai/langchain/issues/8293/comments | 1 | 2023-07-26T14:08:01Z | 2023-07-27T02:20:53Z | https://github.com/langchain-ai/langchain/issues/8293 | 1,822,500,823 | 8,293 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version - 0.0.208
openAI - 3.5-turbo
### 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
- [ ]... | cannot clear memory when token limit exceeded | https://api.github.com/repos/langchain-ai/langchain/issues/8291/comments | 1 | 2023-07-26T12:59:35Z | 2023-07-27T11:05:00Z | https://github.com/langchain-ai/langchain/issues/8291 | 1,822,369,188 | 8,291 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have defined several Chains (LLM Chains, RetrievalQA and ConversationalRelationChain) and have used an agent to route between them after I created for each their respective Tool.
I realised that when each chain was defined outside of the agent, their performance was amazing. But once ... | Issue: Performance of Agents or Chains dropping when used as routers in an Agent. | https://api.github.com/repos/langchain-ai/langchain/issues/8287/comments | 2 | 2023-07-26T12:20:31Z | 2023-11-01T16:05:04Z | https://github.com/langchain-ai/langchain/issues/8287 | 1,822,298,506 | 8,287 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.144
python3 == 3.11.4
### 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 Pa... | AttributeError: `Document` object has not attribute `replace` | https://api.github.com/repos/langchain-ai/langchain/issues/8286/comments | 5 | 2023-07-26T12:15:13Z | 2024-08-02T05:44:32Z | https://github.com/langchain-ai/langchain/issues/8286 | 1,822,290,214 | 8,286 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm using a SQL Agent that is connected to BigQuery to build a QA model. I get OutputParserException fairly often. The Agent returns the correct answer some times, but I have never got an answer when the option view_support=True in SQLDatabase.from_uri().
For some questions, the age... | Issue: OutputParserException when using SQL Agent | https://api.github.com/repos/langchain-ai/langchain/issues/8282/comments | 1 | 2023-07-26T10:19:13Z | 2023-11-01T16:05:10Z | https://github.com/langchain-ai/langchain/issues/8282 | 1,822,077,707 | 8,282 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.242
python 3.11.4
### Who can help?
@hwchase17
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | Problem using HuggingFacePipeline by passing pipeline in directly | https://api.github.com/repos/langchain-ai/langchain/issues/8280/comments | 7 | 2023-07-26T10:05:37Z | 2024-02-14T16:12:28Z | https://github.com/langchain-ai/langchain/issues/8280 | 1,822,048,802 | 8,280 |
[
"langchain-ai",
"langchain"
] | ### System Info
Macos 13.5, vscode 1.80.1
### Who can help?
@hwchase17 @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... | devcontainer in vscode is not working | https://api.github.com/repos/langchain-ai/langchain/issues/8277/comments | 3 | 2023-07-26T08:03:16Z | 2023-12-06T17:44:40Z | https://github.com/langchain-ai/langchain/issues/8277 | 1,821,812,670 | 8,277 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, it's my first issue in github. And the first thing I want to say is that LangChain is awesome!
I'm not quite so sure is that a bug or just a little issue of config.So I list it as a other issue.
I built a agent and built some RetrievalQA chains as tools for agent.However,when I... | Issue: LLM makes up new QAs after answering question in a QA chains | https://api.github.com/repos/langchain-ai/langchain/issues/8273/comments | 4 | 2023-07-26T07:34:35Z | 2023-11-02T16:16:04Z | https://github.com/langchain-ai/langchain/issues/8273 | 1,821,769,394 | 8,273 |
[
"langchain-ai",
"langchain"
] | ### System Info
platform = mac m2
python = 3.11
### Who can help?
@hwchase17
### 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
-... | not enough values to unpack (expected 2, got 1) while LabeledPairwiseStringEvalChain with evaluate_string_pairs | https://api.github.com/repos/langchain-ai/langchain/issues/8272/comments | 1 | 2023-07-26T07:20:57Z | 2023-07-26T13:15:05Z | https://github.com/langchain-ai/langchain/issues/8272 | 1,821,748,208 | 8,272 |
[
"langchain-ai",
"langchain"
] | Hi , I am using an existing open search vector store and trying to perform below queries using langchain and python. But i am unable to see the documents returned.
Queries:
docs = result.similarity_search(
"show me results for rest API throwing 500 exceptions", search_type="painless_scripting",space_type="cos... | similarity_search on nested fields not returning results | https://api.github.com/repos/langchain-ai/langchain/issues/8269/comments | 2 | 2023-07-26T05:38:54Z | 2023-11-08T16:07:34Z | https://github.com/langchain-ai/langchain/issues/8269 | 1,821,620,134 | 8,269 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am trying to instantiate 2 LLMChains, each of which should use a SystemMessagePromptTemplate to specify the way that it should communicate. Both are using the same LLM from the HF pipeline.
The following code gives the error "ValidationError: 1 validation error for LLMChain prompt ... | Issue: LLMChain throwing abstract class BasePromptTemplate error, even when the prompt templates used are not abstract. | https://api.github.com/repos/langchain-ai/langchain/issues/8266/comments | 5 | 2023-07-26T02:12:59Z | 2024-02-28T07:48:47Z | https://github.com/langchain-ai/langchain/issues/8266 | 1,821,455,583 | 8,266 |
[
"langchain-ai",
"langchain"
] | ### System Info
Latest langchain version 0.0.240
with agent type STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION and memory, it failed to add chat memory if input format is json or dict.
For example
agent_chain = initialize_agent(tools
, chat
... | with agent type STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, failed to add chat memory if input format is json or dict | https://api.github.com/repos/langchain-ai/langchain/issues/8264/comments | 2 | 2023-07-26T01:32:48Z | 2023-11-01T16:05:25Z | https://github.com/langchain-ai/langchain/issues/8264 | 1,821,422,356 | 8,264 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain verion: 0.0.237
python version: 3.11.4
### Who can help?
@hwchase17
When loading an OWL graph in the following code, an exception occurs that says: "Exception has occurred: KeyError 'op'". It appears that RFGraph class is having trouble with the owl standard specifically.
```from ... | langchain.graph RDFGraph does not read OWL | https://api.github.com/repos/langchain-ai/langchain/issues/8263/comments | 2 | 2023-07-26T01:31:14Z | 2023-07-27T00:27:18Z | https://github.com/langchain-ai/langchain/issues/8263 | 1,821,421,277 | 8,263 |
[
"langchain-ai",
"langchain"
] | ### System Info
Here is my code:
```from langchain.vectorstores import Chroma
from langchain.embeddings.openai import OpenAIEmbeddings
persist_directory = 'docs/chroma/'
embedding = OpenAIEmbeddings(request_timeout=60)
vectordb = Chroma(persist_directory=persist_directory, embedding_function=embedding)
questio... | Retrying langchain.embeddings.openai.embed_with_retry | https://api.github.com/repos/langchain-ai/langchain/issues/8259/comments | 5 | 2023-07-26T00:22:33Z | 2023-11-03T16:06:02Z | https://github.com/langchain-ai/langchain/issues/8259 | 1,821,358,055 | 8,259 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.10 with langchain 0.0.242
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt Selectors
- ... | Using 'generate' as early_stopping_method raises ValueError when trying to return the stopped response | https://api.github.com/repos/langchain-ai/langchain/issues/8249/comments | 4 | 2023-07-25T19:32:42Z | 2024-01-16T18:18:27Z | https://github.com/langchain-ai/langchain/issues/8249 | 1,821,003,148 | 8,249 |
[
"langchain-ai",
"langchain"
] | ### System Info
Matching Engine uses the wrong method "embed_documents" for embedding the query. Therefore when using things like HyDE, it just embeds the query verbatim without first running a chain to generate a hypothetical answer.
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official ... | Matching Engine uses the wrong method "embed_documents" for embedding the query | https://api.github.com/repos/langchain-ai/langchain/issues/8240/comments | 5 | 2023-07-25T16:40:56Z | 2024-05-13T16:08:13Z | https://github.com/langchain-ai/langchain/issues/8240 | 1,820,720,366 | 8,240 |
[
"langchain-ai",
"langchain"
] | ### System Info
platform = mac m2
python = 3.11
### Who can help?
@hwchase17
### 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
-... | Getting invalid input variable in prompt template using load_evaluator | https://api.github.com/repos/langchain-ai/langchain/issues/8229/comments | 2 | 2023-07-25T12:31:39Z | 2023-10-31T16:04:54Z | https://github.com/langchain-ai/langchain/issues/8229 | 1,820,232,219 | 8,229 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/integrations/document_loaders/email
above link tells how to load email file but how to download .msg outlook mail file?
### Idea or request for content:
Please include link for how to get email .msg file as mentioned on https://python.langchai... | DOC: <Please write a comprehensive title after the 'DOC: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8228/comments | 4 | 2023-07-25T12:30:40Z | 2023-11-09T16:13:25Z | https://github.com/langchain-ai/langchain/issues/8228 | 1,820,230,066 | 8,228 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.232
### 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
... | TimeoutError: The read operation timed out on return self._sslobj.read(len, buffer) | https://api.github.com/repos/langchain-ai/langchain/issues/8227/comments | 2 | 2023-07-25T12:19:16Z | 2023-10-31T16:05:00Z | https://github.com/langchain-ai/langchain/issues/8227 | 1,820,205,260 | 8,227 |
[
"langchain-ai",
"langchain"
] | ### System Info
- langchain: 0.0.240
- openai: 0.27.8
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors... | langchain.schema.output_parser.OutputParserException | https://api.github.com/repos/langchain-ai/langchain/issues/8226/comments | 5 | 2023-07-25T11:55:23Z | 2023-12-08T16:05:55Z | https://github.com/langchain-ai/langchain/issues/8226 | 1,820,165,129 | 8,226 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: langchain==0.0.229
Platform: MacOS 12.6.2
Python version: 3.9.6
Issue:
I am using the PlanAndExecute agent with a tool that generates image as well as the HumanInputRun tool. The behaviour I'm trying to achieve is that, if I give a prompt asking to 'Generate a digital artwork... | PlanAndExecute agent doesn't always prompt for user input when the action is HumanInputRun tool | https://api.github.com/repos/langchain-ai/langchain/issues/8223/comments | 2 | 2023-07-25T10:33:42Z | 2024-06-19T19:24:12Z | https://github.com/langchain-ai/langchain/issues/8223 | 1,820,041,030 | 8,223 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain = 0.0.240
python = 3.9.13
OS = Windows 11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors... | PDFLoader metadata.source points to temp file path rather than pdf url | https://api.github.com/repos/langchain-ai/langchain/issues/8222/comments | 8 | 2023-07-25T09:47:49Z | 2023-11-26T16:07:44Z | https://github.com/langchain-ai/langchain/issues/8222 | 1,819,944,603 | 8,222 |
[
"langchain-ai",
"langchain"
] | ### System Info
Versions:
```text
langchain==0.0.240
google-cloud-discoveryengine==0.9.1
google-cloud-aiplatform==1.28.1
```
`GoogleCloudEnterpriseSearchRetriever` it consistently returns zero results without error.
Workarounds / Validations attempted:
* If I put invalid values (e.g. an invalid engine)... | GoogleCloudEnterpriseSearchRetriever consistently returns no results | https://api.github.com/repos/langchain-ai/langchain/issues/8219/comments | 10 | 2023-07-25T09:02:39Z | 2023-12-21T16:07:25Z | https://github.com/langchain-ai/langchain/issues/8219 | 1,819,868,243 | 8,219 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
The refactoring changes in this [PR](https://github.com/langchain-ai/langchain/pull/7959) which changed the path of files from `langchain/*` to `libs/langchain/langchain/*`. But, the corresponding import statements are not refactored which is causing the tests to fail during local deve... | Issue: Refactoring Changes Breaking the Tests | https://api.github.com/repos/langchain-ai/langchain/issues/8217/comments | 1 | 2023-07-25T05:04:59Z | 2023-07-26T17:07:07Z | https://github.com/langchain-ai/langchain/issues/8217 | 1,819,559,886 | 8,217 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
With GoogleSerperAPIWrapper(type="news"), how do I config to get the result in the past 24 hours?
### Suggestion:
_No response_ | Issue: How do I search for the result in the past 24 hours with GoogleSerperAPIWrapper | https://api.github.com/repos/langchain-ai/langchain/issues/8216/comments | 5 | 2023-07-25T04:23:46Z | 2023-12-19T12:18:27Z | https://github.com/langchain-ai/langchain/issues/8216 | 1,819,526,632 | 8,216 |
[
"langchain-ai",
"langchain"
] | ### System Info
pymilvus: 2.2.0
langchain: 0.0.219
python: 3.10
openai: 0.27.6
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prom... | Unable to delete an entity by ID when utilizing 'vectorstore.delete(ids)' through 'langchain.vectorstor.milvus'. | https://api.github.com/repos/langchain-ai/langchain/issues/8215/comments | 3 | 2023-07-25T04:12:18Z | 2023-11-01T02:11:05Z | https://github.com/langchain-ai/langchain/issues/8215 | 1,819,518,167 | 8,215 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When using document search from the existing Pinecone index that was created using Cosine **Similarity** in the `ConversationalRetrievalChain`, the `score_theshold` would eliminate most relevant documents instead of least relevant ones because the _similarity_ metric will be converted t... | Issue: Pinecone retriever with Cosine Similarity is treated like Cosine Distance | https://api.github.com/repos/langchain-ai/langchain/issues/8207/comments | 2 | 2023-07-24T22:23:33Z | 2023-11-13T19:47:39Z | https://github.com/langchain-ai/langchain/issues/8207 | 1,819,234,460 | 8,207 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
```
dosearch = Pinecone.from_texts([t.page_content for t in split_docs], embeddings, index_name=index_name)
```
when I upsert the documents to Pinecone, If I want to get all the ids from `dosearch`, how I can do?
### Suggestion:
_No response_ | Issue: how to get infomation when using Pinecone.from_texts | https://api.github.com/repos/langchain-ai/langchain/issues/8204/comments | 1 | 2023-07-24T21:55:41Z | 2023-07-25T00:06:56Z | https://github.com/langchain-ai/langchain/issues/8204 | 1,819,203,715 | 8,204 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The Apify integration has been delete by @hwchase17 in commit aa0e69bc98fa9c77b01e5104f12b2b779f64fd33 and thus this documentation is not valid anymore:
https://python.langchain.com/docs/integrations/tools/apify
### Idea or request for content:
It would be highly benefi... | DOC: Apify integration missing | https://api.github.com/repos/langchain-ai/langchain/issues/8201/comments | 3 | 2023-07-24T19:46:13Z | 2023-12-08T16:06:00Z | https://github.com/langchain-ai/langchain/issues/8201 | 1,819,030,275 | 8,201 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add support llama-cpp verbose argument
### Motivation
missing
### Your contribution
Just add it in the init():
..........
streaming: bool = True
"""Whether to stream the results, token by token."""
verbose: bool = True
@root_validator()
def validate_environ... | Does not support llama-cpp verbose argument | https://api.github.com/repos/langchain-ai/langchain/issues/8200/comments | 2 | 2023-07-24T19:33:03Z | 2023-10-30T16:04:43Z | https://github.com/langchain-ai/langchain/issues/8200 | 1,819,010,028 | 8,200 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hybrid search for Supabase in the python version of Langchain would be much appreciated:
[Supabase Hybrid Search](https://js.langchain.com/docs/modules/data_connection/retrievers/integrations/supabase-hybrid/)
[langchain/src/retrievers/supabase.ts](https://github.com/hwchase17/langchainjs/blo... | SupabaseHybridSearch as in langchainjs | https://api.github.com/repos/langchain-ai/langchain/issues/8194/comments | 2 | 2023-07-24T18:44:22Z | 2024-04-10T16:18:48Z | https://github.com/langchain-ai/langchain/issues/8194 | 1,818,945,223 | 8,194 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am getting an error on FAISS.from_documents(). "openai.error.InvalidRequestError: Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.embedding.Embedding'>" I tried everything and did they change something recently? This code worked fine and now it doesn't n... | Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.embedding.Embedding'> | https://api.github.com/repos/langchain-ai/langchain/issues/8190/comments | 7 | 2023-07-24T17:47:03Z | 2023-12-08T16:10:32Z | https://github.com/langchain-ai/langchain/issues/8190 | 1,818,861,918 | 8,190 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain == 0.0.240
Python 3.10.9
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Par... | AttributeError: 'Redis' object has no attribute '_Redis__get_retriever_tags'. Did you mean: '_VectorStore__get_retriever_tags'? | https://api.github.com/repos/langchain-ai/langchain/issues/8185/comments | 7 | 2023-07-24T16:43:01Z | 2023-11-06T16:06:35Z | https://github.com/langchain-ai/langchain/issues/8185 | 1,818,775,624 | 8,185 |
[
"langchain-ai",
"langchain"
] | null | AttributeError: 'Redis' object has no attribute '_Redis__get_retriever_tags'. Did you mean: '_VectorStore__get_retriever_tags'? | https://api.github.com/repos/langchain-ai/langchain/issues/8184/comments | 0 | 2023-07-24T15:55:00Z | 2023-07-24T16:39:27Z | https://github.com/langchain-ai/langchain/issues/8184 | 1,818,702,146 | 8,184 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi there, I've been trying to come up with a system that can do the following:
1. take in a string as input (much longer len than the 512 token limit of the flan-t5-large model I'm using)
2. Use vector db (currently using FAISS) + langchain to index and query for relevant chunks
3... | Issue: Using HuggingFace Inference Endpoint as LLM in QA Chain | https://api.github.com/repos/langchain-ai/langchain/issues/8181/comments | 4 | 2023-07-24T14:21:40Z | 2023-10-31T16:05:25Z | https://github.com/langchain-ai/langchain/issues/8181 | 1,818,532,496 | 8,181 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Hi,
The integration document for langchain with AWS sagemaker has been removed.
Do we have an updated doc for that.
[https://python.langchain.com/docs/modules/model_io/models/llms/integrations/sagemaker.html](url)
### Idea or request for content:
_No response_ | DOC: Langchain integration with sagemaker missing | https://api.github.com/repos/langchain-ai/langchain/issues/8178/comments | 2 | 2023-07-24T12:20:04Z | 2023-07-25T01:55:26Z | https://github.com/langchain-ai/langchain/issues/8178 | 1,818,312,666 | 8,178 |
[
"langchain-ai",
"langchain"
] | ### System Info
python = 3.10
langchain = 0.0.222
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parse... | Redis scores seems to be sorted from lowest to highest (with cosine) | https://api.github.com/repos/langchain-ai/langchain/issues/8177/comments | 7 | 2023-07-24T11:40:47Z | 2023-12-19T09:02:13Z | https://github.com/langchain-ai/langchain/issues/8177 | 1,818,244,391 | 8,177 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Provide a way to use instructor-based embeddings with dynamic instructions.
### Motivation
Currently HuggingFaceInstructEmbeddings initialized with instruction. This create problems with using multiple instructions, because this basically force you to initialize different instance for each instru... | Dynamic instruction for instructor embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/8176/comments | 1 | 2023-07-24T11:30:33Z | 2023-10-30T16:04:53Z | https://github.com/langchain-ai/langchain/issues/8176 | 1,818,227,516 | 8,176 |
[
"langchain-ai",
"langchain"
] | ### System Info
[Basic Langchain Q&A use case example](https://python.langchain.com/docs/use_cases/question_answering/) throws ValueError when `<html>` tag of website doesn't set `lang` attribute.
In particular, `WebBaseLoader` parses the website soup metadata with:
```
def _build_metadata(soup: Any, url: str... | Basic Langchain Q&A use case example throws ValueError when `<html>` tag of website doesn't set `lang` attribute. | https://api.github.com/repos/langchain-ai/langchain/issues/8174/comments | 2 | 2023-07-24T11:16:52Z | 2023-07-25T11:09:57Z | https://github.com/langchain-ai/langchain/issues/8174 | 1,818,206,096 | 8,174 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using FAISS vector store for storing the vector embeddings of the documents and retrieving the relevant document with respect to the query. My question is that `FAISS` does not store the embeddings permanently, instead it stores it in RAM and when running the code once again, it sim... | How to use MongoDB to store vector embeddings and during extracting the relevant document, using `FAISS` for similarity search based document relevancy? | https://api.github.com/repos/langchain-ai/langchain/issues/8170/comments | 11 | 2023-07-24T08:50:57Z | 2024-02-29T10:28:34Z | https://github.com/langchain-ai/langchain/issues/8170 | 1,817,948,424 | 8,170 |
[
"langchain-ai",
"langchain"
] | ### System Info
1. Python 3.10
2. Langchain 0.0.240
3. Mac OSX Monterey Intel Processor
### Who can help?
@hwchase17
@ago
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prom... | Cannot use CombinedMemory with VectorStoreRetrieverMemory and ConversationBufferMemory for ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/8168/comments | 0 | 2023-07-24T08:00:27Z | 2023-07-24T10:24:13Z | https://github.com/langchain-ai/langchain/issues/8168 | 1,817,863,224 | 8,168 |
[
"langchain-ai",
"langchain"
] | ### Feature request
There might be scenarios where transformations and joins will need to be applied on tables from different schemas but currently, the code only supports a single schema query structure.
### Motivation
I am working on Databricks Unity Catalog Query Assistant feature for a Product and need this chan... | Supporting Multiple Schemas for SQL Query Generation in Databricks | https://api.github.com/repos/langchain-ai/langchain/issues/8167/comments | 2 | 2023-07-24T07:42:28Z | 2023-11-04T16:05:01Z | https://github.com/langchain-ai/langchain/issues/8167 | 1,817,835,890 | 8,167 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hi langchain team!
I'd like to contribute this feature to the langchain document loaders.
There are multiple pros for using Adobe API instead of the existing libraries for converting pdf to text and other metadata; e.g, adobe API allows for extraction of tables and figures in pdf documents a... | Adding Adobe PDF extraction API as an additional langchain document loader | https://api.github.com/repos/langchain-ai/langchain/issues/8163/comments | 4 | 2023-07-24T05:21:58Z | 2024-02-04T17:54:13Z | https://github.com/langchain-ai/langchain/issues/8163 | 1,817,645,290 | 8,163 |
[
"langchain-ai",
"langchain"
] | ### Feature request
support for llama models for petals module
### Motivation
i'm furstated when i want to use petals (distributed model) for llama2, my gpu is not enough to run all models
### Your contribution
- | langchain.llms.Petals doesnt support llama models | https://api.github.com/repos/langchain-ai/langchain/issues/8161/comments | 2 | 2023-07-24T04:56:39Z | 2023-11-04T16:05:05Z | https://github.com/langchain-ai/langchain/issues/8161 | 1,817,621,937 | 8,161 |
[
"langchain-ai",
"langchain"
] | ### System Info
python = ">=3.9,<3.12"
fire = "0.5.0"
pandas = "2.0.2"
sqlalchemy = "2.0.15"
rich = "13.4.1"
mysqlclient = "2.1.1"
pandera = "0.15.1"
openai = "0.27.7"
guidance = "0.0.62"
langchain = "0.0.221"
textual = "^0.29.0"
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official e... | Migration OpenAIEmbedding from Azure to OpenAI reproduce gives an error message "ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions." | https://api.github.com/repos/langchain-ai/langchain/issues/8159/comments | 2 | 2023-07-24T03:58:46Z | 2023-11-03T16:06:27Z | https://github.com/langchain-ai/langchain/issues/8159 | 1,817,560,003 | 8,159 |
[
"langchain-ai",
"langchain"
] | ### System Info
from langchain.agents.chat.output_parser import ChatOutputParser
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/ubuntu/chatpdf/Backend/backenv/lib/python3.10/site-packages/langchain/__init__.py", line 6, in <module>
from langchain.agents import MRKLChain,... | Error when importing ChatOutputParser: no validator found for <class 're.Pattern'> | https://api.github.com/repos/langchain-ai/langchain/issues/8158/comments | 9 | 2023-07-24T02:00:27Z | 2024-02-14T16:12:38Z | https://github.com/langchain-ai/langchain/issues/8158 | 1,817,456,702 | 8,158 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi,
I'm using version 0.0.105 of langchain (nodejs).
I'm using PDFLoader to embed PDF documents, and I've noticed that the extracted documents do not retain the hyperlinks that were present in the files.
Is there a way to retain them? I couldn't find it in the document or the PDFLoader class.... | Retain links when extracting text using PDFLoader | https://api.github.com/repos/langchain-ai/langchain/issues/8157/comments | 3 | 2023-07-24T01:53:00Z | 2023-07-25T02:05:02Z | https://github.com/langchain-ai/langchain/issues/8157 | 1,817,450,573 | 8,157 |
[
"langchain-ai",
"langchain"
] | ### System Info
Good day, I'm attempting to use `create_tagging_chain_pydantic` to tag certain markets wherein a product is used. The product can be used across multiple markets. Unfortunately the chain doesn't appear to respect the `enum` values passed to it for a return type of an array of string (it works correct... | create_tagging_chain returning an array string not respecting enum values | https://api.github.com/repos/langchain-ai/langchain/issues/8156/comments | 2 | 2023-07-24T01:43:31Z | 2023-12-18T23:48:57Z | https://github.com/langchain-ai/langchain/issues/8156 | 1,817,442,875 | 8,156 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When I testing MultiRetrievalQAChain in synchronous mode, it worked perfectly. It can choose QA from the right retriever. But when I implement MultiRetrievalQAChain into production with streaming, I need mode async.
anyone can help me ?
TIA
### Motivation
I'm quite frustated when I found Mul... | MultiRetrievalQAChain async mode | https://api.github.com/repos/langchain-ai/langchain/issues/8149/comments | 1 | 2023-07-23T14:24:48Z | 2023-10-29T16:04:26Z | https://github.com/langchain-ai/langchain/issues/8149 | 1,817,148,325 | 8,149 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Would like to have YoutubeLoader on Nodejs api
https://api.python.langchain.com/en/latest/document_loaders/langchain.document_loaders.youtube.YoutubeLoader.html#langchain.document_loaders.youtube.YoutubeLoader
### Motivation
The motivation of this is to have the feature to load the transcript ... | YoutubeLoader for nodejs | https://api.github.com/repos/langchain-ai/langchain/issues/8148/comments | 2 | 2023-07-23T13:09:56Z | 2023-11-01T16:06:00Z | https://github.com/langchain-ai/langchain/issues/8148 | 1,817,123,966 | 8,148 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.240
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Par... | RecursiveCharacterTextSplitter overlap sometimes does not work | https://api.github.com/repos/langchain-ai/langchain/issues/8142/comments | 6 | 2023-07-23T05:00:58Z | 2024-02-14T16:12:43Z | https://github.com/langchain-ai/langchain/issues/8142 | 1,816,988,798 | 8,142 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi there,
I've found many scenarios where ConversationalRetrievalChain's attempt to condense a conversation history into a stand-alone question fails, either because the history is too complex or, for example, if the user simply provides an affirmation.
Why do we attempt to conden... | Issue: Why condense the conversational history when Open AI provides a 'messages' field in its API? | https://api.github.com/repos/langchain-ai/langchain/issues/8141/comments | 3 | 2023-07-23T04:01:03Z | 2023-10-23T22:41:46Z | https://github.com/langchain-ai/langchain/issues/8141 | 1,816,978,039 | 8,141 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: ```langchain = "^0.0.236"````
Python 3.10.10
MacOSx 13.4.1 (c) (22F770820d)
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- ... | create_sql_aqent not working with `AgentType.OPENAI_FUNCTIONS` | https://api.github.com/repos/langchain-ai/langchain/issues/8132/comments | 5 | 2023-07-22T16:35:34Z | 2023-10-29T16:04:36Z | https://github.com/langchain-ai/langchain/issues/8132 | 1,816,823,556 | 8,132 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Unable to use metadata filtering of a collection qdrant and then use it in as_retriever function.
### Suggestion:
Qdrant.from_documents should include a filtering method as well to filer on the collection with payload (metadata) | Issue: Using qdrant.as_retriver() to use the filtered data of a collection (filtered on the basis of payload data) | https://api.github.com/repos/langchain-ai/langchain/issues/8126/comments | 5 | 2023-07-22T14:09:54Z | 2023-11-03T16:06:32Z | https://github.com/langchain-ai/langchain/issues/8126 | 1,816,778,695 | 8,126 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.238
System: WSL - Ubuntu
### Who can help?
@hwchase17
### Information
- [ ] 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 Pa... | call directly the prompt of GPT4All Model | https://api.github.com/repos/langchain-ai/langchain/issues/8125/comments | 2 | 2023-07-22T13:43:02Z | 2023-07-25T08:29:19Z | https://github.com/langchain-ai/langchain/issues/8125 | 1,816,770,103 | 8,125 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
How I can change the value of "retriever.llm_chain.prompt" accordingly for specific task to achieve better and accurate results as self Query retrieval isn't working with Open source LLMs it raises following error and there is an issue related to this error that's not yet resolved as w... | Issue: Rewrite SelfQueryRetriever llm prompt for better results | https://api.github.com/repos/langchain-ai/langchain/issues/8123/comments | 1 | 2023-07-22T11:23:10Z | 2023-10-28T16:04:20Z | https://github.com/langchain-ai/langchain/issues/8123 | 1,816,729,475 | 8,123 |
[
"langchain-ai",
"langchain"
] | ### System Info
at line 250, self.semantic_hybrid_search function only pass two parameters, query and k. it missing "**kwargs "
241 def similarity_search(
242 self, query: str, k: int = 4, **kwargs: Any
243 ) -> List[Document]:
244 search_type = kwargs.get("search_type", self.search_typ... | missing parameter in similarity_search function in azuresearch.py | https://api.github.com/repos/langchain-ai/langchain/issues/8122/comments | 2 | 2023-07-22T10:43:30Z | 2023-10-28T16:04:25Z | https://github.com/langchain-ai/langchain/issues/8122 | 1,816,718,804 | 8,122 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The hyperlink which should navigate to the Python guide for Prompts seems to be broken.
Affected link -> https://docs.langchain.com/docs/components/prompts/
Click on the `Python Guide` link under the `info` section. It leads to `Page Not Found`.
:
score = 0
for i, data in enumerate(questions):
print(ask_for_info(data["question"], data["options"]))
provide... | Human Tool with websocket | https://api.github.com/repos/langchain-ai/langchain/issues/8095/comments | 5 | 2023-07-21T19:47:10Z | 2023-11-06T18:11:00Z | https://github.com/langchain-ai/langchain/issues/8095 | 1,816,308,692 | 8,095 |
[
"langchain-ai",
"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.
### Motivation
... | retrieve email metadata from email stored as pdf | https://api.github.com/repos/langchain-ai/langchain/issues/8094/comments | 2 | 2023-07-21T19:40:54Z | 2023-10-27T16:04:53Z | https://github.com/langchain-ai/langchain/issues/8094 | 1,816,302,776 | 8,094 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Painless scripting shows an example scoring function here
https://opensearch.org/docs/latest/search-plugins/knn/painless-functions/#get-started-with-k-nns-painless-scripting-functions
You can see that they reference the query vector by `params.query_value`. This is better, in my o... | Issue: OpenSearch painless scripting scoring function could be improved | https://api.github.com/repos/langchain-ai/langchain/issues/8089/comments | 1 | 2023-07-21T18:19:26Z | 2023-10-27T16:04:59Z | https://github.com/langchain-ai/langchain/issues/8089 | 1,816,206,936 | 8,089 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently, The YoutubeLoader class loads transcripts and converts all of them into a single large piece of text loosing all the information regarding when it was said in the video to be able to reference it later.
I understand we cannot have very small/ unpridictable lengths of transcripts, which ... | YoutubeLoader to load documents from transcripts as chunks | https://api.github.com/repos/langchain-ai/langchain/issues/8087/comments | 4 | 2023-07-21T18:16:32Z | 2023-10-28T16:04:30Z | https://github.com/langchain-ai/langchain/issues/8087 | 1,816,203,822 | 8,087 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version 0.0.225
M1 Mac
Python 3.11.3
### Who can help?
@naveentatikonda
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / ... | OpenSearchVectorStore's similarity search functions can't handle k>10 with script_scoring | https://api.github.com/repos/langchain-ai/langchain/issues/8081/comments | 6 | 2023-07-21T16:16:32Z | 2023-10-27T16:05:09Z | https://github.com/langchain-ai/langchain/issues/8081 | 1,816,067,589 | 8,081 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version 0.0.238
openai version 0.27.8
### Who can help?
@hwchase17 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selecto... | Calling the OpenAI Functions agent with an empty tool list crashes | https://api.github.com/repos/langchain-ai/langchain/issues/8080/comments | 2 | 2023-07-21T15:52:04Z | 2023-11-01T16:06:10Z | https://github.com/langchain-ai/langchain/issues/8080 | 1,816,034,824 | 8,080 |
[
"langchain-ai",
"langchain"
] | Can be fixed by carrying over openapi enum definitions to new `enum` field here:
https://github.com/hwchase17/langchain/blob/95e369b38dfc8fcb55c8d1ac435ad40e326e653d/langchain/chains/openai_functions/openapi.py#L85 | Missing Enum support in OpenAI Functions | https://api.github.com/repos/langchain-ai/langchain/issues/8079/comments | 1 | 2023-07-21T15:15:39Z | 2023-10-27T16:05:19Z | https://github.com/langchain-ai/langchain/issues/8079 | 1,815,982,077 | 8,079 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/modules/model_io/models/llms/integrations/google_vertex_ai_palm - a few things are already outdated.
### Idea or request for content:
_No response_ | DOC: Fix issues related to Vertex AI LLMs | https://api.github.com/repos/langchain-ai/langchain/issues/8074/comments | 0 | 2023-07-21T13:44:36Z | 2023-08-18T05:56:11Z | https://github.com/langchain-ai/langchain/issues/8074 | 1,815,838,663 | 8,074 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
This is that the documentation has to be improved
from langchain.indexes.vectorstore import VectorstoreIndexWrapper
to from langchain.indexes.vectorstore import VectorStoreIndexWrapper
<img width="762" alt="image" src="https://github.com/hwchase17/langchain/assets/32350453/7ef0... | Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8072/comments | 2 | 2023-07-21T13:24:57Z | 2024-03-18T16:57:29Z | https://github.com/langchain-ai/langchain/issues/8072 | 1,815,807,402 | 8,072 |
[
"langchain-ai",
"langchain"
] | ### System Info
I am using langchain 0.0.238, I want to use ConversationBufferMemory with sql-agent-toolkit. Please support in this regard.
I changed prompt :
# flake8: noqa
SQL_PREFIX = """You are an agent designed to interact with a SQL database.
Given an input question, create a syntactically correct {dialect... | unable to implement memory with sql agent toolkit | https://api.github.com/repos/langchain-ai/langchain/issues/8069/comments | 7 | 2023-07-21T12:12:30Z | 2023-10-29T16:04:52Z | https://github.com/langchain-ai/langchain/issues/8069 | 1,815,703,682 | 8,069 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Hello, I have a proposal on adding Integration TCs on BingSearchAPIWrapper, in utilities/bing_search, similar with GoogleSerperAPIWrapper.
As bing search provides several API endpoints like [Bing News Search API](https://www.microsoft.com/en-us/bing/apis/bing-news-search-api), I thought it would b... | Integration test on BingSearchAPIWrapper | https://api.github.com/repos/langchain-ai/langchain/issues/8068/comments | 2 | 2023-07-21T11:36:16Z | 2023-10-27T16:05:34Z | https://github.com/langchain-ai/langchain/issues/8068 | 1,815,656,226 | 8,068 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Recognize input schemas that do not use `Field` as structured schemas.
### Motivation
A simple schema without `Field` values such as this one will fail to be recognized as a structured schema:
```python
class RepeatTextSchema(BaseModel):
text: str
occurences: int
```
It will thu... | Handle simpler tool input schemas for structured tools | https://api.github.com/repos/langchain-ai/langchain/issues/8066/comments | 10 | 2023-07-21T09:36:30Z | 2023-11-05T16:05:35Z | https://github.com/langchain-ai/langchain/issues/8066 | 1,815,491,917 | 8,066 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Support async functions with the `@tool` decorator (and `StructuredTool.from_function`, I guess).
### Motivation
The API provided by `@tool` is really nice, but using the decorator on an async function currently doesn't work.
### Your contribution
None so far but happy to help if I can. | Async @tool functions | https://api.github.com/repos/langchain-ai/langchain/issues/8065/comments | 1 | 2023-07-21T09:33:16Z | 2023-10-27T16:05:38Z | https://github.com/langchain-ai/langchain/issues/8065 | 1,815,487,097 | 8,065 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
def from_prompts(
cls,
llm: BaseLanguageModel,
db: SQLDatabase,
prompt_infos: List[Dict[str, str]],
default_chain: Optional[LLMChain] = None,
verbose: bool = False,
**kwargs: Any,
) -> Self:
"""Convenience cons... | Issue:in the multiprompt chain connecting sqldatabasechain | https://api.github.com/repos/langchain-ai/langchain/issues/8062/comments | 2 | 2023-07-21T08:43:59Z | 2023-10-27T16:05:43Z | https://github.com/langchain-ai/langchain/issues/8062 | 1,815,411,509 | 8,062 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version: '0.0.238'
### Who can help?
SemanticSimilarityExampleSelector().add_example() raise "IndexError" exception due to empty list ids returned from Chroma().add_texts() when metadata is not None.
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own m... | Bug: Chroma().add_texts() return empty ids list when metadata is not None | https://api.github.com/repos/langchain-ai/langchain/issues/8061/comments | 3 | 2023-07-21T08:17:06Z | 2023-07-24T01:18:49Z | https://github.com/langchain-ai/langchain/issues/8061 | 1,815,375,116 | 8,061 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
**Documentation Link:** https://python.langchain.com/docs/modules/model_io/models/llms/integrations/huggingface_textgen_inference
### Idea or request for content:
_No response_ | DOC: Unable to Pass HuggingFace Access Token via Huggingface TextGen Inference for large language model hosted in HuggingFace Inference Endpoint in protected mode. | https://api.github.com/repos/langchain-ai/langchain/issues/8060/comments | 7 | 2023-07-21T08:10:05Z | 2023-11-14T16:07:00Z | https://github.com/langchain-ai/langchain/issues/8060 | 1,815,365,924 | 8,060 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I am using a fine tuned model that generates user prompts to SQL queries, instead of the default model provided by langchain. The reason for doing this is because langchain does not know about all the data from the database unless you provide context to it but there is a lot of data ... | Issue: using Fine-tuning model with Langchain | https://api.github.com/repos/langchain-ai/langchain/issues/8057/comments | 1 | 2023-07-21T06:51:49Z | 2023-10-27T16:05:48Z | https://github.com/langchain-ai/langchain/issues/8057 | 1,815,254,507 | 8,057 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Getting missing input parameter error. Is there anything i am missing?
````
ValidationError Traceback (most recent call last)
Input In [82], in <cell line: 17>()
1 from langchain import LLMChain, OpenAI, PromptTemplate
2 prompt_template = f"... | Invalid prompt schema; check for mismatched or missing input parameters. {'relevant_context', 'user_query'} (type=value_error)Issue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/8056/comments | 2 | 2023-07-21T06:45:54Z | 2023-10-27T16:05:53Z | https://github.com/langchain-ai/langchain/issues/8056 | 1,815,248,073 | 8,056 |
[
"langchain-ai",
"langchain"
] | ### System Info
### I'm not sure what exactly is causing the issue. Is it langchain, TGI, or streamlit
generate() got multiple keyword arguments for 'stop_sequences' upon running the script along with streamlit
```
TypeError: generate() got multiple values for keyword argument 'stop_sequences'
Traceback:
File "... | generate() got multiple keyword arguments for 'stop_sequences' while generating using hf TGI | https://api.github.com/repos/langchain-ai/langchain/issues/8055/comments | 2 | 2023-07-21T06:36:26Z | 2023-07-21T15:24:11Z | https://github.com/langchain-ai/langchain/issues/8055 | 1,815,238,276 | 8,055 |
[
"langchain-ai",
"langchain"
] | ### Feature request
How does Alibaba Cloud's Tongyi Qianwen Big Model combine with Langchain?
langchain如何与阿里云的通义千问大模型结合起来
### Motivation
Alibaba Cloud's Tongyi Qianwen
### Your contribution
none | Langchain support Alibaba Cloud's Tongyi Qianwen model? | https://api.github.com/repos/langchain-ai/langchain/issues/8054/comments | 16 | 2023-07-21T06:00:26Z | 2023-12-19T00:49:48Z | https://github.com/langchain-ai/langchain/issues/8054 | 1,815,202,873 | 8,054 |
[
"langchain-ai",
"langchain"
] | Hi! I have been using langmith on on local env using docker.
Is there a roadmap for continue supporting that?
is langsmith going to be totally independent non-opensource per se?
Asking this because I can't really use the public langsmith service due to NDA, and I also have some issues that i'm happy to help fixing.... | Issue: Langsmith running using local docker containers, roadmap, local model support? | https://api.github.com/repos/langchain-ai/langchain/issues/8052/comments | 5 | 2023-07-21T05:13:57Z | 2023-12-01T16:08:58Z | https://github.com/langchain-ai/langchain/issues/8052 | 1,815,166,208 | 8,052 |
[
"langchain-ai",
"langchain"
] | ### Discussed in https://github.com/hwchase17/langchain/discussions/8003
<div type='discussions-op-text'>
<sup>Originally posted by **kevinmat** July 20, 2023</sup>
Hi,
I see that function consumes the Exception , Is it possible to override this functionality so that any exception from callbacks returns back th... | CallbackManager _handle_event consumes Exceptions | https://api.github.com/repos/langchain-ai/langchain/issues/8051/comments | 1 | 2023-07-21T05:09:22Z | 2023-10-27T16:05:59Z | https://github.com/langchain-ai/langchain/issues/8051 | 1,815,162,839 | 8,051 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I have defined an OPENAI_FUNCTIONS agent. I have created a tool from a function where I have defined a BaseModel as input parameter
```
class FooInputModel(BaseModel):
id: str
name: str
agent_kwargs = {
"extra_prompt_messages": [MessagesPlaceholder(variable... | Issue: Tool is always called with a string parameter instead of Model despite using OPENAI_FUNCTIONS agent | https://api.github.com/repos/langchain-ai/langchain/issues/8042/comments | 2 | 2023-07-20T23:54:50Z | 2023-07-25T14:25:43Z | https://github.com/langchain-ai/langchain/issues/8042 | 1,814,957,380 | 8,042 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello everyone,
I am trying to make a mcq tool but that tools need input for that particular question everytime what that quiz tool is called. Any approach which i can try
### Suggestion:
_No response_ | can it be possible to take input in custom tool | https://api.github.com/repos/langchain-ai/langchain/issues/8039/comments | 3 | 2023-07-20T23:07:26Z | 2023-10-27T16:06:04Z | https://github.com/langchain-ai/langchain/issues/8039 | 1,814,917,699 | 8,039 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.