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" ]
IMO a contribution guide should be added. The following questions should be answered: - how do I install langchain in `-e` mode with all dependencies to run lint and tests locally - how to start / run lint and tests locally - how should I mark "feature request issues" - how should I mark "PR that are work in prog...
FR: Add a contribution guide.
https://api.github.com/repos/langchain-ai/langchain/issues/3387/comments
1
2023-04-23T12:26:05Z
2023-04-23T12:29:47Z
https://github.com/langchain-ai/langchain/issues/3387
1,680,009,761
3,387
[ "hwchase17", "langchain" ]
sometimes, when we ask LLMs a question like writing a document or a piece of code for a specified problem, the output may be too long, when we use a UI interface like ChatGPT, we can use the prompt like ```bash ... if you have given all content, please add the 'finished' at the end of the response. if not, I wil...
How to action when output isn't finished
https://api.github.com/repos/langchain-ai/langchain/issues/3386/comments
10
2023-04-23T11:58:28Z
2024-07-16T19:18:12Z
https://github.com/langchain-ai/langchain/issues/3386
1,680,000,218
3,386
[ "hwchase17", "langchain" ]
Getting the below error ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "...\langchain\vectorstores\faiss.py", line 285, in max_marginal_relevance_search docs = self.max_marginal_relevance_search_by_vector(embedding, k, fetch_k) File "...\langchain\vectorstores\faiss.py...
ValueError in cosine_similarity when using FAISS index as vector store
https://api.github.com/repos/langchain-ai/langchain/issues/3384/comments
8
2023-04-23T07:51:56Z
2023-04-25T03:43:34Z
https://github.com/langchain-ai/langchain/issues/3384
1,679,909,880
3,384
[ "hwchase17", "langchain" ]
In the current version(0.0.147), we should escape curly brackets before f-string formatting (FewShotPromptTemplate) by ourselves. please make it a default behavior! https://colab.research.google.com/drive/16_pCJIWK88AXpCh6xsSriJmLJKrNE8Fv?usp=share_link Test Case ```python from langchain import FewShotPrompt...
escape curly brackets before f-string formatting in FewShotPromptTemplate
https://api.github.com/repos/langchain-ai/langchain/issues/3382/comments
4
2023-04-23T06:05:08Z
2024-02-12T16:19:19Z
https://github.com/langchain-ai/langchain/issues/3382
1,679,875,328
3,382
[ "hwchase17", "langchain" ]
Hello everyone, I have implemented my project using the Question Answering over Docs example provided in the tutorial. I designed a long custom prompt using load_qa_chain with chain_type set to stuff mode. However, when I call the function "chain.run", the output is incomplete. Does anyone know what might be causin...
QA chain is not working properly
https://api.github.com/repos/langchain-ai/langchain/issues/3373/comments
7
2023-04-23T03:26:34Z
2023-11-29T16:11:19Z
https://github.com/langchain-ai/langchain/issues/3373
1,679,837,740
3,373
[ "hwchase17", "langchain" ]
While playing with the LLaMA models I noticed what parse exception was thrown even output looked good. ### Screenshot ![Screenshot_20230422_220902](https://user-images.githubusercontent.com/10456471/233808267-0f6f872a-f7b4-4154-b38c-ad2dcade7820.png) For curious one the prompt I used was: ```python agent({"inp...
Terminal tool gives `ValueError: Could not parse LLM output:` when there is a new libe before action string.
https://api.github.com/repos/langchain-ai/langchain/issues/3365/comments
1
2023-04-22T22:04:26Z
2023-04-25T05:05:33Z
https://github.com/langchain-ai/langchain/issues/3365
1,679,746,063
3,365
[ "hwchase17", "langchain" ]
Using ``` langchain~=0.0.146 openai~=0.27.4 haystack~=0.42 tiktoken~=0.3.3 weaviate-client~=3.15.6 aiohttp~=3.8.4 aiodns~=3.0.0 python-dotenv~=1.0.0 Jinja2~=3.1.2 pandas~=2.0.0 ``` ``` def create_new_memory_retriever(): """Create a new vector store retriever unique to the agent.""" client = ...
Weaviate python library doesn't have needed methods for the abstractions
https://api.github.com/repos/langchain-ai/langchain/issues/3358/comments
2
2023-04-22T19:06:52Z
2023-09-10T16:28:59Z
https://github.com/langchain-ai/langchain/issues/3358
1,679,662,654
3,358
[ "hwchase17", "langchain" ]
Hi, I am building my agent, and I would like to make this query to wolfram alpha "Action Input: √68,084,217 + √62,390,364", but I always get "Wolfram Alpha wasn't able to answer it". Why is that? When I use the Wolfram app, it can easily solve it. Thanks in advance, Giovanni
Wolfram Alpha wasn't able to answer it for valid inputs
https://api.github.com/repos/langchain-ai/langchain/issues/3357/comments
6
2023-04-22T18:40:03Z
2023-12-18T23:50:48Z
https://github.com/langchain-ai/langchain/issues/3357
1,679,651,732
3,357
[ "hwchase17", "langchain" ]
I am building a chain to analyze codebases. This involves documents that's constantly changing as the user modifies the files. As far as I can see, there doesn't seem to be a way to update the embeddings that are saved in vector stores once they have been embedded and submitted to the backing vectorstore. This appea...
Add update method on vectorstores
https://api.github.com/repos/langchain-ai/langchain/issues/3354/comments
6
2023-04-22T16:39:25Z
2024-02-16T14:27:47Z
https://github.com/langchain-ai/langchain/issues/3354
1,679,611,775
3,354
[ "hwchase17", "langchain" ]
Whit the function VectorstoreIndexCreator, I got the error at --> 115 return { 116 base64.b64decode(token): int(rank) 117 for token, rank in (line.split() for line in contents.splitlines() if line) 118 } The whole error information was: ValueError ...
Get ValueError: not enough values to unpack (expected 2, got 1)
https://api.github.com/repos/langchain-ai/langchain/issues/3351/comments
8
2023-04-22T15:48:29Z
2023-11-10T16:10:12Z
https://github.com/langchain-ai/langchain/issues/3351
1,679,593,509
3,351
[ "hwchase17", "langchain" ]
Hello all, I struggle to find some clear information about what's the best structure / formatting of texts for vector databases... - is it better to have many small files with text or one big file full of texts - Let's say I deal with accurate information in format of question: <question> and answer: <answer> i...
Question about data formatting for vector databases.
https://api.github.com/repos/langchain-ai/langchain/issues/3344/comments
1
2023-04-22T09:27:10Z
2023-09-10T16:29:03Z
https://github.com/langchain-ai/langchain/issues/3344
1,679,440,551
3,344
[ "hwchase17", "langchain" ]
Hi, I set the temperature value to 0, but the response results are different for each run. If I use the native openai SDK, the result of each response is the same. ``` import os from langchain import OpenAI def main(): os.environ["OPENAI_API_KEY"] = config.get('open_ai_api_key') llm = OpenAI(tem...
set the temperature value to 0, but the response results are different for each run
https://api.github.com/repos/langchain-ai/langchain/issues/3343/comments
10
2023-04-22T07:59:47Z
2024-02-22T16:09:18Z
https://github.com/langchain-ai/langchain/issues/3343
1,679,404,151
3,343
[ "hwchase17", "langchain" ]
When running the following code, I get the message that I need to install the chromadb package. I try to install chromadb, and get the following error with `hnswlib`. I've tried creating a brand new venv with just openai, and langchain. Still get this issue. Any idea why this could be, and how to fix it? I'm us...
Dependency issue with VectorstoreIndexCreator().from_loaders
https://api.github.com/repos/langchain-ai/langchain/issues/3339/comments
3
2023-04-22T04:58:29Z
2024-01-08T19:51:23Z
https://github.com/langchain-ai/langchain/issues/3339
1,679,335,957
3,339
[ "hwchase17", "langchain" ]
In the documentation there are not enough examples of how to use memory with chat models. The chat models have different dimensions - initial prompt, the conversation, context added by agents as well. What are the best practises to deal with them ?
Not enough examples for using memory with chat models
https://api.github.com/repos/langchain-ai/langchain/issues/3338/comments
1
2023-04-22T04:05:49Z
2023-09-10T16:29:09Z
https://github.com/langchain-ai/langchain/issues/3338
1,679,317,389
3,338
[ "hwchase17", "langchain" ]
When calling `OpenAIEmbeddings.embed_documents` and including an empty string for one of the documents, the method will fail. OpenAI correctly returns a vector of 0's for the document, which is then passed to `np.average` which raises a divide-by-0 error. ``` ... File "/.../site-packages/langchain/embeddings/ope...
OpenAI Embeddings fails when embedding an empty-string
https://api.github.com/repos/langchain-ai/langchain/issues/3331/comments
1
2023-04-21T23:34:18Z
2023-09-10T16:29:14Z
https://github.com/langchain-ai/langchain/issues/3331
1,679,215,369
3,331
[ "hwchase17", "langchain" ]
Hello. I'm using LlamaCpp in Windows 10 and I'm having the following problem. Whenever I try to prompt a model (no mather if I do it throughout langchain or directly, with the `generate` method), although the model seems to load correctly, it stays running without returning nothing, not even an error (and I'm forced...
(windows) LlamaCpp model keeps running without returning nothing
https://api.github.com/repos/langchain-ai/langchain/issues/3330/comments
2
2023-04-21T23:24:11Z
2023-09-10T16:29:19Z
https://github.com/langchain-ai/langchain/issues/3330
1,679,211,432
3,330
[ "hwchase17", "langchain" ]
Sometimes, the agent will claim to have used a tool, when in fact it that is not the case. Here is a minimum working example, following the steps for a [custom tool](https://python.langchain.com/en/latest/modules/agents/tools/custom_tools.html): ```python from langchain.tools import BaseTool class MatsCustomPyT...
Is it normal for agents to make up that they used a tool?
https://api.github.com/repos/langchain-ai/langchain/issues/3329/comments
4
2023-04-21T23:16:01Z
2023-10-02T16:08:42Z
https://github.com/langchain-ai/langchain/issues/3329
1,679,208,234
3,329
[ "hwchase17", "langchain" ]
I want to analyze my codebase with DeepLake. unfortunately I must still use gpt-3.5-turbo. The token length is too long and I tried setting max_tokens_limit reduce_k_below_max_tokens without success to reduce tokens. I always get: **openai.error.InvalidRequestError: This model's maximum context length i...
DeepLake Retrieval with gpt-3.5-turbo: maximum context length is 4097 tokens exceeded
https://api.github.com/repos/langchain-ai/langchain/issues/3328/comments
4
2023-04-21T22:55:23Z
2023-09-24T16:08:32Z
https://github.com/langchain-ai/langchain/issues/3328
1,679,196,592
3,328
[ "hwchase17", "langchain" ]
Hey, I'm trying to get the cache to work after swapping the following code: ```python from langchain.llm import OpenAI ``` to ```python from langchain.chat_models import ChatOpenAI ``` And using the new object in the code. But it's not working. I haven't modified my caching code: ```python from langchain....
"from langchain.cache import SQLiteCache" not working after migrating from OpenAI to ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/3325/comments
4
2023-04-21T22:36:51Z
2023-09-24T16:08:37Z
https://github.com/langchain-ai/langchain/issues/3325
1,679,183,002
3,325
[ "hwchase17", "langchain" ]
Hi there! After setting up something like the following: ``` prompt = PromptTemplate.from_template("Some template") chain = LLMChain(llm=some_llm, prompt=prompt) ``` Is there an easy way to get the formatted prompt? Thank you
How to get formatted prompt?
https://api.github.com/repos/langchain-ai/langchain/issues/3321/comments
2
2023-04-21T21:45:30Z
2023-08-10T03:02:05Z
https://github.com/langchain-ai/langchain/issues/3321
1,679,133,812
3,321
[ "hwchase17", "langchain" ]
null
Integration with Azure Cognitive Search
https://api.github.com/repos/langchain-ai/langchain/issues/3317/comments
6
2023-04-21T20:05:23Z
2023-10-23T16:17:23Z
https://github.com/langchain-ai/langchain/issues/3317
1,679,024,365
3,317
[ "hwchase17", "langchain" ]
ImportError Traceback (most recent call last) Cell In[1], line 3 1 from langchain.llms import OpenAI 2 from langchain.agents import initialize_agent ----> 3 from langchain.agents.agent_toolkits import ZapierToolkit 4 from langchain.utilities.zapier import ZapierNLAWr...
langchain.utilities.zapier
https://api.github.com/repos/langchain-ai/langchain/issues/3316/comments
1
2023-04-21T19:41:40Z
2023-09-10T16:29:24Z
https://github.com/langchain-ai/langchain/issues/3316
1,679,002,761
3,316
[ "hwchase17", "langchain" ]
Hi! Trying to build a chat with openai chatgpt that can make use of info from my own documents. If I use LLMChain the chat behaves exactly like in openai web interface, I get the same high quality answers. However there seams no way of implementing LLmChain with vectorstores so I can get it to include my documents? ...
Can I use vectorstore with LLMChain?
https://api.github.com/repos/langchain-ai/langchain/issues/3312/comments
6
2023-04-21T18:25:58Z
2024-02-25T15:43:37Z
https://github.com/langchain-ai/langchain/issues/3312
1,678,924,271
3,312
[ "hwchase17", "langchain" ]
Hi, I plan to use LangChain for German use-cases. Do you already have multilingual prompt templates or plan to create them? Otherwise this might be a first contribution from my side... What do you think?
Multilingual prompt templates
https://api.github.com/repos/langchain-ai/langchain/issues/3306/comments
2
2023-04-21T16:07:00Z
2023-09-10T16:29:29Z
https://github.com/langchain-ai/langchain/issues/3306
1,678,761,424
3,306
[ "hwchase17", "langchain" ]
Hi, I observed an issue with sql_chain and quotation marks. The SQL that was send had quotation marks around and triggered an error in the DB. This is the DB engine: ```python from sqlalchemy import create_engine engine = create_engine("sqlite:///:memory:") ``` The solution is very simple. Just detect an...
Problem with sql_chain and quotation marks
https://api.github.com/repos/langchain-ai/langchain/issues/3305/comments
8
2023-04-21T15:19:16Z
2023-10-11T21:00:12Z
https://github.com/langchain-ai/langchain/issues/3305
1,678,695,487
3,305
[ "hwchase17", "langchain" ]
I recently made a simple Typescript function to create a VectorStore using HNSWLib-node. It saves the vector store in a folder and then, in another script file, I load and execute a RetrievalQAChain using OpenAI. Everything was working fine until I decided to put that in a AWS Lambda Function. My package.json ha...
HNSWLib-node not found when using in a AWS Lambda function
https://api.github.com/repos/langchain-ai/langchain/issues/3304/comments
15
2023-04-21T15:18:46Z
2023-10-03T08:30:52Z
https://github.com/langchain-ai/langchain/issues/3304
1,678,694,555
3,304
[ "hwchase17", "langchain" ]
I get the "OutputParserException" error almost every time I run the agent, particularly when using the GPT-4 model. For example: Requst: `Calculate the average occupancy for each day of the week. It's absolutely crucial that you just return the dataframe.` Using a simple dataframe with few columns, I get the er...
"OutputParserException: Could not parse LLM output" in create_pandas_dataframe_agent
https://api.github.com/repos/langchain-ai/langchain/issues/3303/comments
8
2023-04-21T14:58:33Z
2024-02-10T20:44:19Z
https://github.com/langchain-ai/langchain/issues/3303
1,678,660,960
3,303
[ "hwchase17", "langchain" ]
![Screenshot 2023-04-21 at 16 38 34](https://user-images.githubusercontent.com/34897716/233664176-29189983-ed8f-46ae-953c-8fcf0fa37a5c.png)
Installing takes wayyyyyy to long for some reason
https://api.github.com/repos/langchain-ai/langchain/issues/3302/comments
2
2023-04-21T14:38:51Z
2023-09-10T16:29:34Z
https://github.com/langchain-ai/langchain/issues/3302
1,678,634,385
3,302
[ "hwchase17", "langchain" ]
Hi there, Trying to setup a langchain with llamacpp as a first step to use langchain offline: `from langchain.llms import LlamaCpp llm = LlamaCpp(model_path="../llama/models/ggml-vicuna-13b-4bit-rev1.bin") text = "Question: What NFL team won the Super Bowl in the year Justin Bieber was born? Answer: Let's thi...
Output using llamacpp is garbage
https://api.github.com/repos/langchain-ai/langchain/issues/3301/comments
2
2023-04-21T14:01:59Z
2023-04-23T01:46:57Z
https://github.com/langchain-ai/langchain/issues/3301
1,678,579,514
3,301
[ "hwchase17", "langchain" ]
Upgrading to a recent langchain version with the new Tool input parsing logic, Tools with json structured inputs are now broken when using a REACT-like agent. Demonstrating below with a custom tool and the `CHAT_CONVERSATIONAL_REACT_DESCRIPTION` agent. It appears the json input is no longer being passed as a string....
Tools with structured inputs are broken with new input parser logic when using REACT agents
https://api.github.com/repos/langchain-ai/langchain/issues/3299/comments
2
2023-04-21T13:55:48Z
2023-04-24T15:14:25Z
https://github.com/langchain-ai/langchain/issues/3299
1,678,566,159
3,299
[ "hwchase17", "langchain" ]
Following the [example here](https://python.langchain.com/en/latest/modules/agents/tools/custom_tools.html), when subclassing BaseTool, args_schema is always None. langchain 0.0.145 ```python class SendMessageInput(BaseModel): email: str = Field(description="email") message: str = Field(description="th...
Subclassing BaseTool: args_schema always None
https://api.github.com/repos/langchain-ai/langchain/issues/3297/comments
2
2023-04-21T13:29:04Z
2023-04-21T22:14:37Z
https://github.com/langchain-ai/langchain/issues/3297
1,678,527,091
3,297
[ "hwchase17", "langchain" ]
How can I override the prompt used in JSON Agent (https://github.com/hwchase17/langchain/blob/master/langchain/agents/agent_toolkits/json/prompt.py) Also, how can I print/log what information/text is being sent on every execution?
How to override prompt for JSON Agent
https://api.github.com/repos/langchain-ai/langchain/issues/3293/comments
1
2023-04-21T12:40:15Z
2023-05-03T07:07:23Z
https://github.com/langchain-ai/langchain/issues/3293
1,678,459,576
3,293
[ "hwchase17", "langchain" ]
Most of the times it works fine and gives answers to questions. But, sometimes it raises the following error. File ~\Anaconda3\envs\nlp_env\lib\site-packages\elastic_transport\_node\_http_urllib3.py:199, in Urllib3HttpNode.perform_request(self, method, target, body, headers, request_timeout) 191 err = C...
'ConnectionTimeout: Connection timed out' error while using elasticsearch vectorstore in ConversationalRetrievalChain chain.
https://api.github.com/repos/langchain-ai/langchain/issues/3292/comments
3
2023-04-21T12:15:43Z
2023-09-24T16:08:47Z
https://github.com/langchain-ai/langchain/issues/3292
1,678,428,131
3,292
[ "hwchase17", "langchain" ]
getting this error when using postgreschatmessagehistory
AttributeError: 'PostgresChatMessageHistory' object has no attribute 'cursor'
https://api.github.com/repos/langchain-ai/langchain/issues/3290/comments
14
2023-04-21T10:46:18Z
2023-12-01T16:11:18Z
https://github.com/langchain-ai/langchain/issues/3290
1,678,306,948
3,290
[ "hwchase17", "langchain" ]
Hi team, got an error trying to use the create_sql_agent : Exception has occurred: AttributeError type object 'QueryCheckerTool' has no attribute 'llm' File "C:\Users\Stef\Documents\ChatGPT-Tabular-Data\mysqlUI - Agent.py", line 26, in <module> agent_executor = create_sql_agent( AttributeError: type ob...
Create_sql_agent
https://api.github.com/repos/langchain-ai/langchain/issues/3288/comments
1
2023-04-21T10:05:32Z
2023-04-21T10:10:43Z
https://github.com/langchain-ai/langchain/issues/3288
1,678,258,916
3,288
[ "hwchase17", "langchain" ]
Hi, I'm trying to add a code snippet in the Human input, but I can't seem to paste it correctly (it seems to breaks on newline). Is there a way to support this currently, or is this a known issue? Example Given the following snippet (it has a syntax error on purpose here): ```python jokes = [] for i in range(...
Support multiline input in Human input tool
https://api.github.com/repos/langchain-ai/langchain/issues/3287/comments
1
2023-04-21T09:42:19Z
2023-04-23T01:41:33Z
https://github.com/langchain-ai/langchain/issues/3287
1,678,222,334
3,287
[ "hwchase17", "langchain" ]
I'm not super in the know about python, so maybe there's just something that happens that I don't understand, but consider the following: ``` ryan_memories = GenerativeAgentMemory( llm=LLM, memory_retriever=create_new_memory_retriever(), verbose=True, reflection_threshold=8 ) ryan = Generati...
Why is this implementation of vectorstore not working?
https://api.github.com/repos/langchain-ai/langchain/issues/3286/comments
7
2023-04-21T08:49:07Z
2023-11-02T19:30:24Z
https://github.com/langchain-ai/langchain/issues/3286
1,678,142,711
3,286
[ "hwchase17", "langchain" ]
We got a QA system using ConversationalRetrievalChain, it is awesome, but it can get better performance in the first step: summarize the question from chat history. The original prompt to condence question: Given the following conversation and a follow up question, rephrase the follow up question to be a standalo...
Is there any better advice to summarize question from chat history
https://api.github.com/repos/langchain-ai/langchain/issues/3285/comments
10
2023-04-21T08:19:59Z
2023-11-26T16:10:29Z
https://github.com/langchain-ai/langchain/issues/3285
1,678,098,137
3,285
[ "hwchase17", "langchain" ]
I'm trying to track openai usage. but this is not working for ChatOpenAI class, I guess using OpenAI class(which is subclass of llm) might be a solution, but bit worried because of the depreciation warning `UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. ...
use openaicallback with ChatOpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/3283/comments
2
2023-04-21T08:09:06Z
2023-09-10T16:29:41Z
https://github.com/langchain-ai/langchain/issues/3283
1,678,081,255
3,283
[ "hwchase17", "langchain" ]
Models loaded from TensorFlow Hub expect a list of strings to generate embedding for. However in `embed_query` method, we directly pass the text instead of converting it to a list. This gives error as the model expects a list but is provided with a string.
Fix: error while generating embedding for a query using TensorFlow Hub.
https://api.github.com/repos/langchain-ai/langchain/issues/3282/comments
4
2023-04-21T08:04:44Z
2023-08-23T16:40:22Z
https://github.com/langchain-ai/langchain/issues/3282
1,678,071,435
3,282
[ "hwchase17", "langchain" ]
Here is my simple code ```master_index = VectorstoreIndexCreator().from_loaders([csv_loader, casestudy_loader, web_loader])``` ```query = "what was the location of adani case study"``` ```r = master_index.query_with_sources(query, llm=OpenAI(model_name="gpt-3.5-turbo", temperature=0.7))``` ```print(r)``` I wan...
Question: How to save index created using VectorstoreIndexCreator from 3 loaders
https://api.github.com/repos/langchain-ai/langchain/issues/3278/comments
4
2023-04-21T06:44:30Z
2023-09-24T16:08:53Z
https://github.com/langchain-ai/langchain/issues/3278
1,677,930,027
3,278
[ "hwchase17", "langchain" ]
I am getting the following error when trying to query from a ConversationalRetrievalChain using HuggingFace. ` ( a ValueError: Error raised by inference API: Model stabilityai/stablelm-tuned-alpha-3b time out ` I am query the model using a simple LLMChain, but querying on documents seems to be the issue, any idea ...
Timeout when running hugging face LLMs for ConversationRetrivalChain
https://api.github.com/repos/langchain-ai/langchain/issues/3275/comments
46
2023-04-21T06:06:09Z
2024-04-03T16:07:00Z
https://github.com/langchain-ai/langchain/issues/3275
1,677,877,994
3,275
[ "hwchase17", "langchain" ]
I am able to connect to Amazon OpenSearch cluster that has a username and password and ingest embeddings into but when I do a `docsearch.similarity_search` it fails with a 401 unauthorized error. I am able to connect to the cluster by passing the username and password as `http_auth` tuple. I verified by putting trac...
`similarity_search` for OpenSearchVectorSearch does not pass authorization header to opensearch
https://api.github.com/repos/langchain-ai/langchain/issues/3270/comments
4
2023-04-21T04:30:20Z
2023-09-24T16:08:57Z
https://github.com/langchain-ai/langchain/issues/3270
1,677,780,183
3,270
[ "hwchase17", "langchain" ]
Hello, I have implemented data mapping from natural language to API URL path using "from langchain.agents import Tool". With this, when a user requests for feedback data from a particular version of our in-house product, we can use agents to understand natural language and return the corresponding data results. Howe...
Questions about using Langchain agents
https://api.github.com/repos/langchain-ai/langchain/issues/3268/comments
1
2023-04-21T04:00:49Z
2023-09-10T16:29:45Z
https://github.com/langchain-ai/langchain/issues/3268
1,677,753,669
3,268
[ "hwchase17", "langchain" ]
Hi friend, i would like to reproduce your work that i found on hugging face: https://huggingface.co/hiiamsid/sentence_similarity_spanish_es Please provide an example to guide me. Thank you so much.
How to reproduce your work sentence_similarity_spanish_es ?
https://api.github.com/repos/langchain-ai/langchain/issues/3265/comments
1
2023-04-21T03:29:35Z
2023-09-10T16:29:50Z
https://github.com/langchain-ai/langchain/issues/3265
1,677,724,548
3,265
[ "hwchase17", "langchain" ]
I'm trying to use the LLM and planner modules to interact with the Google Calendar API, but I'm facing issues in creating a compatible requests wrapper. I want to create a Google Calendar agent and schedule appointments using the agent. Here's the code I have tried so far: import config import os import sys im...
Problems Using LLM and planner modules with Google Calendar API in Python
https://api.github.com/repos/langchain-ai/langchain/issues/3264/comments
3
2023-04-21T03:24:02Z
2023-07-22T09:41:10Z
https://github.com/langchain-ai/langchain/issues/3264
1,677,720,364
3,264
[ "hwchase17", "langchain" ]
I understand that streaming is now supported with chat models like `ChatOpenAI` with `callback_manager` and `streaming=True`. **But I cant seem to get streaming work if using it along with chaining.** Here is the code for better explanation: ```python # Defining model LLM = ChatOpenAI(model_name="gpt-3.5-t...
Support for streaming when using LLMchain?
https://api.github.com/repos/langchain-ai/langchain/issues/3263/comments
5
2023-04-21T03:14:34Z
2024-02-16T17:53:40Z
https://github.com/langchain-ai/langchain/issues/3263
1,677,710,500
3,263
[ "hwchase17", "langchain" ]
"poetry install -E all" fails with the following error: • Installing uvloop (0.17.0): Failed ChefBuildError Backend subprocess exited when trying to invoke get_requires_for_build_wheel Traceback (most recent call last): File "C:\Users\qiang\AppData\Roaming\pypoetry\venv\lib\site-packages\pyproj...
Langchain is no longer supporting Windows because of uvloop
https://api.github.com/repos/langchain-ai/langchain/issues/3260/comments
4
2023-04-21T02:42:37Z
2023-09-24T16:09:03Z
https://github.com/langchain-ai/langchain/issues/3260
1,677,683,390
3,260
[ "hwchase17", "langchain" ]
get this error AttributeError: 'OpenAIEmbeddings' object has no attribute 'deployment' when deploying LangChain to DigitalOcean - however I don't get it locally. It seems rather odd, as when going through the source code, OpenAIEmbeddings indeed seem to have a 'deployment' attribute. What could cause this?
AttributeError: 'OpenAIEmbeddings' object has no attribute 'deployment'
https://api.github.com/repos/langchain-ai/langchain/issues/3251/comments
8
2023-04-20T23:00:00Z
2023-09-24T16:09:08Z
https://github.com/langchain-ai/langchain/issues/3251
1,677,530,942
3,251
[ "hwchase17", "langchain" ]
Hi, Windows 11 environement Python: 3.10.11 I installed - llama-cpp-python and it works fine and provides output - transformers - pytorch Code run: ``` from langchain.llms import LlamaCpp from langchain import PromptTemplate, LLMChain template = """Question: {question} Answer: Let's think ste...
llama.cpp => model runs fine but bad output
https://api.github.com/repos/langchain-ai/langchain/issues/3241/comments
4
2023-04-20T20:36:45Z
2023-04-22T16:19:38Z
https://github.com/langchain-ai/langchain/issues/3241
1,677,392,515
3,241
[ "hwchase17", "langchain" ]
Got this error while using langchain with llama-index, not sure why it comes up, but currently around 1/10 queries gives this error. ``` > Entering new AgentExecutor chain... Traceback (most recent call last): File "/Users/user/crawl/index.py", line 151, in <module> index() File "/Users/user/crawl/index...
Error: raise ValueError(f"Could not parse LLM output: `{text}`")
https://api.github.com/repos/langchain-ai/langchain/issues/3240/comments
2
2023-04-20T19:55:39Z
2023-09-10T16:29:55Z
https://github.com/langchain-ai/langchain/issues/3240
1,677,327,850
3,240
[ "hwchase17", "langchain" ]
Sorry for so messy one, but is there any way to make Image Capture definitions more detailed / Use another module to explain what objects does the picture has with color definitions, etc.? My dummy code look just like in example, but it looks like image capture processor is quite lightweight :[
Is there any way to make image caption descriptor more detailed?
https://api.github.com/repos/langchain-ai/langchain/issues/3238/comments
1
2023-04-20T18:52:37Z
2023-09-10T16:30:00Z
https://github.com/langchain-ai/langchain/issues/3238
1,677,245,360
3,238
[ "hwchase17", "langchain" ]
- in `BaseLoader` we don't have a limit on the number of loaded Documents. - in `BaseRetriever` we also don't have a limit. - in VectorStoreRetriever we also don't have a limit in the `get_relevant_documents` - in `VectorStore` we do have a limit in the `search`-es. So we are OK here. - in `utilities`, it looks li...
no limits on number of loaded/searched Documents
https://api.github.com/repos/langchain-ai/langchain/issues/3235/comments
1
2023-04-20T16:59:46Z
2023-09-10T16:30:05Z
https://github.com/langchain-ai/langchain/issues/3235
1,677,092,640
3,235
[ "hwchase17", "langchain" ]
The [conversational_chat](https://github.com/hwchase17/langchain/blob/master/langchain/agents/conversational_chat/base.py#L58) agent takes the following args for `create_prompt` ```py def create_prompt( cls, tools: Sequence[BaseTool], system_message: str = PREFIX, human_message: st...
Standardize input args for `conversational` and `conversational_chat` agents
https://api.github.com/repos/langchain-ai/langchain/issues/3234/comments
2
2023-04-20T16:29:33Z
2023-10-12T16:10:14Z
https://github.com/langchain-ai/langchain/issues/3234
1,677,052,146
3,234
[ "hwchase17", "langchain" ]
langchain Version : 0.0.144 python:3.9+ code: ``` callback_handler = AsyncIteratorCallbackHandler() callback_manager = AsyncCallbackManager([callback_handler]) llm = OpenAI(callback_manager=callback_manager, streaming=True, verbose=True, temperature=0.7) message_history = RedisChatMessageHistory(conversation_...
ConversationSummaryBufferMemory did not meet expectations during asynchronous code execution
https://api.github.com/repos/langchain-ai/langchain/issues/3230/comments
0
2023-04-20T15:52:02Z
2023-04-21T08:16:50Z
https://github.com/langchain-ai/langchain/issues/3230
1,676,995,455
3,230
[ "hwchase17", "langchain" ]
Reposting from [Discord Thread](https://discord.com/channels/1038097195422978059/1079490798929858651/1098396255740248134): Hey y'all! I'm trying to hack the `CustomCalculatorTool` so that I can pass in an LLM with a pre-loaded API key (I have a use case where I need to use seperate LLM instances with their own API key...
Custom Calculator Tool
https://api.github.com/repos/langchain-ai/langchain/issues/3228/comments
2
2023-04-20T15:16:00Z
2023-04-24T16:48:39Z
https://github.com/langchain-ai/langchain/issues/3228
1,676,935,127
3,228
[ "hwchase17", "langchain" ]
Hello, currently facing exception trying to call `ConversationalRetrievalChain` with `chroma` as retriever in async mode. ```python chain = ConversationalRetrievalChain.from_llm( self.llm, chain_type="stuff", retriever=conn.as_retriever(**kwargs), verbose=True, ...
Chroma asimilarity_search NotImplementedError
https://api.github.com/repos/langchain-ai/langchain/issues/3226/comments
1
2023-04-20T13:19:37Z
2023-04-21T18:12:53Z
https://github.com/langchain-ai/langchain/issues/3226
1,676,713,536
3,226
[ "hwchase17", "langchain" ]
When executing AutoGPT where I am using Azure OpenAI as LLM I am getting following error: 213 return self(args[0])[self.output_keys[0]] 215 if kwargs and not args: --> 216 return self(kwargs)[self.output_keys[0]] 218 raise ValueError( 219 f"`run` supported with either positional argum...
AssertionError AutoGPT with Azure OpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/3221/comments
1
2023-04-20T11:12:40Z
2023-09-10T16:30:10Z
https://github.com/langchain-ai/langchain/issues/3221
1,676,515,527
3,221
[ "hwchase17", "langchain" ]
Any plans to add it into the list of supported backend models?
MiniGPT-4 support
https://api.github.com/repos/langchain-ai/langchain/issues/3219/comments
2
2023-04-20T10:08:52Z
2023-09-24T16:09:13Z
https://github.com/langchain-ai/langchain/issues/3219
1,676,421,442
3,219
[ "hwchase17", "langchain" ]
I've been investigating an error when running agent based example with the Comet callback when trying to save the agent to disk. I have been able to narrow the bug down to the following reproduction script: ```python import os from datetime import datetime import langchain from langchain.agents import initi...
Bug in saving agent since version v0.0.142
https://api.github.com/repos/langchain-ai/langchain/issues/3217/comments
4
2023-04-20T09:52:27Z
2023-05-11T08:27:59Z
https://github.com/langchain-ai/langchain/issues/3217
1,676,392,876
3,217
[ "hwchase17", "langchain" ]
Is there a way we can add Time To live when storing vectors in Redis? If there isn't is there a plan to add it in the future?
Adding Time To Live on Redis Vector Store Index
https://api.github.com/repos/langchain-ai/langchain/issues/3213/comments
5
2023-04-20T08:49:57Z
2023-09-24T16:09:18Z
https://github.com/langchain-ai/langchain/issues/3213
1,676,287,491
3,213
[ "hwchase17", "langchain" ]
oduleNotFoundError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_13968\1686623477.py in <module> ----> 1 from langchain.document_loaders import UnstructuredFileLoader 2 from langchain.embeddings.huggingface import HuggingFaceEmbeddings 3 from langchain.vectorstor...
No module named 'langchain.document_loaders'
https://api.github.com/repos/langchain-ai/langchain/issues/3210/comments
9
2023-04-20T06:36:41Z
2024-06-08T16:07:06Z
https://github.com/langchain-ai/langchain/issues/3210
1,676,090,163
3,210
[ "hwchase17", "langchain" ]
In the GPT4All, the prompts/contexts are always printed out on the console. Is there any argument to set if a prompt echos or not on the console? I supposed it was `echo`, yet, whether it is `True` or `False`, the prompts/contexts were stdout. Setup ``` from langchain.llms import GPT4All llm = GPT4All(m...
GPT4All: is there an argument to set if a prompt echos on the console?
https://api.github.com/repos/langchain-ai/langchain/issues/3208/comments
3
2023-04-20T04:59:14Z
2023-09-15T22:12:51Z
https://github.com/langchain-ai/langchain/issues/3208
1,676,000,963
3,208
[ "hwchase17", "langchain" ]
For Chinese communication and develop the project I think we could setup a WeChat Group for communicate. 为了中文交流和开发项目我觉得我们可以建立一个微信群来交流,并推动 langchain 中文特性建设。 ![langchain](https://i.imgur.com/oTRWPI3.png "langchain WeChat Group")
langchain For Chinese (langchain 中文交流群)
https://api.github.com/repos/langchain-ai/langchain/issues/3204/comments
9
2023-04-20T04:11:15Z
2024-01-24T09:54:46Z
https://github.com/langchain-ai/langchain/issues/3204
1,675,968,107
3,204
[ "hwchase17", "langchain" ]
I use vectore_db `Chroma` and langchain `RetrievalQA ` to build my docs bot, but every question costs about 16 ~ 17 seconds. someboby has any ideas? Thanks here is my code ```python embeddings = OpenAIEmbeddings() vector_store = Chroma(persist_directory="docs_db", embedding_function=embeddings) qa = Retrie...
RetrievalQA costs long time to get the answer
https://api.github.com/repos/langchain-ai/langchain/issues/3202/comments
8
2023-04-20T04:01:01Z
2023-09-21T04:09:59Z
https://github.com/langchain-ai/langchain/issues/3202
1,675,959,900
3,202
[ "hwchase17", "langchain" ]
I am very interested in the implemention of generative agent. But I am confused by the agent's traits attribute. How the agent exactly holds its traits when interacts with the env and other agents? In the code, I can find the traits attribute only in the method 'get_summary' and the traits is not involved in any llm mo...
Question about the Generative Agent implemention
https://api.github.com/repos/langchain-ai/langchain/issues/3196/comments
1
2023-04-20T03:07:09Z
2023-09-10T16:30:15Z
https://github.com/langchain-ai/langchain/issues/3196
1,675,921,889
3,196
[ "hwchase17", "langchain" ]
As a result of several trial for [Add HuggingFace Examples](https://github.com/hwchase17/langchain/commit/c757c3cde45a24e0cd6a3ebe6bb0f8176cae4726), stablelm-tuned-alpha-3b with `"max_length":64` is able to use. `"max_length":4096` and base 3B, tuned 7B and base 7B even with `"max_length":64` give error. And, in ca...
Only StableLM tuned 3B is available - 0.0.144
https://api.github.com/repos/langchain-ai/langchain/issues/3194/comments
1
2023-04-20T03:02:46Z
2023-09-10T16:30:20Z
https://github.com/langchain-ai/langchain/issues/3194
1,675,917,037
3,194
[ "hwchase17", "langchain" ]
When I run this notebook: https://python.langchain.com/en/latest/use_cases/autonomous_agents/autogpt.html I get an error: 'AttributeError: 'Tool' object has no attribute 'args' --------------------------------------------------------------------------- AttributeError Traceback (most re...
AutoGPT Implementation: AttributeError: 'Tool' object has no attribute 'args'
https://api.github.com/repos/langchain-ai/langchain/issues/3193/comments
5
2023-04-20T02:07:56Z
2023-09-24T16:09:28Z
https://github.com/langchain-ai/langchain/issues/3193
1,675,875,313
3,193
[ "hwchase17", "langchain" ]
The documentation in the Langchain site and the code repo should point out that you can actually retrieve the vector store from your choice of databases. I thought you couldn't do this and implemented a wrapper to retrieve the values from the database and mapped it to the appropriate langchain class, only to find out a...
Documentation should point out how to retrieve a vectorstore already uploaded in a database
https://api.github.com/repos/langchain-ai/langchain/issues/3191/comments
9
2023-04-20T00:51:32Z
2024-02-13T06:55:04Z
https://github.com/langchain-ai/langchain/issues/3191
1,675,822,065
3,191
[ "hwchase17", "langchain" ]
I'm trying to add a tool with the [OpenAPI chain](https://python.langchain.com/en/latest/modules/chains/examples/openapi.html#openapi-chain), and I'm struggling to get API auth working. A bit about my use case: - I want to build a ToolKit that takes a prompt and queries an external API (using multiple endpoints of ...
Question about OpenAPI chain API auth
https://api.github.com/repos/langchain-ai/langchain/issues/3190/comments
8
2023-04-20T00:38:21Z
2023-12-15T00:48:36Z
https://github.com/langchain-ai/langchain/issues/3190
1,675,815,001
3,190
[ "hwchase17", "langchain" ]
Stability AI issues [StableLM](https://huggingface.co/stabilityai/stablelm-tuned-alpha-7b). And, llama.cpp & his ggml repo is being updated accordingly as [ggerganov](https://github.com/ggerganov/ggml/tree/stablelm/examples/stablelm). I hope Langchain will support it soon.
Support StableLM
https://api.github.com/repos/langchain-ai/langchain/issues/3189/comments
1
2023-04-20T00:32:59Z
2023-04-20T00:42:11Z
https://github.com/langchain-ai/langchain/issues/3189
1,675,812,005
3,189
[ "hwchase17", "langchain" ]
The following error indicates to `pip install bs4`. However, to install BeautifulSoup, one should `pip install beautifulsoup4` Error: ``` File [ENVPATH/lib/python3.10/site-packages/langchain/document_loaders/html_bs.py:26], in BSHTMLLoader.__init__(self, file_path, open_encoding, bs_kwargs) 24 import bs4...
BSHTMLLoader Incorrect error message; bs4 -> beautifulsoup4
https://api.github.com/repos/langchain-ai/langchain/issues/3188/comments
1
2023-04-20T00:21:09Z
2023-04-24T19:59:20Z
https://github.com/langchain-ai/langchain/issues/3188
1,675,804,485
3,188
[ "hwchase17", "langchain" ]
Hi I have one question I want to use search_distance with ConversationalRetrievalChain Here is my code: ``` vectordbkwargs = {"search_distance": 0.9} bot_message = qa.run({"question": history[-1][0], "chat_history": history[:-1], "vectordbkwargs": vectordbkwargs}) ``` But I am getting the following error ``...
Error in running search_distance with ConversationalRetrievalChain
https://api.github.com/repos/langchain-ai/langchain/issues/3178/comments
6
2023-04-19T21:10:44Z
2023-11-22T16:09:14Z
https://github.com/langchain-ai/langchain/issues/3178
1,675,643,417
3,178
[ "hwchase17", "langchain" ]
null
create_python_agent doesnt return intermediate step
https://api.github.com/repos/langchain-ai/langchain/issues/3177/comments
1
2023-04-19T21:09:07Z
2023-09-10T16:30:25Z
https://github.com/langchain-ai/langchain/issues/3177
1,675,640,827
3,177
[ "hwchase17", "langchain" ]
The following link describes the VectorStoreRetrieverMemory class, which would be extremely useful for referencing an external vector DB & it's text/vectors: https://python.langchain.com/en/latest/modules/memory/types/vectorstore_retriever_memory.html#create-your-the-vectorstoreretrievermemory) However, I'm foll...
VectorStoreRetrieverMemory Not Available In Langchain.memory
https://api.github.com/repos/langchain-ai/langchain/issues/3175/comments
2
2023-04-19T21:01:08Z
2023-05-03T14:28:51Z
https://github.com/langchain-ai/langchain/issues/3175
1,675,628,226
3,175
[ "hwchase17", "langchain" ]
When I get a rate limit or API key error, I get the following: ``` File "/Users/vanessacai/workspace/chef/venv/lib/python3.10/site-packages/langchain/chains/base.py", line 216, in run return self(kwargs)[self.output_keys[0]] File "/Users/vanessacai/workspace/chef/venv/lib/python3.10/site-packages/langchain/...
Anthropic error handling is unclear
https://api.github.com/repos/langchain-ai/langchain/issues/3170/comments
2
2023-04-19T19:43:52Z
2023-04-20T00:51:18Z
https://github.com/langchain-ai/langchain/issues/3170
1,675,517,935
3,170
[ "hwchase17", "langchain" ]
When installing requirements via `poetry install -E all` getting error for debugpy and SQLAlchemy: debugpy: ``` • Installing debugpy (1.6.7): Failed CalledProcessError Command '['/Users/cyzanfar/Desktop/llm/langchain/.venv/bin/python', '-m', 'pip', 'install', '--disable-pip-version-check', '--isolated',...
poetry install -E all on M1 13.2.1
https://api.github.com/repos/langchain-ai/langchain/issues/3169/comments
2
2023-04-19T19:31:31Z
2023-09-10T16:30:30Z
https://github.com/langchain-ai/langchain/issues/3169
1,675,500,196
3,169
[ "hwchase17", "langchain" ]
I'm exploring [this great notebook](https://python.langchain.com/en/latest/use_cases/agent_simulations/characters.html) and trying to produce something similar, however I get an error when `fetch_memories` calls `self.memory_retriever.get_relevant_documents(observation)`: ``` AttributeError: 'FAISS' object has no a...
Error using TimeWeightedVectorStoreRetriever.get_relevant_documents with FAISS: 'FAISS' object has no attribute 'similarity_search_with_relevance_scores'
https://api.github.com/repos/langchain-ai/langchain/issues/3167/comments
6
2023-04-19T19:21:29Z
2023-09-18T09:55:40Z
https://github.com/langchain-ai/langchain/issues/3167
1,675,484,274
3,167
[ "hwchase17", "langchain" ]
I am trying to improve BabyAGI with agents example from this repo to read a file, optimize it and write the file. I added this to the tools as from the AutoGPT example next to search and todo: ` WriteFileTool(), ReadFileTool(),` Prompt is to "Write the optimized code into a file". ReadFileTool is w...
File cannot be written: WriteFileTool() throws validation error for WriteFileInput text
https://api.github.com/repos/langchain-ai/langchain/issues/3165/comments
6
2023-04-19T18:21:47Z
2023-09-28T16:07:55Z
https://github.com/langchain-ai/langchain/issues/3165
1,675,398,921
3,165
[ "hwchase17", "langchain" ]
Just wanted to flag this. Not sure if it's a me problem or if there's an issue elsewhere. Searched the issues for the same problem and couldn't find it. ![image](https://user-images.githubusercontent.com/120994691/233148858-ae59907a-5ee7-431a-a181-ff215520db47.png)
Docs Chat Rate Limited
https://api.github.com/repos/langchain-ai/langchain/issues/3162/comments
1
2023-04-19T17:07:40Z
2023-09-10T16:30:36Z
https://github.com/langchain-ai/langchain/issues/3162
1,675,301,097
3,162
[ "hwchase17", "langchain" ]
The console output when running a tool is missing the "Observation" and "Thought" prefixes. I noticed this when using the SQL Toolkit, but other tools are likely affected. Here is the current INCORRECT output format: ``` > Entering new AgentExecutor chain... Action: list_tables_sql_db Action Input: ""invoice_...
Missing Observation and Thought prefix in output
https://api.github.com/repos/langchain-ai/langchain/issues/3157/comments
4
2023-04-19T15:15:26Z
2023-04-20T16:46:28Z
https://github.com/langchain-ai/langchain/issues/3157
1,675,129,012
3,157
[ "hwchase17", "langchain" ]
I am considering implementing a new tool to give LLMs the ability to send SMS text using the Twilio API. @hwchase17 is this worth implementing? if so I'll submit a PR shortly.
New Tool: Twilio
https://api.github.com/repos/langchain-ai/langchain/issues/3156/comments
7
2023-04-19T14:37:14Z
2023-09-27T16:07:56Z
https://github.com/langchain-ai/langchain/issues/3156
1,675,043,935
3,156
[ "hwchase17", "langchain" ]
For writing more abstracted code the variables in langchain.chat_model and model in langchain.llms should have the same way of retrieving the model version. Therefor both variables should have the same name.
[feat] the variable model_name from langchain.chat_model should have the same name as the variable model from langchain.llms
https://api.github.com/repos/langchain-ai/langchain/issues/3154/comments
1
2023-04-19T13:51:42Z
2023-09-10T16:30:41Z
https://github.com/langchain-ai/langchain/issues/3154
1,674,945,820
3,154
[ "hwchase17", "langchain" ]
I tried to merge two FAISS indices: index1 = FAISS.from_documents(doc1, embeddings) index2=FAISS.from_documents(doc2, embeddings) after I do index1.merge_from(index2), and then do ret = index2.as_retriever() ret.get_relevant_documents(query) it returns and empty list []. If index1 is saved_local, can I...
does merging index1.merge_from(index2) dump index2?
https://api.github.com/repos/langchain-ai/langchain/issues/3152/comments
2
2023-04-19T11:17:25Z
2023-07-21T15:11:27Z
https://github.com/langchain-ai/langchain/issues/3152
1,674,697,052
3,152
[ "hwchase17", "langchain" ]
I'm talking about langchain, langchain-backend and langchain-frontend here. https://python.langchain.com/en/latest/tracing/local_installation.html Could give people a starting off point if they want to use langchain with tracing. I'll share mine here: ``` version: '3.7' services: your-app-name-contai...
Thought about a docker-compose file to run langchain's whole ecosystem?
https://api.github.com/repos/langchain-ai/langchain/issues/3150/comments
6
2023-04-19T10:33:28Z
2023-09-24T16:09:43Z
https://github.com/langchain-ai/langchain/issues/3150
1,674,632,635
3,150
[ "hwchase17", "langchain" ]
I would like to implement the following feature. ### Description: currently the sitemap loader (at `document_laoders.sitemap`) only works if the sitemap URL as web_path is passed directly. I propose adding a feature to improve the sitemap loader's functionality by enabling it to automatically discover sitemap URLs ...
FEAT: Extend SitemapLoader to automatically discover sitemap URLs.
https://api.github.com/repos/langchain-ai/langchain/issues/3149/comments
1
2023-04-19T10:19:24Z
2023-09-10T16:30:46Z
https://github.com/langchain-ai/langchain/issues/3149
1,674,612,447
3,149
[ "hwchase17", "langchain" ]
I have a gpt-3.5-turbo model deployed on AzureOpenAI, however, I always keep getting this error. **openai.error.InvalidRequestError: The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.** `index_creator = VectorstoreIndexCr...
Unable to use gpt-3.5-turbo deployed on Azure OpenAI with langchain embeddings.
https://api.github.com/repos/langchain-ai/langchain/issues/3148/comments
10
2023-04-19T10:00:10Z
2023-08-10T14:50:58Z
https://github.com/langchain-ai/langchain/issues/3148
1,674,581,862
3,148
[ "hwchase17", "langchain" ]
Recently I got a strange error when using FAISS `similarity_search_with_score_by_vector`. The line (https://github.com/hwchase17/langchain/blob/575b717d108984676e25afd0910ccccfdaf9693d/langchain/vectorstores/faiss.py#L170) generates errors: ``` TypeError: IndexFlat.search() missing 3 required positional arguments:...
FAISS similarity search issue
https://api.github.com/repos/langchain-ai/langchain/issues/3147/comments
11
2023-04-19T09:55:13Z
2023-06-11T23:46:27Z
https://github.com/langchain-ai/langchain/issues/3147
1,674,572,859
3,147
[ "hwchase17", "langchain" ]
Hi, I'm trying to implement the memory stream in <[Generative Agents: Interactive Simulacra of Human Behavior](https://arxiv.org/abs/2304.03442)>. This memory mode is built on top of a concept called `observation` which is something like `Lily is watching a movie`, `desk is idle`. I think the most closest concept...
Implementing the memory stream in <Generative Agents: Interactive Simulacra of Human Behavior>
https://api.github.com/repos/langchain-ai/langchain/issues/3145/comments
1
2023-04-19T09:28:23Z
2023-09-10T16:30:51Z
https://github.com/langchain-ai/langchain/issues/3145
1,674,529,524
3,145
[ "hwchase17", "langchain" ]
``` from langchain import OpenAI from langchain.chains import RetrievalQAWithSourcesChain from langchain.prompts import PromptTemplate from langchain.chains.qa_with_sources import load_qa_with_sources_chain chain = RetrievalQAWithSourcesChain.from_chain_type(OpenAI(temperature=0), chain_type="stuff", retriever=r...
Error occured after updating langchain version to the latest 0.0.144 for the example code using RetrievalQAWithSourcesChain
https://api.github.com/repos/langchain-ai/langchain/issues/3144/comments
2
2023-04-19T09:26:44Z
2024-05-21T06:02:37Z
https://github.com/langchain-ai/langchain/issues/3144
1,674,526,880
3,144
[ "hwchase17", "langchain" ]
null
How to change the max_token for different requests
https://api.github.com/repos/langchain-ai/langchain/issues/3138/comments
1
2023-04-19T07:05:24Z
2023-09-10T16:31:01Z
https://github.com/langchain-ai/langchain/issues/3138
1,674,296,816
3,138
[ "hwchase17", "langchain" ]
### Discussed in https://github.com/hwchase17/langchain/discussions/3132 <div type='discussions-op-text'> <sup>Originally posted by **srithedesigner** April 19, 2023</sup> We used to use AzureOpenAI llm from langchain.llms with the text-davinci-003 model but after deploying GPT4 in Azure when trying to use GPT4,...
Not able to use GPT4 model with AzureOpenAI from from langchain.llms
https://api.github.com/repos/langchain-ai/langchain/issues/3137/comments
12
2023-04-19T06:53:50Z
2023-10-16T19:48:27Z
https://github.com/langchain-ai/langchain/issues/3137
1,674,281,383
3,137
[ "hwchase17", "langchain" ]
<br> I'm trying to integrate gpt 4 azure open ai with Langchain but when i try to use it inside ConversationalRetrievalChain it is throwing some error <be> ``` raise error.InvalidRequestError(\\n *~* openai.error.InvalidRequestError: Must provide an \'engine\' or \'deployment_id\' parameter to create a <class ...
InvalidRequestError Must provide an engine ( gpt 4 azure open ai )
https://api.github.com/repos/langchain-ai/langchain/issues/3134/comments
3
2023-04-19T05:57:43Z
2023-09-24T16:09:53Z
https://github.com/langchain-ai/langchain/issues/3134
1,674,221,239
3,134
[ "hwchase17", "langchain" ]
Python 3.11.1 langchain==0.0.143 llama-cpp-python==0.1.34 Model works when I use Dalai. Also happens with Llama 7B. Code here (from [langchain documentation](https://python.langchain.com/en/latest/modules/models/llms/integrations/llamacpp.html)): ``` from langchain.llms import LlamaCpp from langchain import...
Alpaca 7B loads with LlamaCpp, no response from model
https://api.github.com/repos/langchain-ai/langchain/issues/3129/comments
1
2023-04-19T04:56:54Z
2023-04-19T06:45:04Z
https://github.com/langchain-ai/langchain/issues/3129
1,674,171,032
3,129
[ "hwchase17", "langchain" ]
I'm trying to use the WebBrowserTool and I got the foirbidden code (403) on some sites. I tried to add the user agent and also use proxies but I still get 403. I tried to send the headers directly on the tool contructor or the axios config. ``` const headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; ...
WebBrowserTool 403 error
https://api.github.com/repos/langchain-ai/langchain/issues/3118/comments
0
2023-04-18T22:48:32Z
2023-04-18T23:24:13Z
https://github.com/langchain-ai/langchain/issues/3118
1,673,926,522
3,118
[ "hwchase17", "langchain" ]
I'm not sure if it's a typo or not but the default prompt in [langchain](https://github.com/hwchase17/langchain/tree/master/langchain)/[langchain](https://github.com/hwchase17/langchain/tree/master/langchain)/[chains](https://github.com/hwchase17/langchain/tree/master/langchain/chains)/[summarize](https://github.com/hw...
Missing new lines or empty spaces in refine default prompt.
https://api.github.com/repos/langchain-ai/langchain/issues/3117/comments
4
2023-04-18T22:32:58Z
2023-08-31T14:29:51Z
https://github.com/langchain-ai/langchain/issues/3117
1,673,914,308
3,117
[ "hwchase17", "langchain" ]
I run the following code: ```py from langchain.chat_models import ChatOpenAI from langchain import PromptTemplate, LLMChain from langchain.prompts.chat import ( ChatPromptTemplate, SystemMessagePromptTemplate, AIMessagePromptTemplate, HumanMessagePromptTemplate, ) from langchain.schema impor...
get_openai_callback doesn't return the credits for ChatGPT chain
https://api.github.com/repos/langchain-ai/langchain/issues/3114/comments
22
2023-04-18T21:28:20Z
2024-02-19T08:46:12Z
https://github.com/langchain-ai/langchain/issues/3114
1,673,855,423
3,114
[ "hwchase17", "langchain" ]
langchain was installed via `pip` ``` Traceback (most recent call last): File "/Users/oleksandrdanshyn/github.com/dalazx/langchain/test.py", line 1, in <module> from langchain.agents import load_tools, initialize_agent, AgentType File "/Users/oleksandrdanshyn/github.com/dalazx/langchain/langchain/__init_...
jinja2 is not optional
https://api.github.com/repos/langchain-ai/langchain/issues/3113/comments
4
2023-04-18T21:19:47Z
2023-09-24T16:09:58Z
https://github.com/langchain-ai/langchain/issues/3113
1,673,847,319
3,113
[ "hwchase17", "langchain" ]
Gathering more details on this... but the solution needs to include `search` or `searchlight` as a starting point. (see https://github.com/hwchase17/langchain/issues/2113)
Support more robust redis module list
https://api.github.com/repos/langchain-ai/langchain/issues/3111/comments
1
2023-04-18T20:35:46Z
2023-05-03T13:54:45Z
https://github.com/langchain-ai/langchain/issues/3111
1,673,798,260
3,111
[ "hwchase17", "langchain" ]
The ChatOpenAI LLM retries a completion if a content-moderation exception is raised by OpenAI. Code [here](https://github.com/hwchase17/langchain/blob/d54c88aa2140f27c36fa18375f942e5b239799ee/langchain/chat_models/openai.py#L45) #### Request : Do not retry if exception type is 'content moderation' In our experi...
Do not retry if content moderation exception is raised by OpenAI
https://api.github.com/repos/langchain-ai/langchain/issues/3110/comments
1
2023-04-18T19:48:04Z
2023-09-10T16:31:06Z
https://github.com/langchain-ai/langchain/issues/3110
1,673,736,825
3,110