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"
] | ### System Info
- LangChain: 0.0.353
- System: Ubuntu 22.04
- Python: 3.10.12
### Information
I run the code in the quickstart part of the [document](https://python.langchain.com/docs/get_started/quickstart#agent), code:
```python
from langchain.chat_models import ChatOpenAI
from langchain import hub
fro... | AttributeError: 'VectorStoreRetriever' object has no attribute 'args_schema' | https://api.github.com/repos/langchain-ai/langchain/issues/15359/comments | 2 | 2023-12-31T15:17:25Z | 2024-04-10T16:15:34Z | https://github.com/langchain-ai/langchain/issues/15359 | 2,061,090,976 | 15,359 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.353
Python 3.10.13 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)]
Windows 11
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat ... | SingleFileFacebookMessengerChatLoader fails when the chat contains non-text contents such as stickers and photos. | https://api.github.com/repos/langchain-ai/langchain/issues/15356/comments | 3 | 2023-12-31T09:31:07Z | 2024-01-02T14:36:02Z | https://github.com/langchain-ai/langchain/issues/15356 | 2,061,000,149 | 15,356 |
[
"langchain-ai",
"langchain"
] | ### System Info
azure-search-documents==11.4.0b8
langchain==0.0.352
### 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 / ... | AzureSearch semantic_hybrid_search fails due to hardcoding of metadata fields | https://api.github.com/repos/langchain-ai/langchain/issues/15355/comments | 1 | 2023-12-31T08:43:04Z | 2024-04-07T16:07:34Z | https://github.com/langchain-ai/langchain/issues/15355 | 2,060,988,370 | 15,355 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
How can I make output templates in langchain? That is, for example, I throw a request for AI to write a joke, but with strict adherence to the template [set-up, punchline] and therefore get as a result:
```
Set-up: ...
Punchline: ...
```
and nothing more
### Suggestion:
_No respon... | Issue: output templates in langchain | https://api.github.com/repos/langchain-ai/langchain/issues/15350/comments | 1 | 2023-12-31T00:18:00Z | 2024-04-07T16:07:29Z | https://github.com/langchain-ai/langchain/issues/15350 | 2,060,892,236 | 15,350 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain 0.0.353
Python 3.10.12
System Ubuntu 22.04
### 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 Selector... | Chromadb connection error | https://api.github.com/repos/langchain-ai/langchain/issues/15348/comments | 3 | 2023-12-30T18:38:19Z | 2023-12-31T12:17:59Z | https://github.com/langchain-ai/langchain/issues/15348 | 2,060,823,804 | 15,348 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
The [documentation](https://python.langchain.com/docs/use_cases/summarization) describes the different options for summarizing a text, for longer texts the 'map_reduce' option is suggested. It is mentioned further under 'Go deeper' that it is possible to use different LLMs via the... | DOC: Summarization 'map_reduce' - Can't load tokenizer for 'gpt2' | https://api.github.com/repos/langchain-ai/langchain/issues/15347/comments | 11 | 2023-12-30T17:44:16Z | 2024-06-12T15:24:45Z | https://github.com/langchain-ai/langchain/issues/15347 | 2,060,810,975 | 15,347 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Help me understand how I can save the intermediate data of chain execution results?

### Suggestion:
_No response_ | Issue: <Saving intermediate variable chains ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/15345/comments | 2 | 2023-12-30T15:47:22Z | 2024-04-06T16:06:32Z | https://github.com/langchain-ai/langchain/issues/15345 | 2,060,781,653 | 15,345 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
A few days back, I was referring to the [Prompt templates](https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/) page which now shows: "**Page Not Found**"
### Idea or request for content:
I understand that LangChain is an evolving framework undergoing c... | DOC: Prompt Templates "Page Not Found" | https://api.github.com/repos/langchain-ai/langchain/issues/15342/comments | 3 | 2023-12-30T11:14:48Z | 2024-04-14T16:13:36Z | https://github.com/langchain-ai/langchain/issues/15342 | 2,060,716,887 | 15,342 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain 0.0.353
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ]... | _OllamaCommon contains top_p with int-restriction | https://api.github.com/repos/langchain-ai/langchain/issues/15341/comments | 1 | 2023-12-30T10:29:06Z | 2024-01-15T19:59:40Z | https://github.com/langchain-ai/langchain/issues/15341 | 2,060,706,496 | 15,341 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
`below is my code for generating custom prompt which takes context and user query and we pass it into model:
def generate_custom_prompt(new_project_qa,query,name,not_uuid):
check = query.lower()
result = new_project_qa(query)
relevant_document = result['source_docume... | Issue: Not getting desired output while implementing memory | https://api.github.com/repos/langchain-ai/langchain/issues/15339/comments | 7 | 2023-12-30T04:32:17Z | 2024-04-06T16:06:27Z | https://github.com/langchain-ai/langchain/issues/15339 | 2,060,626,887 | 15,339 |
[
"langchain-ai",
"langchain"
] | ### System Info
New versions
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Load... | This model's maximum context length is 4097 tokens, however you requested 4177 tokens | https://api.github.com/repos/langchain-ai/langchain/issues/15333/comments | 1 | 2023-12-29T23:25:32Z | 2024-04-05T16:08:50Z | https://github.com/langchain-ai/langchain/issues/15333 | 2,060,459,074 | 15,333 |
[
"langchain-ai",
"langchain"
] | ### System Info
I've been trying to create a self query retriever so that I can look at metadata field info. This issue comes up. Should I be using another vector store to make this work? I can only really work with FAISS. I cannot use ChromaDB since my Python environment is limited to a previous version.
### Who c... | Self query retriever with Vector Store type <class 'langchain_community.vectorstores.faiss.FAISS'> not supported. | https://api.github.com/repos/langchain-ai/langchain/issues/15331/comments | 4 | 2023-12-29T22:05:18Z | 2024-01-11T22:59:30Z | https://github.com/langchain-ai/langchain/issues/15331 | 2,060,431,327 | 15,331 |
[
"langchain-ai",
"langchain"
] | ### Feature request
This proposal requests the integration of the latest OpenAI models, specifically gpt-4-1106-preview, into the existing framework of [relevant GitHub project, e.g., LangChain]. The newer models offer significantly larger context windows, which are crucial for complex SQL querying and other advanced ... | Integration with OpenAI's Latest Models and API Compatibility | https://api.github.com/repos/langchain-ai/langchain/issues/15328/comments | 5 | 2023-12-29T20:33:36Z | 2024-04-11T17:54:09Z | https://github.com/langchain-ai/langchain/issues/15328 | 2,060,386,330 | 15,328 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
how to use embeddings in langchain with fireworks?(I need it for RAG) It's just that the documentation only talks about OpenAIEmbeddings
https://python.langchain.com/docs/modules/data_connection/text_embedding/
### Idea or request for content:
RAG with fireworks API | DOC: how to use embeddings in langchain with fireworks? | https://api.github.com/repos/langchain-ai/langchain/issues/15325/comments | 1 | 2023-12-29T19:38:49Z | 2024-04-05T16:08:39Z | https://github.com/langchain-ai/langchain/issues/15325 | 2,060,357,840 | 15,325 |
[
"langchain-ai",
"langchain"
] | ### System Info
"langchain": "^0.0.211",
MacOS Sonoma 14.2
Next.js 14.0.4
### Who can help?
@agola11
@hwc
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Tem... | Issue when running a simple ChatOllama prompt in Next.js/TypeScript: "Error: Single '}' in template." | https://api.github.com/repos/langchain-ai/langchain/issues/15318/comments | 2 | 2023-12-29T15:48:07Z | 2023-12-29T16:03:41Z | https://github.com/langchain-ai/langchain/issues/15318 | 2,060,210,050 | 15,318 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I have built a custom LLM Agent by following the Documentation provided. The custom agent contains multiple tools, one of them is the "LLMMathChain" which is giving me ValueError, cause my agent is passing "None" as an Action Input. I want to handle that error. So that my chatbot doesn't... | Issue: Error Handling in Tools used in custom agents | https://api.github.com/repos/langchain-ai/langchain/issues/15317/comments | 1 | 2023-12-29T12:44:32Z | 2024-04-05T16:08:35Z | https://github.com/langchain-ai/langchain/issues/15317 | 2,059,715,813 | 15,317 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Presently, JSON can be utilized to enable the multimodal capability of GPT-4 series models within ChatOpenAI and OpenAI. However, this functionality lacks portability.
### Motivation
Using multimodal approaches lacks portability, and GPT-4 isn't the sole model employing multimodal capabilities. T... | Add common mulit model support | https://api.github.com/repos/langchain-ai/langchain/issues/15316/comments | 3 | 2023-12-29T12:42:22Z | 2024-04-08T16:08:22Z | https://github.com/langchain-ai/langchain/issues/15316 | 2,059,700,790 | 15,316 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
below is my code, How can I implement Conversation Chain along with ConversationSummaryMemory in my code
`def retreival_qa_chain(chroma_db_path):
embedding = OpenAIEmbeddings()
vectordb = Chroma(persist_directory=chroma_db_path, embedding_function=embedding)
llm = ChatOp... | Issue: How can I implement Conversation Chain along with ConversationSummaryMemory | https://api.github.com/repos/langchain-ai/langchain/issues/15315/comments | 1 | 2023-12-29T11:23:25Z | 2024-04-05T16:08:25Z | https://github.com/langchain-ai/langchain/issues/15315 | 2,059,344,749 | 15,315 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am trying to add a specific prompt template to my ConversationalRetrievalChain. This is my current code:
> PROMPT_TEMPLATE = """
Act as the policies interactive Bot that gives advice on the Company policies, Travel policies, and Information security policies for the company.
Do ... | Issue: document_variable_name context was not found in llm_chain input_variables | https://api.github.com/repos/langchain-ai/langchain/issues/15314/comments | 1 | 2023-12-29T10:42:37Z | 2024-04-05T16:08:20Z | https://github.com/langchain-ai/langchain/issues/15314 | 2,059,302,480 | 15,314 |
[
"langchain-ai",
"langchain"
] | ### System Info
lc: 0.0.352, os: ubuntu 22, python 3.10
### Who can help?
### Description
I am encountering a significant performance issue when using Qdrant with HuggingfaceEmbeddings in a CPU-only environment, specifically within a FastAPI endpoint. The process is notably slow, particularly at the `aadd_documen... | Slow aadd_documents using Qdrant and HuggingfaceEmbeddings on CPU | https://api.github.com/repos/langchain-ai/langchain/issues/15310/comments | 1 | 2023-12-29T09:45:06Z | 2024-04-05T16:08:14Z | https://github.com/langchain-ai/langchain/issues/15310 | 2,059,251,491 | 15,310 |
[
"langchain-ai",
"langchain"
] | null | b | https://api.github.com/repos/langchain-ai/langchain/issues/15307/comments | 2 | 2023-12-29T08:30:47Z | 2023-12-29T08:37:37Z | https://github.com/langchain-ai/langchain/issues/15307 | 2,059,195,701 | 15,307 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.340
### 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
- [X] Output Parsers
... | The retrieval cannot be given the document correctly | https://api.github.com/repos/langchain-ai/langchain/issues/15306/comments | 4 | 2023-12-29T08:00:29Z | 2024-04-08T16:08:17Z | https://github.com/langchain-ai/langchain/issues/15306 | 2,059,175,187 | 15,306 |
[
"langchain-ai",
"langchain"
] | Hi @dosu-bot,
This is my code
```
import langchain
from langchain.cache import SQLAlchemyCache, Emb
from sqlalchemy import create_engine
from sqlalchemy.orm import declarative_base
from sqlalchemy import Column, Integer, Text
from urllib.parse import quote_plus
from langchain.llms import OpenAI
Base = dec... | How do i use similarity caching in my code? | https://api.github.com/repos/langchain-ai/langchain/issues/15304/comments | 1 | 2023-12-29T07:36:10Z | 2024-04-05T16:08:05Z | https://github.com/langchain-ai/langchain/issues/15304 | 2,059,159,495 | 15,304 |
[
"langchain-ai",
"langchain"
] | Hi @dosu-bot.
Below is my code,
```
from langchain.cache import SQLAlchemyCache
from sqlalchemy import create_engine
engine = create_engine("mssql+pyodbc://JUPYTER\SQLEXPRESS/my_database?driver=ODBC+Driver+17+for+SQL Server")
set_llm_cache(SQLAlchemyCache(engine))
memory = ConversationBufferWindowMemory(k... | Cache not getting saved in ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/15303/comments | 1 | 2023-12-29T06:30:14Z | 2024-04-05T16:07:59Z | https://github.com/langchain-ai/langchain/issues/15303 | 2,059,118,347 | 15,303 |
[
"langchain-ai",
"langchain"
] | ### System Info
Hi,
I'm new to this, so I apologize if my lack of in-depth understanding to how this library works caused to me raise a false alarm. Im trying to an ocr on pdf image using the UnstructuredPDFLoader, Im passing the following args:
`
loader = UnstructuredPDFLoader(file_path="myfile.pdf", mode="elem... | Using chipper model with hi_res strategy gives an error | https://api.github.com/repos/langchain-ai/langchain/issues/15300/comments | 2 | 2023-12-29T02:33:48Z | 2024-04-05T16:07:54Z | https://github.com/langchain-ai/langchain/issues/15300 | 2,059,008,076 | 15,300 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain = "^0.0.352"
@agola11
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
... | Cannot specify asyn clienct for OpenAIAssistantRunnable | https://api.github.com/repos/langchain-ai/langchain/issues/15299/comments | 1 | 2023-12-29T02:29:20Z | 2024-01-29T20:19:49Z | https://github.com/langchain-ai/langchain/issues/15299 | 2,059,006,360 | 15,299 |
[
"langchain-ai",
"langchain"
] | ### System Info
Name: langchain
Version: 0.0.352
Name: openai
Version: 1.6.1
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Pr... | Azure function not working - openai error with latest builds | https://api.github.com/repos/langchain-ai/langchain/issues/15289/comments | 3 | 2023-12-28T22:42:25Z | 2023-12-30T12:46:52Z | https://github.com/langchain-ai/langchain/issues/15289 | 2,058,918,716 | 15,289 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version: 0.0.348
Python 3.9.18
Mac OS M2 (Ventura 13.6.2)
AWS Bedrock Titan text express, Claude v2
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Em... | Incorrect Snowflake SQL dialect in SQLDatabaseChain | https://api.github.com/repos/langchain-ai/langchain/issues/15285/comments | 12 | 2023-12-28T21:26:16Z | 2024-04-22T16:31:04Z | https://github.com/langchain-ai/langchain/issues/15285 | 2,058,832,286 | 15,285 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain Version: 0.0.348
python Version: Python 3.9.18
OS: Mac OS M2 (Ventura 13.6.2)
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Pr... | AWS bedrock Claude v2 SQLDatabaseChain produces comments before the SQL Query | https://api.github.com/repos/langchain-ai/langchain/issues/15283/comments | 20 | 2023-12-28T19:51:15Z | 2024-06-08T16:08:26Z | https://github.com/langchain-ai/langchain/issues/15283 | 2,058,773,284 | 15,283 |
[
"langchain-ai",
"langchain"
] | ### System Info
```
from langchain.tools import DuckDuckGoSearchRun
from langchain.agents.openai_assistant import OpenAIAssistantRunnable
from langchain.agents import AgentExecutor
tools = [DuckDuckGoSearchRun()]
assistant = OpenAIAssistantRunnable.create_assistant(
name="langchain assistant",
... | OpenAIAssistantRunnable stuck on execution with langchain tools | https://api.github.com/repos/langchain-ai/langchain/issues/15270/comments | 2 | 2023-12-28T13:33:35Z | 2023-12-28T17:46:23Z | https://github.com/langchain-ai/langchain/issues/15270 | 2,058,448,990 | 15,270 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python: 3.11
Langchain: 0.0.352
mistralai: 0.0.8
### Who can help?
@efriis
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt ... | [mistralai]: Don´t support stop sequence | https://api.github.com/repos/langchain-ai/langchain/issues/15269/comments | 2 | 2023-12-28T13:14:32Z | 2024-01-10T00:27:22Z | https://github.com/langchain-ai/langchain/issues/15269 | 2,058,428,380 | 15,269 |
[
"langchain-ai",
"langchain"
] | ### System Info
Is there any way to manipulate the data in database like update, insert, delete through chatgpt chatbot with openai and langchain?
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [x] LLMs/Chat Mo... | Manipulating database using chatgpt | https://api.github.com/repos/langchain-ai/langchain/issues/15266/comments | 7 | 2023-12-28T12:24:15Z | 2024-05-10T03:22:41Z | https://github.com/langchain-ai/langchain/issues/15266 | 2,058,376,378 | 15,266 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
According to the documentation listed under the page: https://python.langchain.com/docs/modules/agents/how_to/add_memory_openai_functions, adding a `BaseChatMemory` as `memory` property to an `OpenAIFunctionAgent` should add "memory" to the agent.
**Example listed under the p... | DOC: Issue with the page titled "Add Memory to OpenAI Functions Agent | 🦜️🔗 Langchain" | https://api.github.com/repos/langchain-ai/langchain/issues/15262/comments | 2 | 2023-12-28T10:39:12Z | 2023-12-28T11:05:16Z | https://github.com/langchain-ai/langchain/issues/15262 | 2,058,277,920 | 15,262 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It should be possible to search a Chroma vectorstore for a particular Document by it's ID. Given that the Document object is required for the `update_document` method, this lack of functionality makes it difficult to update document metadata, which should be a fairly common use-case.
Currently, ... | Get Chroma vectorstore Document by `doc_id` for document / metadata updates. | https://api.github.com/repos/langchain-ai/langchain/issues/15261/comments | 1 | 2023-12-28T09:48:44Z | 2024-04-04T16:09:01Z | https://github.com/langchain-ai/langchain/issues/15261 | 2,058,224,878 | 15,261 |
[
"langchain-ai",
"langchain"
] | ### System Info
0.0.350
### 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 Loader... | qdrant.amax_marginal_relevance_search have not results but qdrant.max_marginal_relevance_search hava results | https://api.github.com/repos/langchain-ai/langchain/issues/15256/comments | 1 | 2023-12-28T07:41:26Z | 2023-12-29T03:31:51Z | https://github.com/langchain-ai/langchain/issues/15256 | 2,058,104,532 | 15,256 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python: 3.10
from langchain.chat_models import ChatOpenAI
openai = ChatOpenAI(model_name="gpt-3.5-turbo",
temperature=0.8,
max_tokens=60)
error occurs at openai.py, error message is: AttributeError: module 'openai' has no attribute 'OpenAI'
the re... | langchain 0.5.7 not match latest openai | https://api.github.com/repos/langchain-ai/langchain/issues/15255/comments | 1 | 2023-12-28T07:17:09Z | 2024-04-04T16:08:56Z | https://github.com/langchain-ai/langchain/issues/15255 | 2,058,083,922 | 15,255 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Similar to the way callbacks are implemented in BaseLLM the embedding class should also support callbacks.
### Motivation
When using embedding models in a RAG application it would be useful to track e.g. the number of tokens.
Callbacks can be used to log usage details to monitoring services (e... | Callbacks for embeddings | https://api.github.com/repos/langchain-ai/langchain/issues/15253/comments | 2 | 2023-12-28T06:29:24Z | 2024-06-11T16:07:18Z | https://github.com/langchain-ai/langchain/issues/15253 | 2,058,046,954 | 15,253 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
What should I do if I want to log the number of tokens shot with llm in chain via lcel?
### Suggestion:
lcel chain token usage tracking | Issue: lcel chain token usage tracking | https://api.github.com/repos/langchain-ai/langchain/issues/15249/comments | 3 | 2023-12-28T04:51:21Z | 2024-06-24T16:07:30Z | https://github.com/langchain-ai/langchain/issues/15249 | 2,057,986,272 | 15,249 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I do not understand how chains are built with the transfer of information between generations. here is an example of the code in the langchain [documentation](https://python.langchain.com/docs/expression_language/why):
```
from langchain_core.runnables import RunnablePassthrou... | DOC: langchain LCEL - transfer of information between generations | https://api.github.com/repos/langchain-ai/langchain/issues/15247/comments | 10 | 2023-12-28T04:06:17Z | 2024-04-05T16:07:50Z | https://github.com/langchain-ai/langchain/issues/15247 | 2,057,963,845 | 15,247 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Based on the documentation and RFC standards referenced in the links:
- https://peps.python.org/pep-0604/
- https://www.blog.pythonlibrary.org/2021/09/11/python-3-10-simplifies-unions-in-type-annotations/
it's evident that the introduction of using | instead of 'union' for type an... | python 3.10 `|` union syntax compatibility | https://api.github.com/repos/langchain-ai/langchain/issues/15244/comments | 1 | 2023-12-28T02:53:57Z | 2023-12-28T06:06:43Z | https://github.com/langchain-ai/langchain/issues/15244 | 2,057,929,816 | 15,244 |
[
"langchain-ai",
"langchain"
] | ### System Info
如何对langchain加载的chatglm-6b模型进行量化处理
### Who can help?
@hwchase17 @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 Selectors
-... | 如何对langchain加载的chatglm-6b模型进行量化处理 | https://api.github.com/repos/langchain-ai/langchain/issues/15243/comments | 3 | 2023-12-28T02:17:17Z | 2024-04-04T16:08:46Z | https://github.com/langchain-ai/langchain/issues/15243 | 2,057,912,633 | 15,243 |
[
"langchain-ai",
"langchain"
] | ### System Info
I used the standard code example from the langchain documentation about Fireworks where I inserted my API key. That's the mistake I made:
```
[llm/start] [1:llm:Fireworks] Entering LLM run with input:
{
"prompts": [
"Name 3 sports."
]
}
[llm/error] [1:llm:Fireworks] [761ms] LLM run erro... | error when running the sample code from the langchain documentation about fireworks | https://api.github.com/repos/langchain-ai/langchain/issues/15239/comments | 1 | 2023-12-28T01:10:59Z | 2023-12-28T01:24:35Z | https://github.com/langchain-ai/langchain/issues/15239 | 2,057,882,953 | 15,239 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
hello everyone! Is it possible to use the OpenAI-compatible URL API from text-generation-webui with langchain? the langchain [documentation](https://python.langchain.com/docs/integrations/llms/textgen) says about localhost, but I don't have access to it, I tried to insert the link... | DOC: langchain plus OpenAI-compatible URL API equally error | https://api.github.com/repos/langchain-ai/langchain/issues/15237/comments | 6 | 2023-12-28T00:56:43Z | 2024-01-04T16:19:09Z | https://github.com/langchain-ai/langchain/issues/15237 | 2,057,877,277 | 15,237 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am receiving this error 2 validation errors for ConversationalRetrievalChain
qa_template
extra fields not permitted (type=value_error.extra)
question_generator_chain_options
extra fields not permitted (type=value_error.extra) , for the following code :
```
retriever = v... | Issue: validation errors for ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/15236/comments | 3 | 2023-12-28T00:30:51Z | 2024-04-04T16:08:41Z | https://github.com/langchain-ai/langchain/issues/15236 | 2,057,867,182 | 15,236 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.340
Python version: 3.11.0
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt ... | Executing Chain with HuggingFace Models using wrapper | https://api.github.com/repos/langchain-ai/langchain/issues/15235/comments | 1 | 2023-12-28T00:20:19Z | 2024-04-04T16:08:36Z | https://github.com/langchain-ai/langchain/issues/15235 | 2,057,862,832 | 15,235 |
[
"langchain-ai",
"langchain"
] | ### System Info
python = "3.11"
langchain = "0.0.352"
cohere = "4.39"
mlflow = {extras = ["genai"], version = "2.9.2"}
### Who can help?
@harupy
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Cha... | MlflowEmbeddings: input_type argument is missing, required by Cohere embeddings models | https://api.github.com/repos/langchain-ai/langchain/issues/15234/comments | 2 | 2023-12-27T23:59:40Z | 2024-03-21T20:47:30Z | https://github.com/langchain-ai/langchain/issues/15234 | 2,057,854,254 | 15,234 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I am currently following the document to use a hugigngface LLM as a chat model: https://python.langchain.com/docs/integrations/chat/huggingface
I have setup my Huggingface API and am using Option 3 (HuggingFaceHub) to instantiate an LLM.
After running this line: chat_model.... | HuggingFace Chat Wrapper - issue with HuggingFaceHub | https://api.github.com/repos/langchain-ai/langchain/issues/15232/comments | 4 | 2023-12-27T21:52:37Z | 2024-04-03T16:09:39Z | https://github.com/langchain-ai/langchain/issues/15232 | 2,057,799,134 | 15,232 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
@dosu-bot Currently im experiencing an old bug that was supposed to be fixed patches ago.
```
File "/layers/google.python.pip/pip/lib/python3.10/site-packages/flask/app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
File "/layers/google.python.pip/pip/lib... | TypeError: _ChatSessionBase.send_message() got an unexpected keyword argument 'candidate_count' | https://api.github.com/repos/langchain-ai/langchain/issues/15228/comments | 1 | 2023-12-27T19:07:13Z | 2024-04-03T16:09:34Z | https://github.com/langchain-ai/langchain/issues/15228 | 2,057,694,401 | 15,228 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
from langchain.document_loaders.parsers.pdf import PDFPlumberParser
def generate_embeddings(config: dict = None, urls = None, file_path = None, persist_directory=None):
if file_path:
parser = PDFPlumberParser()
data = parser.load(file_path)
processed_da... | Issue: issue with pdfplumber | https://api.github.com/repos/langchain-ai/langchain/issues/15227/comments | 7 | 2023-12-27T18:50:09Z | 2024-04-04T16:08:31Z | https://github.com/langchain-ai/langchain/issues/15227 | 2,057,681,667 | 15,227 |
[
"langchain-ai",
"langchain"
] | ### Feature request
As per documentation there's a package for Gemini support but this only works for Gemini API and doesn't work with Vertexai.
https://python.langchain.com/docs/integrations/platforms/google
However in the vertexai docs gemini is mentioned (for some reason gemini ultra ? ) even though when tried wi... | support gemini on vertexai | https://api.github.com/repos/langchain-ai/langchain/issues/15222/comments | 9 | 2023-12-27T17:07:05Z | 2024-04-24T16:47:21Z | https://github.com/langchain-ai/langchain/issues/15222 | 2,057,600,249 | 15,222 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I need a mechanism to allow more control over the ANN search performed for a given RAG chain. Consider the initial example:
```
retriever = vectorstore.as_retriever()
template = """You're a helpful assistant who is great at code generation. Don't give me any explanation or summary. I'll give you... | Enable manual override of vector search query for controlled RAG | https://api.github.com/repos/langchain-ai/langchain/issues/15221/comments | 1 | 2023-12-27T16:54:54Z | 2024-04-03T16:09:24Z | https://github.com/langchain-ai/langchain/issues/15221 | 2,057,589,837 | 15,221 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version: 0.0.341
OpenAI version: 1.3.5
Model: gpt-4-1106-preview
Python version:3.10.13
Platform: Celery worker in Docker Container
### Who can help?
@eyurtsev @hwchase17 @ag
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
###... | Langchain agent not executing properly in Celery worker running as Docker container | https://api.github.com/repos/langchain-ai/langchain/issues/15220/comments | 9 | 2023-12-27T16:42:21Z | 2024-03-14T14:26:45Z | https://github.com/langchain-ai/langchain/issues/15220 | 2,057,579,438 | 15,220 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
Like title, haven't found anything in the doc - docubot please help
### Idea or request for content:
having a proper document could help | how to create a custom chat model | https://api.github.com/repos/langchain-ai/langchain/issues/15214/comments | 2 | 2023-12-27T13:27:25Z | 2024-04-03T16:09:19Z | https://github.com/langchain-ai/langchain/issues/15214 | 2,057,373,883 | 15,214 |
[
"langchain-ai",
"langchain"
] | ### System Info

I am plannign to add new param like "affeciton"
How could I set the query databody to fill up the params here?( Langserve setup !)
" | https://api.github.com/repos/langchain-ai/langchain/issues/15210/comments | 1 | 2023-12-27T11:46:08Z | 2024-04-03T16:09:09Z | https://github.com/langchain-ai/langchain/issues/15210 | 2,057,277,681 | 15,210 |
[
"langchain-ai",
"langchain"
] | ### System Info
Baichuan Chat (with both Baichuan-Turbo and Baichuan-Turbo-192K models) has updated their APIs. There are breaking changes. For example, BAICHUAN_SECRET_KEY is removed in the latest API but is still required in Langchain. Baichuan's Langchain integration needs to be updated to the latest version.
A... | Fix Baichuan's integration and introduce Baichuan-Turbo-192K API. | https://api.github.com/repos/langchain-ai/langchain/issues/15206/comments | 1 | 2023-12-27T10:21:21Z | 2024-04-03T16:09:04Z | https://github.com/langchain-ai/langchain/issues/15206 | 2,057,190,266 | 15,206 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I am using ConversationalRetrievalChain
with a callback handler for streaming responses back.
> qa_chain =ConversationalRetrievalChain.from_llm(
llm=chat,
retriever=MyVectorStoreRetriever(
vectorstore=vectordb,
search_type="similarit... | Issue: Streaming Response contains the rephrased question in ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/15205/comments | 3 | 2023-12-27T10:20:47Z | 2024-04-03T16:08:59Z | https://github.com/langchain-ai/langchain/issues/15205 | 2,057,189,374 | 15,205 |
[
"langchain-ai",
"langchain"
] | ### System Info
OS: MacOS Sonoma
Python: 3.11.6
LangChain: 0.0.352
llama-cpp-python = 0.2.25
pydantic: 1.10.13 (I know that it is not the latest version, but version 1 is still officially supported)
### Who can help?
@hwchase17
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own... | Pydantic forward ref issue when creating using LlamaCpp with grammar | https://api.github.com/repos/langchain-ai/langchain/issues/15204/comments | 1 | 2023-12-27T10:11:11Z | 2024-04-03T16:08:54Z | https://github.com/langchain-ai/langchain/issues/15204 | 2,057,179,711 | 15,204 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/tools/render.py
https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/tools/convert_to_openai.py
For backward compatibility purposes, should we proceed with a d... | Issue: Identical Content in Two Files | https://api.github.com/repos/langchain-ai/langchain/issues/15203/comments | 1 | 2023-12-27T09:49:59Z | 2024-04-03T16:08:49Z | https://github.com/langchain-ai/langchain/issues/15203 | 2,057,154,943 | 15,203 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchian=0.0.352
qianfan=0.2.4
When I tried the usage of agent in this [video](https://learn.deeplearning.ai/langchain/lesson/7/agents), I changed the model in it from ChatGpt-3.5-turbo to ERNIE-Bot, and the output of agent showed the following error:
```bash
> Entering new AgentExecutor cha... | "Could not parse LLM output" when using QianfanChatEndpoint in agent. | https://api.github.com/repos/langchain-ai/langchain/issues/15199/comments | 2 | 2023-12-27T08:49:02Z | 2024-04-04T16:08:26Z | https://github.com/langchain-ai/langchain/issues/15199 | 2,057,093,818 | 15,199 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
```python
conversational_qa_chain = (
_inputs | _context | ConfigurableTokenLimitProcessor(model="gpt_35_turbo").configurable_fields(
model=ConfigurableFieldSingleOption(
id="model",
name="model",
options={
"gpt_35_turbo": "gpt_35_tu... | Issue: lcel langserve with_fallbacks streaming | https://api.github.com/repos/langchain-ai/langchain/issues/15195/comments | 4 | 2023-12-27T04:53:43Z | 2024-05-22T16:07:52Z | https://github.com/langchain-ai/langchain/issues/15195 | 2,056,910,699 | 15,195 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I apologize for the naive question.it's not about an error or a bug.
I'm trying to implement routing by following the guide here: https://python.langchain.com/docs/modules/chains/foundational/router
However, I can't figure out how to use RAG.
I tried changing the last code in the gu... | Issue: <Please tell me how to combine Routing and RAG in a chain.> | https://api.github.com/repos/langchain-ai/langchain/issues/15193/comments | 5 | 2023-12-27T04:29:43Z | 2024-04-16T16:20:16Z | https://github.com/langchain-ai/langchain/issues/15193 | 2,056,898,273 | 15,193 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
why CSVLoader can't load? error:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[25], line 1
----> 1 from langchain.document_loaders.csv_loader import CSVLoader
3... | Issue: <CSVLoader can't load> | https://api.github.com/repos/langchain-ai/langchain/issues/15192/comments | 9 | 2023-12-27T03:54:38Z | 2024-03-01T05:21:04Z | https://github.com/langchain-ai/langchain/issues/15192 | 2,056,881,303 | 15,192 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm going to make a chain through lcel and try to process an error through `with_fallbacks` at the end, but unlike before I put `with_fallbacks`, streaming is not possible and all responses go down at once. Can i process streaming using `with_fallbacks`?
### Suggestion:
lcel `with_fall... | Issue: lcel `with_fallbacks` streaming | https://api.github.com/repos/langchain-ai/langchain/issues/15191/comments | 1 | 2023-12-27T03:40:56Z | 2023-12-27T04:53:55Z | https://github.com/langchain-ai/langchain/issues/15191 | 2,056,875,193 | 15,191 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
If the rate limit of the api key is exceeded when developing a chain through lcel, I want to dynamically change another api key and retry to give the client a normal response, is there a way?
### Suggestion:
Dynamically catch an error in lcel, change the api key, and try again | Issue: openai api key rate limit error handing | https://api.github.com/repos/langchain-ai/langchain/issues/15190/comments | 2 | 2023-12-27T03:37:31Z | 2024-04-03T16:08:39Z | https://github.com/langchain-ai/langchain/issues/15190 | 2,056,873,561 | 15,190 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I want to contribute to one of the libs and started a fork. Here are the steps I took:
I am trying to add a new feature but first need to experiment with it. I am unsure on how to get started writing some short scripts to use the libs.
1. I went into ```libs/experimental```... | DOC: How to write my own short scripts within a fork to test some code? | https://api.github.com/repos/langchain-ai/langchain/issues/15177/comments | 2 | 2023-12-26T18:42:18Z | 2024-05-04T08:50:34Z | https://github.com/langchain-ai/langchain/issues/15177 | 2,056,625,948 | 15,177 |
[
"langchain-ai",
"langchain"
] | ### System Info
OS: Windows
Python: 3.9.10
Langchain version: 0.0.352
openai version: 1.6.1
### Who can help?
@BeautyyuYanli
@baskaryan
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompt... | pgvecto.rs: retriever filter not working | https://api.github.com/repos/langchain-ai/langchain/issues/15173/comments | 2 | 2023-12-26T14:35:49Z | 2024-01-15T19:42:01Z | https://github.com/langchain-ai/langchain/issues/15173 | 2,056,466,694 | 15,173 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
`def generate_custom_prompt(new_project_qa,query,name,not_uuid):
check = query.lower()
result = new_project_qa(query)
relevant_document = result['source_documents']
context_text="\n\n---\n\n".join([doc.page_content for doc in relevant_document])
# print(cont... | Issue: Explain Memory and How it's implemented in my Case. | https://api.github.com/repos/langchain-ai/langchain/issues/15170/comments | 4 | 2023-12-26T12:45:59Z | 2023-12-27T05:34:44Z | https://github.com/langchain-ai/langchain/issues/15170 | 2,056,381,701 | 15,170 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I would like to build RAG based on Mistral 7B model
The model is already hosted, and I provide llm_url in the custom LLM setup
I am able to make a request and get a response from the URL using the `llm._call` method, however something is wrong with the callbacks in `RetrievalQA.from_... | Issue: Custom Mistral based LLM from API for RetrievalQA chain | https://api.github.com/repos/langchain-ai/langchain/issues/15168/comments | 5 | 2023-12-26T11:56:09Z | 2024-06-26T12:00:33Z | https://github.com/langchain-ai/langchain/issues/15168 | 2,056,342,401 | 15,168 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Given a tool that generates a dataframe, how can I pass it through the chain?
```
llm_with_tools = llm.bind(functions=[format_tool_to_openai_function(t) for t in tools])
prompt = ChatPromptTemplate.from_messages(
[
("system", """
You are a helpful a... | Issue: Pass additional data through AgentExecutor | https://api.github.com/repos/langchain-ai/langchain/issues/15165/comments | 3 | 2023-12-26T10:47:02Z | 2024-06-19T08:30:56Z | https://github.com/langchain-ai/langchain/issues/15165 | 2,056,290,653 | 15,165 |
[
"langchain-ai",
"langchain"
] | ### System Info
python3.10
langchain 0.0.333
### Who can help?
@hwchase17 @agola11 @agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [X] Prompts / Prompt Templates / Prompt... | 【BUG】ConversationalRetrievalChain.from_llm and pass in chat_history, there is a problem with the callback. | https://api.github.com/repos/langchain-ai/langchain/issues/15164/comments | 2 | 2023-12-26T09:32:29Z | 2024-01-10T03:36:51Z | https://github.com/langchain-ai/langchain/issues/15164 | 2,056,226,273 | 15,164 |
[
"langchain-ai",
"langchain"
] | is it correct using CharacterTextSplitter in Confluence
### Issue you'd like to raise.
confluence_url = config.get("confluence_url", None)
username = config.get("username", None)
api_key = config.get("api_key", None)
space_key = config.get("space_key", None)
documents = [... | Issue: How it can be splitted ? | https://api.github.com/repos/langchain-ai/langchain/issues/15162/comments | 1 | 2023-12-26T07:41:33Z | 2023-12-26T10:37:39Z | https://github.com/langchain-ai/langchain/issues/15162 | 2,056,133,474 | 15,162 |
[
"langchain-ai",
"langchain"
] | ### System Info
When I set `verbose=True` when creating chains using ConversationBufferMemory as memory and **redirect** the output to a txt/log file, the return messages shows that the ConversationBufferMemory saves same round conversation twice. You can get the example in later part of this issue.
**This problem ... | Does ConversationBufferMemory actually save conversation twice? | https://api.github.com/repos/langchain-ai/langchain/issues/15161/comments | 2 | 2023-12-26T07:21:01Z | 2024-01-02T06:47:11Z | https://github.com/langchain-ai/langchain/issues/15161 | 2,056,117,735 | 15,161 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
i'm using openai function call agent , gpt llm offen gives bad tool parameters, i want to achieve this: pass certain params to all tools through through some path, before every tool get executed, i can check whether the llm produced params is right or directly use the certain params ... | Issue: i want to use langchain callbacks to pass a tool parameter to it? what should i do? | https://api.github.com/repos/langchain-ai/langchain/issues/15160/comments | 1 | 2023-12-26T06:56:58Z | 2024-04-02T16:07:09Z | https://github.com/langchain-ai/langchain/issues/15160 | 2,056,099,364 | 15,160 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
When using Qdrant as retriever, how to retrieve the relevant documents with the similarity score? For now, I do not see any methods that I can use to retrieve the documents and also return me the similarity score. However, if use the vector store to run similarity search, I have the opti... | Issue: When using Qdrant as retriever, how to retrieve the relevant documents with the similarity score? | https://api.github.com/repos/langchain-ai/langchain/issues/15158/comments | 4 | 2023-12-26T06:24:17Z | 2024-04-02T16:07:04Z | https://github.com/langchain-ai/langchain/issues/15158 | 2,056,076,604 | 15,158 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
I've wondering that in this part of the code in order to define `cypher generation template` of langchain with neo4j graph database from Neo4j DB QA chain Documentation
```python
from langchain.prompts.prompt import PromptTemplate
CYPHER_GENERATION_TEMPLATE = """Task:Genera... | DOC: Need some clarification on Neo4j DB QA chain documentation | https://api.github.com/repos/langchain-ai/langchain/issues/15157/comments | 3 | 2023-12-26T04:36:18Z | 2024-04-02T16:06:59Z | https://github.com/langchain-ai/langchain/issues/15157 | 2,056,019,228 | 15,157 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain Version: 0.0.352
Langchain experimental Version: 0.0.47
Python : 3.10
Ubuntu : 22.04
Poetry is being used
**Code: `test.py`**
```python
import json
from langchain.schema import HumanMessage
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.stre... | langchain_community.llms.ollama.OllamaEndpointNotFoundError: Ollama call failed with status code 404 | https://api.github.com/repos/langchain-ai/langchain/issues/15147/comments | 9 | 2023-12-25T14:08:45Z | 2024-05-29T12:18:55Z | https://github.com/langchain-ai/langchain/issues/15147 | 2,055,708,933 | 15,147 |
[
"langchain-ai",
"langchain"
] | ### System Info
Langchain version 0.352
SystemMessage is ignored when I invoke AgentExecutor.run function. the code looks as below.
```
from typing import Tuple, Dict
from langchain.agents import initialize_agent, AgentType
from langchain.agents.agent import AgentExecutor
from langchain.agents.format_scr... | SystemMessage are not considered while creating AgentExecutor with OPENAI_FUNCTIONS | https://api.github.com/repos/langchain-ai/langchain/issues/15145/comments | 5 | 2023-12-25T12:11:14Z | 2024-04-01T16:06:55Z | https://github.com/langchain-ai/langchain/issues/15145 | 2,055,649,057 | 15,145 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain==0.0.352
langchain-community==0.0.6
langchain-core==0.1.3
### 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 ... | OpenAIWhisperParserLocal fails when specifying cuda device but cuda is not available | https://api.github.com/repos/langchain-ai/langchain/issues/15143/comments | 1 | 2023-12-25T09:53:52Z | 2024-04-01T16:06:50Z | https://github.com/langchain-ai/langchain/issues/15143 | 2,055,569,018 | 15,143 |
[
"langchain-ai",
"langchain"
] | ### System Info
wsl
conda 23.7.4 python 3.8.11
### 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
- [... | HuggingFaceHub api can not pass trust_remote_code argument | https://api.github.com/repos/langchain-ai/langchain/issues/15141/comments | 1 | 2023-12-25T09:10:42Z | 2024-04-01T16:06:45Z | https://github.com/langchain-ai/langchain/issues/15141 | 2,055,540,800 | 15,141 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
In the current documentations the output of `Upstash Redis Cache` section in LLM Caching documentation seems wrong. The second run after caching is done has wrong output and wrong code and comments written in the code block.
### Idea or request for content:
Update the code block... | DOC: Wrong output in `Upstash Redis Cache` section of LLM Caching documentation | https://api.github.com/repos/langchain-ai/langchain/issues/15139/comments | 1 | 2023-12-25T07:13:29Z | 2024-04-01T16:06:40Z | https://github.com/langchain-ai/langchain/issues/15139 | 2,055,458,803 | 15,139 |
[
"langchain-ai",
"langchain"
] | ### System Info
LangChain : 0.0.352
Python : 3.11.5
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output P... | Sagemaker Endpoint not working streaming | https://api.github.com/repos/langchain-ai/langchain/issues/15138/comments | 1 | 2023-12-25T06:28:01Z | 2024-04-01T16:06:35Z | https://github.com/langchain-ai/langchain/issues/15138 | 2,055,427,344 | 15,138 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Currently if one wants to use the RetryWithErrorOutputParser - we need to do the parsing manually instead of generating a chain that does it for us (including all the nice chain functions: batch, ainvoke, etc)
There are 2 issues:
1. The RetryWithOutputParser requires the prompt to be given to i... | RetryWithErrorOutputParser does not work with LLMChain because it does not implement the `parse` function | https://api.github.com/repos/langchain-ai/langchain/issues/15133/comments | 3 | 2023-12-24T21:26:43Z | 2024-05-06T16:07:59Z | https://github.com/langchain-ai/langchain/issues/15133 | 2,055,216,057 | 15,133 |
[
"langchain-ai",
"langchain"
] |
# How Adding a prompt template to conversational retrieval chain giving the code:
`template= """Use the following pieces of context to answer the question at the end.
If you don't know the answer,
just say that you don't know.
{context}
Question: {question}
Helpful Answer:"""
QA_CHAIN_PROMPT = PromptTemp... | Adding Prompt template to ConversationalRetrievalChain.from_llm | https://api.github.com/repos/langchain-ai/langchain/issues/15132/comments | 1 | 2023-12-24T21:26:16Z | 2024-03-31T16:06:50Z | https://github.com/langchain-ai/langchain/issues/15132 | 2,055,216,000 | 15,132 |
[
"langchain-ai",
"langchain"
] | ### System Info
windows
### Who can help?
@hwchase17
@agola11
### 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 Lo... | chain.invoke is no longer taking a json as input | https://api.github.com/repos/langchain-ai/langchain/issues/15131/comments | 1 | 2023-12-24T17:35:05Z | 2024-03-31T16:06:45Z | https://github.com/langchain-ai/langchain/issues/15131 | 2,055,171,635 | 15,131 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain version: 0.0.352, Windows 10, Python 3.11.6,
### 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 /... | Template issue: Neo4J environmental variables in .env file not found | https://api.github.com/repos/langchain-ai/langchain/issues/15130/comments | 3 | 2023-12-24T14:59:45Z | 2024-03-31T16:06:40Z | https://github.com/langchain-ai/langchain/issues/15130 | 2,055,130,570 | 15,130 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
Environment
```
Edition Windows 11 Home
Version 22H2
Installed on 4/30/2023
OS build 22621.2861
Experience Windows Feature Experience Pack 1000.22681.1000.0
langchain package version: "0.0.212"
zod package version: "3.22.4"
typescript package version: "5.1.6"
```
Prom... | Issue: LLMChain error. response_format json error with messages. Messages is array of array | https://api.github.com/repos/langchain-ai/langchain/issues/15125/comments | 4 | 2023-12-24T12:57:20Z | 2023-12-24T15:06:36Z | https://github.com/langchain-ai/langchain/issues/15125 | 2,055,093,069 | 15,125 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
If my agent tool requires user to pass 2 parameters, and if these 2 parameters are not included in the user's question, how can I remind him to enter the parameters
### Suggestion:
_No response_ | If my agent tool requires user to pass 2 parameters, and if these 2 parameters are not included in the user's question, how can I remind him to enter the parametersIssue: <Please write a comprehensive title after the 'Issue: ' prefix> | https://api.github.com/repos/langchain-ai/langchain/issues/15122/comments | 1 | 2023-12-24T07:32:59Z | 2024-03-31T16:06:35Z | https://github.com/langchain-ai/langchain/issues/15122 | 2,055,013,662 | 15,122 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
what is RAG and how it's implemented as of now I completed exploring custom_prompt_template and want to know more about RAG?
### Suggestion:
_No response_ | Issue: what is RAG and how it's implemented? | https://api.github.com/repos/langchain-ai/langchain/issues/15116/comments | 5 | 2023-12-24T06:39:33Z | 2024-04-01T16:06:30Z | https://github.com/langchain-ai/langchain/issues/15116 | 2,055,002,722 | 15,116 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I suspect a potential issue where Chroma.from_documents might not be embedding and storing vectors for metadata in documents.
I have loaded five tabular documents using DataFrameLoader. However, when attempting to retrieve content based on similarity from the vector store, it appears ... | Chroma.from_documents exclude metadata in embedding? [Question] | https://api.github.com/repos/langchain-ai/langchain/issues/15115/comments | 5 | 2023-12-24T06:13:37Z | 2024-03-31T16:06:25Z | https://github.com/langchain-ai/langchain/issues/15115 | 2,054,997,867 | 15,115 |
[
"langchain-ai",
"langchain"
] | ### Feature request
It would be great to have adapters support in huggingface embedding class
### Motivation
Many really good embedding models have special adapters for retrieval, for example specter2 which is a leading embedding for scientific texts have many adapters, for example https://huggingface.co/allenai/sp... | add support for embedding models with adapters | https://api.github.com/repos/langchain-ai/langchain/issues/15112/comments | 2 | 2023-12-24T01:18:05Z | 2024-04-03T16:08:34Z | https://github.com/langchain-ai/langchain/issues/15112 | 2,054,952,674 | 15,112 |
[
"langchain-ai",
"langchain"
] | ### Feature request
Add streaming support for Together AI Endpoints in Langchain. The official endpoint supports streaming with `stream_tokens` keyword, which should be not that hard to implement `_stream` method and add streaming support with the `streaming = True` flag
this is what the endpoint output when `stream_... | [improvement] Add Streaming Support for Together AI | https://api.github.com/repos/langchain-ai/langchain/issues/15109/comments | 1 | 2023-12-23T19:48:33Z | 2024-03-30T16:07:11Z | https://github.com/langchain-ai/langchain/issues/15109 | 2,054,881,350 | 15,109 |
[
"langchain-ai",
"langchain"
] | ### Feature request
I am using langchain.vectorstores.redis and langchain.chains.ConversationalRetrievalChain.from_llm
I would like to get the scores of the matching documents with my query.
I know you can filter with the `search_kwargs={"score_threshold": 0.8}`
But still I want to get the similarity score... | Return similarity score ConversationalRetrievalChain | https://api.github.com/repos/langchain-ai/langchain/issues/15097/comments | 5 | 2023-12-23T11:56:23Z | 2024-04-04T16:08:21Z | https://github.com/langchain-ai/langchain/issues/15097 | 2,054,765,710 | 15,097 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
I'm trying to initialize an existing collection via:
store = PGVector(
collection_name=COLLECTION_NAME,
connection_string=CONNECTION_STRING,
embedding_function=embeddings,
)
I keep getting:
Exception has occurred: NoReferencedTableError
Foreign key associated wi... | Foreign key associated with column 'langchain_pg_embedding.collection_id' could not find table | https://api.github.com/repos/langchain-ai/langchain/issues/15096/comments | 1 | 2023-12-23T11:56:18Z | 2024-03-30T16:07:01Z | https://github.com/langchain-ai/langchain/issues/15096 | 2,054,765,699 | 15,096 |
[
"langchain-ai",
"langchain"
] | ### Feature request
The safety settings are there in the **google_generativeai** library are are **not** there in the **langchain_google_genai** library
The safety settings is an basically array of dictionaries passed when sending the prompt
### Motivation
The problem with not having this is that when we use the Ch... | Feature: No safety settings when using langchain_google_genai's ChatGoogleGenerativeAI | https://api.github.com/repos/langchain-ai/langchain/issues/15095/comments | 22 | 2023-12-23T09:00:07Z | 2024-08-02T10:50:19Z | https://github.com/langchain-ai/langchain/issues/15095 | 2,054,725,088 | 15,095 |
[
"langchain-ai",
"langchain"
] | ### System Info
langchain 0.0.352
### 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... | Agent how to call remote tool (exposed by langserve) | https://api.github.com/repos/langchain-ai/langchain/issues/15094/comments | 1 | 2023-12-23T08:50:23Z | 2024-03-30T16:06:56Z | https://github.com/langchain-ai/langchain/issues/15094 | 2,054,722,951 | 15,094 |
[
"langchain-ai",
"langchain"
] | ### System Info
I'm using the latest version of langchain.
When my system prompt is longer than 23 lines, i get this error:
KeyError: "Input to ChatPromptTemplate is missing variable ''. Expected: ['', 'description'] Received: ['description']"
It's being generated from this snippet:
```
def generate_output(u... | Issue with ChatPromptTemplate | https://api.github.com/repos/langchain-ai/langchain/issues/15093/comments | 4 | 2023-12-23T08:09:22Z | 2024-03-31T16:06:10Z | https://github.com/langchain-ai/langchain/issues/15093 | 2,054,713,803 | 15,093 |
[
"langchain-ai",
"langchain"
] | ### Issue you'd like to raise.
`def generate_custom_prompt(new_project_qa,query,name,not_uuid):
check = query.lower()
result = new_project_qa(query)
relevant_document = result['source_documents']
context_text="\n\n---\n\n".join([doc.page_content for doc in relevant_document])
user_experienc... | Issue: Getting error while using ChatPromptTemplate | https://api.github.com/repos/langchain-ai/langchain/issues/15089/comments | 6 | 2023-12-23T05:10:34Z | 2024-04-18T16:21:18Z | https://github.com/langchain-ai/langchain/issues/15089 | 2,054,676,213 | 15,089 |
[
"langchain-ai",
"langchain"
] | ### System Info
Python 3.11
langchain 0.0.352
langchain-core 0.1.3
langchain-community 0.0.4 (doesn't work with neithwer `from langchain.llms import OpenAI` nor `langchain.chat_models import ChatOpenAI`)
langchain-community 0.0.2 (works as expected with `from langchain.llms import OpenAI` but it doesn't with `lang... | SelfQueryRetriever broken with latest langchain-community or using ChatOpenAI as llm | https://api.github.com/repos/langchain-ai/langchain/issues/15087/comments | 1 | 2023-12-23T02:55:37Z | 2024-03-30T16:06:46Z | https://github.com/langchain-ai/langchain/issues/15087 | 2,054,631,468 | 15,087 |
[
"langchain-ai",
"langchain"
] | ### Issue with current documentation:
#### Issue Description
- **Overview**: The current documentation for the 'Return Source Documents' functionality seems to be outdated or incorrect. The provided code snippet results in errors when executed.
https://python.langchain.com/docs/integrations/providers/vectara/vec... | DOC: Documentation Update Needed for 'Return Source Documents' Functionality | https://api.github.com/repos/langchain-ai/langchain/issues/15086/comments | 2 | 2023-12-23T02:21:36Z | 2024-03-30T16:06:41Z | https://github.com/langchain-ai/langchain/issues/15086 | 2,054,623,466 | 15,086 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.