issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
โŒ€
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "hwchase17", "langchain" ]
I keep getting this error every time I try to ask my data a question using the code from "[chat_vector_db.ipynb](https://github.com/hwchase17/langchain/blob/f356cca1f278ac73f8e59f49da39854e1e47a205/docs/modules/chat/examples/chat_vector_db.ipynb)" notebook, so how can I fix this and is this from my stored data and if i...
UnicodeEncodeError Using Chat Vector and My Own Data
https://api.github.com/repos/langchain-ai/langchain/issues/2121/comments
8
2023-03-28T23:02:07Z
2023-09-26T16:12:59Z
https://github.com/langchain-ai/langchain/issues/2121
1,644,771,527
2,121
[ "hwchase17", "langchain" ]
OpenAI python client supports passing additional headers when invoking the following functions `openai.ChatCompletion.create` or `openai.Completion.create` For example: I can pass the headers as shown in the sample code below. ``` completion = openai.Completion.create(deployment_id=deployment_id, ...
Unable to pass headers to Completion, ChatCompletion, Embedding endpoints
https://api.github.com/repos/langchain-ai/langchain/issues/2120/comments
4
2023-03-28T22:29:45Z
2023-09-27T16:11:24Z
https://github.com/langchain-ai/langchain/issues/2120
1,644,740,925
2,120
[ "hwchase17", "langchain" ]
I'm trying to save embeddings in Redis vectorstore and when I try to execute getting the following error. Any idea if this is a bug or if anything is wrong with my code? Any help is appreciated. langchain version - both 0.0.123 and 0.0.124 Python 3.8.2 File "/Users/aruna/PycharmProjects/redis-test/database.py", ...
Unable save embeddings in Redis vectorstore
https://api.github.com/repos/langchain-ai/langchain/issues/2113/comments
16
2023-03-28T20:22:00Z
2024-03-15T05:05:26Z
https://github.com/langchain-ai/langchain/issues/2113
1,644,606,036
2,113
[ "hwchase17", "langchain" ]
while using llama_index GPTSimpleVectorIndex I am reading a pdf file using SimpleDirectoryReader. I am unable to create index for the file and it is generating the below error: **INFO:openai:error_code=None error_message='Too many inputs for model None. The max number of inputs is 1. We hope to increase the nu...
openai:error_code=None error_message='Too many inputs for model None. The max number of inputs is 1.
https://api.github.com/repos/langchain-ai/langchain/issues/2096/comments
9
2023-03-28T14:48:14Z
2023-09-28T16:10:17Z
https://github.com/langchain-ai/langchain/issues/2096
1,644,118,649
2,096
[ "hwchase17", "langchain" ]
I need to supply a 'where' value to filter on metadata to Chromadb `similarity_search_with_score` function. I can't find a straightforward way to do it. Is there some way to do it when I kickoff my chain? Any hints, hacks, plans to support?
How to pass filter down to Chroma db when using ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/2095/comments
23
2023-03-28T14:47:44Z
2024-01-01T09:39:52Z
https://github.com/langchain-ai/langchain/issues/2095
1,644,117,753
2,095
[ "hwchase17", "langchain" ]
Hi, There seems to be a bug when trying to load a serialize faiss index when using Azure through OpenAIEmbeddings. I get the following error: ```{python} AttributeError: Can't get attribute 'Document' on <module 'langchain.schema' from '/langchain/schema.py'> ```
Can't load faiss index when using Azure embeddings
https://api.github.com/repos/langchain-ai/langchain/issues/2094/comments
2
2023-03-28T14:23:38Z
2023-09-10T16:40:07Z
https://github.com/langchain-ai/langchain/issues/2094
1,644,073,204
2,094
[ "hwchase17", "langchain" ]
As the title says, there's a full implementation of ConversationalChatAgent which however is not in the __init__ file of agents, thus could not import it by `from langchain.agents import ConversationalChatAgent` I'm going to fix this right now.
ConversationalChatAgent is not in agent.__init__.py
https://api.github.com/repos/langchain-ai/langchain/issues/2093/comments
0
2023-03-28T13:43:34Z
2023-03-28T15:14:24Z
https://github.com/langchain-ai/langchain/issues/2093
1,643,984,599
2,093
[ "hwchase17", "langchain" ]
Hello i'm trying to provide a diifferent API key for each profile, but it seems that the last profile API key i set is the one used by all the profiles, is there a way to force use each profile its dedicated key?
Multiple openai keys
https://api.github.com/repos/langchain-ai/langchain/issues/2091/comments
9
2023-03-28T12:34:07Z
2023-10-28T16:07:45Z
https://github.com/langchain-ai/langchain/issues/2091
1,643,856,338
2,091
[ "hwchase17", "langchain" ]
I am using the latest version and i get this error message while only trying to: from langchain.chains.chat_index.prompts import CONDENSE_QUESTION_PROMPT --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Cell In[...
On the latest version 0.0.123 i get No module named 'langchain.chains.chat_index'
https://api.github.com/repos/langchain-ai/langchain/issues/2090/comments
13
2023-03-28T09:35:57Z
2023-12-08T16:08:40Z
https://github.com/langchain-ai/langchain/issues/2090
1,643,564,375
2,090
[ "hwchase17", "langchain" ]
No module 'datasets' found in langchain.evaluation
ModuleNotFoundError: No module named 'datasets'
https://api.github.com/repos/langchain-ai/langchain/issues/2088/comments
2
2023-03-28T08:22:52Z
2023-06-16T15:37:47Z
https://github.com/langchain-ai/langchain/issues/2088
1,643,446,461
2,088
[ "hwchase17", "langchain" ]
I'm testing on windows where default encoding is cp1252 and not utf-8 and I still have encoding problems that cannot overcome.
Add optional encoding parameter on each Loader
https://api.github.com/repos/langchain-ai/langchain/issues/2087/comments
2
2023-03-28T08:10:59Z
2023-09-18T16:22:19Z
https://github.com/langchain-ai/langchain/issues/2087
1,643,429,036
2,087
[ "hwchase17", "langchain" ]
Was trying to follow the document to run summarization, here's my code: ```python from langchain.text_splitter import CharacterTextSplitter from langchain.chains.mapreduce import MapReduceChain from langchain.prompts import PromptTemplate llm = OpenAI(temperature=0, engine='text-davinci-003') text_splitter ...
load_summarize_chain cannot run
https://api.github.com/repos/langchain-ai/langchain/issues/2081/comments
4
2023-03-28T05:41:15Z
2023-04-14T11:41:02Z
https://github.com/langchain-ai/langchain/issues/2081
1,643,238,154
2,081
[ "hwchase17", "langchain" ]
Trying to run a simple script: ``` from langchain.llms import OpenAI llm = OpenAI(temperature=0.9) text = "What would be a good company name for a company that makes colorful socks?" print(llm(text)) ``` I'm running into this error: `ModuleNotFoundError: No module named 'langchain.llms'; 'langchain' is not ...
'langchain' is not a package
https://api.github.com/repos/langchain-ai/langchain/issues/2079/comments
29
2023-03-28T04:42:16Z
2024-04-26T03:52:15Z
https://github.com/langchain-ai/langchain/issues/2079
1,643,187,784
2,079
[ "hwchase17", "langchain" ]
from langchain.document_loaders.csv_loader import CSVLoader loader = CSVLoader(file_path='docs/whats-new-latest.csv', csv_args={ 'fieldnames': ['Line of Business', 'Short Description' ] }) data = loader.load() print(data) /.pyenv/versions/3.9.2/envs/s4-hana-chatb...
'NoneType' object has no attribute 'strip'
https://api.github.com/repos/langchain-ai/langchain/issues/2074/comments
9
2023-03-28T03:06:17Z
2023-11-17T18:19:35Z
https://github.com/langchain-ai/langchain/issues/2074
1,643,123,069
2,074
[ "hwchase17", "langchain" ]
E.g. running ```python from langchain.agents import load_tools from langchain.agents import initialize_agent from langchain.llms import OpenAI llm = OpenAI(temperature=0) tools = load_tools(["llm-math"], llm=llm) agent = initialize_agent(tools, llm, agent="zero-shot-react-description", verbose=True, return_in...
`initialize_agent` does not work with `return_intermediate_steps=True`
https://api.github.com/repos/langchain-ai/langchain/issues/2068/comments
18
2023-03-28T00:50:15Z
2024-02-23T16:09:08Z
https://github.com/langchain-ai/langchain/issues/2068
1,643,029,722
2,068
[ "hwchase17", "langchain" ]
This definition: "purchase_order": """CREATE TABLE purchase_order ( id SERIAL NOT NULL, name VARCHAR NOT NULL, origin VARCHAR, partner_ref VARCHAR, date_order TIMESTAMP NOT NULL, date_approve DATE, partner_id INTEGER NOT NULL, state VARCHAR, notes TEXT, amount_untax...
DB Tools - Table definitions cam be shortened with some asumptions in order to keep used token low.
https://api.github.com/repos/langchain-ai/langchain/issues/2067/comments
1
2023-03-28T00:36:30Z
2023-08-25T16:14:11Z
https://github.com/langchain-ai/langchain/issues/2067
1,643,021,881
2,067
[ "hwchase17", "langchain" ]
I tried to map my db that have a lot of views that can leverage the whoole work. But the initial check does not allow this, also by having custom_table_info that describe the view structure.
DB Tools - Allow to reference also views thru custom_table_info
https://api.github.com/repos/langchain-ai/langchain/issues/2066/comments
2
2023-03-28T00:31:19Z
2023-09-10T16:40:17Z
https://github.com/langchain-ai/langchain/issues/2066
1,643,018,821
2,066
[ "hwchase17", "langchain" ]
### Alpaca-LoRA [Alpaca-LoRA](https://github.com/tloen/alpaca-lora) and Stanford Alpaca are NLP models that use the GPT architecture, but there are some critical differences between them. Here are three: - **Training data**: Stanford Alpaca was trained on a larger dataset that includes a variety of sources, inclu...
Alpaca-LoRA
https://api.github.com/repos/langchain-ai/langchain/issues/2063/comments
4
2023-03-27T23:41:12Z
2023-09-29T16:09:41Z
https://github.com/langchain-ai/langchain/issues/2063
1,642,978,571
2,063
[ "hwchase17", "langchain" ]
![Screenshot 2023-03-28 at 1 11 56 AM](https://user-images.githubusercontent.com/110235735/228049214-1ebf8bac-e12e-44bb-a693-47e3578ce37a.png) Moreover, I cannot use multiple prompts using `ChatPromptTemplate.from_messages`
map_rerank custom prompts don't work with SystemMessagePromptTemplate
https://api.github.com/repos/langchain-ai/langchain/issues/2053/comments
1
2023-03-27T19:42:33Z
2023-08-21T16:07:44Z
https://github.com/langchain-ai/langchain/issues/2053
1,642,705,217
2,053
[ "hwchase17", "langchain" ]
I was reading this blog post: https://blog.langchain.dev/retrieval/ There is this link: > Other types of indexes, [like graphs](https://langchain.readthedocs.io/en/latest/modules/indexes/chain_examples/graph_qa.html), have piqued user's interests Currently goes to a RTD 404 page If I google for "langchain g...
Graph QA docs links are broken currently
https://api.github.com/repos/langchain-ai/langchain/issues/2049/comments
3
2023-03-27T16:37:18Z
2023-08-14T20:20:49Z
https://github.com/langchain-ai/langchain/issues/2049
1,642,438,709
2,049
[ "hwchase17", "langchain" ]
I understand that brace brackets "{ }" are used for the text replacement. I was wondering if we are able to use the brace brackets in our prompts where we want them to act as just text and do not want them to replace text, for example with c++ classes. ```c++ #include <string> class BankAccount { public: /...
How to use brace brackets
https://api.github.com/repos/langchain-ai/langchain/issues/2048/comments
2
2023-03-27T16:21:43Z
2023-10-24T07:51:46Z
https://github.com/langchain-ai/langchain/issues/2048
1,642,415,345
2,048
[ "hwchase17", "langchain" ]
Is there a way to redirect the verbose logs away from stdout? I'm working on a frontend app, and I'd like to collect the logs to display in the frontend, but couldn't find in the docs a way to capture them into a variable or similar.
Redirect vebose logs
https://api.github.com/repos/langchain-ai/langchain/issues/2045/comments
4
2023-03-27T15:27:23Z
2023-07-18T03:25:03Z
https://github.com/langchain-ai/langchain/issues/2045
1,642,322,662
2,045
[ "hwchase17", "langchain" ]
Many OpenAI plugin implementations are starting to use yaml for the api doc. ```python class AIPluginTool(BaseTool): api_spec: str def from_plugin_url(cls, url: str) -> "AIPluginTool": response = requests.get(url) if response.headers["Content-Type"] == "application/json": ...
Support also yaml files for the AIPluginTool
https://api.github.com/repos/langchain-ai/langchain/issues/2042/comments
1
2023-03-27T15:01:41Z
2023-03-28T07:54:03Z
https://github.com/langchain-ai/langchain/issues/2042
1,642,275,010
2,042
[ "hwchase17", "langchain" ]
Hey team, As you can in the `get_docs` method there is no option to provide kwargs arguments, even the top_k is not updating. Do I have to make any changes on how to pass this info, or will it get fixed.
kwargs for ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/2038/comments
1
2023-03-27T13:41:57Z
2023-03-28T06:46:16Z
https://github.com/langchain-ai/langchain/issues/2038
1,642,090,994
2,038
[ "hwchase17", "langchain" ]
Since `llms.OpenAIChat` is deprecated and `chat_models.ChatOpenAI` is sugguested in latest releases, I think it is necessary to add `prefix_messages` to `ChatOpenAI`, just like it in `OpenAIChat` so that we can provide messages to this chat model, for example, provide a system message helps set the behavior of the assi...
Add prefix_messages property to ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/2036/comments
4
2023-03-27T13:20:40Z
2023-03-30T06:43:02Z
https://github.com/langchain-ai/langchain/issues/2036
1,642,034,579
2,036
[ "hwchase17", "langchain" ]
Since `llms.OpenAIChat` is deprecated and `chat_models.ChatOpenAI` is sugguested in latest releases, I think it is necessary to add `prefix_messages` to `ChatOpenAI`, just like it in `OpenAIChat` so that we can provide messages to this chat model, for example, provide a system message helps set the behavior of the assi...
Add prefix_messages property to ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/2035/comments
0
2023-03-27T13:17:19Z
2023-03-27T13:24:21Z
https://github.com/langchain-ai/langchain/issues/2035
1,642,026,037
2,035
[ "hwchase17", "langchain" ]
Since `llms.OpenAIChat` is deprecated and `chat_models.ChatOpenAI` is sugguested in latest releases, I think it is necessary to add `prefix_messages` to `ChatOpenAI`, just like it in `OpenAIChat` so that we can provide messages to this chat model, for example, provide a system message helps set the behavior of the assi...
Add prefix_messages property to ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/2034/comments
0
2023-03-27T13:15:06Z
2023-03-27T13:24:10Z
https://github.com/langchain-ai/langchain/issues/2034
1,642,025,652
2,034
[ "hwchase17", "langchain" ]
Since `llms.OpenAIChat` is deprecated and `chat_models.ChatOpenAI` is sugguested in latest releases, I think it is necessary to add `prefix_messages` to `ChatOpenAI`, just like it in `OpenAIChat` so that we can provide messages to this chat model, for example, provide a system message helps set the behavior of the assi...
Add prefix_messages property to ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/2033/comments
0
2023-03-27T13:14:20Z
2023-03-27T13:24:01Z
https://github.com/langchain-ai/langchain/issues/2033
1,642,025,513
2,033
[ "hwchase17", "langchain" ]
Since `llms.OpenAIChat` is deprecated and `chat_models.ChatOpenAI` is sugguested in latest releases, I think it is necessary to add `prefix_messages` to `ChatOpenAI`, just like it in `OpenAIChat` so that we can provide messages to this chat model, for example, provide a system message helps set the behavior of the assi...
Add prefix_messages property to ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/2032/comments
0
2023-03-27T13:14:06Z
2023-03-27T13:23:42Z
https://github.com/langchain-ai/langchain/issues/2032
1,642,025,480
2,032
[ "hwchase17", "langchain" ]
Since `langchain.llms.OpenAIChat` is deprecated and `langchain.chat_models.ChatOpenAI` is suggested in the latest versions, but `ChatOpenAI` misses property `prefix_messages`, for example we can use this property to provide [a system message](https://platform.openai.com/docs/guides/chat/introduction) that helps set th...
Add missing property prefix_messages for ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/2031/comments
0
2023-03-27T13:07:57Z
2023-03-27T13:22:49Z
https://github.com/langchain-ai/langchain/issues/2031
1,642,024,275
2,031
[ "hwchase17", "langchain" ]
I just installed langchain and when I try to import WolframAlphaAPIWrapper using "from langchain.utilities.wolfram_alpha import WolframAlphaAPIWrapper", this error message is returned. I checked site-packages to see if the utilities is there, these are the list of files and no utilities: VERSION chains formatting....
ModuleNotFoundError: No module named 'langchain.utilities'
https://api.github.com/repos/langchain-ai/langchain/issues/2029/comments
7
2023-03-27T11:19:48Z
2023-03-29T02:37:31Z
https://github.com/langchain-ai/langchain/issues/2029
1,641,927,118
2,029
[ "hwchase17", "langchain" ]
It looks like the result returned from the `predict` call to generate the query is returned surrounded by double quotes, so when passed to the db it's taken as a malformed query. Example (using a postgres db): ``` llm = ChatOpenAI(temperature=0, model_name="gpt-4") # type: ignore db = SQLDatabase.from_uri("<URI>"...
SQLDatabaseChain malformed queries
https://api.github.com/repos/langchain-ai/langchain/issues/2027/comments
11
2023-03-27T10:15:28Z
2024-01-24T10:46:33Z
https://github.com/langchain-ai/langchain/issues/2027
1,641,823,337
2,027
[ "hwchase17", "langchain" ]
I am using `RecursiveCharacterTextSplitter` to split my documents for ingestion into a vector db. What is the intuition for selecting optimal chunk parameters? It seems to me that chunk_size influences the size of documents being retrieved. Does that mean I should select the largest possible chunk_size to ensure ma...
Intuition for selecting optimal chunk_size and chunk_overlap for RecursiveCharacterTextSplitter
https://api.github.com/repos/langchain-ai/langchain/issues/2026/comments
13
2023-03-27T09:43:31Z
2024-04-04T16:06:31Z
https://github.com/langchain-ai/langchain/issues/2026
1,641,765,150
2,026
[ "hwchase17", "langchain" ]
openapi.json is so large for prompt token limit. and how to handle authorizations in the openai.json?
AIPluginTool submit long openapi.json in prompt exceeds the token limit
https://api.github.com/repos/langchain-ai/langchain/issues/2025/comments
1
2023-03-27T08:16:49Z
2023-08-21T16:07:49Z
https://github.com/langchain-ai/langchain/issues/2025
1,641,622,042
2,025
[ "hwchase17", "langchain" ]
II'm using some variable data in my prompt, and sending that prompt to ConversationChain and there I'm getting some validation error. what changes we can make it to work as expected? ![Screenshot (1225)](https://user-images.githubusercontent.com/46478199/227850617-e22658f1-5ebf-41d4-a672-209dd92f5674.png)
ConversationChain Validation Error
https://api.github.com/repos/langchain-ai/langchain/issues/2024/comments
6
2023-03-27T05:44:59Z
2023-09-26T16:13:24Z
https://github.com/langchain-ai/langchain/issues/2024
1,641,417,241
2,024
[ "hwchase17", "langchain" ]
I am building an agent which answer user questions and I have plugged it with two tool, the regular llm and search tool like this llm = OpenAI(temperature=0) search = GoogleSerperAPIWrapper() template = """Question: {question} Answer: Let's think step by step.""" prompt = PromptTemplate(template=template, ...
How to use Serp only for current events related searches and use GPT for regular info
https://api.github.com/repos/langchain-ai/langchain/issues/2023/comments
9
2023-03-27T05:38:09Z
2023-09-28T16:10:27Z
https://github.com/langchain-ai/langchain/issues/2023
1,641,412,258
2,023
[ "hwchase17", "langchain" ]
Trying to use `persist_directory` to have Chroma persist to disk: ```python index = VectorstoreIndexCreator(vectorstore_kwargs={"persist_directory": "db"}) ``` and it displays this warning message that implies it won't be persisted: ``` Using embedded DuckDB without persistence: data will be transient ``` How...
Setting Chroma persist_directory says "Using embedded DuckDB without persistence"
https://api.github.com/repos/langchain-ai/langchain/issues/2022/comments
18
2023-03-27T05:29:14Z
2024-03-30T20:14:14Z
https://github.com/langchain-ai/langchain/issues/2022
1,641,406,148
2,022
[ "hwchase17", "langchain" ]
sqlalchemy in version 1.3.x, need to use select([]) way to query tables: related stackoverflow question: https://stackoverflow.com/questions/62565993/sqlalchemy-exc-argumenterror-columns-argument-to-select-must-be-a-python-list I will submit a PR to fix it
[bug]sqlalchemy 1.3.x compatibility issue
https://api.github.com/repos/langchain-ai/langchain/issues/2020/comments
0
2023-03-27T05:22:30Z
2023-03-28T06:45:52Z
https://github.com/langchain-ai/langchain/issues/2020
1,641,400,793
2,020
[ "hwchase17", "langchain" ]
If you want to create a Qdrant index and keep adding documents (i.e. adding new documents to existing qdrant), when your embedding is sentence transformers `qdrant_index.add_documents(docs)` gives error. Because the `embedding_function` which is `model.encode()` is returning either `numpy` or `tensor` array and has ...
Updating the Qdrant index with new documents raises error
https://api.github.com/repos/langchain-ai/langchain/issues/2016/comments
5
2023-03-27T03:16:18Z
2023-09-18T17:19:58Z
https://github.com/langchain-ai/langchain/issues/2016
1,641,294,710
2,016
[ "hwchase17", "langchain" ]
It would be great to see integration with [OpenAssistant](https://github.com/LAION-AI/Open-Assistant) by @LAION-AI, which aims to become the [largest and most open alternative to ChatGPT](https://projects.laion.ai/Open-Assistant/blog/we-need-your-help#:~:text=largest%20and%20most%20open%20alternative%20to%20ChatGPT). ...
Open Assistant by LAION-AI
https://api.github.com/repos/langchain-ai/langchain/issues/2015/comments
2
2023-03-27T00:18:02Z
2023-09-28T16:10:32Z
https://github.com/langchain-ai/langchain/issues/2015
1,641,160,728
2,015
[ "hwchase17", "langchain" ]
When verbose=True and the agent executor is run, then in get_prompt_input_key() an error is raised: ```python raise ValueError(f"One input key expected got {prompt_input_keys}") ``` This is because there are two entries [verbose, input] not just one [input]. It may be that setting verbose=True is not relevant....
Error raised in utils.py get_prompt_input_key when AgentExecutor.run verbose=True
https://api.github.com/repos/langchain-ai/langchain/issues/2013/comments
3
2023-03-26T19:57:11Z
2023-10-21T16:10:16Z
https://github.com/langchain-ai/langchain/issues/2013
1,641,060,799
2,013
[ "hwchase17", "langchain" ]
In [here](https://python.langchain.com/en/latest/modules/indexes/vectorstore_examples/pinecone.html) - Pinecone.from_documents doesn't exist. In the code [here](https://github.com/hwchase17/langchain/blob/master/langchain/vectorstores/pinecone.py) it is from_texts
Pinecone in docs is outdated
https://api.github.com/repos/langchain-ai/langchain/issues/2009/comments
4
2023-03-26T18:02:47Z
2023-12-09T14:17:37Z
https://github.com/langchain-ai/langchain/issues/2009
1,641,013,216
2,009
[ "hwchase17", "langchain" ]
All "smart websites" will have AI-friendly API schemas, not just **robots.txt**. These websites will have JSON manifest files for LLMs (ex: **openai.yaml**) and LLM plugins (ex: **ai-plugin.json**). These JSON manifest files will allow LLM agents like ChatGPT to interact with websites without data scraping or parsing A...
JSON Manifest Files
https://api.github.com/repos/langchain-ai/langchain/issues/2008/comments
1
2023-03-26T17:48:06Z
2023-09-10T16:40:23Z
https://github.com/langchain-ai/langchain/issues/2008
1,641,007,401
2,008
[ "hwchase17", "langchain" ]
I'd like to run query against `parquet` files with `duckdb`. I see some `duckdb` stuffs on the docs when I search it up, also there's this PR: https://github.com/hwchase17/langchain/pull/1991, which seems to be a nice addition. What are the missing pieces to make this work? One workaround I've found is turning the `...
feat: parquet file support for SQL agent
https://api.github.com/repos/langchain-ai/langchain/issues/2002/comments
3
2023-03-26T05:28:21Z
2023-09-18T16:22:24Z
https://github.com/langchain-ai/langchain/issues/2002
1,640,778,468
2,002
[ "hwchase17", "langchain" ]
Hi! Thanks for creating langchain! I wanted to give its "agents" feature a try and quickly found an example of its shortcomings: ``` > Entering new AgentExecutor chain... I need to find out who the author of Moore's law is and if they are alive. Action: Search Action Input: "author of Moore's law" Observation:...
Agent misbehaving: "is the author of Moore's law alive?"
https://api.github.com/repos/langchain-ai/langchain/issues/1994/comments
2
2023-03-25T18:46:50Z
2023-09-18T16:22:29Z
https://github.com/langchain-ai/langchain/issues/1994
1,640,621,419
1,994
[ "hwchase17", "langchain" ]
Am refereing to this documentaion [here](https://langchain.readthedocs.io/en/latest/modules/chat/examples/chat_vector_db.html) created a file test.py ``` from langchain.embeddings.openai import OpenAIEmbeddings from langchain.vectorstores import Chroma from langchain.text_splitter import CharacterTextSplitter f...
pydantic.error_wrappers.ValidationError: 1 validation error
https://api.github.com/repos/langchain-ai/langchain/issues/1986/comments
4
2023-03-25T08:38:05Z
2023-10-31T08:02:38Z
https://github.com/langchain-ai/langchain/issues/1986
1,640,432,940
1,986
[ "hwchase17", "langchain" ]
Pls. add support for Kagi Summarizer https://blog.kagi.com/universal-summarizer#api
Add support for Kagi Summarizer API in Chains
https://api.github.com/repos/langchain-ai/langchain/issues/1983/comments
1
2023-03-25T05:01:52Z
2023-08-21T16:07:54Z
https://github.com/langchain-ai/langchain/issues/1983
1,640,380,648
1,983
[ "hwchase17", "langchain" ]
### Summary The QueryCheckerTool function currently creates an LLMChain object internally but does not provide a way to specify the `openai_api_key` manually via supplied arguments. This can cause issues for users who do not want to place their API key in environment variables. ### Steps to Reproduce Run this code...
QueryCheckerTool creates LLMChain object, does not allow manual specification of openai_api_key
https://api.github.com/repos/langchain-ai/langchain/issues/1982/comments
2
2023-03-25T03:45:48Z
2023-03-26T04:37:50Z
https://github.com/langchain-ai/langchain/issues/1982
1,640,354,701
1,982
[ "hwchase17", "langchain" ]
Here's what i'm using atm... data: ``` { "num_tweets": 199, "total_impressions": 154586, "total_engagements": 0, "total_retweets": 4621, "total_likes": 4249, "average_impressions": 776.8140703517588, "average_engagements": 0.0, "average_retweets": 23.22110552763819, "av...
How to run gpt-3.5-turbo against my own data while using map_reduce?
https://api.github.com/repos/langchain-ai/langchain/issues/1980/comments
4
2023-03-25T00:34:20Z
2023-08-21T20:15:50Z
https://github.com/langchain-ai/langchain/issues/1980
1,640,254,185
1,980
[ "hwchase17", "langchain" ]
I am trying to use a Custom Prompt Template as an example_prompt to the FewShotPromptTemplate. Although, I am getting a 'key error' template issue. Does FewShotPromptTemplate support using Custom Prompt Template ? A snippet example for reference ``` from langchain import PromptTemplate, FewShotPromptTemplate ...
Using Custom Prompt with FewShotPromptTemplate
https://api.github.com/repos/langchain-ai/langchain/issues/1977/comments
5
2023-03-24T21:57:37Z
2024-02-14T16:14:33Z
https://github.com/langchain-ai/langchain/issues/1977
1,640,095,874
1,977
[ "hwchase17", "langchain" ]
* Allow users to choose the type in the schema (string | List[string]) * Allow users to get multiple json objects (get JSON array) in the response. I achieved it by replacing the {{ }} -> [[ ]] as follows: `prompt.replace("""{{ "ID": string // IDs which refers to the sentences. "Text": string // Sentences that c...
StructuredOutputParser - Allow users to get multiple items from response.
https://api.github.com/repos/langchain-ai/langchain/issues/1976/comments
5
2023-03-24T20:27:06Z
2023-12-27T12:00:23Z
https://github.com/langchain-ai/langchain/issues/1976
1,639,991,330
1,976
[ "hwchase17", "langchain" ]
I think the sqlalchemy dependency in pyproject.toml still needs to be bumped. _Originally posted by @sliedes in https://github.com/hwchase17/langchain/issues/1272#issuecomment-1473683519_
sqlalchemy dependency in pyproject.toml still needs to be bumped to *
https://api.github.com/repos/langchain-ai/langchain/issues/1975/comments
5
2023-03-24T19:52:44Z
2023-09-27T16:12:00Z
https://github.com/langchain-ai/langchain/issues/1975
1,639,955,235
1,975
[ "hwchase17", "langchain" ]
The history part for summay of past conversation is always in English. How to change it please?
How to set the 'history' of ConversationSummaryBufferMemory in other language
https://api.github.com/repos/langchain-ai/langchain/issues/1973/comments
2
2023-03-24T17:24:27Z
2023-09-18T16:22:34Z
https://github.com/langchain-ai/langchain/issues/1973
1,639,777,702
1,973
[ "hwchase17", "langchain" ]
A couple problems: - `ChatOpenAI.get_num_tokens_from_messages()` takes a `model` parameter that is not included in the [base class method signature](https://github.com/hwchase17/langchain/blob/master/langchain/schema.py#L208). Instead, it should use `self.model_name`, similar to how the `BaseOpenAI.get_num_tokens()`...
ChatOpenAI.get_num_tokens_from_messages: use self.model_name and support GPT-4
https://api.github.com/repos/langchain-ai/langchain/issues/1972/comments
4
2023-03-24T16:47:58Z
2023-09-18T16:22:40Z
https://github.com/langchain-ai/langchain/issues/1972
1,639,724,669
1,972
[ "hwchase17", "langchain" ]
I try to set the "system" role maessage when using ConversationChain with ConversationSummaryBufferMemory(CSBM), but it is failed. When I change the ConversationSummaryBufferMemory to the ConversationBufferMemory, it become worked. But I'd like to use the auto summarize utilities when exceeding the maxLength by CSBM. ...
how to use SystemMessagePromptTemplate with ConversationSummaryBufferMemory please?
https://api.github.com/repos/langchain-ai/langchain/issues/1971/comments
4
2023-03-24T16:39:01Z
2023-09-28T16:10:42Z
https://github.com/langchain-ai/langchain/issues/1971
1,639,712,764
1,971
[ "hwchase17", "langchain" ]
I am reaching out to inquire about the possibility of implementing a `caching system` for popular prompts as vectors. As you may know, constantly re-embedding questions can be `costly` and `time-consuming`, especially for larger datasets. Therefore, I was wondering if there are any plans to create a sub package that...
Proposal to Implement Caching of Popular Prompts as Vectors
https://api.github.com/repos/langchain-ai/langchain/issues/1968/comments
7
2023-03-24T14:22:18Z
2023-09-18T16:22:44Z
https://github.com/langchain-ai/langchain/issues/1968
1,639,490,018
1,968
[ "hwchase17", "langchain" ]
I am reaching out to inquire about the possibility of implementing a `caching system` for popular prompts as vectors. As you may know, constantly re-embedding questions can be `costly` and `time-consuming`, especially for larger datasets. Therefore, I was wondering if there are any plans to create a sub package that...
Proposal to Implement Caching of Popular Prompts as Vectors
https://api.github.com/repos/langchain-ai/langchain/issues/1967/comments
3
2023-03-24T14:21:57Z
2023-10-23T02:26:40Z
https://github.com/langchain-ai/langchain/issues/1967
1,639,489,619
1,967
[ "hwchase17", "langchain" ]
I am reaching out to inquire about the possibility of implementing a `caching system` for popular prompts as vectors. As you may know, constantly re-embedding questions can be `costly` and `time-consuming`, especially for larger datasets. Therefore, I was wondering if there are any plans to create a sub package that...
Proposal to Implement Caching of Popular Prompts as Vectors
https://api.github.com/repos/langchain-ai/langchain/issues/1966/comments
1
2023-03-24T14:21:38Z
2023-08-21T16:07:59Z
https://github.com/langchain-ai/langchain/issues/1966
1,639,489,505
1,966
[ "hwchase17", "langchain" ]
Say I query my vector database with a minimum distance threshold and no documents ("sources") are returned, how can I stop ChatVectorDBChain from answering the question without using prompts? I observe that even though it finds no sources, it will answer based on chat history or overwrite the prompt instructions. I...
Is there a non-prompt way to stop ChatVectorDBChain from answering when no vectors are found?
https://api.github.com/repos/langchain-ai/langchain/issues/1963/comments
3
2023-03-24T10:23:54Z
2023-09-25T16:15:24Z
https://github.com/langchain-ai/langchain/issues/1963
1,639,119,073
1,963
[ "hwchase17", "langchain" ]
I am trying to load load video and came across below issue. I am using langchain version 0.0.121 ![image](https://user-images.githubusercontent.com/99241695/227492256-c22f93e2-9666-4971-b0a9-0eba7b3dfc8e.png)
AttributeError: type object 'YoutubeLoader' has no attribute 'from_youtube_url'
https://api.github.com/repos/langchain-ai/langchain/issues/1962/comments
5
2023-03-24T10:08:17Z
2023-04-12T04:13:00Z
https://github.com/langchain-ai/langchain/issues/1962
1,639,095,508
1,962
[ "hwchase17", "langchain" ]
The score is useful for a lot of things. It'd be great if VectorStore exported the abstract methods so a VectorStore dependency can be injected.
`*_with_score` methods should be part of VectorStore
https://api.github.com/repos/langchain-ai/langchain/issues/1959/comments
1
2023-03-24T08:17:09Z
2023-09-10T16:40:38Z
https://github.com/langchain-ai/langchain/issues/1959
1,638,930,794
1,959
[ "hwchase17", "langchain" ]
null
How to work with multiple csv files in the same agent session ? is there any option to call agent with multiple csv files, so that the model can interact multiple files and answer us.
https://api.github.com/repos/langchain-ai/langchain/issues/1958/comments
12
2023-03-24T07:46:39Z
2023-05-25T21:23:12Z
https://github.com/langchain-ai/langchain/issues/1958
1,638,890,881
1,958
[ "hwchase17", "langchain" ]
## Summary I'm seeing this `ImportError`ย on my Mac M1 when trying to use Chroma ``` (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e))) ``` Any ideas? ## Traceback ``` Traceback (most recent call last): File "/Users/homanp/Library/Caches/com.vercel.fun/runtimes/python3/....
`ImportError` ChromaDB
https://api.github.com/repos/langchain-ai/langchain/issues/1957/comments
16
2023-03-24T07:42:33Z
2023-11-10T16:10:52Z
https://github.com/langchain-ai/langchain/issues/1957
1,638,886,467
1,957
[ "hwchase17", "langchain" ]
I worked on this version: git rev-parse HEAD: 9555bbd5bb3397e66d279d802576b4c65123b484 I plan to add a ParaChain class in the Chains module. At present, it seems that only serial calls are supported, but in some scenarios, we need it work in parallel, and support the combination of parallel chains and serial chains...
Bug:: SequentialChain root_validator::validate_chain. judgment logic of overlapping_keys
https://api.github.com/repos/langchain-ai/langchain/issues/1953/comments
2
2023-03-24T04:52:12Z
2023-09-10T16:40:43Z
https://github.com/langchain-ai/langchain/issues/1953
1,638,714,871
1,953
[ "hwchase17", "langchain" ]
Summary: the Chroma vectorstore search does not return top-scored embeds. The issue appears only when the number of documents in the vector store exceeds a certain threshold (I have ~4000 chunks). I could not determine when it breaks exactly. I loaded my documents, chunked them, and then indexed into a vectorsto...
Chroma vectorstore search does not return top-scored embeds
https://api.github.com/repos/langchain-ai/langchain/issues/1946/comments
17
2023-03-24T00:47:14Z
2024-07-12T14:58:40Z
https://github.com/langchain-ai/langchain/issues/1946
1,638,542,872
1,946
[ "hwchase17", "langchain" ]
Currently, there is no way to pass in headers to UnstructuredURLLoader, e.g. for `"User-Agent"`. There should be. Upstream issue: https://github.com/Unstructured-IO/unstructured/issues/396
Ability to pass in headers to UnstructuredURLLoader
https://api.github.com/repos/langchain-ai/langchain/issues/1944/comments
0
2023-03-23T23:08:43Z
2023-03-29T04:32:13Z
https://github.com/langchain-ai/langchain/issues/1944
1,638,464,544
1,944
[ "hwchase17", "langchain" ]
Problem since update 0.0.120, when using a AzureChatOpenAI model instance of gpt-35-turbo you get a "Resource not found error" tried with both load_qa_with_sources_chain and MapReduceChain.from_params Here is a sample error trace from right after I call the chain() instance: ``` File "/anaconda/envs/exp_env/lib...
Resource not found error when using AzureChatOpenAI gpt-35-turbo
https://api.github.com/repos/langchain-ai/langchain/issues/1942/comments
1
2023-03-23T22:17:32Z
2023-03-23T22:34:53Z
https://github.com/langchain-ai/langchain/issues/1942
1,638,418,561
1,942
[ "hwchase17", "langchain" ]
When presented with intalling chatgpt-wrapper, I have the issue "C:\Users\BigB\Documents\Yeet>pip install git+https://github.com/mmabrouk/chatgpt-wrapper Collecting git+https://github.com/mmabrouk/chatgpt-wrapper Cloning https://github.com/mmabrouk/chatgpt-wrapper to c:\users\refddfea~1\appdata\local\temp\pip-req-b...
Issue when trying to install chatgpt-wrapper with this module.
https://api.github.com/repos/langchain-ai/langchain/issues/1941/comments
2
2023-03-23T21:08:08Z
2023-09-18T16:22:50Z
https://github.com/langchain-ai/langchain/issues/1941
1,638,329,189
1,941
[ "hwchase17", "langchain" ]
I'm wondering how does [ChatGPT plugin](https://platform.openai.com/docs/plugins/) work under-the-hood? Are they using the same techique as Langchain agent? Basically sending prompt and manually parse out the result -> and feed result back to another plugin in subsequential steps if necessary. Or is it using a supe...
ChatGPT Plugins vs. LangChain agent
https://api.github.com/repos/langchain-ai/langchain/issues/1940/comments
17
2023-03-23T20:57:52Z
2023-09-29T16:09:47Z
https://github.com/langchain-ai/langchain/issues/1940
1,638,313,085
1,940
[ "hwchase17", "langchain" ]
As reported by Kranos in Discord, there is no a way to robustly iterate through a list of URL's with UnstructuredURLLoader. The workaround for now is to create a UnstructuredURLLoader object per url and do the following: ``` Yep, exactly my problem - I had a load of URLs loaded into a pandas dataframe I was iterati...
UnstructuredURLLoader does not gracefully handle failures given a list of URL's
https://api.github.com/repos/langchain-ai/langchain/issues/1939/comments
0
2023-03-23T20:15:27Z
2023-03-28T05:26:22Z
https://github.com/langchain-ai/langchain/issues/1939
1,638,238,132
1,939
[ "hwchase17", "langchain" ]
When feeding the map_reduce summarization chain with a single document, the doc is run through an unnecessary map step before running a combine prompt on it. The combine prompt would imo be sufficient to avoid summarizing a single summary which then is very lossy. Great project, hope this thrives!
Improvement: MapReduce summarization chains executes a map step on a single document
https://api.github.com/repos/langchain-ai/langchain/issues/1937/comments
7
2023-03-23T18:46:21Z
2023-09-18T16:28:44Z
https://github.com/langchain-ai/langchain/issues/1937
1,638,109,379
1,937
[ "hwchase17", "langchain" ]
UJsing py 3.11 (works in py 3.10) with latest (0.4.36) version. Traceback: ``` File "C:\Users\diman\mambaforge\envs\py311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.__dict__) File "D:\dev\openai-pr-summarization\main.py", line 9, in <module>...
cannot import name 'BaseOutputParser' from 'langchain.schema'
https://api.github.com/repos/langchain-ai/langchain/issues/1936/comments
8
2023-03-23T17:59:56Z
2023-09-28T16:10:53Z
https://github.com/langchain-ai/langchain/issues/1936
1,638,029,215
1,936
[ "hwchase17", "langchain" ]
I tried creating a pandas dataframe agent (using create_dataframe_agent) with ChatOpenAI from promptlayer or otherwise just plain version (ChatOpenAI) as the LLM! But langchain isn't able to parse the LLM's output code. If I modify some regular expression manually, it works (but again fails if the code is a single line...
ChatOpenAI isn't compatible with create_pandas_dataframe_agent
https://api.github.com/repos/langchain-ai/langchain/issues/1931/comments
10
2023-03-23T15:52:32Z
2023-07-06T19:34:35Z
https://github.com/langchain-ai/langchain/issues/1931
1,637,808,698
1,931
[ "hwchase17", "langchain" ]
After sending several requests to OpenAI, it always encounter request timeouts, accompanied by long periods of waiting. Env: OS: Ubuntu 22 Python: 3.10 langchain: 0.0.117 ## Request time out ```shell WARNING:/home/soda/.local/lib/python3.10/site-packages/langchain/chat_models/openai.py:Retrying langchai...
Frequent Request timed out
https://api.github.com/repos/langchain-ai/langchain/issues/1929/comments
5
2023-03-23T14:44:31Z
2023-06-07T03:02:27Z
https://github.com/langchain-ai/langchain/issues/1929
1,637,686,943
1,929
[ "hwchase17", "langchain" ]
Right now to create an agent that has memory, we do `memory = ConversationBufferMemory(memory_key=str('chat_history'))` Then pass it to the agent `agent_executor = AgentExecutor.from_agent_and_tools(agent=agent, tools=tools, verbose=True, memory=memory)` However, the memory will be gone if the server restarts. I ...
Support Save and Retrieve Memory from Redis
https://api.github.com/repos/langchain-ai/langchain/issues/1927/comments
2
2023-03-23T13:47:03Z
2023-04-07T19:55:27Z
https://github.com/langchain-ai/langchain/issues/1927
1,637,579,089
1,927
[ "hwchase17", "langchain" ]
HI, I am getting an error "InvalidRequestError: Resource not found" while using Chat model using VectorDBQA chain. This issue is coming up after v0.0.120 release and I was not getting this in the previous version which I used which was v0.0.118. I am using Chatmodel from Azure through AzureChatOpenAI and embeddings...
Getting an error InvalidRequestError: Resource not found in VectorDBQA
https://api.github.com/repos/langchain-ai/langchain/issues/1923/comments
10
2023-03-23T11:37:04Z
2023-11-03T07:22:09Z
https://github.com/langchain-ai/langchain/issues/1923
1,637,360,666
1,923
[ "hwchase17", "langchain" ]
Have we considered using Ruff in this repo instead of flake8? Ruff is a lot faster and used by many popular Python repos. https://github.com/charliermarsh/ruff
Ruff instead of flake8?
https://api.github.com/repos/langchain-ai/langchain/issues/1919/comments
2
2023-03-23T06:36:12Z
2023-03-23T06:51:45Z
https://github.com/langchain-ai/langchain/issues/1919
1,636,937,677
1,919
[ "hwchase17", "langchain" ]
Add optional parameters (like a `siterestrict`) to GoogleSearchAPIWrapper. https://developers.google.com/custom-search/v1/site_restricted_api
Support for Google's Custom Search Site Restricted JSON API
https://api.github.com/repos/langchain-ai/langchain/issues/1915/comments
0
2023-03-23T04:53:09Z
2023-03-28T04:24:27Z
https://github.com/langchain-ai/langchain/issues/1915
1,636,847,361
1,915
[ "hwchase17", "langchain" ]
How to add a json example into the prompt template. Currently, it errors. Here is one example prompt human_template = """Summarize user's order into the json format keys:"name","size", "topping", "ice", "sugar", "special_instruction". Here are two examples of the order JSON object: ...
how to escape {} for the PromptTemplate
https://api.github.com/repos/langchain-ai/langchain/issues/1914/comments
9
2023-03-23T04:16:24Z
2024-05-10T06:08:49Z
https://github.com/langchain-ai/langchain/issues/1914
1,636,824,214
1,914
[ "hwchase17", "langchain" ]
I just upgraded to the most recent version of langchain (0.0.119) and I get the following error when I try to import langchain in python. Here's the error message: > --> 111 class SelfHostedHuggingFaceLLM(SelfHostedPipeline, BaseModel): 112 Wrapper around HuggingFace Pipeline API to run on self-hoste...
import langchain (0.0.119) does not work
https://api.github.com/repos/langchain-ai/langchain/issues/1913/comments
4
2023-03-23T03:40:53Z
2023-09-25T16:15:39Z
https://github.com/langchain-ai/langchain/issues/1913
1,636,797,392
1,913
[ "hwchase17", "langchain" ]
Code to create a ConstitutionalChain from an LLM: ``` @classmethod def from_llm( cls, llm: BaseLanguageModel, chain: LLMChain, critique_prompt: BasePromptTemplate = CRITIQUE_PROMPT, revision_prompt: BasePromptTemplate = REVISION_PROMPT, **kwargs: Any, ...
ConstitutionalChain cannot be composed with SimpleSequentialChain
https://api.github.com/repos/langchain-ai/langchain/issues/1904/comments
4
2023-03-23T00:35:35Z
2024-01-10T19:17:00Z
https://github.com/langchain-ai/langchain/issues/1904
1,636,674,948
1,904
[ "hwchase17", "langchain" ]
When we use `OpenSearchVectorSearch` to index documents into Opensearch, there is no way to decide the index name. There is `index_name` argument in `OpenSearchVectorSearch` however this is ignored when we call `OpenSearchVectorSearch.from_documents()` method. In the method index name is set randomly with uuid [see ...
OpenSearch index_name is not deterministic
https://api.github.com/repos/langchain-ai/langchain/issues/1900/comments
1
2023-03-22T22:59:59Z
2023-03-23T10:10:01Z
https://github.com/langchain-ai/langchain/issues/1900
1,636,610,281
1,900
[ "hwchase17", "langchain" ]
It seems this can already calculate costs, can it throw errors/warnings if usage exceeds a certain pre-configured amount? That way people won't accidentally spend $500 if they miscalculate, etc.
Add a way to configure soft/hard caps on $ spent on APIs
https://api.github.com/repos/langchain-ai/langchain/issues/1899/comments
2
2023-03-22T22:13:30Z
2023-09-10T16:40:53Z
https://github.com/langchain-ai/langchain/issues/1899
1,636,565,917
1,899
[ "hwchase17", "langchain" ]
I'm on Windows 10 and one of the examples from the Documentation [Load a prompt template from LangChainHub](https://langchain.readthedocs.io/en/latest/modules/prompts/getting_started.html#:~:text=such%20as%20Mako.-,Load%20a%20prompt%20template%20from%20LangChainHub,-%23) has the following code: ```python from langcha...
Error try_load_from_hub could not find file
https://api.github.com/repos/langchain-ai/langchain/issues/1897/comments
4
2023-03-22T20:51:53Z
2023-08-14T16:58:59Z
https://github.com/langchain-ai/langchain/issues/1897
1,636,480,289
1,897
[ "hwchase17", "langchain" ]
ImportError: cannot import name 'BaseOutputParser' from 'langchain.output_parsers'
Import Error
https://api.github.com/repos/langchain-ai/langchain/issues/1896/comments
1
2023-03-22T18:58:13Z
2023-03-23T14:24:41Z
https://github.com/langchain-ai/langchain/issues/1896
1,636,338,302
1,896
[ "hwchase17", "langchain" ]
With a Postgres database, I've found I need to add the schema to [line 69](https://github.com/hwchase17/langchain/blob/ce5d97bcb3e263f6aa69da6c334e35e20bf4db11/langchain/sql_database.py#L69): `self._metadata.reflect(bind=self._engine, schema=self._schema)`
SQLDatabase does not handle schema correctly
https://api.github.com/repos/langchain-ai/langchain/issues/1894/comments
1
2023-03-22T17:34:41Z
2023-08-21T16:08:15Z
https://github.com/langchain-ai/langchain/issues/1894
1,636,218,153
1,894
[ "hwchase17", "langchain" ]
This is the message ![image](https://user-images.githubusercontent.com/10646838/226973055-168f1120-93e2-4648-88a8-1c8a04f71796.png)
pip install -U langchain is the best thing that you can do before you start your day
https://api.github.com/repos/langchain-ai/langchain/issues/1892/comments
7
2023-03-22T16:30:44Z
2024-03-17T09:26:09Z
https://github.com/langchain-ai/langchain/issues/1892
1,636,122,407
1,892
[ "hwchase17", "langchain" ]
null
Support for Google BARD API?
https://api.github.com/repos/langchain-ai/langchain/issues/1889/comments
17
2023-03-22T15:46:42Z
2024-08-09T09:57:05Z
https://github.com/langchain-ai/langchain/issues/1889
1,636,046,362
1,889
[ "hwchase17", "langchain" ]
It looks like Llama uses an unsupported embedding scheme: https://nn.labml.ai/transformers/rope/index.html I'm opening this thread so we can have a conversation about how to support these embeddings within langchain. I'm happy to help, but my knowledge is limited.
Support for Rotary Embeddings for Llama
https://api.github.com/repos/langchain-ai/langchain/issues/1885/comments
3
2023-03-22T15:04:00Z
2023-09-18T16:22:55Z
https://github.com/langchain-ai/langchain/issues/1885
1,635,952,857
1,885
[ "hwchase17", "langchain" ]
### Describe the bug in `WandbCallbackHandler.on_chain_start` (row 533 in wandb_callback.py), the name of the input key is hardcoded set to "input" and the name of the output key is hard-coded "output", so if the chain uses any other name for the input key, this results in `KyeError`. <!--- A minimal code snippet...
Bug in WandbCallbackHandler
https://api.github.com/repos/langchain-ai/langchain/issues/1884/comments
3
2023-03-22T13:15:40Z
2023-09-10T16:40:58Z
https://github.com/langchain-ai/langchain/issues/1884
1,635,746,539
1,884
[ "hwchase17", "langchain" ]
Hi, I am a bit confused as to what is the best approach to implement the "chatting with a document store". There seem to be two approaches to do this: - ChatVectorDBChain -- https://github.com/mayooear/gpt4-pdf-chatbot-langchain - agent + ConversationBufferMemory -- https://github.com/jerryjliu/llama_index/blob/...
ChatVectorDBChain vs. agent + ConversationBufferMemory for chat
https://api.github.com/repos/langchain-ai/langchain/issues/1883/comments
5
2023-03-22T12:41:20Z
2023-10-29T16:07:28Z
https://github.com/langchain-ai/langchain/issues/1883
1,635,694,115
1,883
[ "hwchase17", "langchain" ]
``` Traceback (most recent call last): File "/Users/xingfanxia/projects/notion-qa/qa.py", line 25, in <module> result = chain({"question": args.question}) File "/opt/homebrew/lib/python3.10/site-packages/langchain/chains/base.py", line 116, in __call__ raise e File "/opt/homebrew/lib/python3.10/site...
Tiktoken version is too old for `gpt-3.5-turbo`
https://api.github.com/repos/langchain-ai/langchain/issues/1881/comments
11
2023-03-22T09:23:39Z
2023-10-18T05:27:58Z
https://github.com/langchain-ai/langchain/issues/1881
1,635,371,810
1,881
[ "hwchase17", "langchain" ]
As of the latest release, this is not accepted. ``` /opt/homebrew/lib/python3.10/site-packages/langchain/llms/openai.py:169: UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI` warnings.warn( ``` ...
Is it possible to use `gpt-3.5-turbo` for `VectorDBQAWithSourcesChain`
https://api.github.com/repos/langchain-ai/langchain/issues/1880/comments
4
2023-03-22T09:01:34Z
2023-03-24T04:55:20Z
https://github.com/langchain-ai/langchain/issues/1880
1,635,332,994
1,880
[ "hwchase17", "langchain" ]
Love Langchain library, so obsessed with it lately! I've using ChatVectorDBChain which retrieves answers from Pinecone vectorstore and it's been working very well. But one thing I noticed is that for normal `ConversationChain`, you can add `memory` argument, which provides nice user experience because it remember...
Entity memory + ChatVectorDB ?
https://api.github.com/repos/langchain-ai/langchain/issues/1876/comments
6
2023-03-22T06:25:42Z
2023-09-20T18:16:25Z
https://github.com/langchain-ai/langchain/issues/1876
1,635,138,622
1,876
[ "hwchase17", "langchain" ]
We should add human input as a tool. Human is AGI and can step in when the model is confused or lost, or need some help.
Use human input as a tool
https://api.github.com/repos/langchain-ai/langchain/issues/1871/comments
7
2023-03-22T00:23:26Z
2024-07-26T22:26:55Z
https://github.com/langchain-ai/langchain/issues/1871
1,634,874,206
1,871
[ "hwchase17", "langchain" ]
If I have a context (document) to answer questions from, is there a way to send multiple messages to openai using langchain API? I would like to get a list back where each item corresponds to answer for each question. Thanks, Ravi
Sending multiple questions in one API call and get responses for each
https://api.github.com/repos/langchain-ai/langchain/issues/1870/comments
2
2023-03-22T00:08:09Z
2023-09-18T16:22:59Z
https://github.com/langchain-ai/langchain/issues/1870
1,634,864,043
1,870
[ "hwchase17", "langchain" ]
Are you considering to add ability to use ensembling during document search?
Use ensemble of indicies on document search
https://api.github.com/repos/langchain-ai/langchain/issues/1868/comments
1
2023-03-21T22:25:49Z
2023-08-21T16:08:19Z
https://github.com/langchain-ai/langchain/issues/1868
1,634,779,399
1,868
[ "hwchase17", "langchain" ]
The current constructor for ElasticVectorSearch does not support connecting to Elastic Cloud. ``` >>> db = ElasticVectorSearch.from_documents(docs, embeddings, ... cloud_id = CLOUD_ID, ... basic_auth=(USER_NAME, PASSWORD))Traceback (m...
ElasticVectorSearch constructor to support Elastic Cloud
https://api.github.com/repos/langchain-ai/langchain/issues/1865/comments
6
2023-03-21T20:56:51Z
2023-09-19T15:17:29Z
https://github.com/langchain-ai/langchain/issues/1865
1,634,676,623
1,865
[ "hwchase17", "langchain" ]
How can we load directly xlsx file in langchain just like CSV loader? I could not be able to find in the documentation
Xlsx loader
https://api.github.com/repos/langchain-ai/langchain/issues/1862/comments
7
2023-03-21T17:25:01Z
2023-12-02T16:10:07Z
https://github.com/langchain-ai/langchain/issues/1862
1,634,398,916
1,862
[ "hwchase17", "langchain" ]
Hey all, Gor from [Aim](http://github.com/aimhubio/aim) here ๐Ÿ‘‹ First of all thanks for this awesome project! After playing with LangChain, I found that Aim // LangChain integration can be extremely helpful with tracing and deep exploration of prompts... at scale... with just a few steps. โฌ‡๏ธ ## How can Aim t...
Prompts tracing and visualization with Aim (Aim // LangChain integration)
https://api.github.com/repos/langchain-ai/langchain/issues/1861/comments
1
2023-03-21T17:11:07Z
2023-09-18T16:23:05Z
https://github.com/langchain-ai/langchain/issues/1861
1,634,374,448
1,861