issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm trying to implement the [web scraping tutorial ](https://python.langchain.com/docs/use_cases/web_scraping#llm-with-function-calling) using ChatOllama instead of ChatOpenAI.
This is what I'm trying to do:
```
import pprint
from langchain.chains import create_extraction_c... | Web Scraping with ChatOllama gives SSL: WRONG_VERSION_NUMBER | https://api.github.com/repos/langchain-ai/langchain/issues/14450/comments | 6 | 2023-12-08T15:19:32Z | 2024-07-03T07:29:16Z | https://github.com/langchain-ai/langchain/issues/14450 | 2,032,847,275 | 14,450 |
[
"langchain-ai",
"langchain"
] | During the recent initiative to secure API keys with `SecretStr` (https://github.com/langchain-ai/langchain/issues/12165), some implementations and their corresponding tests were implemented with some flaws. More specifically, they were not really masking the API key.
For instsance, in `libs/langchain/langchain/chat... | Issue: Flawed implementations of SecretStr for API keys | https://api.github.com/repos/langchain-ai/langchain/issues/14445/comments | 1 | 2023-12-08T13:45:01Z | 2024-02-02T14:32:30Z | https://github.com/langchain-ai/langchain/issues/14445 | 2,032,683,865 | 14,445 |
[
"langchain-ai",
"langchain"
] | ### System Info
npm version: "^0.0.203"
MacOS
Bun version: 1.0.15+b3bdf22eb
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt... | Unexpected end of JSON | https://api.github.com/repos/langchain-ai/langchain/issues/14443/comments | 1 | 2023-12-08T12:47:37Z | 2024-03-18T16:07:49Z | https://github.com/langchain-ai/langchain/issues/14443 | 2,032,599,462 | 14,443 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello Team,
We are using opensearch vectordb to store the embeddings, then we are using these embeddings to retrieve the similar document during conversastnal retrieval. while checking the settings of the index created by vector_db.add_text(page_content,metadatas). i have seen the numbe... | Issue: Opensearch manually assigned shards and replicas while using vector_db.add_text(page_contents,metatas) | https://api.github.com/repos/langchain-ai/langchain/issues/14442/comments | 1 | 2023-12-08T11:02:46Z | 2024-03-16T16:14:06Z | https://github.com/langchain-ai/langchain/issues/14442 | 2,032,443,629 | 14,442 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
#prompt template
How Can I use Prompt Template in my code below?
def chat_langchain(new_project_qa, query, not_uuid):
check = query.lower()
user_experience_inst = UserExperience.objects.get(not_uuid=not_uuid)
# query="If the context is related to hi/hello with or witho... | Issue: How Can I use Prompt Template? | https://api.github.com/repos/langchain-ai/langchain/issues/14441/comments | 1 | 2023-12-08T10:24:07Z | 2024-03-16T16:14:01Z | https://github.com/langchain-ai/langchain/issues/14441 | 2,032,387,502 | 14,441 |
[
"langchain-ai",
"langchain"
] | ### Feature request
When utilizing custom_table_info in the sqldatabase instance while employing the create_sql_agent function, it appears that there is an issue where it disregards the sql_db_schema. Currently, it only utilizes either the custom_table_info or the sql_db_schema. This poses a challenge, especially wh... | custom_table_info along with sql_db_schema while using create_sql_agent | https://api.github.com/repos/langchain-ai/langchain/issues/14440/comments | 1 | 2023-12-08T10:10:16Z | 2024-03-16T16:13:56Z | https://github.com/langchain-ai/langchain/issues/14440 | 2,032,367,290 | 14,440 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The supabase vectorstore does not support setting the `score_threshold` in `as_retriever` despite being showcased as an option in the vectorestore superclass docstring example.
https://github.com/langchain-ai/langchain/blob/a05230a4ba4dee591d3810440ce65e16860956ae/libs/langc... | DOC: `SupabaseVectorStore` support for similarity `score_threshold` filtering in `as_retriever` | https://api.github.com/repos/langchain-ai/langchain/issues/14438/comments | 2 | 2023-12-08T09:48:57Z | 2024-03-17T16:10:06Z | https://github.com/langchain-ai/langchain/issues/14438 | 2,032,332,864 | 14,438 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11
Langchain 0.0.348
### 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
-... | DoctranTextTranslator Is Not Working | https://api.github.com/repos/langchain-ai/langchain/issues/14437/comments | 1 | 2023-12-08T09:10:36Z | 2024-03-16T16:13:46Z | https://github.com/langchain-ai/langchain/issues/14437 | 2,032,270,431 | 14,437 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version: 0.0.348
for the type hint for es_connection variable in class ElasticsearchChatMessageHistory, module is used as a type
@hwchase17 @eyurtsev
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Rel... | import error in elasticsearch memory module: Module cannot be used as a type | https://api.github.com/repos/langchain-ai/langchain/issues/14436/comments | 1 | 2023-12-08T09:09:41Z | 2024-03-16T16:13:41Z | https://github.com/langchain-ai/langchain/issues/14436 | 2,032,269,106 | 14,436 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version:0.0.311
os:macOS 11.6
python: 3.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 ... | StructuredChatAgent did not provide the correct action input. | https://api.github.com/repos/langchain-ai/langchain/issues/14434/comments | 3 | 2023-12-08T08:15:05Z | 2023-12-08T10:27:18Z | https://github.com/langchain-ai/langchain/issues/14434 | 2,032,157,152 | 14,434 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.346
Python: 3.11.4
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output ... | Bug: ImportError for ElasticsearchStore | https://api.github.com/repos/langchain-ai/langchain/issues/14431/comments | 3 | 2023-12-08T07:14:10Z | 2023-12-08T15:16:20Z | https://github.com/langchain-ai/langchain/issues/14431 | 2,032,065,241 | 14,431 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python ==3.11.3
pymilvus== 2.3.1
langchain==0.0.327
openai==0.28.1
### 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 / ... | Retrieval Inability to Filter Based on Metadata in Milvius Database | https://api.github.com/repos/langchain-ai/langchain/issues/14429/comments | 2 | 2023-12-08T04:37:35Z | 2024-03-17T16:10:02Z | https://github.com/langchain-ai/langchain/issues/14429 | 2,031,914,421 | 14,429 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.348
Output from `poetry env info`
**Virtualenv**
Python: 3.9.12
Implementation: CPython
Path: /Users/peternf/Desktop/langchain/libs/langchain/.venv
Executable: /Users/peternf/Desktop/langchain/libs/langchain/.venv/bin/python
Valid: True
... | Dependency Conflict between litellm and tiktoken | https://api.github.com/repos/langchain-ai/langchain/issues/14419/comments | 1 | 2023-12-07T23:10:21Z | 2024-03-16T16:13:31Z | https://github.com/langchain-ai/langchain/issues/14419 | 2,031,666,536 | 14,419 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
im trying to create a metadata to separate user id fields vectors, I searched a lot and couldn't find anything , im using zilliz vector store , I tried using the userid as memory key but it's not possible , any ideas ? Im using the docs is automatically saved and retrieved from the sa... | Issue: <Zilliz and Milvus metadata field and memory seperation> | https://api.github.com/repos/langchain-ai/langchain/issues/14412/comments | 1 | 2023-12-07T20:08:44Z | 2024-03-16T16:13:26Z | https://github.com/langchain-ai/langchain/issues/14412 | 2,031,444,278 | 14,412 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain version : Latest
```python
def delete(self, ids: Optional[List[str]] = None, **kwargs: Any) -> Optional[bool]:
```
[This check](https://github.com/langchain-ai/langchain/blob/54040b00a4a05e81964a1a7f7edbf0b830d4395c/libs/langchain/langchain/vectorstores/faiss.py#L798) causes the... | FAISS db.delete() says `ids` is required even when it is Optional | https://api.github.com/repos/langchain-ai/langchain/issues/14409/comments | 1 | 2023-12-07T19:22:56Z | 2024-03-17T16:09:57Z | https://github.com/langchain-ai/langchain/issues/14409 | 2,031,382,949 | 14,409 |
[
"langchain-ai",
"langchain"
] | ### System Info
from langchain.llms import GooglePalm
from sqlalchemy import create_engine
from langchain.utilities import SQLDatabase
from langchain.llms import GooglePalm
from langchain_experimental.sql import SQLDatabaseChain
### Who can help?
_No response_
### Information
- [ ] The official example noteboo... | db_chain_sql_out.return_sql | https://api.github.com/repos/langchain-ai/langchain/issues/14404/comments | 4 | 2023-12-07T15:55:01Z | 2024-03-17T16:09:52Z | https://github.com/langchain-ai/langchain/issues/14404 | 2,031,053,527 | 14,404 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using langchain 0.0.316 an trying to create a ElasticsearchStore to do some similarity_search
However, whenever I try to create it (using from_documents or not) I get the following error :
`raise ValueError("check_hostname requires server_hostname")`
This is a SSL error, a... | Issue: ElasticsearchStore with ssl_verify = {'verify_certs':False} does not work | https://api.github.com/repos/langchain-ai/langchain/issues/14403/comments | 5 | 2023-12-07T15:46:15Z | 2024-02-05T02:29:06Z | https://github.com/langchain-ai/langchain/issues/14403 | 2,031,037,974 | 14,403 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain: 0.0.346
OpenAI: 1.3.7
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parse... | AzureOpenAIEmbeddings cannot authenticate with azure_ad_token_provider | https://api.github.com/repos/langchain-ai/langchain/issues/14402/comments | 10 | 2023-12-07T15:35:19Z | 2024-03-21T08:22:18Z | https://github.com/langchain-ai/langchain/issues/14402 | 2,031,016,359 | 14,402 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hello community,
I'm currently working on a project that involves using the langchain library for natural language processing. I'm encountering an issue with the LLMChain class, and I'm hoping someone can help me troubleshoot.
I've initialized a Hugging Face pipeline and constructe... | Issue: <Trouble with langchain Library: Error in LLMChain Validation> | https://api.github.com/repos/langchain-ai/langchain/issues/14401/comments | 1 | 2023-12-07T15:17:37Z | 2024-03-17T16:09:46Z | https://github.com/langchain-ai/langchain/issues/14401 | 2,030,975,852 | 14,401 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi Team,
Am trying to connect to SQL/CSV using the HuggingFaceHUb and I get value error. This value error occurs even when I use the same example as given in https://python.langchain.com/docs/use_cases/qa_structured/sql except that instead of openAI am using huggingfaceHub
### Who can help?
_No re... | value error when using huggingfacehub API | https://api.github.com/repos/langchain-ai/langchain/issues/14400/comments | 10 | 2023-12-07T14:05:46Z | 2024-04-25T11:22:42Z | https://github.com/langchain-ai/langchain/issues/14400 | 2,030,832,959 | 14,400 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
python3.10/site-packages/langchain/llms/bedrock.py:315: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited
### Suggestion:
_No response_ | Issue:python3.10/site-packages/langchain/llms/bedrock.py:315: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited | https://api.github.com/repos/langchain-ai/langchain/issues/14399/comments | 4 | 2023-12-07T13:59:30Z | 2023-12-08T02:24:40Z | https://github.com/langchain-ai/langchain/issues/14399 | 2,030,821,733 | 14,399 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain: 0.0.346
python: 3.11.7
### 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
- [ ] Output Parse... | TypeError: DDGS.text() got an unexpected keyword argument 'max_results' AND HTTPError: | https://api.github.com/repos/langchain-ai/langchain/issues/14397/comments | 1 | 2023-12-07T13:55:48Z | 2023-12-07T14:38:09Z | https://github.com/langchain-ai/langchain/issues/14397 | 2,030,814,970 | 14,397 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
def delete_confluence_embeddings(file_path, persist_directory,not_uuid):
chroma_db = chromadb.PersistentClient(path=persist_directory)
collection = chroma_db.get_or_create_collection(name="langchain")
project_instance = ProjectName.objects.get(not_uuid=not_uuid)
con... | Issue: How to delete particular space embeddings for a confluence projects | https://api.github.com/repos/langchain-ai/langchain/issues/14396/comments | 1 | 2023-12-07T13:14:35Z | 2024-03-16T16:13:01Z | https://github.com/langchain-ai/langchain/issues/14396 | 2,030,741,752 | 14,396 |
[
"langchain-ai",
"langchain"
] | ### System Info
when i am using Retrieval QA with custom prompt on official llama2 model it gives back an empty result even though retriever has worked but LLM failed to give back the response but if i directly pass the query to chain without any prompt it works as expected
## Versions
Python - 3.10
Langchain -... | Retrieval QA chain does not work | https://api.github.com/repos/langchain-ai/langchain/issues/14395/comments | 1 | 2023-12-07T13:08:45Z | 2024-03-16T16:12:56Z | https://github.com/langchain-ai/langchain/issues/14395 | 2,030,731,840 | 14,395 |
[
"langchain-ai",
"langchain"
] | ### System Info
Google colab
### Who can help?
@agola
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- ... | AttributeError: module 'openai' has no attribute 'error' | https://api.github.com/repos/langchain-ai/langchain/issues/14394/comments | 1 | 2023-12-07T12:47:28Z | 2024-03-18T16:07:39Z | https://github.com/langchain-ai/langchain/issues/14394 | 2,030,689,372 | 14,394 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
How does conversationbuffermemory works with routerchain for suppose if I wanted to create a chat application I need memory to store the conversations how does that thing work with routerchain?
I'm currently using the same implementation that has shown in the documentation
please resp... | Issue: <how does langchain's routerchain work with conversationbuffermemory> | https://api.github.com/repos/langchain-ai/langchain/issues/14392/comments | 14 | 2023-12-07T10:39:13Z | 2024-06-13T16:07:42Z | https://github.com/langchain-ai/langchain/issues/14392 | 2,030,447,654 | 14,392 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain v 0.0.344
pydantic v 2.5.2
pydantic_code v 2.14.5
python v 3.10.13
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] ... | OutputFixingParser does not work with PydanticOutputParser | https://api.github.com/repos/langchain-ai/langchain/issues/14387/comments | 2 | 2023-12-07T09:01:20Z | 2024-03-17T16:09:31Z | https://github.com/langchain-ai/langchain/issues/14387 | 2,030,232,645 | 14,387 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.346
python==3.11.6
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
-... | index with redis as vector store cannot delete documents | https://api.github.com/repos/langchain-ai/langchain/issues/14383/comments | 2 | 2023-12-07T08:09:30Z | 2024-03-13T21:06:56Z | https://github.com/langchain-ai/langchain/issues/14383 | 2,030,135,709 | 14,383 |
[
"langchain-ai",
"langchain"
] | ### Feature request
GitLab is currently trying to adopt LangChain in https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/merge_requests/475 for Anthropic usage. It's just simply passing a raw prompt to the Anthropic client, however, LangChain seems not supporting it because:
- `langchai... | Allow ChatAnthropic to receive Raw prompt or don't deprecate llms.Anthropic | https://api.github.com/repos/langchain-ai/langchain/issues/14382/comments | 2 | 2023-12-07T06:57:30Z | 2024-03-17T16:09:26Z | https://github.com/langchain-ai/langchain/issues/14382 | 2,030,036,527 | 14,382 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using ConversationChain with a custom prompt, and now I am looking to integrate tools into it. How can we do that?
### Suggestion:
_No response_ | How can we integrate tools with custom prompt? | https://api.github.com/repos/langchain-ai/langchain/issues/14381/comments | 1 | 2023-12-07T06:45:10Z | 2024-03-16T16:12:36Z | https://github.com/langchain-ai/langchain/issues/14381 | 2,030,022,877 | 14,381 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
How to remove citation from langchain results and can we get the image out of it?
### Suggestion:
How to remove citation from langchain results and can we get the image out of it? | Issue: How to remove citation from langchain results | https://api.github.com/repos/langchain-ai/langchain/issues/14380/comments | 1 | 2023-12-07T06:03:28Z | 2024-03-16T16:12:31Z | https://github.com/langchain-ai/langchain/issues/14380 | 2,029,974,064 | 14,380 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version = 0.0.344
Python version = 3.11.5
@agola11 @hwchase17
### Who can help?
@hwchase17 @agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt ... | create_sql_agent Suffix error | https://api.github.com/repos/langchain-ai/langchain/issues/14379/comments | 2 | 2023-12-07T05:39:25Z | 2024-03-29T16:07:00Z | https://github.com/langchain-ai/langchain/issues/14379 | 2,029,945,805 | 14,379 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.347
langchain-core==0.0.11
### Who can help?
@JeanBaptiste-dlb @hwchase17 @kacperlukawski
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] P... | Issue with Qdrant: TypeError: unhashable type: 'list' | https://api.github.com/repos/langchain-ai/langchain/issues/14378/comments | 8 | 2023-12-07T05:17:40Z | 2023-12-07T19:19:13Z | https://github.com/langchain-ai/langchain/issues/14378 | 2,029,922,881 | 14,378 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.344
langchain-experimental>=0.0.42
python==3.10.12
```
embeddings = OpenAIEmbeddings(model_name=model,
openai_api_key=get_model_path(model),
chunk_size=CHUNK_SIZE)
```
error
```
... | OpenAIEmbeddings bug | https://api.github.com/repos/langchain-ai/langchain/issues/14377/comments | 3 | 2023-12-07T05:16:19Z | 2023-12-11T04:28:11Z | https://github.com/langchain-ai/langchain/issues/14377 | 2,029,920,632 | 14,377 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add support for Private Service Connect endpoints in Vertex AI LLM.
### Motivation
Currently api_endpoint for VertexAIModelGarden LLM is hard coded to ```aiplatform.googleapis.com```
https://github.com/langchain-ai/langchain/blob/db6bf8b022c17353b46f97ab3b9f44ff9e88a488/libs/langchain/langchai... | Add support for private endpoint(Private Service Connect) for Vertex AI LLM | https://api.github.com/repos/langchain-ai/langchain/issues/14374/comments | 1 | 2023-12-07T02:53:41Z | 2024-03-17T16:09:22Z | https://github.com/langchain-ai/langchain/issues/14374 | 2,029,776,848 | 14,374 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Can the 'AgentType parameter of ‘initialize_agent’ function only be of one type? How can I specify multiple types? I want to set agent type to 'STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION' and 'ZERO_SHOT_REACT_DESCRIPTION' at the same time ?
### Suggestion:
Set agent type to 'STRUCTURE... | Issue: How can we specify multiple types when initialize an agent | https://api.github.com/repos/langchain-ai/langchain/issues/14372/comments | 10 | 2023-12-07T02:10:55Z | 2023-12-07T05:41:04Z | https://github.com/langchain-ai/langchain/issues/14372 | 2,029,730,782 | 14,372 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Issue:
```
PS E:\CODE\research-agents> python app.py
Traceback (most recent call last):
File "E:\CODE\research-agents\app.py", line 3, in <module>
from langchain.text_splitter import RecursiveCharacterTextSplitter
ModuleNotFoundError: No module named 'langchain'
```
What ... | Issue: No module named 'langchain' | https://api.github.com/repos/langchain-ai/langchain/issues/14371/comments | 9 | 2023-12-07T02:09:09Z | 2024-07-21T15:47:04Z | https://github.com/langchain-ai/langchain/issues/14371 | 2,029,727,951 | 14,371 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I'm trying to make a Chinese agent using customized tools and prompt in Chinese. However the pre-defined output parser and streaming didn't work well. For example, the thought process was printed out even if I'm using the FinalStreamingStdOutCallbackHandler. I was wondering if you ca... | Issue: agent output parser | https://api.github.com/repos/langchain-ai/langchain/issues/14363/comments | 1 | 2023-12-06T21:40:20Z | 2024-03-16T16:12:16Z | https://github.com/langchain-ai/langchain/issues/14363 | 2,029,429,941 | 14,363 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
https://python.langchain.com/docs/integrations/chat/ollama_functions
Ollama functions page shows how to start a conversation where the llm calls a function.
But it stops there.
How do we keep the conversation going? (i.e. I should give the llm the answer to the function ca... | DOC: Explain how to continue the conversation with OllamaFunctions | https://api.github.com/repos/langchain-ai/langchain/issues/14360/comments | 12 | 2023-12-06T21:17:30Z | 2024-06-13T16:07:37Z | https://github.com/langchain-ai/langchain/issues/14360 | 2,029,399,684 | 14,360 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version: 0.0.315
python3.9
### Who can help?
@hwchase17 @eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / ... | Unexpected behaviour: CharacterTextSpitter | https://api.github.com/repos/langchain-ai/langchain/issues/14348/comments | 3 | 2023-12-06T16:02:29Z | 2024-03-17T16:09:11Z | https://github.com/langchain-ai/langchain/issues/14348 | 2,028,892,316 | 14,348 |
[
"langchain-ai",
"langchain"
] | ### System Info
I want to use the `with_retry` from the Runnable class with Bedrock class to initiate a retry if Bedrock is raising a ThrottlingException (too many requests) the problem is the error catching in `BedrockBase` class in the `_prepare_input_and_invoke` method is too broad. (line 269)
```
exce... | Error catching in BedrockBase | https://api.github.com/repos/langchain-ai/langchain/issues/14347/comments | 3 | 2023-12-06T14:54:05Z | 2024-01-03T01:25:50Z | https://github.com/langchain-ai/langchain/issues/14347 | 2,028,739,597 | 14,347 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have been using OpenAI Embeddings specifically text-embedding-ada-002 and noticed it was very sensitive to punctuation even. I have around 1000 chunks and need to extract each time the 15 most similar chunks to my query. I have been testing my query without punctuation and when I add a dot '.' at the... | Embedding very sensitive to punctuation | https://api.github.com/repos/langchain-ai/langchain/issues/14346/comments | 1 | 2023-12-06T13:00:05Z | 2024-03-16T16:12:06Z | https://github.com/langchain-ai/langchain/issues/14346 | 2,028,506,571 | 14,346 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.346
Python version: 3.9.16
### 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
- ... | `PythonREPL` removal from langchain library | https://api.github.com/repos/langchain-ai/langchain/issues/14345/comments | 5 | 2023-12-06T12:20:42Z | 2024-05-22T17:48:58Z | https://github.com/langchain-ai/langchain/issues/14345 | 2,028,418,418 | 14,345 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I have created a multi model inference endpoint in the new version of SageMaker studio (the original one now is called studio classic). I don't see there is a place that I can set the `inference component` in the `SagemakerEndpoint` class. So I ended up get an expected error from SageMaker.
`An ... | Support SageMaker Inference Component of multi model endpoint | https://api.github.com/repos/langchain-ai/langchain/issues/14344/comments | 3 | 2023-12-06T11:51:12Z | 2024-01-12T02:36:39Z | https://github.com/langchain-ai/langchain/issues/14344 | 2,028,370,080 | 14,344 |
[
"langchain-ai",
"langchain"
] | ### System Info
python3.10.13
langchain==0.0.346
langchain-core==0.0.10
### Who can help?
@agola11, @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt ... | Specific prompt adds false input variables | https://api.github.com/repos/langchain-ai/langchain/issues/14343/comments | 2 | 2023-12-06T11:35:34Z | 2023-12-06T11:48:20Z | https://github.com/langchain-ai/langchain/issues/14343 | 2,028,344,953 | 14,343 |
[
"langchain-ai",
"langchain"
] | ### System Info
I try this example code
```
from langchain.retrievers import ParentDocumentRetriever
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.storage import InMemoryStore
# This text splitter is used to create the parent documents
parent_splitter = RecursiveCharacte... | Error: | https://api.github.com/repos/langchain-ai/langchain/issues/14342/comments | 5 | 2023-12-06T11:09:11Z | 2023-12-06T19:12:51Z | https://github.com/langchain-ai/langchain/issues/14342 | 2,028,301,021 | 14,342 |
[
"langchain-ai",
"langchain"
] | ### System Info
Windows 10 Pro - 22H2 - Build 9045.3693 - Windows Feature Experience Pack 1000.19053.1000.0
Python 3.11.5
langchain-cli 0.0.19
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Mode... | When I install the template "self-query-qdrant" I get this error: UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 132: character maps to <undefined> | https://api.github.com/repos/langchain-ai/langchain/issues/14341/comments | 5 | 2023-12-06T10:42:16Z | 2024-03-18T16:07:29Z | https://github.com/langchain-ai/langchain/issues/14341 | 2,028,253,492 | 14,341 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.299 python 3.8 gpt-4
when AzureChatOpenAI use gpt-4 ,I use agents to deal with problems,raised a error about RateLimitError; but gpt-3.5 do not appear this quesition
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modifi... | Requests to the Creates a completion for the chat message Operation under Azure OpenAI API version 2023-03-15-preview have exceeded token rate limit of your current OpenAI S0 pricing tier. Please go here: https://aka.ms/oai/quotaincrease if you would like to further increase the default rate limit. | https://api.github.com/repos/langchain-ai/langchain/issues/14339/comments | 1 | 2023-12-06T10:29:14Z | 2024-03-16T16:11:56Z | https://github.com/langchain-ai/langchain/issues/14339 | 2,028,230,943 | 14,339 |
[
"langchain-ai",
"langchain"
] | ### System Info
- LangChain version: 0.0.346
- Platform: Mac mini M1 16GB - macOS Sonoma 14.0
- Python version: 3.11
- LiteLLM version: 1.10.6
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Cha... | api_base parameter not properly propagated in client calls in ChatLiteLLM | https://api.github.com/repos/langchain-ai/langchain/issues/14338/comments | 7 | 2023-12-06T09:13:46Z | 2023-12-07T11:20:13Z | https://github.com/langchain-ai/langchain/issues/14338 | 2,028,088,277 | 14,338 |
[
"langchain-ai",
"langchain"
] | ### System Info
Trying to execute the chatbot script with sagemaker endpoint of LLAMA2 llm model getting dict validation error for RetrievalQA
Request:
def retreiveFromLL(userQuery: str) -> QueryResponse:
pre_prompt = """[INST] <<SYS>>
You are a helpful, respectful and honest assistant. Answer exactly ... | Dict validation error | https://api.github.com/repos/langchain-ai/langchain/issues/14337/comments | 28 | 2023-12-06T08:43:25Z | 2024-06-29T16:16:49Z | https://github.com/langchain-ai/langchain/issues/14337 | 2,028,038,022 | 14,337 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I'm exploring the use of open-source models via Ollama excellent application, I'm facing quite some challenges in adapting the instructions that were made for OpenAI-type models (they are perfectly interchangeable, I must say).
Is the format_instructions generated from the Pyd... | Get JSON output from non-OpenAI models | https://api.github.com/repos/langchain-ai/langchain/issues/14335/comments | 2 | 2023-12-06T07:50:44Z | 2024-03-17T16:09:02Z | https://github.com/langchain-ai/langchain/issues/14335 | 2,027,899,154 | 14,335 |
[
"langchain-ai",
"langchain"
] | ### System Info
Deployed on Cloud Run
```
Python 3.10
langchain 0.0.345
langchain-cli 0.0.19
langchain-core 0.0.9
langchain-experimental 0.0.43
langdetect 1.0.9
langserve ... | GoogleVertexAISearchRetriever - AttributeError: 'ProtoType' object has no attribute 'DESCRIPTOR' | https://api.github.com/repos/langchain-ai/langchain/issues/14333/comments | 1 | 2023-12-06T07:13:51Z | 2024-03-17T16:08:58Z | https://github.com/langchain-ai/langchain/issues/14333 | 2,027,823,831 | 14,333 |
[
"langchain-ai",
"langchain"
] | ### System Info
I already create venv and re-install langchain: `pip install langchain` but error:
> from langserve import add_routes
> File "/usr/local/lib/python3.10/dist-packages/langserve/__init__.py", line 7, in <module>
> from langserve.client import RemoteRunnable
> File "/usr/local/lib/pyth... | No module named 'langchain.callbacks.tracers.log_stream' | https://api.github.com/repos/langchain-ai/langchain/issues/14330/comments | 4 | 2023-12-06T04:00:41Z | 2024-03-17T16:08:51Z | https://github.com/langchain-ai/langchain/issues/14330 | 2,027,603,413 | 14,330 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Cannot figure out why validate_tools_single_input is necessary. I've tried to adopt multi-inputs tools in CHAT_CONVERSATIONAL_REACT_DESCRIPTION agents by just commenting out the implementation of such function. Everything seemed fun.
So what's the purpose of such design, and if it is... | Issue: The purpose to validate_tools_single_input in CHAT_CONVERSATIONAL_REACT_DESCRIPTION agent | https://api.github.com/repos/langchain-ai/langchain/issues/14329/comments | 2 | 2023-12-06T03:49:44Z | 2024-03-17T16:08:47Z | https://github.com/langchain-ai/langchain/issues/14329 | 2,027,594,343 | 14,329 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The langchain library only supports anonymizing it seems. The native microsoft library can redact data:
```
analyzer_results = analyzer.analyze(text=text_to_anonymize,
entities=["PERSON", "PHONE_NUMBER", "EMAIL_ADDRESS", "URL", "LOCATION"],
ad_hoc_recognizers=ad_hoc_recogniz... | Allow PresidioAnonymizer() to redact data instead of anonymizing. | https://api.github.com/repos/langchain-ai/langchain/issues/14328/comments | 3 | 2023-12-06T03:35:45Z | 2023-12-27T11:33:34Z | https://github.com/langchain-ai/langchain/issues/14328 | 2,027,583,278 | 14,328 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I tried to run the notebook [Semi_structured_multi_modal_RAG_LLaMA2.ipynb](https://github.com/langchain-ai/langchain/blob/master/cookbook/Semi_structured_multi_modal_RAG_LLaMA2.ipynb). I installed and imported the required libraries, but an error message was returned as a result of run... | Issue: <Please write a coImportError: cannot import name 'open_filename' from 'pdfminer.utils' (/home/nickjtay/Projects/langtest1/lib/python3.10/site-packages/pdfminer/utils.py)mprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/14326/comments | 6 | 2023-12-06T02:23:04Z | 2024-06-28T16:05:53Z | https://github.com/langchain-ai/langchain/issues/14326 | 2,027,520,337 | 14,326 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently when getting started developing, there is:
- `extras`: `extended_testing`
- `poetry`: `dev`, `test`, `test_integration`
There is also an annoying `rapidfuzz` error one can hit: https://github.com/langchain-ai/langchain/issues/12237
Can we have the poetry groups reusing `extras`?
... | Better synergy with `poetry` groups and extras | https://api.github.com/repos/langchain-ai/langchain/issues/14321/comments | 1 | 2023-12-05T22:51:16Z | 2024-03-16T16:11:31Z | https://github.com/langchain-ai/langchain/issues/14321 | 2,027,269,893 | 14,321 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I believe the Oobabooga Text Generation Web UI API was rewritten, causing the code on the TextGen page of the Langchain docs to stop working.
e.g.: the way the code handles talking to a ws: causes a 403. I can execute API calls that work well, e.g.: curl http://127.0.0.1:5000/... | DOC: TextGen (Text Generation Web UI) - the code no longer works. | https://api.github.com/repos/langchain-ai/langchain/issues/14318/comments | 10 | 2023-12-05T22:22:39Z | 2024-05-16T11:09:38Z | https://github.com/langchain-ai/langchain/issues/14318 | 2,027,229,878 | 14,318 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
Currently, I want to build RAG chatbot for production.
I already had my LLM API and I want to create a custom LLM and then use this in RetrievalQA.from_chain_type function.
```
curl --location 'https:/myhost:10001/llama/api' -k \
--header 'Content-Type: application/json' \... | Custom LLM from API for QA chain | https://api.github.com/repos/langchain-ai/langchain/issues/14302/comments | 24 | 2023-12-05T17:36:18Z | 2023-12-26T11:37:08Z | https://github.com/langchain-ai/langchain/issues/14302 | 2,026,785,573 | 14,302 |
[
"langchain-ai",
"langchain"
] | ### System Info
azure-search-documents==11.4.0b9
langchain 0.0.342
langchain-core 0.0.7
### Who can help?
@hwc
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts... | Using AzureSearch with custom vector field names | https://api.github.com/repos/langchain-ai/langchain/issues/14298/comments | 9 | 2023-12-05T15:09:36Z | 2024-08-06T20:18:36Z | https://github.com/langchain-ai/langchain/issues/14298 | 2,026,436,998 | 14,298 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.344
langchain-core==0.0.8
### 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
- [ ] Outpu... | OpenSearchVectorSearch add_texts does wraps kwargs | https://api.github.com/repos/langchain-ai/langchain/issues/14295/comments | 1 | 2023-12-05T14:48:10Z | 2023-12-08T06:58:43Z | https://github.com/langchain-ai/langchain/issues/14295 | 2,026,387,711 | 14,295 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Hey there,
the `_format_chat_history` function [in the RAG cookbook entry](https://python.langchain.com/docs/expression_language/cookbook/retrieval) contains some older syntax. As far as I understand, the cookbook is supposed to provide examples for the newest Langchain versi... | DOC: Cookbook entry for RAG contains older syntax | https://api.github.com/repos/langchain-ai/langchain/issues/14292/comments | 1 | 2023-12-05T12:40:54Z | 2024-03-16T16:11:26Z | https://github.com/langchain-ai/langchain/issues/14292 | 2,026,106,178 | 14,292 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
In this Announcements (https://github.com/langchain-ai/langchain/discussions/categories/announcements) [LangChain Core #13823
](https://github.com/langchain-ai/langchain/discussions/13823) hwchase17 say he
> TL;DR: we are splitting our core functionality to langchain-core t... | DOC: Why use LCEL ModuleNotFoundError: No module named 'langchain_core' | https://api.github.com/repos/langchain-ai/langchain/issues/14287/comments | 7 | 2023-12-05T10:38:45Z | 2024-03-30T16:05:46Z | https://github.com/langchain-ai/langchain/issues/14287 | 2,025,877,332 | 14,287 |
[
"langchain-ai",
"langchain"
] | ### System Info
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[27], line 5
1 #### All together!
2 # Put it all together now
3 full_chain = {"topic": chain, "question": lambda x: x["qu... | xml.py Value Error --> insufficient error information | https://api.github.com/repos/langchain-ai/langchain/issues/14286/comments | 1 | 2023-12-05T10:12:15Z | 2024-03-16T16:11:21Z | https://github.com/langchain-ai/langchain/issues/14286 | 2,025,828,110 | 14,286 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
so i have this function that saves data into the vector database , what i want is , to extract that vector id so i can delete it later if i want to.
is there a way to accomplish this ?
### Suggestion:
_No response_ | extract vector id and delete one | https://api.github.com/repos/langchain-ai/langchain/issues/14284/comments | 2 | 2023-12-05T09:18:12Z | 2024-03-16T16:11:16Z | https://github.com/langchain-ai/langchain/issues/14284 | 2,025,725,528 | 14,284 |
[
"langchain-ai",
"langchain"
] | ### System Info
MacOS 14.1.1
```
pip3 show langchain
Name: langchain
Version: 0.0.345
Summary: Building applications with LLMs through composability
Home-page: https://github.com/langchain-ai/langchain
Author:
Author-email:
License: MIT
Location: /Library/Frameworks/Python.framework/Versions/3.11/lib/pytho... | LCEL Streaming doesn't seem to work properly when using an AzureChatOpenAI model, and the JsonOutputFunctionsParser parser | https://api.github.com/repos/langchain-ai/langchain/issues/14280/comments | 2 | 2023-12-05T08:30:23Z | 2024-04-30T16:30:14Z | https://github.com/langchain-ai/langchain/issues/14280 | 2,025,593,782 | 14,280 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
It's not clear from the documentation whether when calling Ollama, langchain will take care of formatting the template correctly or if I have to supply the template by myself.
For example, in https://ollama.ai/library/mistral:instruct
we have:
```
parameter
stop "[INS... | Ollama: parameters and instruction templates | https://api.github.com/repos/langchain-ai/langchain/issues/14279/comments | 4 | 2023-12-05T07:49:56Z | 2024-03-29T21:36:33Z | https://github.com/langchain-ai/langchain/issues/14279 | 2,025,500,538 | 14,279 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently, when working with LangChain and generating JSON files which will be rendered in user facing application. We haven't found a dedicated method to check whether a JSON file adheres to the desired structure before executing subsequent operators.
This feature request suggests the implemen... | OutputParser cheap json format Validation | https://api.github.com/repos/langchain-ai/langchain/issues/14276/comments | 1 | 2023-12-05T07:05:27Z | 2024-03-16T16:11:11Z | https://github.com/langchain-ai/langchain/issues/14276 | 2,025,423,592 | 14,276 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.330
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document... | Agent not calling tool with the right data. | https://api.github.com/repos/langchain-ai/langchain/issues/14274/comments | 1 | 2023-12-05T05:44:22Z | 2024-03-16T16:11:06Z | https://github.com/langchain-ai/langchain/issues/14274 | 2,025,331,957 | 14,274 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
In UnstructuredExcelLoader code comment, introduce 'elements' mode for twice, but nothing about 'single' mode.
Original code comment are following:
Unstructured loaders, UnstructuredExcelLoader can be used in both "single" and "elements" mode. **_If you use the loader in "... | DOC: UnstructuredExcelLoader code comment‘s error | https://api.github.com/repos/langchain-ai/langchain/issues/14271/comments | 2 | 2023-12-05T05:20:47Z | 2024-03-16T16:11:01Z | https://github.com/langchain-ai/langchain/issues/14271 | 2,025,310,554 | 14,271 |
[
"langchain-ai",
"langchain"
] | ### System Info
Every time I use Langchain, something is wrong with it. This is just the latest iteration. If you guys want people to use your library you seriously need to clean things up.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
... | ImportError: cannot import name 'BaseCache' from 'langchain' | https://api.github.com/repos/langchain-ai/langchain/issues/14268/comments | 6 | 2023-12-05T04:51:11Z | 2024-07-02T16:08:12Z | https://github.com/langchain-ai/langchain/issues/14268 | 2,025,281,757 | 14,268 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Hi, I'm not quite sure how to translate the `ParentDocumentRetriever` examples to ingest documents to OpenSearch in one phase, and then reconnect to it by instantiating a retriever at a later point.
The examples use an `InMemoryStore()` for the parent documents. Is the idea t... | DOC: ParentDocumentRetriever without InMemoryStore | https://api.github.com/repos/langchain-ai/langchain/issues/14267/comments | 16 | 2023-12-05T04:26:07Z | 2024-07-24T11:29:39Z | https://github.com/langchain-ai/langchain/issues/14267 | 2,025,258,589 | 14,267 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Does langchain support using local LLM models to request the Neo4j database in a non-openai access mode?
### Motivation
It is inconvenient to use local LLM for cypher generation
### Your contribution
No solution available at this time | Does langchain support using local LLM models to request the Neo4j database? | https://api.github.com/repos/langchain-ai/langchain/issues/14261/comments | 1 | 2023-12-05T02:18:01Z | 2024-03-16T16:10:56Z | https://github.com/langchain-ai/langchain/issues/14261 | 2,025,142,888 | 14,261 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
_No response_
### Suggestion:
_No response_ | how to add Qwen model in initialize_agent() | https://api.github.com/repos/langchain-ai/langchain/issues/14260/comments | 1 | 2023-12-05T02:10:39Z | 2024-03-16T16:10:51Z | https://github.com/langchain-ai/langchain/issues/14260 | 2,025,137,077 | 14,260 |
[
"langchain-ai",
"langchain"
] | ### System Info
When running the tool: Error YahooFinanceNewsTool()
the following error message is displayed:
```
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\tools\yahoo_finance_news.py", line 66, in <listcomp>
if query in doc.metadata["description"] or query in do... | Error YahooFinanceNewsTool() Tools | https://api.github.com/repos/langchain-ai/langchain/issues/14248/comments | 8 | 2023-12-04T22:17:30Z | 2024-08-02T16:06:53Z | https://github.com/langchain-ai/langchain/issues/14248 | 2,024,863,086 | 14,248 |
[
"langchain-ai",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.344
Python 3.9.6
--(tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)] on win32
OS - Window 11
Programming language - Python
Database - SQL Anywhere 17
### Who can help?
@hwchase17
@agola11
**I have SAP SQL Anywhere 17 dat... | Lang chain not able to connect to SQL Anywhere 17 | https://api.github.com/repos/langchain-ai/langchain/issues/14247/comments | 6 | 2023-12-04T21:47:32Z | 2024-03-17T16:08:42Z | https://github.com/langchain-ai/langchain/issues/14247 | 2,024,815,058 | 14,247 |
[
"langchain-ai",
"langchain"
] | ### Feature request
With `LLMChain`, it was possible to instantiate with `callbacks`, and just pass around the `LLMChain`.
With LCEL, the only way to handle `callbacks` is to pass them to every `invoke` call. This requires one to pass around both the runnable LCEL object as well as the `callbacks`.
### Motiva... | Request: ability to set callbacks with LCEL at instantiation | https://api.github.com/repos/langchain-ai/langchain/issues/14241/comments | 5 | 2023-12-04T18:33:49Z | 2024-07-17T16:04:33Z | https://github.com/langchain-ai/langchain/issues/14241 | 2,024,477,858 | 14,241 |
[
"langchain-ai",
"langchain"
] | ### System Info
I have just updated my LangChain packages. Until a few weeks ago, LangChain was working fine for me with my Azure OpenAI resource and deployment of the GPT-4-32K model. As I've gone to create more complex applications with it, I got stuck at one section where I kept getting the error: "InvalidRequestE... | Using AzureChatOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/14238/comments | 5 | 2023-12-04T16:40:49Z | 2024-05-13T16:10:00Z | https://github.com/langchain-ai/langchain/issues/14238 | 2,024,280,548 | 14,238 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
from langchain.agents import AgentType, initialize_agent
from langchain.chat_models import ChatOpenAI
from langchain.tools import DuckDuckGoSearchRun
llm = ChatOpenAI(temperature=0, model_name="gpt-3.5-turbo-16k")
web_search = DuckDuckGoSearchRun()
tools = [
web_search,
... | Issue: Recently, the DuckduckGo search tool seems not working. VQDExtractionException: Could not extract vqd. keywords="keywords" | https://api.github.com/repos/langchain-ai/langchain/issues/14233/comments | 9 | 2023-12-04T16:08:09Z | 2024-07-10T16:05:25Z | https://github.com/langchain-ai/langchain/issues/14233 | 2,024,212,346 | 14,233 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.11.6
langchain==0.0.345
langchain-core==0.0.9
jupyter_client==8.6.0
jupyter_core==5.5.0
ipykernel==6.27.0
ipython==8.17.2
on mac M2
### Who can help?
@baskaryan @tomasonjo @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Re... | similarity_search_with_score does not accept "!" in the query | https://api.github.com/repos/langchain-ai/langchain/issues/14232/comments | 1 | 2023-12-04T16:07:02Z | 2023-12-13T17:09:52Z | https://github.com/langchain-ai/langchain/issues/14232 | 2,024,210,192 | 14,232 |
[
"langchain-ai",
"langchain"
] | ### System Info
python 3.11.6
langchain==0.0.345
langchain-core==0.0.9
jupyter_client==8.6.0
jupyter_core==5.5.0
ipykernel==6.27.0
ipython==8.17.2
on mac M2
### Who can help?
@baskaryan @tomasonjo @hwchase17
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### R... | similarity_search_with_relevance_scores returns incoherent relevance scores with Neo4jVector | https://api.github.com/repos/langchain-ai/langchain/issues/14231/comments | 3 | 2023-12-04T16:00:03Z | 2024-03-17T16:08:36Z | https://github.com/langchain-ai/langchain/issues/14231 | 2,024,195,747 | 14,231 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I cant find documentattion about filtered retrievers, basically I want to fix this issue: https://github.com/langchain-ai/langchain/issues/14227
### Idea or request for content:
And according to other github issues, the way to fix it is with custom filtered retrievers.
So I t... | DOC: How to create a custom filtered retriever | https://api.github.com/repos/langchain-ai/langchain/issues/14229/comments | 7 | 2023-12-04T15:07:02Z | 2024-05-15T16:06:53Z | https://github.com/langchain-ai/langchain/issues/14229 | 2,024,080,225 | 14,229 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.342
langchain-core 0.0.7
azure-search-documents 11.4.0b8
Python: 3.10
### Who can help?
@hw
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Mod... | Filters dont work with Azure Search Vector Store retriever | https://api.github.com/repos/langchain-ai/langchain/issues/14227/comments | 5 | 2023-12-04T14:58:48Z | 2024-05-27T16:06:08Z | https://github.com/langchain-ai/langchain/issues/14227 | 2,024,062,849 | 14,227 |
[
"langchain-ai",
"langchain"
] | ### System Info
ml.g5.48xlarge EC2 instance on AWS with:
- Langchain 0.0.305
- Python 3.10
### Who can help?
@hwchase17 @agola11
### Information
- [x] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ... | partially initialized module 'requests' has no attribute 'Response' | https://api.github.com/repos/langchain-ai/langchain/issues/14226/comments | 1 | 2023-12-04T14:24:15Z | 2024-03-16T16:10:31Z | https://github.com/langchain-ai/langchain/issues/14226 | 2,023,977,308 | 14,226 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python: 3.10
LangChain: 0.0.344
OpenSearch: Amazon OpenSearch Serverless Vector Engine
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / ... | SelfQueryRetriever with OpenSearch generating invalid queries with Date type | https://api.github.com/repos/langchain-ai/langchain/issues/14225/comments | 3 | 2023-12-04T12:21:19Z | 2024-01-22T09:09:43Z | https://github.com/langchain-ai/langchain/issues/14225 | 2,023,732,355 | 14,225 |
[
"langchain-ai",
"langchain"
] | ### System Info
MacOS
### 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 Parsers
- [ ] Document Loaders
- [... | Dall-E Image Generator return url without authentication information | https://api.github.com/repos/langchain-ai/langchain/issues/14223/comments | 4 | 2023-12-04T10:41:50Z | 2024-04-16T22:36:58Z | https://github.com/langchain-ai/langchain/issues/14223 | 2,023,542,482 | 14,223 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am working on extracting data from HTML files. I need to extract table data to store in a data frame as a table. With the help of langchain document loader I can extract the data row wise but the headers of columns are not getting extracted. How to extract column headers along with the... | Table data extraction from HTML files. | https://api.github.com/repos/langchain-ai/langchain/issues/14218/comments | 2 | 2023-12-04T09:49:35Z | 2024-03-17T16:08:31Z | https://github.com/langchain-ai/langchain/issues/14218 | 2,023,436,264 | 14,218 |
[
"langchain-ai",
"langchain"
] | https://github.com/langchain-ai/langchain/blob/ee94ef55ee6ab064da08340817955f821dfa6261/libs/langchain/langchain/chains/llm.py#L71
In my humble opinion, I think `llm_kwargs` variable should be a parameter declared in the LLM class rather than the LLM Chain. One of the reasons for this, is that when you are declaring... | Add `llm_kwargs` to `BaseRetrievalQA.from_llm` | https://api.github.com/repos/langchain-ai/langchain/issues/14216/comments | 2 | 2023-12-04T09:38:10Z | 2024-03-16T16:10:17Z | https://github.com/langchain-ai/langchain/issues/14216 | 2,023,415,515 | 14,216 |
[
"langchain-ai",
"langchain"
] | ### System Info
Mac os
Python3.9
### Who can help?
@Jiaaming
I'm working on this issue.
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Outpu... | BiliBiliLoader Credential No Sessdata error | https://api.github.com/repos/langchain-ai/langchain/issues/14213/comments | 4 | 2023-12-04T06:58:42Z | 2024-06-17T16:09:49Z | https://github.com/langchain-ai/langchain/issues/14213 | 2,023,161,496 | 14,213 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
ValidationError: 2 validation errors for ConversationChain
advisor_summary
extra fields not permitted (type=value_error.extra)
__root__
Got unexpected prompt input variables. The prompt expects ['advisor_summary', 'history', 'input'], but got ['history'] as inputs from memory, an... | ConversationChain error with multiple inputs | https://api.github.com/repos/langchain-ai/langchain/issues/14210/comments | 4 | 2023-12-04T04:34:52Z | 2024-03-17T16:08:26Z | https://github.com/langchain-ai/langchain/issues/14210 | 2,023,006,180 | 14,210 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi, I am trying to use `initialize_agent` to leverage custom tools but when the agent is accepting it, it is modifying the user's input in its own way and causing error in the output. For example, in SQLTool, it is automatically converting it into SQL query which is wrong and ended up gi... | Issue: How to avoid modifying user input and output in initialize_agent? | https://api.github.com/repos/langchain-ai/langchain/issues/14209/comments | 11 | 2023-12-04T03:45:23Z | 2024-03-19T16:05:32Z | https://github.com/langchain-ai/langchain/issues/14209 | 2,022,958,852 | 14,209 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have a problem in this code `llm_chain = LLMChain(prompt=prompt,llm=local_llm)`, how to define the local huggingface models into this `local_llm`
### Suggestion:
_No response_ | Issue: <How to use the local huggingface models> | https://api.github.com/repos/langchain-ai/langchain/issues/14208/comments | 1 | 2023-12-04T03:05:05Z | 2024-03-16T16:10:01Z | https://github.com/langchain-ai/langchain/issues/14208 | 2,022,925,148 | 14,208 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'd like to use Hugging Face's Chat UI frontend with LangChain.
https://github.com/huggingface/chat-ui
But it looks like the Chat UI is only available through Hugginf Face's Text Generation Inference endpoint.
https://github.com/huggingface/chat-ui/issues/466
How can I ser... | Issue: I'd like to use Hugging Face's Chat UI frontend with LangChain. | https://api.github.com/repos/langchain-ai/langchain/issues/14207/comments | 2 | 2023-12-04T02:38:47Z | 2024-04-15T10:06:12Z | https://github.com/langchain-ai/langchain/issues/14207 | 2,022,901,487 | 14,207 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Hi,
I am wondering if anyone has a work around using ConversationalRetrievalChain to retrieve documents with their sources, and prevent the chain from returning sources for questions without sources.
query = "How are you doing?"
result = chain({"question": query, "chat_history": c... | ConversationalRetrievalChain returns sources to questions without context | https://api.github.com/repos/langchain-ai/langchain/issues/14203/comments | 6 | 2023-12-03T21:33:41Z | 2024-04-09T00:22:31Z | https://github.com/langchain-ai/langchain/issues/14203 | 2,022,724,502 | 14,203 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
_No response_
### Suggestion:
_No response_ | Can i save openai token usage information which get from get_openai_callback directlly to database with SQLChatMessageHistory | https://api.github.com/repos/langchain-ai/langchain/issues/14199/comments | 1 | 2023-12-03T15:59:28Z | 2024-03-16T16:09:46Z | https://github.com/langchain-ai/langchain/issues/14199 | 2,022,602,013 | 14,199 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.342
Python version: 3.9
OS: Mac OS
### Who can help?
@3coins
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selector... | Amazon Kendra: Full answer text not returned for FAQ type answers | https://api.github.com/repos/langchain-ai/langchain/issues/14198/comments | 1 | 2023-12-03T15:31:50Z | 2024-03-16T16:09:41Z | https://github.com/langchain-ai/langchain/issues/14198 | 2,022,589,587 | 14,198 |
[
"langchain-ai",
"langchain"
] | Hey @dosubot, im using this code
memory = ConversationBufferMemory(
return_messages=True, output_key="answer", input_key="question"
)
retriever = load_emdeddings(cfg.faiss_persist_directory, cfg.embeddings).as_retriever(search_type="similarity_score_threshold",
search_kwargs... | TypeError: 'HumanMessage' object is not subscriptable | https://api.github.com/repos/langchain-ai/langchain/issues/14196/comments | 7 | 2023-12-03T07:57:32Z | 2024-04-18T16:25:14Z | https://github.com/langchain-ai/langchain/issues/14196 | 2,022,412,641 | 14,196 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
We create an agent using initialize_agent, register the tool, and configure it to be selected through the agent.
However, in the agent, regardless of which tool is selected, I want to pass a data object called request of BaseModel type when executing the tool.
I would appreciate it if ... | Passing BaseModel type data from agent to tool | https://api.github.com/repos/langchain-ai/langchain/issues/14192/comments | 2 | 2023-12-03T05:03:47Z | 2024-03-16T16:09:36Z | https://github.com/langchain-ai/langchain/issues/14192 | 2,022,372,837 | 14,192 |
[
"langchain-ai",
"langchain"
] | @dosubot , how do i use system prompt inside conversational retreival chain?
prompt = ChatPromptTemplate(
messages=[
SystemMessagePromptTemplate.from_template(
"You are a nice chatbot named James-AI having a conversation with a human."
),
MessagesPlaceholder(variable_name=... | How do i use system prompt template inside conversational retrieval chain? | https://api.github.com/repos/langchain-ai/langchain/issues/14191/comments | 8 | 2023-12-03T04:30:52Z | 2024-04-19T16:26:03Z | https://github.com/langchain-ai/langchain/issues/14191 | 2,022,366,141 | 14,191 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When I use an existing library that includes langsmith (such as https://github.com/langchain-ai/weblangchain), but I don't have access to langsmith API as I'm still on the waitlist. How can I quickly disable the langsmith functionality without commenting out the code?
### Suggestion:
_... | Issue: How to conveniently disable langsmith calls? | https://api.github.com/repos/langchain-ai/langchain/issues/14189/comments | 9 | 2023-12-03T02:55:24Z | 2024-07-26T13:01:56Z | https://github.com/langchain-ai/langchain/issues/14189 | 2,022,302,241 | 14,189 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.