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
Fork off from this issue: https://github.com/hwchase17/langchain/issues/5300
The idea is to provide the WeaviateHybridSearchRetriever with the ability to use local embeddings similar to the Weaviate vectorstore. Specifically, for the `WeaviateHybridSearchRetriever.add_documents()` and `Weaviat... | Allow users to pass local embeddings to Weaviate Hybrid Search Retriever | https://api.github.com/repos/langchain-ai/langchain/issues/5539/comments | 3 | 2023-06-01T05:19:27Z | 2023-12-06T17:45:40Z | https://github.com/langchain-ai/langchain/issues/5539 | 1,735,478,342 | 5,539 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain - 0.0.174 / 0.0.178 / 0.0.187
python3
### 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... | OpenAI and Azure OpenAI - calls one after another | https://api.github.com/repos/langchain-ai/langchain/issues/5537/comments | 4 | 2023-06-01T04:20:05Z | 2023-09-18T16:09:34Z | https://github.com/langchain-ai/langchain/issues/5537 | 1,735,414,868 | 5,537 |
[
"hwchase17",
"langchain"
] | ### System Info
System Info (Docker Dev Container):
```
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.deb... | `RetrievalQAWithSourcesChain` not returning sources in `sources` field. | https://api.github.com/repos/langchain-ai/langchain/issues/5536/comments | 4 | 2023-06-01T04:17:08Z | 2024-01-16T08:36:32Z | https://github.com/langchain-ai/langchain/issues/5536 | 1,735,412,964 | 5,536 |
[
"hwchase17",
"langchain"
] | ### Feature request
Support Tigris as a vector search backend
### Motivation
Tigris is a Serverless NoSQL Database and Search Platform and have their [vector search](https://www.tigrisdata.com/docs/concepts/vector-search/python/) product. It will be great option for users to use an integrated database and search pro... | Add Tigris vectorstore for vector search | https://api.github.com/repos/langchain-ai/langchain/issues/5535/comments | 3 | 2023-06-01T03:18:00Z | 2023-06-06T03:39:17Z | https://github.com/langchain-ai/langchain/issues/5535 | 1,735,366,931 | 5,535 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
i follow the chapter “Chat Over Documents with Chat History” to build a bot chat with pdf,
i want to streanming return,
but when i use stuff chain like this
```python
doc_chain = load_qa_chain(OpenAI(temperature=0), chain_type="stuff", prompt=QA_PROMPT)
chain = Conversation... | Issue: how stream results with long context | https://api.github.com/repos/langchain-ai/langchain/issues/5532/comments | 4 | 2023-06-01T00:52:51Z | 2024-02-07T16:30:03Z | https://github.com/langchain-ai/langchain/issues/5532 | 1,735,238,661 | 5,532 |
[
"hwchase17",
"langchain"
] | start_chat() constructs a vertextai _ChatSession and sets class variables with the parameters, but send_message() will not use those parameters if send_message is called w/o parameters. This is because send_message() has default values for the parameters which are set to global variables.
You can fix this by moving *... | Sampling parameters are ignored by vertexai | https://api.github.com/repos/langchain-ai/langchain/issues/5531/comments | 2 | 2023-05-31T22:19:11Z | 2023-06-05T14:06:42Z | https://github.com/langchain-ai/langchain/issues/5531 | 1,735,113,256 | 5,531 |
[
"hwchase17",
"langchain"
] | ### Feature request
Chat models relying on `SystemMessage`, ... instead of simple text, hinder creating longer prompts.
It would have been much simpler to avoid special casing chat models, and instead parse special tokens in the text prompt to separate system, human, ai, ...
### Motivation
Something similar to [t... | Remove Chat Models | https://api.github.com/repos/langchain-ai/langchain/issues/5530/comments | 2 | 2023-05-31T22:08:48Z | 2023-09-13T16:07:48Z | https://github.com/langchain-ai/langchain/issues/5530 | 1,735,101,156 | 5,530 |
[
"hwchase17",
"langchain"
] | Hi,
I am building a chatbot using LLM like fastchat-t5-3b-v1.0 and want to reduce my inference time.
I am loading the entire model on GPU, using device_map parameter, and making use of `langchain.llms.HuggingFacePipeline` agent for querying the LLM model. Also specifying the device=0 ( which is the 1st rank GPU) ... | Query execution with langchain LLM pipeline is happening on CPU, even if model is loaded on GPU | https://api.github.com/repos/langchain-ai/langchain/issues/5522/comments | 2 | 2023-05-31T20:18:21Z | 2023-09-21T16:08:57Z | https://github.com/langchain-ai/langchain/issues/5522 | 1,734,953,214 | 5,522 |
[
"hwchase17",
"langchain"
] | ### System Info
```
$ langchain env
LangChain Environment:
library_version:0.0.184
platform:Linux-5.4.0-146-generic-x86_64-with-glibc2.31
runtime:python
runtime_version:3.11.3
```
### Who can help?
_No response_
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### ... | Tracing V2 doesn't work | https://api.github.com/repos/langchain-ai/langchain/issues/5521/comments | 1 | 2023-05-31T19:04:38Z | 2023-09-10T16:09:29Z | https://github.com/langchain-ai/langchain/issues/5521 | 1,734,829,837 | 5,521 |
[
"hwchase17",
"langchain"
] | ### System Info
Most recent version of Langchain
Python: 3.10.8
MacOS 13.4 - M1
### 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 Templat... | Chroma: Constructor takes wrong embedding function (document vs query) | https://api.github.com/repos/langchain-ai/langchain/issues/5519/comments | 4 | 2023-05-31T18:02:20Z | 2023-10-18T16:07:54Z | https://github.com/langchain-ai/langchain/issues/5519 | 1,734,732,180 | 5,519 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have created a pipeline. And want to use the same pipeline in openapi_agent. When I run the following command:
ibm_agent = planner.create_openapi_agent(ibm_api_spec, requests_wrapper, hf_pipeline)
I get error out of memory error. I'm using flan-t5-xxl llm, which consumes 22GB o... | Flan-t5-xxl doesnot work with openapi_agent | https://api.github.com/repos/langchain-ai/langchain/issues/5513/comments | 5 | 2023-05-31T16:21:02Z | 2023-10-19T16:07:59Z | https://github.com/langchain-ai/langchain/issues/5513 | 1,734,577,939 | 5,513 |
[
"hwchase17",
"langchain"
] | ### Feature request
If input_variables is not passed, try to detect them automatically as those which are surrounded by curly braces:
E.g.
```
prompt_template = PromptTemplate(template="What is the price of {product_name}?") ## Automatically detects the input_variables to be ['product_name']
```
### Motiv... | Automatically detect input_variables from PromptTemplate string | https://api.github.com/repos/langchain-ai/langchain/issues/5511/comments | 2 | 2023-05-31T15:59:04Z | 2023-09-18T16:09:45Z | https://github.com/langchain-ai/langchain/issues/5511 | 1,734,540,520 | 5,511 |
[
"hwchase17",
"langchain"
] | ### Discussed in https://github.com/hwchase17/langchain/discussions/5499
<div type='discussions-op-text'>
<sup>Originally posted by **lucasiscovici** May 31, 2023</sup>
Hello and thank you for this amazing library.
Here we :
- get question
- get new_question with the question_generator
- retrieve docs wit... | ConversationalRetrievalChain new_question only from the question_generator only for retrieval and not for combine_docs_chain | https://api.github.com/repos/langchain-ai/langchain/issues/5508/comments | 0 | 2023-05-31T15:43:29Z | 2023-06-12T13:21:03Z | https://github.com/langchain-ai/langchain/issues/5508 | 1,734,515,334 | 5,508 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hey Team,
I would like to propose a new feature that will enhance the visibility of the LLM's response time. In addition to providing information about token usage and cost, I suggest incorporating the time taken to generate the text. This additional metric will offer valuable insights into the ... | Tracking of time to generate text | https://api.github.com/repos/langchain-ai/langchain/issues/5498/comments | 5 | 2023-05-31T12:33:47Z | 2023-12-16T05:54:01Z | https://github.com/langchain-ai/langchain/issues/5498 | 1,734,126,410 | 5,498 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have a Flask with LangChain setup in docker-compose, and I don't see LLM ChatOpenAI streaming output from CallbackHandlers in console, but everything works when I run it locally without Docker.
My CallbackHandler code (StreamingStdOutCallbackHandler also doesn't work):
```
from ty... | Issue: LLM callback handler not printing in Docker | https://api.github.com/repos/langchain-ai/langchain/issues/5493/comments | 2 | 2023-05-31T10:43:14Z | 2023-11-16T02:12:25Z | https://github.com/langchain-ai/langchain/issues/5493 | 1,733,916,668 | 5,493 |
[
"hwchase17",
"langchain"
] | Can I connect to my RDBMS?
### Suggestion:
_No response_ | Can I connect to my RDBMS? | https://api.github.com/repos/langchain-ai/langchain/issues/5492/comments | 4 | 2023-05-31T10:17:58Z | 2023-09-18T16:09:50Z | https://github.com/langchain-ai/langchain/issues/5492 | 1,733,868,611 | 5,492 |
[
"hwchase17",
"langchain"
] | ---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Input In [6], in <cell line: 1>()
----> 1 import langchain
File ~\anaconda3\lib\site-packages\langchain\__init__.py:6, in <module>
3 from importlib import ... | Error while importing Langchain | https://api.github.com/repos/langchain-ai/langchain/issues/5490/comments | 4 | 2023-05-31T09:18:01Z | 2023-09-18T16:09:56Z | https://github.com/langchain-ai/langchain/issues/5490 | 1,733,741,544 | 5,490 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I cant find any way to add custom metadata with the character splitter, it adds source as metadata but I cant seem to change it or define what kind of metadata I want
### Suggestion:
_No response_ | the text splitter adds metadata by itself | https://api.github.com/repos/langchain-ai/langchain/issues/5489/comments | 3 | 2023-05-31T08:27:59Z | 2023-11-30T16:09:16Z | https://github.com/langchain-ai/langchain/issues/5489 | 1,733,653,438 | 5,489 |
[
"hwchase17",
"langchain"
] | Is there a way to pass parameters to Elasticvectorsearch to disable ssl verification. I tried to add verify_certs=False and ssl_verify=None ; but both didnt work. | Connecting to Elastic vector store throws ssl error | https://api.github.com/repos/langchain-ai/langchain/issues/5488/comments | 5 | 2023-05-31T08:15:41Z | 2023-09-26T16:06:29Z | https://github.com/langchain-ai/langchain/issues/5488 | 1,733,633,884 | 5,488 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain==0.0.186
### Who can help?
@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
- [ ] Output Parsers
- [ ] Document L... | HuggingFacePipeline is not loaded correctly | https://api.github.com/repos/langchain-ai/langchain/issues/5487/comments | 7 | 2023-05-31T08:05:06Z | 2024-02-20T16:09:06Z | https://github.com/langchain-ai/langchain/issues/5487 | 1,733,616,462 | 5,487 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain: 0.0.181
platform: windows
python: 3.11.3
### Who can help?
@eyurtsev
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Pr... | [SSL: CERTIFICATE_VERIFY_FAILED] while load from SitemapLoader | https://api.github.com/repos/langchain-ai/langchain/issues/5483/comments | 0 | 2023-05-31T07:52:33Z | 2023-06-19T01:34:19Z | https://github.com/langchain-ai/langchain/issues/5483 | 1,733,595,290 | 5,483 |
[
"hwchase17",
"langchain"
] | ### Feature request
I want langchain to implement caching for document loaders in a way similar to how it caches LLM calls, like this:
```python
from langchain.cache import InMemoryCache
langchain.document_loader_cache = InMemoryCache()
```
### Motivation
Loading from certain documents with langchain document ... | [Feature Request] Supoprts document loader caching | https://api.github.com/repos/langchain-ai/langchain/issues/5481/comments | 4 | 2023-05-31T04:29:06Z | 2023-11-14T16:08:14Z | https://github.com/langchain-ai/langchain/issues/5481 | 1,733,366,807 | 5,481 |
[
"hwchase17",
"langchain"
] | ### System Info
Lang Chain 0.0.186
Mac OS Ventura
Python 3.10
### 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
- ... | IndexError: list index out of range when use Chroma.from_documents | https://api.github.com/repos/langchain-ai/langchain/issues/5476/comments | 10 | 2023-05-31T02:51:19Z | 2024-07-27T17:27:50Z | https://github.com/langchain-ai/langchain/issues/5476 | 1,733,300,168 | 5,476 |
[
"hwchase17",
"langchain"
] | ### Feature request
Hi,
Currently the from_documents method will add the embeddings and then return the instance of the store. Why don't we have a method to just return the store. This is useful when I already have a loaded vector store and I just need the instance of the store. It will be like the below code witho... | Getting only the instance of the vector store without adding text | https://api.github.com/repos/langchain-ai/langchain/issues/5475/comments | 3 | 2023-05-31T01:56:08Z | 2023-08-30T17:39:07Z | https://github.com/langchain-ai/langchain/issues/5475 | 1,733,256,921 | 5,475 |
[
"hwchase17",
"langchain"
] | ### System Info
llm_chain.llm.save("llm.json") # method not found
bug in .ipynb:
docs/modules/chains/generic/serialization.ipynb
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embe... | llm_chain.llm.save("llm.json") # method not found | https://api.github.com/repos/langchain-ai/langchain/issues/5474/comments | 1 | 2023-05-31T00:43:10Z | 2023-09-10T16:09:41Z | https://github.com/langchain-ai/langchain/issues/5474 | 1,733,206,572 | 5,474 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.186
MacOS Ventura 13.3 - M1
Python 3.10.8
### 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 Templa... | Qdrant Document object is not behaving correct | https://api.github.com/repos/langchain-ai/langchain/issues/5473/comments | 4 | 2023-05-30T23:55:06Z | 2023-06-01T16:00:54Z | https://github.com/langchain-ai/langchain/issues/5473 | 1,733,174,360 | 5,473 |
[
"hwchase17",
"langchain"
] | Does langchain support Oracle database as VectorStores?If yes, how to use the Oracle as VectorStore? | Does langchain support Oracle database as VectorStores?If yes, how to use the Oracle as VectorStore? | https://api.github.com/repos/langchain-ai/langchain/issues/5472/comments | 4 | 2023-05-30T22:45:24Z | 2023-09-06T01:55:37Z | https://github.com/langchain-ai/langchain/issues/5472 | 1,733,121,843 | 5,472 |
[
"hwchase17",
"langchain"
] | ### Feature request
I would like to be able to provide credentials to the bigquery.client object
### Motivation
I cannot access protected datasets without use of a service account or other credentials
### Your contribution
I will submit a PR. | Google BigQuery Loader doesn't take credentials | https://api.github.com/repos/langchain-ai/langchain/issues/5465/comments | 0 | 2023-05-30T21:18:13Z | 2023-05-30T23:25:25Z | https://github.com/langchain-ai/langchain/issues/5465 | 1,733,027,963 | 5,465 |
[
"hwchase17",
"langchain"
] | ### System Info
```
$ pip show langchain
Name: langchain
Version: 0.0.186
Summary: Building applications with LLMs through composability
Home-page: https://www.github.com/hwchase17/langchain
Author:
Author-email:
License: MIT
Location: /home/mteoh/temp_venv/venv/lib/python3.10/site-packages
Requires: PyYAML,... | Structured tools cannot properly infer function schema | https://api.github.com/repos/langchain-ai/langchain/issues/5463/comments | 2 | 2023-05-30T20:51:13Z | 2023-09-10T16:09:44Z | https://github.com/langchain-ai/langchain/issues/5463 | 1,732,993,542 | 5,463 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I am using conversationalRetrievalChain. I cannot seem to change the system template. Any suggestion how to do this?
`retriever = vectorstore.as_retriever(search_kwargs={"k": source_amount}, qa_template=QA_PROMPT, question_generator_template=CONDENSE_PROMPT)`
`qa = Conversation... | conversationalRetrievalChain - how to set the template | https://api.github.com/repos/langchain-ai/langchain/issues/5462/comments | 8 | 2023-05-30T20:43:46Z | 2023-10-25T13:25:13Z | https://github.com/langchain-ai/langchain/issues/5462 | 1,732,984,618 | 5,462 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.184
Python 3.9.2
### 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
- [ ] Output Parsers... | similarity_score_threshold NotImplementedError | https://api.github.com/repos/langchain-ai/langchain/issues/5458/comments | 4 | 2023-05-30T17:36:59Z | 2023-10-26T16:07:38Z | https://github.com/langchain-ai/langchain/issues/5458 | 1,732,692,820 | 5,458 |
[
"hwchase17",
"langchain"
] | ### System Info
MacOS Ventura 13.3.1 (a)
python = "^3.9"
langchain = "0.0.185"
### Who can help?
@agola11 @vowelparrot
### Related Components
- Agents / Agent Executors
- Tools / Toolkits
- Callbacks/Tracing
### Reproduction
I want to use the CallbackManager to save some info within a tool. So,... | Tools: Inconsistent callbacks/run_manager parameter | https://api.github.com/repos/langchain-ai/langchain/issues/5456/comments | 4 | 2023-05-30T17:09:02Z | 2023-06-23T08:48:28Z | https://github.com/langchain-ai/langchain/issues/5456 | 1,732,655,629 | 5,456 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
Unable to recreate return source documents from prompt in the current [Vectorstore Agent Documentation](https://python.langchain.com/en/latest/modules/agents/toolkits/examples/vectorstore.html). I tried adding `return_source_documents=True` to my `create_vectorstore_agent` (as d... | DOC: Return Source Documents to Vectorstore Agent | https://api.github.com/repos/langchain-ai/langchain/issues/5455/comments | 1 | 2023-05-30T17:07:58Z | 2023-09-15T16:09:32Z | https://github.com/langchain-ai/langchain/issues/5455 | 1,732,654,338 | 5,455 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
As we know, we can build a agent with tool by following way:
```python
llm = OpenAI(temperature=0)
tools = load_tools(["serpapi", "llm-math"], llm=llm)
agent = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)
```
We can also use `F... | Cannot build a file agent | https://api.github.com/repos/langchain-ai/langchain/issues/5454/comments | 5 | 2023-05-30T17:06:27Z | 2023-12-09T16:06:21Z | https://github.com/langchain-ai/langchain/issues/5454 | 1,732,652,179 | 5,454 |
[
"hwchase17",
"langchain"
] | https://github.com/hwchase17/langchain/blob/64b4165c8d9b8374295d4629ef57d4d58e9af7c8/langchain/chains/conversational_retrieval/base.py#L34
It seems the `_get_chat_history` is building the chat_history string but if the history is already a string then it should.
The check might even be in the BaseConversationalRetr... | Why raise an error in conversation retrieval chain if the chat history is a string? | https://api.github.com/repos/langchain-ai/langchain/issues/5452/comments | 3 | 2023-05-30T16:41:33Z | 2023-10-12T16:09:23Z | https://github.com/langchain-ai/langchain/issues/5452 | 1,732,618,952 | 5,452 |
[
"hwchase17",
"langchain"
] | ### Feature request
Example URL of a Text Fragment to the README of this project that highlights the About:
https://github.com/hwchase17/langchain#:~:text=About-,%E2%9A%A1,%E2%9A%A1,-Resources
A SO: https://stackoverflow.com/questions/62989058/how-does-text-in-url-works-to-highlight-text
Example of splitte... | Text Fragments from text splitters for deep linking with browsers (or compatible systems) to specific text chunks in source documents | https://api.github.com/repos/langchain-ai/langchain/issues/5451/comments | 1 | 2023-05-30T16:13:04Z | 2023-09-10T16:09:55Z | https://github.com/langchain-ai/langchain/issues/5451 | 1,732,574,359 | 5,451 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
We can get the intermediate messages printed when the verbose is set to True in the chains. But is there a way we can get the intermediate messages from the chain as a return value?
### Suggestion:
Take the code below as example.
```
from langchain import OpenAI, ConversationCh... | Issue: Get the verbose messages from chain | https://api.github.com/repos/langchain-ai/langchain/issues/5448/comments | 4 | 2023-05-30T15:46:42Z | 2023-12-11T16:07:28Z | https://github.com/langchain-ai/langchain/issues/5448 | 1,732,533,742 | 5,448 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
In https://docs.langchain.com/docs/components/agents/agent-executor the statement:
The agent executor is responsible for calling the agent, getting back **and** action and action input, calling the tool that the action references with the corresponding input, getting the output... | DOC: Small typo in the docs, "and" should be removed, and maybe a period in the end would be ok. | https://api.github.com/repos/langchain-ai/langchain/issues/5447/comments | 4 | 2023-05-30T15:43:50Z | 2023-10-31T16:06:50Z | https://github.com/langchain-ai/langchain/issues/5447 | 1,732,528,994 | 5,447 |
[
"hwchase17",
"langchain"
] | ### Feature request
An interesting takeway for Meta TOT - Meta Tree of Thoughts. aims to enhance the Tree of Thoughts (TOT) language algorithm by using a secondary agent to critique and improve the primary agent's prompts. This innovative approach allows the primary agent to generate more accurate and relevant respon... | Support for Meta ToT | https://api.github.com/repos/langchain-ai/langchain/issues/5444/comments | 1 | 2023-05-30T15:15:18Z | 2023-09-10T16:10:00Z | https://github.com/langchain-ai/langchain/issues/5444 | 1,732,484,112 | 5,444 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
ElasticVectorSearch currently assigns a uuid as identifier while indexing documents.
This is not idempotent: if we run the code twice duplicates are created.
Also it would be beneficial to be able to insert new docs, update existing ones and ignore unchanged.
### Suggestion:
I propos... | Allow ElasticVectorSearch#add_texts to explicitely set the _ids | https://api.github.com/repos/langchain-ai/langchain/issues/5437/comments | 2 | 2023-05-30T13:40:49Z | 2023-09-10T16:10:05Z | https://github.com/langchain-ai/langchain/issues/5437 | 1,732,303,481 | 5,437 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
I am trying to use LLM from hugging face as shown in the documentation below, it is working only when write the same prompt in the documentation but when I am changing it I don't have responses.
https://github.com/hwchase17/langchain/blob/master/docs/modules/models/llms/integr... | LLM from hugging face not working | https://api.github.com/repos/langchain-ai/langchain/issues/5436/comments | 1 | 2023-05-30T13:05:46Z | 2023-09-10T16:10:18Z | https://github.com/langchain-ai/langchain/issues/5436 | 1,732,233,152 | 5,436 |
[
"hwchase17",
"langchain"
] | ### System Info
LangChain version : 0.0.177
Python version : 3.10.8
Platform : WSL 2
### Who can help?
@vowelparrot
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / ... | DuckDuckGo search always returns "No good DuckDuckGo Search Result was found" | https://api.github.com/repos/langchain-ai/langchain/issues/5435/comments | 4 | 2023-05-30T12:40:28Z | 2024-03-31T22:10:37Z | https://github.com/langchain-ai/langchain/issues/5435 | 1,732,178,510 | 5,435 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I cant seem to add memory to llmChain which takes in 3 inputs as the input_key param only takes in one input so the program looses context
template = """"
As a helpful chatbot agent of the company, provide a answer to the customer query.
Strictly limit to th... | Memory with multi input | https://api.github.com/repos/langchain-ai/langchain/issues/5434/comments | 0 | 2023-05-30T11:13:02Z | 2023-05-30T11:17:09Z | https://github.com/langchain-ai/langchain/issues/5434 | 1,732,040,122 | 5,434 |
[
"hwchase17",
"langchain"
] | ### System Info
Hi :)
I tested the new callback stream handler `FinalStreamingStdOutCallbackHandler` and noticed an issue with it.
I copied the code from the documentation and made just one change - use `ChatOpenAI` instead of `OpenAI`
### Who can help?
@hwchase17
### Information
- [X] The official example no... | FinalStreamingStdOutCallbackHandler not working with ChatOpenAI LLM | https://api.github.com/repos/langchain-ai/langchain/issues/5433/comments | 6 | 2023-05-30T10:51:06Z | 2023-07-31T22:23:44Z | https://github.com/langchain-ai/langchain/issues/5433 | 1,732,005,171 | 5,433 |
[
"hwchase17",
"langchain"
] | ### System Info
Ubuntu 20.04.6
Python 3.8.5
Langchain 0.0.184
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Promp... | `RetrievalQA` and `HuggingFacePipeline` lead to `TypeError: cannot pickle '_thread.lock' object` | https://api.github.com/repos/langchain-ai/langchain/issues/5431/comments | 8 | 2023-05-30T10:00:43Z | 2024-02-12T18:50:10Z | https://github.com/langchain-ai/langchain/issues/5431 | 1,731,930,284 | 5,431 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version 0.0.184, python 3.9.13
Function `parse_json_markdown` in langchain/output_parsers/json.py fails with input text string:
\`\`\`json
{
"action": "Final Answer",
"action_input": "Here's a Python script to remove backticks at the beginning and end of a string:\n\n\`\`\`python... | parse_json_markdown is unable to parse json strings with nested triple backticks | https://api.github.com/repos/langchain-ai/langchain/issues/5428/comments | 8 | 2023-05-30T08:37:30Z | 2024-08-07T09:27:58Z | https://github.com/langchain-ai/langchain/issues/5428 | 1,731,789,217 | 5,428 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain: 0.0.184
Python: 3.10.9
Platform: Windows 10 with Jupyter lab
### Who can help?
@vowelparrot
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates... | SQLDatabaseToolkit doesn't work well with Postgresql, it will truncate the last double quotation marks in the SQL | https://api.github.com/repos/langchain-ai/langchain/issues/5423/comments | 4 | 2023-05-30T04:02:36Z | 2023-06-01T01:25:23Z | https://github.com/langchain-ai/langchain/issues/5423 | 1,731,469,889 | 5,423 |
[
"hwchase17",
"langchain"
] | ### System Info
Dear Developer:
I have encounter an error that I am not able run OpenAI and AzureChatOpenAI together.Here is how to reproduce the error
langchain Version: 0.0.184
pyython: 3.9.12
```python
from langchain.llms import OpenAI, AzureOpenAI
from langchain.chat_models import ChatOpenAI, AzureChat... | Can not Use OpenAI and AzureChatOpenAI together | https://api.github.com/repos/langchain-ai/langchain/issues/5422/comments | 3 | 2023-05-30T03:52:01Z | 2023-09-18T16:09:59Z | https://github.com/langchain-ai/langchain/issues/5422 | 1,731,462,914 | 5,422 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
LangChain framework mostly aims to build applications which interact with LLM. Many online applications themselves are implements by other languages such as Java,C++, but LangChain only supports Python and JS by now. How about implement other language version of LangChain?
### Suggestio... | Implement other Language version of LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/5421/comments | 9 | 2023-05-30T03:23:46Z | 2024-03-31T20:44:24Z | https://github.com/langchain-ai/langchain/issues/5421 | 1,731,445,889 | 5,421 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I try, but don't work.
my code:
```
let { HNSWLib } = await import('langchain/vectorstores/hnswlib')
let { OpenAIEmbeddings } = await import('langchain/embeddings/openai')
let vectors1 = await HNSWLib.load(
"D:/workcode/nodejs/chatgpt_server/vectors/3220... | Issue: How to merge two vector in HNSWLib | https://api.github.com/repos/langchain-ai/langchain/issues/5420/comments | 0 | 2023-05-30T02:44:14Z | 2023-05-30T08:52:51Z | https://github.com/langchain-ai/langchain/issues/5420 | 1,731,421,091 | 5,420 |
[
"hwchase17",
"langchain"
] | ### Feature request
Azure Cosmos DB for MongoDB vCore enables users to efficiently store, index, and query high dimensional vector data stored directly in Azure Cosmos DB for MongoDB vCore. It contains similarity measures such as COS (cosine distance), L2 (Euclidean distance) or IP (inner product) which measures the d... | Add AzureCosmosDBVectorSearch VectorStore | https://api.github.com/repos/langchain-ai/langchain/issues/5419/comments | 1 | 2023-05-29T23:58:25Z | 2023-09-18T16:10:05Z | https://github.com/langchain-ai/langchain/issues/5419 | 1,731,329,471 | 5,419 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
My code:
```
from langchain.embeddings.openai import OpenAIEmbeddings
embeddings = OpenAIEmbeddings(
openai_api_base='https://api.openai.com/v1',
openai_api_type='open_ai',
model='text-embedding-ada-002',
openai_api_version='2023-05-15',
... | Issue: Unsupported OpenAI-Version header provided: 2023-05-15. (HINT: you can provide any of the following support ed versions: 2020-10-01, 2020-11-07.' | https://api.github.com/repos/langchain-ai/langchain/issues/5418/comments | 1 | 2023-05-29T23:56:40Z | 2023-09-10T16:10:21Z | https://github.com/langchain-ai/langchain/issues/5418 | 1,731,327,871 | 5,418 |
[
"hwchase17",
"langchain"
] | ### Feature request
It will be very nice to have similarity score from docsearch.
Now I have list of documents even if model says "I'm sorry, but I don't have enough information to answer your question".
```
from langchain.chains import RetrievalQA
qa = RetrievalQA.from_chain_type(
llm=llm,
chain_typ... | Is it possible to return similarity score from RetrievalQA/docsearch | https://api.github.com/repos/langchain-ai/langchain/issues/5416/comments | 14 | 2023-05-29T21:02:00Z | 2024-03-06T06:46:21Z | https://github.com/langchain-ai/langchain/issues/5416 | 1,731,233,003 | 5,416 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain 0.0.182, python 3.11.3, mac os
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [x] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | FLARE | Azure open Ai doesn't work | https://api.github.com/repos/langchain-ai/langchain/issues/5414/comments | 11 | 2023-05-29T17:50:06Z | 2023-10-10T12:40:52Z | https://github.com/langchain-ai/langchain/issues/5414 | 1,731,079,465 | 5,414 |
[
"hwchase17",
"langchain"
] | ### Feature request
It would be useful to introduce an EarlyStoppingException for capture by the AgentExecutor.
### Motivation
It would be nice to throw a `EarlyStoppingException` in a tool used by an Agent when certain pre-conditions are met (e.g. a validation of something has failed). The `EarlyStoppingException`... | Early Stopping Exception | https://api.github.com/repos/langchain-ai/langchain/issues/5412/comments | 1 | 2023-05-29T17:02:26Z | 2023-09-10T16:10:25Z | https://github.com/langchain-ai/langchain/issues/5412 | 1,731,041,874 | 5,412 |
[
"hwchase17",
"langchain"
] | ### System Info


![Screen Shot 2023-05-29 at 9 33 00... | MultiRetrievalQAChain requires ChatModel... but should it? | https://api.github.com/repos/langchain-ai/langchain/issues/5411/comments | 7 | 2023-05-29T16:47:37Z | 2023-09-20T16:09:16Z | https://github.com/langchain-ai/langchain/issues/5411 | 1,731,026,192 | 5,411 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
I have sucessfully set up streaming in HTTP call with FastApi and OpenAI + ConversationalRetrievalChain
If I don't use streaming and just return the whole response, like I was doing previously, I also get metadata displayed with the answer.
If I enable streaming, i get displayed on... | Issue: Display metadata after streaming a response with FastAPI | https://api.github.com/repos/langchain-ai/langchain/issues/5409/comments | 3 | 2023-05-29T15:31:49Z | 2023-09-18T16:10:20Z | https://github.com/langchain-ai/langchain/issues/5409 | 1,730,952,051 | 5,409 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add the ability to pass the original prompt through to the ExecutorAgent so that the original explicit context is not lost during a PlanAndExecute run.
### Motivation
PlanAndExecute agents can create a plan of steps dependent on context given in the original prompt. However, this context is lost ... | Add the ability to pass the prompt through to Executor Agents for enrichment during PlanAndExecute | https://api.github.com/repos/langchain-ai/langchain/issues/5400/comments | 0 | 2023-05-29T13:19:30Z | 2023-06-03T21:59:11Z | https://github.com/langchain-ai/langchain/issues/5400 | 1,730,753,427 | 5,400 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.183 , Platform Anaconda, Python version 3.10.9

### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
##... | GraphCypherQAChain Authentication error | https://api.github.com/repos/langchain-ai/langchain/issues/5399/comments | 2 | 2023-05-29T11:52:53Z | 2023-09-12T16:12:01Z | https://github.com/langchain-ai/langchain/issues/5399 | 1,730,626,909 | 5,399 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
when use the BooleanOutputParser in the chain_filter.py, the LLMs output 'yes|no',the function 'parse' will throw ValueError。
### Suggestion:
I fix it,as follows:
def parse(self, text: str) -> bool:
"""Parse the output of an LLM call to a boolean.
Args:
... | Issue: value error in BooleanOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/5396/comments | 1 | 2023-05-29T10:56:23Z | 2023-09-10T16:10:36Z | https://github.com/langchain-ai/langchain/issues/5396 | 1,730,545,468 | 5,396 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.183
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ] Document L... | Parser output may not always produce a string (based on what GPT returns), any valid json construct is possible | https://api.github.com/repos/langchain-ai/langchain/issues/5393/comments | 1 | 2023-05-29T08:50:13Z | 2023-09-10T16:10:41Z | https://github.com/langchain-ai/langchain/issues/5393 | 1,730,352,093 | 5,393 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain v0.0.183
### Who can help?
@hwchase17
@agola11
### 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 Parsers
- [ ... | Incorrect prompt formatting when initializing ReActDocstoreAgent with a chat model | https://api.github.com/repos/langchain-ai/langchain/issues/5390/comments | 2 | 2023-05-29T07:13:52Z | 2023-09-10T16:10:46Z | https://github.com/langchain-ai/langchain/issues/5390 | 1,730,216,162 | 5,390 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
Issues #1026 and #5294 raise legitimate concerns with the security of executing LLM-generated code via the `exec()` function. Out of that discussion came a link to [this blog](https://til.simonwillison.net/webassembly/python-in-a-wasm-sandbox) that demonstrated a way to use Wasm to exec... | RFC: Use wasm-exec package to sandbox code execution by the Python REPL tool | https://api.github.com/repos/langchain-ai/langchain/issues/5388/comments | 3 | 2023-05-29T05:39:42Z | 2023-09-18T16:10:26Z | https://github.com/langchain-ai/langchain/issues/5388 | 1,730,105,141 | 5,388 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain version: NA
Python 3.10.9
WSL2
### 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
- [ ] Outp... | Failure when running pip install langchain[all] | https://api.github.com/repos/langchain-ai/langchain/issues/5387/comments | 14 | 2023-05-29T05:23:41Z | 2024-03-20T11:25:41Z | https://github.com/langchain-ai/langchain/issues/5387 | 1,730,087,228 | 5,387 |
[
"hwchase17",
"langchain"
] | ### System Info
File "d:\langchain\pdfqa-app.py", line 46, in _upload_data
Pinecone.from_texts(self.doc_chunk,embeddings,batch_size=16,index_name=self.index_name)
File "E:\anaconda\envs\langchain\lib\site-packages\langchain\vectorstores\pinecone.py", line 232, in from_texts
embeds = embedding.embed_docume... | Running into this error while creating embeddings out of pdf file | https://api.github.com/repos/langchain-ai/langchain/issues/5384/comments | 2 | 2023-05-29T01:10:32Z | 2024-02-15T07:44:39Z | https://github.com/langchain-ai/langchain/issues/5384 | 1,729,806,672 | 5,384 |
[
"hwchase17",
"langchain"
] | ### System Info
BaseConversationalRetrievalChain._call() and ._acall() run into errors eventually in LLMChain.prep_prompts() on referencing input_list[0]. This will trigger an index error with an empty input_list, which happens when there are no Documents retrieved during _call() by BaseConversationalRetrievalChain._... | BaseConversationalRetrievalChain error on 0 docs found | https://api.github.com/repos/langchain-ai/langchain/issues/5378/comments | 1 | 2023-05-28T23:03:16Z | 2023-09-10T16:10:51Z | https://github.com/langchain-ai/langchain/issues/5378 | 1,729,730,030 | 5,378 |
[
"hwchase17",
"langchain"
] | Windows 11, Anaconda, python 3.9.16 LanchChain 0.0.183
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 inputs though, so I cannot stick with the vanilla ZeroShotAgent. forgive my poor understanding of Python but I have tri... | error thrown when trying to implement BabyAGI with tools with multiple inputs (requiring Structured Tool Chat Agent) | https://api.github.com/repos/langchain-ai/langchain/issues/5375/comments | 1 | 2023-05-28T20:52:13Z | 2023-09-10T16:10:56Z | https://github.com/langchain-ai/langchain/issues/5375 | 1,729,668,382 | 5,375 |
[
"hwchase17",
"langchain"
] | ### Feature request
Creation of a chain or wrapper that uses two LLMs with different models to force correct formatting:
- do the "difficult" work with a model like GPT-4: output format is free text.
- have a second LLM (davinci-003 or a specialized model for this purpose) that is good at following formatting instru... | Formatter chain | https://api.github.com/repos/langchain-ai/langchain/issues/5374/comments | 4 | 2023-05-28T19:35:23Z | 2023-11-05T16:07:09Z | https://github.com/langchain-ai/langchain/issues/5374 | 1,729,634,384 | 5,374 |
[
"hwchase17",
"langchain"
] | I cannot figure out why this is happening: File "c:\Users\Yaseen\Documents\AVA\main.py", line 2, in <module>
import langchain
File "C:\Users\Yaseen\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\__init__.py", line 6, in <module>
from langchain.agents import MRKLChain, ReActChain, Sel... | ImportError: DLL load failed while importing interpreter: The specified module could not be found. | https://api.github.com/repos/langchain-ai/langchain/issues/5366/comments | 8 | 2023-05-28T16:24:50Z | 2024-01-30T00:43:34Z | https://github.com/langchain-ai/langchain/issues/5366 | 1,729,552,762 | 5,366 |
[
"hwchase17",
"langchain"
] | # This code:
`from langchain.experimental import AutoGPT
from langchain import HuggingFaceHub
repo_id = "google/flan-t5-xl" # See https://huggingface.co/models?pipeline_tag=text-generation&sort=downloads for some other options
agent = AutoGPT.from_llm_and_tools(
ai_name="Tom",
ai_role="Assistant"... | AssertionError when using AutoGPT with Huggingface | https://api.github.com/repos/langchain-ai/langchain/issues/5365/comments | 4 | 2023-05-28T16:16:57Z | 2023-09-10T03:09:29Z | https://github.com/langchain-ai/langchain/issues/5365 | 1,729,549,900 | 5,365 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
The example in https://python.langchain.com/en/latest/reference/modules/embeddings.html
```
from langchain.embeddings import HuggingFaceEmbeddings
model_name = "sentence-transformers/all-mpnet-base-v2"
model_kwargs = {'device': 'cpu'}
hf = HuggingFaceEmbeddings(model_name=... | DOC: the example on setting model_kwrgs in HuggingFaceEmbeddings does not work | https://api.github.com/repos/langchain-ai/langchain/issues/5363/comments | 5 | 2023-05-28T09:35:29Z | 2023-09-18T16:10:30Z | https://github.com/langchain-ai/langchain/issues/5363 | 1,729,341,841 | 5,363 |
[
"hwchase17",
"langchain"
] | ### System Info
Name: langchain, Version: 0.0.180
Name: openai, Version: 0.27.7
macOS Mojave 10.14.6
### Who can help?
@vowelparrot
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
... | Validation Error importing OpenAPI planner when OpenAI credentials not in environment | https://api.github.com/repos/langchain-ai/langchain/issues/5361/comments | 1 | 2023-05-28T08:18:12Z | 2023-05-29T13:22:37Z | https://github.com/langchain-ai/langchain/issues/5361 | 1,729,290,674 | 5,361 |
[
"hwchase17",
"langchain"
] | ### System Info
Pycharm in macOS
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document ... | change in the template string is causing the SSL connection or the server response to hang | https://api.github.com/repos/langchain-ai/langchain/issues/5360/comments | 1 | 2023-05-28T02:31:02Z | 2023-09-10T16:11:01Z | https://github.com/langchain-ai/langchain/issues/5360 | 1,729,102,111 | 5,360 |
[
"hwchase17",
"langchain"
] | ### Issue with current documentation:
When running multi_modal_output_agent.ipynb: https://python.langchain.com/en/latest/use_cases/agents/multi_modal_output_agent.html, I get ConfigError: field "steamship" not yet prepared so type is still a ForwardRef, you might need to call SteamshipImageGenerationTool.update_for... | DOC: SteamshipImageGenerationTool returns Config Error in multi_modal_output_agent.ipynb | https://api.github.com/repos/langchain-ai/langchain/issues/5358/comments | 7 | 2023-05-27T22:42:18Z | 2024-02-15T05:48:15Z | https://github.com/langchain-ai/langchain/issues/5358 | 1,728,991,454 | 5,358 |
[
"hwchase17",
"langchain"
] | ### Chat agent reliability fix: put format instructions and other important information in a human message
There have been a few raised issues specifically around agent reliability when using chat models. @emilsedgh brought up in the JS Discord that OpenAI's 3.5 turbo model is documented as "not pay[ing] strong att... | Issue: Chat agents should put format instructions and other important information in a human message | https://api.github.com/repos/langchain-ai/langchain/issues/5353/comments | 0 | 2023-05-27T20:44:27Z | 2023-05-27T21:21:10Z | https://github.com/langchain-ai/langchain/issues/5353 | 1,728,932,672 | 5,353 |
[
"hwchase17",
"langchain"
] | ### Feature request
[Improving Factuality and Reasoning in Language
Models through Multiagent Debate](https://arxiv.org/pdf/2305.14325.pdf) - looks very promising
### Motivation
This method is orthogonal to other methods like CoT. It looks like, this method is beneficial almost in any case when we need the highest ... | implement `Multiagent Debate` | https://api.github.com/repos/langchain-ai/langchain/issues/5348/comments | 5 | 2023-05-27T19:13:41Z | 2023-12-11T17:05:44Z | https://github.com/langchain-ai/langchain/issues/5348 | 1,728,907,870 | 5,348 |
[
"hwchase17",
"langchain"
] | ### System Info
Running latest versions of langchain, openai, openlm, python 3.10, mac M1, trying this example I saw on Twitter
https://python.langchain.com/en/latest/modules/models/llms/integrations/openlm.html?highlight=openlm
```
from langchain.llms import OpenLM
from langchain.llms import OpenAI
from lang... | Using OpenLM example giving error: "ValueError: OPENAI_API_KEY is not set or passed as an argument" | https://api.github.com/repos/langchain-ai/langchain/issues/5347/comments | 2 | 2023-05-27T18:13:32Z | 2023-09-12T16:12:17Z | https://github.com/langchain-ai/langchain/issues/5347 | 1,728,877,787 | 5,347 |
[
"hwchase17",
"langchain"
] | ### Feature request
Extend `langchain/embeddings/elasticsearch.py` to support kNN indexing and searching.
The high-level objectives will be:
1. Allow for the [creation of an index with the correct mapping](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#index-vectors-knn-search) ... | Extend elastic_vector_search.py to allow for kNN indexing/searching | https://api.github.com/repos/langchain-ai/langchain/issues/5346/comments | 4 | 2023-05-27T17:12:57Z | 2023-06-02T19:49:19Z | https://github.com/langchain-ai/langchain/issues/5346 | 1,728,842,882 | 5,346 |
[
"hwchase17",
"langchain"
] | ---------------------------------------------------------------------------
InvalidRequestError Traceback (most recent call last)
[<ipython-input-33-f877209e86e7>](https://localhost:8080/#) in <cell line: 1>()
----> 1 flare.run(query)
20 frames
[/usr/local/lib/python3.10/dist-packages/opena... | FLARE | Azure open Ai doesn't work | https://api.github.com/repos/langchain-ai/langchain/issues/5345/comments | 3 | 2023-05-27T16:08:32Z | 2023-09-15T16:10:19Z | https://github.com/langchain-ai/langchain/issues/5345 | 1,728,810,122 | 5,345 |
[
"hwchase17",
"langchain"
] | ### System Info
I operate according to the official documentation (https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/url.html), but I can't get the information through loader.load(), but the output is still [], the language I use is Python, and the version of langchain is 0.0.181, I trie... | UnstructuredURLLoader can't load data from url | https://api.github.com/repos/langchain-ai/langchain/issues/5342/comments | 24 | 2023-05-27T13:55:09Z | 2024-04-06T08:47:27Z | https://github.com/langchain-ai/langchain/issues/5342 | 1,728,738,044 | 5,342 |
[
"hwchase17",
"langchain"
] | ### Feature request
I've been playing around with OpenAI GPT-4 and ran into situation when response generation might take quite some time - say 5 minutes.
I switched over to streaming, but often I can immediately see the response is not what want, and therefore I'd like to cancel request.
Now here is the part t... | Implement a way to abort / cancel request | https://api.github.com/repos/langchain-ai/langchain/issues/5340/comments | 23 | 2023-05-27T12:07:10Z | 2024-08-01T16:05:23Z | https://github.com/langchain-ai/langchain/issues/5340 | 1,728,681,110 | 5,340 |
[
"hwchase17",
"langchain"
] | ### Feature request
MongoDB Atlas is a fully managed DBaaS, powered by the MongoDB database. It also enables Lucene (collocated with the mongod process) for full-text search - this is know as Atlas Search. The PR has to allow Langchain users from using the functionality related to the MongoDB Atlas Vector Search fea... | Add MongoDBAtlasVectorSearch vectorstore | https://api.github.com/repos/langchain-ai/langchain/issues/5337/comments | 0 | 2023-05-27T11:41:39Z | 2023-05-30T14:59:03Z | https://github.com/langchain-ai/langchain/issues/5337 | 1,728,669,494 | 5,337 |
[
"hwchase17",
"langchain"
] | ### System Info
MacOS
Langchain Version 0.0.181
Python Version 3.11.3
### Who can help?
@eyurtsev I wasn't sure who to reach out to. The following is the signature for adding embeddings to FAISS:
```python
FAISS.add_embeddings(
self,
text_embeddings: 'Iterable[Tuple[str, List[float]]]',
m... | FAISS.add_embeddings is typed to take iterables but does not. | https://api.github.com/repos/langchain-ai/langchain/issues/5336/comments | 3 | 2023-05-27T11:29:03Z | 2023-12-07T16:08:35Z | https://github.com/langchain-ai/langchain/issues/5336 | 1,728,661,570 | 5,336 |
[
"hwchase17",
"langchain"
] | ### System Info
* Langchain: 0.0.181
* OS: Ubuntu Linux 20.04
* Kernel: `Linux iZt4n78zs78m7gw0tztt8lZ 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux`
* Ubuntu version:
```plain
LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID... | `Agents with Chat Models` Example Code Abnormal When Using `google-serper` Tool | https://api.github.com/repos/langchain-ai/langchain/issues/5335/comments | 3 | 2023-05-27T09:47:29Z | 2023-09-15T16:10:24Z | https://github.com/langchain-ai/langchain/issues/5335 | 1,728,609,263 | 5,335 |
[
"hwchase17",
"langchain"
] | ### System Info
Langchain Version: 0.0.176
Ubuntu x86 23.04
Memory 24gb
AMD EPYC
### 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 / Pr... | Serp APi and google search API won't work with LLama models like vicuna | https://api.github.com/repos/langchain-ai/langchain/issues/5329/comments | 2 | 2023-05-27T04:23:16Z | 2023-06-30T07:51:03Z | https://github.com/langchain-ai/langchain/issues/5329 | 1,728,448,457 | 5,329 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
What are the key differences between these methods of trying to query/ask a database, then return the answer along with its relevant sources?
My main objective is to have a Chatbot that has knowledge from a knowledge base, and can still maintain conversation history. Their answer mu... | Difference among various ways to query database and return source information? (Question Answering with Sources, Retrieval Question Answering with Sources, index.query_with_sources, etc.) | https://api.github.com/repos/langchain-ai/langchain/issues/5328/comments | 4 | 2023-05-27T03:28:23Z | 2023-09-18T16:10:35Z | https://github.com/langchain-ai/langchain/issues/5328 | 1,728,430,768 | 5,328 |
[
"hwchase17",
"langchain"
] | ### Issue you'd like to raise.
LC Release announcements seem to be missing from Discord's Announcements channel since 0.0.166. Looking more closely, these seem to be manual, added by hwchase17.
On Twitter, the most recent release announcement from the LangChainAI account is 0.0.170, viz:
https://twitter.com/sear... | Issue: Fix or automate sync of releases to Discord Announcements channel, Twitter, etc. | https://api.github.com/repos/langchain-ai/langchain/issues/5324/comments | 2 | 2023-05-27T01:24:20Z | 2023-09-10T16:11:21Z | https://github.com/langchain-ai/langchain/issues/5324 | 1,728,392,677 | 5,324 |
[
"hwchase17",
"langchain"
] | ### System Info
OS = MACOS
langchain=0.0.179 (also tried 0.0.174 and 0.0.178)
### Who can help?
@hwchase17 @agola11
The full code below is single file. imports and other information not added to keep it crisp.
The following works with no issues:
```
llm = AzureOpenAI(openai_api_base=openai_api_base , mode... | Issues with Azure OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/5322/comments | 2 | 2023-05-26T23:47:15Z | 2023-05-31T23:40:55Z | https://github.com/langchain-ai/langchain/issues/5322 | 1,728,349,391 | 5,322 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain='0.0.161'
python='3.9.13'
IPython= '7.31.1'
ipykernel='6.15.2'
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates... | MultiRetrievalQAChain | https://api.github.com/repos/langchain-ai/langchain/issues/5318/comments | 1 | 2023-05-26T22:32:19Z | 2023-09-10T16:11:27Z | https://github.com/langchain-ai/langchain/issues/5318 | 1,728,309,373 | 5,318 |
[
"hwchase17",
"langchain"
] | ### System Info
langchain 0.0.181
Python 3.10
OS: Ubuntu
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output... | TypeError: a coroutine was expected, got {'question': query, 'chat_history': {...}} | https://api.github.com/repos/langchain-ai/langchain/issues/5317/comments | 3 | 2023-05-26T21:09:00Z | 2023-09-25T10:16:10Z | https://github.com/langchain-ai/langchain/issues/5317 | 1,728,248,298 | 5,317 |
[
"hwchase17",
"langchain"
] | ### System Info
google-cloud-aiplatform==1.25.0
langchain==0.0.181
python 3.10
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt ... | VertexAIEmbeddings error when passing a list with of length greater than 5. | https://api.github.com/repos/langchain-ai/langchain/issues/5316/comments | 2 | 2023-05-26T20:31:56Z | 2023-05-29T13:57:42Z | https://github.com/langchain-ai/langchain/issues/5316 | 1,728,211,849 | 5,316 |
[
"hwchase17",
"langchain"
] | ### Feature request
Is there any way to convert ChatOpenAI models to ONNX format? I've noticed that other models can be converted to ONNX (example: https://github.com/openai/whisper/discussions/134) and I was wondering if similar logic could be applied in this case as well.
### Motivation
I want to save these models... | Converting ChatOpenAI model to ONNX format | https://api.github.com/repos/langchain-ai/langchain/issues/5313/comments | 3 | 2023-05-26T19:19:53Z | 2023-09-27T16:06:50Z | https://github.com/langchain-ai/langchain/issues/5313 | 1,728,123,134 | 5,313 |
[
"hwchase17",
"langchain"
] | I've built many langchain agents with many types of memory to remember the context of the context in a correct way.
The problem is if I send the same message again, he will generate the same thought and answer again, which I don't refer to.
Example of the incorrect conversation that would happen between me and th... | Issue: All types of langchain memories don't work in a proper way. | https://api.github.com/repos/langchain-ai/langchain/issues/5308/comments | 2 | 2023-05-26T16:33:34Z | 2023-09-18T16:10:41Z | https://github.com/langchain-ai/langchain/issues/5308 | 1,727,924,219 | 5,308 |
[
"hwchase17",
"langchain"
] | ### Feature request
Add a langchain.embeddings.AnthropicEmbeddings class, similar to the langchain.embeddings.OpenAIEmbeddings class
### Motivation
I am trying to modify this notebook to use Claude by Anthropic instead of OpenAI: https://github.com/pinecone-io/examples/blob/master/generation/langchain/handbook/0... | Add a langchain.embeddings.AnthropicEmbeddings class | https://api.github.com/repos/langchain-ai/langchain/issues/5307/comments | 1 | 2023-05-26T16:25:57Z | 2023-05-26T17:02:37Z | https://github.com/langchain-ai/langchain/issues/5307 | 1,727,914,846 | 5,307 |
[
"hwchase17",
"langchain"
] | ### System Info
- 5.19.0-42-generic # 43~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Apr 21 16:51:08 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
- langchain==0.0.180
- Python 3.10.11
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Compon... | CohereAPIError thrown when base retriever returns empty documents in ContextualCompressionRetriever using Cohere Rank | https://api.github.com/repos/langchain-ai/langchain/issues/5304/comments | 2 | 2023-05-26T16:10:47Z | 2023-05-28T20:19:35Z | https://github.com/langchain-ai/langchain/issues/5304 | 1,727,893,507 | 5,304 |
[
"hwchase17",
"langchain"
] | ### System Info
google-cloud-aiplatform==1.25.0
langchain==0.0.180
python 3.11
### Who can help?
@dev2049
@Jflick58
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ... | Vertex ChatVertexAI() doesn't support initialize_agent() as OutputParserException error | https://api.github.com/repos/langchain-ai/langchain/issues/5301/comments | 1 | 2023-05-26T15:29:14Z | 2023-09-10T16:11:32Z | https://github.com/langchain-ai/langchain/issues/5301 | 1,727,836,402 | 5,301 |
[
"hwchase17",
"langchain"
] | ### Feature request
We should add support for the following vectorizers in the [weaviate hybrid search](https://python.langchain.com/en/latest/modules/indexes/retrievers/examples/weaviate-hybrid.html):
1. [cohere](https://weaviate.io/developers/weaviate/modules/retriever-vectorizer-modules/text2vec-cohere)
2. [pal... | Weaviate: Add support for other vectorizers in hybrid search | https://api.github.com/repos/langchain-ai/langchain/issues/5300/comments | 9 | 2023-05-26T14:54:53Z | 2023-09-18T16:10:45Z | https://github.com/langchain-ai/langchain/issues/5300 | 1,727,780,002 | 5,300 |
[
"hwchase17",
"langchain"
] | ### System Info
Version: 0.0.180
Python: 3.10.11
OS: MacOs Monterrey 12.5.1 (Apple Silicon)
Steps to reproduce:
```
from langchain.agents import load_tools
from langchain.agents import initialize_agent
from langchain.agents import AgentType
from langchain.chat_models import ChatOpenAI
from langchain.llms im... | Failure to run docpage examples | https://api.github.com/repos/langchain-ai/langchain/issues/5299/comments | 3 | 2023-05-26T13:48:05Z | 2023-06-05T08:51:01Z | https://github.com/langchain-ai/langchain/issues/5299 | 1,727,665,260 | 5,299 |
[
"hwchase17",
"langchain"
] | ### System Info
`python 3.11`
```
fastapi==0.95.1
langchain==0.0.180
pydantic==1.10.7
uvicorn==0.21.1
openai==0.27.4
```
### Who can help?
@agola11
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ]... | APIConnectionError: Error communicating with OpenAI. | https://api.github.com/repos/langchain-ai/langchain/issues/5296/comments | 12 | 2023-05-26T12:14:47Z | 2024-04-19T15:23:44Z | https://github.com/langchain-ai/langchain/issues/5296 | 1,727,514,993 | 5,296 |
[
"hwchase17",
"langchain"
] | ### System Info
ValueError: `run` not supported when there is not exactly one output key. Got ['result', 'source_documents'
]
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding... | Get the source document info with result | https://api.github.com/repos/langchain-ai/langchain/issues/5295/comments | 4 | 2023-05-26T11:41:44Z | 2023-10-23T16:08:27Z | https://github.com/langchain-ai/langchain/issues/5295 | 1,727,465,007 | 5,295 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.