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 get the following error when running the mrkl_chat.ipyb notebook : https://github.com/hwchase17/langchain/blob/master/docs/modules/agents/implementations/mrkl_chat.ipynb
`Invalid format specifier (type=value_error)` | Not able to use the chat agent | https://api.github.com/repos/langchain-ai/langchain/issues/1574/comments | 3 | 2023-03-10T00:01:01Z | 2023-03-10T20:57:55Z | https://github.com/langchain-ai/langchain/issues/1574 | 1,618,157,777 | 1,574 |
[
"hwchase17",
"langchain"
] | Hi, i'm new to langchain, is there anyway we can put moderation in the agent? I'm using AgentExecutor.from_agent_and_tools
i tried creating a sequential chain containing LLM_chain and moderation chain and use it in the AgentExecutor.from_agent_and_tools call, didn't work
i suppose the agent will have to detect the ou... | how to use moderation chain in the agent? | https://api.github.com/repos/langchain-ai/langchain/issues/1571/comments | 3 | 2023-03-09T21:50:20Z | 2024-01-09T02:05:42Z | https://github.com/langchain-ai/langchain/issues/1571 | 1,618,041,538 | 1,571 |
[
"hwchase17",
"langchain"
] | Langchain Version: `0.0.106`
Python Version: `3.9`
Colab: https://colab.research.google.com/drive/1Co7XcUCSuKeghdYRiSq3KM3R0fXiB0xe?usp=sharing
Code:
```
!pip install langchain
from langchain.chains.base import Memory
```
Error:
```
-------------------------------------------------------------------------... | ImportError: cannot import name 'Memory' from 'langchain.chains.base' | https://api.github.com/repos/langchain-ai/langchain/issues/1565/comments | 3 | 2023-03-09T19:10:30Z | 2023-03-10T14:55:11Z | https://github.com/langchain-ai/langchain/issues/1565 | 1,617,850,477 | 1,565 |
[
"hwchase17",
"langchain"
] | If i try to run the tracing in Apple M1 laptop, It is throwing error for backend app
Error Message: **rosetta error: failed to open elf at** | Tracing is not working Apple M1 machines | https://api.github.com/repos/langchain-ai/langchain/issues/1564/comments | 3 | 2023-03-09T19:00:09Z | 2023-09-26T16:15:11Z | https://github.com/langchain-ai/langchain/issues/1564 | 1,617,837,030 | 1,564 |
[
"hwchase17",
"langchain"
] | When using the AzureOpenAI LLM the OpenAIEmbeddings are not working. After reviewing source, I believe this is because the class does not accept any parameters other than an api_key. A "Model deployment name" parameter would be needed, since the model name alone is not enough to identify the engine. I did, however, ... | langchain.embeddings.OpenAIEmbeddings is not working with AzureOpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/1560/comments | 58 | 2023-03-09T16:19:38Z | 2024-05-15T18:20:23Z | https://github.com/langchain-ai/langchain/issues/1560 | 1,617,563,090 | 1,560 |
[
"hwchase17",
"langchain"
] | I encapsulated an agent into a tool ,and load it into another agent 。
when the second agent run, all the tools become invalid.
After calling any tool, the output is “*** is not a valid tool, try another one.
why! agent cannot be a tool? | {tool_name} is not a valid tool, try another one. | https://api.github.com/repos/langchain-ai/langchain/issues/1559/comments | 50 | 2023-03-09T15:45:07Z | 2024-05-30T11:04:21Z | https://github.com/langchain-ai/langchain/issues/1559 | 1,617,500,974 | 1,559 |
[
"hwchase17",
"langchain"
] | OpenAI often sets rate limits per model, per organization so it makes sense to allow tracking token usage information per that granularity.
Most consumers won't need that granularity, but for those who need it, it's not possible to do it even with the custom callback handler implementation. Unfortunately, model and ... | OpenAI token usage tracker could benefit from model and organization information | https://api.github.com/repos/langchain-ai/langchain/issues/1557/comments | 1 | 2023-03-09T14:36:42Z | 2023-08-24T16:15:01Z | https://github.com/langchain-ai/langchain/issues/1557 | 1,617,380,064 | 1,557 |
[
"hwchase17",
"langchain"
] | There are currently two very similarly named classes - `OpenAIChat` and `ChatOpenAI`. Not sure what the distinction is between the two, which one to use, whether one is/will be deprecated? | ChatOpenAI vs OpenAIChat | https://api.github.com/repos/langchain-ai/langchain/issues/1556/comments | 2 | 2023-03-09T14:28:56Z | 2023-10-09T08:51:33Z | https://github.com/langchain-ai/langchain/issues/1556 | 1,617,366,413 | 1,556 |
[
"hwchase17",
"langchain"
] | Since https://github.com/hwchase17/langchain/pull/997 the last action (with return_direct=True) is not contained in the `response["intermediate_steps"]` list.
That makes it impossible (or very hard and non-ergonomic at least) to detect which tool actually returned the result directly.
Is that design intentional? | It's not possible to detect which tool returned a result, if return_direct=True | https://api.github.com/repos/langchain-ai/langchain/issues/1555/comments | 3 | 2023-03-09T14:27:36Z | 2023-11-07T03:30:00Z | https://github.com/langchain-ai/langchain/issues/1555 | 1,617,363,944 | 1,555 |
[
"hwchase17",
"langchain"
] | Only after checking the code, did I realise that chat_history (in ChatVectorDBChain at least) assumes that every first message is a Human message, and the second one the Assistant, and actually assigns those roles as it is processing the history.
I think that concept (of automating the processing and assigning roles... | chat_history in ChatVectorDBChain needs specification on roles | https://api.github.com/repos/langchain-ai/langchain/issues/1548/comments | 2 | 2023-03-09T04:57:16Z | 2023-09-25T16:17:00Z | https://github.com/langchain-ai/langchain/issues/1548 | 1,616,414,084 | 1,548 |
[
"hwchase17",
"langchain"
] | As of now querying weaviate is not very configurable. Running into this issue where I need to pre-filter before the search
```python
vectorstore = Weaviate(client, CLASS_NAME, PAGE_CONTENT_FIELD, [METADATA_FIELDS])
```
But there is no way to extend the query or perform a filter on it. | Support for filters or more configuration while querying the data on Weaviate | https://api.github.com/repos/langchain-ai/langchain/issues/1546/comments | 2 | 2023-03-09T04:47:10Z | 2023-09-18T16:23:45Z | https://github.com/langchain-ai/langchain/issues/1546 | 1,616,406,832 | 1,546 |
[
"hwchase17",
"langchain"
] | I am trying the question answer with sources notebook,
chain = load_qa_with_sources_chain(OpenAI(temperature=0), chain_type="stuff")
chain({"input_documents": docs, "question": query}, return_only_outputs=True)
The above gives an error:
File /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-p... | Getting KeyError:'source' on calling chain after load_qa_with_sources_chain | https://api.github.com/repos/langchain-ai/langchain/issues/1535/comments | 2 | 2023-03-09T00:31:47Z | 2023-03-09T09:33:16Z | https://github.com/langchain-ai/langchain/issues/1535 | 1,616,194,906 | 1,535 |
[
"hwchase17",
"langchain"
] | The Chat API allows for not passing a max_tokens param and it's supported for other LLMs in langchain by passing `-1` as the value. Could you extend support to the ChatOpenAI model? Something like the image seems to work?
 | https://api.github.com/repos/langchain-ai/langchain/issues/1519/comments | 5 | 2023-03-08T10:28:35Z | 2023-09-26T16:15:16Z | https://github.com/langchain-ai/langchain/issues/1519 | 1,615,037,605 | 1,519 |
[
"hwchase17",
"langchain"
] | Noticed that while `VectorDBQAWithSourcesChain.from_chain_type()` is great at returning the exact source, it would be further beneficial to also have the capability to return the k=4 vectors as seen in `VectorDBQA.from_chain_type()`, when `return_source_documents=True` | Add return_source_documents to VectorDBQAWithSourcesChain | https://api.github.com/repos/langchain-ai/langchain/issues/1518/comments | 1 | 2023-03-08T07:48:36Z | 2023-09-12T21:30:12Z | https://github.com/langchain-ai/langchain/issues/1518 | 1,614,803,286 | 1,518 |
[
"hwchase17",
"langchain"
] | The new version `0.0.103` broke the caching feature
I think it is because the new prompt refactor recently
```
InterfaceError: (sqlite3.InterfaceError) Error binding parameter 0 - probably unsupported type. [SQL: SELECT full_llm_cache.response FROM full_llm_cache WHERE full_llm_cache.prompt = ? AND full_llm_cach... | Error with LLM cache + OpenAIChat when upgraded to latest version | https://api.github.com/repos/langchain-ai/langchain/issues/1516/comments | 2 | 2023-03-08T07:19:18Z | 2023-09-10T16:42:56Z | https://github.com/langchain-ai/langchain/issues/1516 | 1,614,773,942 | 1,516 |
[
"hwchase17",
"langchain"
] | Observation: Error: (pymysql.err.ProgrammingError) (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TO {example_schema}' at line 1")
[SQL: SET search_path TO {example_schema}]
(Background on this error at: https://sqlalche... | Error when using mariadb with SQL Database Agent | https://api.github.com/repos/langchain-ai/langchain/issues/1514/comments | 5 | 2023-03-08T00:34:45Z | 2023-09-18T16:23:50Z | https://github.com/langchain-ai/langchain/issues/1514 | 1,614,432,028 | 1,514 |
[
"hwchase17",
"langchain"
] | <img width="1008" alt="image" src="https://user-images.githubusercontent.com/32659330/223585675-aec57bcd-f44d-45d8-b222-385c8021c4dc.png">
| Missing argument for vectordbqasources: return_source_od | https://api.github.com/repos/langchain-ai/langchain/issues/1512/comments | 1 | 2023-03-08T00:14:34Z | 2023-08-24T16:15:17Z | https://github.com/langchain-ai/langchain/issues/1512 | 1,614,416,455 | 1,512 |
[
"hwchase17",
"langchain"
] | I am running into an error when attempting to read a bunch of `csvs` from a folder in s3 bucket.
```
from langchain.document_loaders import S3FileLoader, S3DirectoryLoader
loader = S3DirectoryLoader("s3-bucker", prefix="folder1")
loader.load()
```
Traceback:
```
------------------------------------------... | s3Directory Loader with prefix error | https://api.github.com/repos/langchain-ai/langchain/issues/1510/comments | 2 | 2023-03-07T23:17:06Z | 2023-03-09T00:17:27Z | https://github.com/langchain-ai/langchain/issues/1510 | 1,614,360,915 | 1,510 |
[
"hwchase17",
"langchain"
] | Tried to run:
```
/* Split text into chunks */
const textSplitter = new RecursiveCharacterTextSplitter({
chunkSize: 1000,
chunkOverlap: 200,
});
```
Also had to add `legacy-peer-deps=true` to my .npmrc because I am using `"@pinecone-database/pinecone": "^0.0.9"` and it wants 0.0.8. | Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './text_splitter' is not defined by "exports" in /node_modules/langchain/package.json | https://api.github.com/repos/langchain-ai/langchain/issues/1508/comments | 0 | 2023-03-07T22:25:43Z | 2023-03-07T22:27:55Z | https://github.com/langchain-ai/langchain/issues/1508 | 1,614,304,858 | 1,508 |
[
"hwchase17",
"langchain"
] | Firstly, awesome job here - this is great !! :)
However with the ability to now use OpenAI models on Microsoft Azure, I need to be able to set more than just the openai.api_key.
I need to set:
openai.api_type = "azure"
openai.api_base = "https://xxx.openai.azure.com/"
openai.api_version = "2022-12-01"
openai.ap... | Ability to user Azure OpenAI | https://api.github.com/repos/langchain-ai/langchain/issues/1506/comments | 3 | 2023-03-07T21:48:09Z | 2023-04-04T07:38:10Z | https://github.com/langchain-ai/langchain/issues/1506 | 1,614,258,502 | 1,506 |
[
"hwchase17",
"langchain"
] | Hi, I need to make some decisions based on what is returned in a sequential chain. I came across the forking chain discussion but it seems it was never merged with the main branch (https://github.com/hwchase17/langchain/pull/406). Anyone have any experience / workaround for taking output from one chain and then making ... | Forking chains | https://api.github.com/repos/langchain-ai/langchain/issues/1502/comments | 1 | 2023-03-07T21:30:26Z | 2023-09-10T16:43:01Z | https://github.com/langchain-ai/langchain/issues/1502 | 1,614,237,864 | 1,502 |
[
"hwchase17",
"langchain"
] | ModuleNotFoundError: No module named 'langchain.memory' | Where to import ChatMessageHistory? | https://api.github.com/repos/langchain-ai/langchain/issues/1499/comments | 5 | 2023-03-07T18:04:55Z | 2024-04-03T13:56:50Z | https://github.com/langchain-ai/langchain/issues/1499 | 1,613,956,644 | 1,499 |
[
"hwchase17",
"langchain"
] | Version: `langchain-0.0.102`
[I am trying to run through the Custom Prompt guide here](https://langchain.readthedocs.io/en/latest/modules/indexes/chain_examples/vector_db_qa.html#custom-prompts). Here's some code I'm trying to run:
```
from langchain.prompts import PromptTemplate
from langchain import OpenAI, V... | Pydantic error: extra fields not permitted for chain_type_kwargs | https://api.github.com/repos/langchain-ai/langchain/issues/1497/comments | 30 | 2023-03-07T17:25:31Z | 2024-07-01T16:03:39Z | https://github.com/langchain-ai/langchain/issues/1497 | 1,613,895,929 | 1,497 |
[
"hwchase17",
"langchain"
] | https://discord.com/channels/1038097195422978059/1038097349660135474/1082685778582310942
details are in the discord thread.
the code change [here](https://github.com/chroma-core/chroma/commit/aa2d006e4e93f8d5c4ebe73e0373d0dea6d1e83b) changed how chroma handles embedding functions and it seems like ours is being s... | Embedding Function not properly passed to Chroma Collection | https://api.github.com/repos/langchain-ai/langchain/issues/1494/comments | 8 | 2023-03-07T15:51:10Z | 2023-12-06T17:47:35Z | https://github.com/langchain-ai/langchain/issues/1494 | 1,613,730,347 | 1,494 |
[
"hwchase17",
"langchain"
] | Hi,
I wonder how to get the exact prompt to the `llm` when we apply it through the `SQLDatabaseChain`.
To be more precise the input comes from template_prompt and includes the question inside (i.e Prompt after formating).
Thanks | get the exact Prompt to the `llm` when we apply it through the `SQLDatabaseChain`. | https://api.github.com/repos/langchain-ai/langchain/issues/1493/comments | 1 | 2023-03-07T14:51:55Z | 2023-09-10T16:43:06Z | https://github.com/langchain-ai/langchain/issues/1493 | 1,613,619,972 | 1,493 |
[
"hwchase17",
"langchain"
] | I'm playing with the [CSV agent example](https://langchain.readthedocs.io/en/latest/modules/agents/agent_toolkits/csv.html) and notice something strange. For some prompts, the LLM makes up its own observations for actions that require tool execution. For example:
```
agent.run("Summarize the data in one sentence")
... | LLM making its own observation when a tool should be used | https://api.github.com/repos/langchain-ai/langchain/issues/1489/comments | 7 | 2023-03-07T06:41:07Z | 2023-04-29T20:42:10Z | https://github.com/langchain-ai/langchain/issues/1489 | 1,612,823,446 | 1,489 |
[
"hwchase17",
"langchain"
] | gRPC context : https://docs.pinecone.io/docs/performance-tuning
Presently, the method to initialize a Pinecone vectorstore from an existing index is as follows -
`
index = pinecone.Index(index_name)`
`docsearch = Pinecone(index, hypothetical_embeddings.embed_query, 'text')`
gRPC offers performance enhanceme... | gRPC index support for Pinecone | https://api.github.com/repos/langchain-ai/langchain/issues/1488/comments | 7 | 2023-03-07T06:09:58Z | 2024-01-10T20:12:29Z | https://github.com/langchain-ai/langchain/issues/1488 | 1,612,794,551 | 1,488 |
[
"hwchase17",
"langchain"
] | Pinecone currently creates embeddings serially when calling `add_texts`. It's slow and unnecessary because all embeddings classes have a `from_documents` method that creates them in batches. If no one is working on this I can create a PR, please let me know! | Update 'add_texts' to create embeddings in batches | https://api.github.com/repos/langchain-ai/langchain/issues/1486/comments | 3 | 2023-03-07T00:56:06Z | 2023-12-06T17:47:40Z | https://github.com/langchain-ai/langchain/issues/1486 | 1,612,488,656 | 1,486 |
[
"hwchase17",
"langchain"
] | Hi there!
We're working on [Lance](github.com/eto-ai/lance) which comes with a vector index. Would y'all be open to accepting a PR to integrate it as a new vectorstore variant?
We have a POC in my langchain fork's [Lance vectorstore](https://github.com/changhiskhan/langchain/blob/lance/langchain/vectorstores/lanc... | Lance as new vectorstore impl | https://api.github.com/repos/langchain-ai/langchain/issues/1484/comments | 1 | 2023-03-06T22:59:39Z | 2023-09-10T16:43:11Z | https://github.com/langchain-ai/langchain/issues/1484 | 1,612,361,195 | 1,484 |
[
"hwchase17",
"langchain"
] | Can we update the language used in __inti__ in the YouTube.py script to be "en-US" as most transcripts on YouTube are in US English.
e.g.
`def __init__(
self, video_id: str, add_video_info: bool = False, language: str = "eniUS"
):
"""Initialize with YouTube video ID."""
self.video_... | YouTube.py | https://api.github.com/repos/langchain-ai/langchain/issues/1483/comments | 2 | 2023-03-06T21:54:12Z | 2023-09-18T16:23:55Z | https://github.com/langchain-ai/langchain/issues/1483 | 1,612,263,364 | 1,483 |
[
"hwchase17",
"langchain"
] | ` File "C:\Program Files\Python\Python310\lib\site-packages\langchain\chains\base.py", line 268, in run
return self(kwargs)[self.output_keys[0]]
File "C:\Program Files\Python\Python310\lib\site-packages\langchain\chains\base.py", line 168, in __call__
raise e
File "C:\Program Files\Python\Python310\lib... | ValueError(f"Could not parse LLM output: `{llm_output}`") | https://api.github.com/repos/langchain-ai/langchain/issues/1477/comments | 23 | 2023-03-06T19:34:17Z | 2024-05-08T16:03:34Z | https://github.com/langchain-ai/langchain/issues/1477 | 1,612,081,995 | 1,477 |
[
"hwchase17",
"langchain"
] | Whats the difference between using
- https://langchain.readthedocs.io/en/latest/modules/utils/examples/google_search.html
- https://langchain.readthedocs.io/en/latest/modules/utils/examples/google_serper.html
- https://langchain.readthedocs.io/en/latest/modules/utils/examples/searx_search.html
- https://langchain.... | Difference between the different search APIs | https://api.github.com/repos/langchain-ai/langchain/issues/1476/comments | 2 | 2023-03-06T18:34:04Z | 2023-09-25T16:17:15Z | https://github.com/langchain-ai/langchain/issues/1476 | 1,612,002,765 | 1,476 |
[
"hwchase17",
"langchain"
] | I have installed langchain using ```pip install langchain``` in the Google VertexAI notebook, but I was only able to install version 0.0.27. I wanted to install a more recent version of the package, but it seems that it is not available.
Here are the installation details for your reference:
```
Collecting langchai... | Can only install langchain==0.0.27 | https://api.github.com/repos/langchain-ai/langchain/issues/1475/comments | 7 | 2023-03-06T18:34:00Z | 2023-11-01T16:08:20Z | https://github.com/langchain-ai/langchain/issues/1475 | 1,612,002,707 | 1,475 |
[
"hwchase17",
"langchain"
] | It would be great to see LangChain integrate with LlaMa, a collection of foundation language models ranging from 7B to 65B
parameters.
LlaMa is a language model that was developed to improve upon existing models such as ChatGPT and GPT-3. It has several advantages over these models, such as improved accuracy, faste... | LlaMa | https://api.github.com/repos/langchain-ai/langchain/issues/1473/comments | 23 | 2023-03-06T17:45:03Z | 2023-09-29T16:10:02Z | https://github.com/langchain-ai/langchain/issues/1473 | 1,611,922,232 | 1,473 |
[
"hwchase17",
"langchain"
] | It would be great to see BingAI integration with LangChain. For inspiration, check out [node-chatgpt-api](https://github.com/waylaidwanderer/node-chatgpt-api/blob/main/src/BingAIClient.js) by @waylaidwanderer. | BingAI | https://api.github.com/repos/langchain-ai/langchain/issues/1472/comments | 6 | 2023-03-06T17:06:52Z | 2023-09-10T02:43:48Z | https://github.com/langchain-ai/langchain/issues/1472 | 1,611,860,853 | 1,472 |
[
"hwchase17",
"langchain"
] | when I call `langchain.llms.HuggingFacePipeline` class using `transformers.TextGenerationPipeline` class, raise bellow error.
https://github.com/hwchase17/langchain/blob/master/langchain/llms/huggingface_pipeline.py#L157
```python
pipe = TextGenerationPipeline(model=model, tokenizer=tokenizer)
hf = HuggingFaceP... | Calling HuggingFacePipeline using TextGenerationPipeline results in an error. | https://api.github.com/repos/langchain-ai/langchain/issues/1466/comments | 1 | 2023-03-06T10:32:36Z | 2023-08-11T16:31:58Z | https://github.com/langchain-ai/langchain/issues/1466 | 1,611,112,458 | 1,466 |
[
"hwchase17",
"langchain"
] | After running "pip install -e ."
Error occurred, showing "setup.py and setup.cfg not found" , then how to install from the source | setup.py not found | https://api.github.com/repos/langchain-ai/langchain/issues/1461/comments | 1 | 2023-03-06T07:38:33Z | 2023-03-06T18:18:51Z | https://github.com/langchain-ai/langchain/issues/1461 | 1,610,838,435 | 1,461 |
[
"hwchase17",
"langchain"
] | When trying to use the refine chain with the ChatGPT API the result often comes back with "The original answer remains relevant and accurate...". Sometime the subsequent text will include components of the original answer but often it will just end there.
```
llm = OpenAIChat(temperature=0)
qa_chain = loa... | 'Refine' issue with OpenAIChat | https://api.github.com/repos/langchain-ai/langchain/issues/1460/comments | 12 | 2023-03-06T02:22:19Z | 2023-09-27T16:13:21Z | https://github.com/langchain-ai/langchain/issues/1460 | 1,610,532,450 | 1,460 |
[
"hwchase17",
"langchain"
] | While testing the new classes for ChatAgent and ChatOpenAI, I got a subtle error in langchain/agents/chat/base.py. The function ChatAgent.from_chat_model_and_tools should be modified as follows, otherwise the parameters prefix, suffix, and format_instructions are ignored when invoking something similar to:
agent = ... | ChatAgent.from_chat_model_and_tools ignores prefix, suffix and format_instructions params. Important! | https://api.github.com/repos/langchain-ai/langchain/issues/1459/comments | 2 | 2023-03-06T00:12:53Z | 2023-03-06T10:51:02Z | https://github.com/langchain-ai/langchain/issues/1459 | 1,610,453,572 | 1,459 |
[
"hwchase17",
"langchain"
] | Is there advice how to deal with prompt that contain {something}?
Like Latex
$\frac{3}{2}$
Langchain treat {something} like template.
\{something\} doesn't seem to help | Latex prompt problem | https://api.github.com/repos/langchain-ai/langchain/issues/1458/comments | 2 | 2023-03-05T23:59:44Z | 2023-03-06T01:43:38Z | https://github.com/langchain-ai/langchain/issues/1458 | 1,610,447,095 | 1,458 |
[
"hwchase17",
"langchain"
] | I am using the native openai APIs, which is GPT3.5 model.
It cannot support content well, so I want bring some state when doing conversion in every round. The current solution is to bring all history in the request.
How to use this tool to summary the history? It is time consuming, I want to reduce the size of histo... | How to summary history conversion when using native openai APIs? | https://api.github.com/repos/langchain-ai/langchain/issues/1454/comments | 1 | 2023-03-05T15:17:25Z | 2023-03-06T18:20:02Z | https://github.com/langchain-ai/langchain/issues/1454 | 1,610,240,216 | 1,454 |
[
"hwchase17",
"langchain"
] |
<img width="585" alt="image" src="https://user-images.githubusercontent.com/12690488/222965929-082ab6e5-80fa-41f1-9e9f-217bdb59529a.png">
python version 3.8 unsupported operand type(s) for "|" | pymupdf TypeError: unsupported operand type(s) for |: 'dict' and 'dict' | https://api.github.com/repos/langchain-ai/langchain/issues/1452/comments | 1 | 2023-03-05T14:19:37Z | 2023-08-24T16:15:32Z | https://github.com/langchain-ai/langchain/issues/1452 | 1,610,219,134 | 1,452 |
[
"hwchase17",
"langchain"
] | It would be nice to have the similarity search by vector in Chroma. I will try to make (my first) PR for this. | Implement similarity_search_by_vector in Chroma | https://api.github.com/repos/langchain-ai/langchain/issues/1450/comments | 2 | 2023-03-05T11:38:06Z | 2023-03-15T18:57:51Z | https://github.com/langchain-ai/langchain/issues/1450 | 1,610,164,858 | 1,450 |
[
"hwchase17",
"langchain"
] | Would it make sense to add a memory that works similar to the QA chain with sources? As the conversation develops, we generate embeddings and store them in a vector DB. During inference we determine which memories are the most relevant and retrieve them.
This could be more efficient as we don't need to generate expl... | Embedding Memory | https://api.github.com/repos/langchain-ai/langchain/issues/1448/comments | 3 | 2023-03-05T10:20:09Z | 2023-05-16T09:43:05Z | https://github.com/langchain-ai/langchain/issues/1448 | 1,610,137,259 | 1,448 |
[
"hwchase17",
"langchain"
] | I am generating index using the below mentioned code:
index = FAISS.from_documents(docs, embeddings)
Since the indexes are from large books, and in future, I aim to convert more books to embeddings too.
Since there is cost associated with the conversion of docs to embedding, I want to be able to add the knowle... | merge two FAISS indexes | https://api.github.com/repos/langchain-ai/langchain/issues/1447/comments | 27 | 2023-03-05T07:59:19Z | 2024-05-08T13:59:12Z | https://github.com/langchain-ai/langchain/issues/1447 | 1,610,096,718 | 1,447 |
[
"hwchase17",
"langchain"
] | I am building a recommendation engine for an e-commerce site with over 15k products, and I am wondering how to create an embedding for each individual product and then combine them into a larger embedding model. This approach will allow me to easily remove a product's embedding when it is removed from the site, and the... | Embedding individual text | https://api.github.com/repos/langchain-ai/langchain/issues/1442/comments | 3 | 2023-03-05T02:30:09Z | 2023-05-29T15:41:16Z | https://github.com/langchain-ai/langchain/issues/1442 | 1,610,027,262 | 1,442 |
[
"hwchase17",
"langchain"
] | I liked the SQLDatabase integration. If you can let me know what changes I need to do for the elastic search? | Is there any way we can have Elastic Search integrated with it. | https://api.github.com/repos/langchain-ai/langchain/issues/1439/comments | 7 | 2023-03-04T17:04:17Z | 2023-10-23T16:09:52Z | https://github.com/langchain-ai/langchain/issues/1439 | 1,609,859,935 | 1,439 |
[
"hwchase17",
"langchain"
] | Hi, love langchain as it's really boosted getting my llm project up to speed. I have one question though:
**tldr: Is there a way of enabling an agent to ask a user for input as an intermediate step?** like including in the list of tools one "useful for asking for missing information", however with the important dif... | Asking for user input as tool for agents | https://api.github.com/repos/langchain-ai/langchain/issues/1438/comments | 7 | 2023-03-04T17:03:07Z | 2024-01-24T22:27:40Z | https://github.com/langchain-ai/langchain/issues/1438 | 1,609,859,581 | 1,438 |
[
"hwchase17",
"langchain"
] | https://chat.langchain.dev/
After the first reply, every reply is "Oops! There seems to be an error. Please try again.".
| LangChain Chat answers only once | https://api.github.com/repos/langchain-ai/langchain/issues/1437/comments | 1 | 2023-03-04T17:00:19Z | 2023-08-24T16:15:37Z | https://github.com/langchain-ai/langchain/issues/1437 | 1,609,858,661 | 1,437 |
[
"hwchase17",
"langchain"
] | I just started using LangChain and realised you to input the same data twice. Consider the template:
```
"What is a good name for a company that makes {product}?"
```
Rather than make users also input the variables like this `input_variables=["product"],`, wouldn't it be more useful to get detect and automatica... | Should Prompt Templates auto-detect variables? | https://api.github.com/repos/langchain-ai/langchain/issues/1432/comments | 3 | 2023-03-04T13:36:15Z | 2023-03-07T01:18:37Z | https://github.com/langchain-ai/langchain/issues/1432 | 1,609,779,086 | 1,432 |
[
"hwchase17",
"langchain"
] | I know this has to do with the ESM. I'm building a React/Typescript + Express app.
If you could please point me to a resource to figure out how to fix the issue, I would really appreciate it. | [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/llms' is not defined by "exports" | https://api.github.com/repos/langchain-ai/langchain/issues/1431/comments | 7 | 2023-03-04T06:57:44Z | 2024-06-21T18:08:32Z | https://github.com/langchain-ai/langchain/issues/1431 | 1,609,646,065 | 1,431 |
[
"hwchase17",
"langchain"
] | When I try to get token usage from **get_openai_callback**, I always get 0. Replacing **OpenAIChat** with **OpenAI** works.
Reproducable example (langchain-0.0.100):
```
from langchain.llms import OpenAIChat
from langchain.callbacks import get_openai_callback
llm = OpenAIChat(temperature=0)
with get_opena... | OpenAIChat token usage callback returns 0 | https://api.github.com/repos/langchain-ai/langchain/issues/1429/comments | 4 | 2023-03-04T05:47:00Z | 2023-03-23T12:12:13Z | https://github.com/langchain-ai/langchain/issues/1429 | 1,609,623,686 | 1,429 |
[
"hwchase17",
"langchain"
] | Is proxy setting allowed for LLM like openai.proxy = os.getenv(HTTP_PROXY) ? please add if possible.
openai-python api has a attribute openai.proxy, which is very convenient for HTTP/WS proxy setting as :
```
import openai
import os
openai.proxy = os.getenv(HTTP_PROXY) # HTTP_PROXY="your proxy server:port"... | Is proxy setting allowed for langchain.llm LLM like openai.proxy=os.getenv(HTTP_PROXY) ? please add if possible. | https://api.github.com/repos/langchain-ai/langchain/issues/1423/comments | 8 | 2023-03-03T21:11:08Z | 2023-10-25T08:27:43Z | https://github.com/langchain-ai/langchain/issues/1423 | 1,609,253,903 | 1,423 |
[
"hwchase17",
"langchain"
] | `OpenAIChat` currently returns only one result even if `n > 1`:
```
full_response = completion_with_retry(self, messages=messages, **params)
return LLMResult(
generations=[
[Generation(text=full_response["choices"][0]["message"]["content"])]
],
llm_output={"token_usage": full_response["usag... | `OpenAIChat` returns only one result | https://api.github.com/repos/langchain-ai/langchain/issues/1422/comments | 3 | 2023-03-03T21:01:22Z | 2023-12-18T23:51:02Z | https://github.com/langchain-ai/langchain/issues/1422 | 1,609,244,075 | 1,422 |
[
"hwchase17",
"langchain"
] | code like this:
```shell
faiss_index = FAISS.from_texts(textList, OpenAIEmbeddings())
```
How to set timeout of OpenAIEmbeddings? Thx | How to set openai client timeout when using OpenAIEmbeddings? | https://api.github.com/repos/langchain-ai/langchain/issues/1416/comments | 2 | 2023-03-03T14:00:00Z | 2023-09-12T21:30:11Z | https://github.com/langchain-ai/langchain/issues/1416 | 1,608,699,971 | 1,416 |
[
"hwchase17",
"langchain"
] | It would be nice to have it loading all files in one's drive, not just only those generated by google docs. | GDrive Loader loads only google documents (word, sheets, etc...) | https://api.github.com/repos/langchain-ai/langchain/issues/1413/comments | 1 | 2023-03-03T13:05:03Z | 2023-08-24T16:15:43Z | https://github.com/langchain-ai/langchain/issues/1413 | 1,608,596,779 | 1,413 |
[
"hwchase17",
"langchain"
] | Langchain trys to download the GPT2FastTokenizer when I run a chain. In a Lambda function this doesnt work because the Lambda is read only. Any run into this, or know how to fix this? | AWS Lambda - Read Only | https://api.github.com/repos/langchain-ai/langchain/issues/1412/comments | 13 | 2023-03-03T10:54:16Z | 2023-03-07T21:19:26Z | https://github.com/langchain-ai/langchain/issues/1412 | 1,608,416,947 | 1,412 |
[
"hwchase17",
"langchain"
] | Hello!! I'm wondering if it's known in what kind of situations the JSON agent might be able to provide helpful answers?
It would be nice to expand this page with more documentation if capabilities / limitations are known: https://langchain.readthedocs.io/en/harrison-memory-chat/modules/agents/agent_toolkits/json.ht... | Document the capabilities / limitations of a JSON agent? | https://api.github.com/repos/langchain-ai/langchain/issues/1409/comments | 3 | 2023-03-03T03:05:24Z | 2024-01-05T05:00:22Z | https://github.com/langchain-ai/langchain/issues/1409 | 1,607,865,786 | 1,409 |
[
"hwchase17",
"langchain"
] | This should work:
```
OpenAIChat(temperature='0')('test')
```
But because pydantic type bindings have not been set for `temperature` it instead results in:
```
openai.error.InvalidRequestError: '0' is not of type 'number' - 'temperature'
```
Yes, easy workaround is:
```
OpenAIChat(temperature=0)('test')
... | OpenAIChat needs pydantic bindings for parameter types | https://api.github.com/repos/langchain-ai/langchain/issues/1407/comments | 1 | 2023-03-02T22:09:00Z | 2023-08-24T16:15:54Z | https://github.com/langchain-ai/langchain/issues/1407 | 1,607,585,883 | 1,407 |
[
"hwchase17",
"langchain"
] | Currently, due to the constraint that the size of `prompts` has to be `1`, `gpt-3.5-turbo` model cannot be used for summary.
```py
def _get_chat_params(
self, prompts: List[str], stop: Optional[List[str]] = None
) -> Tuple:
if len(prompts) > 1:
raise ValueError(
... | `gpt-3.5-turbo` model cannot be used for summary with `map_reduce` | https://api.github.com/repos/langchain-ai/langchain/issues/1402/comments | 5 | 2023-03-02T19:48:26Z | 2023-09-28T16:11:48Z | https://github.com/langchain-ai/langchain/issues/1402 | 1,607,393,942 | 1,402 |
[
"hwchase17",
"langchain"
] | This is a feature request for documentation to add a copy button to the notebook cells.
After all, learning how to copy code quickly is essential to being a better engineer ;)
https://sphinx-copybutton.readthedocs.io/en/latest/ | Add copybutton to documentation | https://api.github.com/repos/langchain-ai/langchain/issues/1401/comments | 1 | 2023-03-02T19:47:33Z | 2023-03-02T19:48:31Z | https://github.com/langchain-ai/langchain/issues/1401 | 1,607,393,045 | 1,401 |
[
"hwchase17",
"langchain"
] | Partial variables cannot be present in the prompt more than once. This differs from the behavior of input variables.
For example, this is perfectly fine:
```python
from langchain import LLMChain, PromptTemplate
phrase = "And a good time was had by all"
prompt_template = """\
The following is a conversatio... | Partial variables cannot be present in the prompt more than once | https://api.github.com/repos/langchain-ai/langchain/issues/1398/comments | 4 | 2023-03-02T19:33:32Z | 2023-10-06T16:30:00Z | https://github.com/langchain-ai/langchain/issues/1398 | 1,607,377,598 | 1,398 |
[
"hwchase17",
"langchain"
] | I noticed installing `langchain` using `pip install langchain` adds many more packages recently.
Here is the dependency map shown by `johnnydep`:
```
name summary
----------------------------------------------- ----------------------------------------------------------... | `deeplake` adds significantly more dependencies in default installation | https://api.github.com/repos/langchain-ai/langchain/issues/1396/comments | 9 | 2023-03-02T18:09:09Z | 2023-10-05T16:11:14Z | https://github.com/langchain-ai/langchain/issues/1396 | 1,607,266,902 | 1,396 |
[
"hwchase17",
"langchain"
] | https://github.com/hwchase17/langchain/blob/499e76b1996787f714a020917a58a4be0d2896ac/langchain/chains/conversation/prompt.py#L36-L59
Every time the `openai` call summary request is just added to the prompt head message, it will lead `llm` giving a response with the same language, and then, when you ask it do somethi... | `ConversationSummaryMemory` does not support for multi-languages. | https://api.github.com/repos/langchain-ai/langchain/issues/1395/comments | 2 | 2023-03-02T17:29:58Z | 2023-09-18T16:24:00Z | https://github.com/langchain-ai/langchain/issues/1395 | 1,607,213,544 | 1,395 |
[
"hwchase17",
"langchain"
] | I'm hitting an issue where adding memory to an agent causes the LLM to misbehave, starting from the second interaction onwards. The first interaction works fine, and the same sequence of interactions without memory also works fine. Let me demonstrate with an example:
Agent Code:
```
prompt = ConversationalAgent.cr... | Agent + Memory causing issues with tool interaction | https://api.github.com/repos/langchain-ai/langchain/issues/1392/comments | 3 | 2023-03-02T16:20:20Z | 2023-08-11T12:03:42Z | https://github.com/langchain-ai/langchain/issues/1392 | 1,607,107,323 | 1,392 |
[
"hwchase17",
"langchain"
] | Trying to follow the guides:
- https://langchain.readthedocs.io/en/latest/modules/indexes/getting_started.html
- https://langchain.readthedocs.io/en/latest/modules/indexes/vectorstore_examples/chroma.html
But when I run:
```
db = Chroma.from_documents(texts, embeddings)
```
I get:
```
ModuleNotFoundE... | "No module named 'chromadb'" — add chromadb as dependency? | https://api.github.com/repos/langchain-ai/langchain/issues/1387/comments | 19 | 2023-03-02T14:51:07Z | 2024-07-27T16:02:50Z | https://github.com/langchain-ai/langchain/issues/1387 | 1,606,949,963 | 1,387 |
[
"hwchase17",
"langchain"
] | python version 3.9.12, langchain version 0.0.98
Using this code
```
db = SQLDatabase.from_uri(DATABSE_URI, include_tables=['tbl_abc'])
toolkit = SQLDatabaseToolkit(db=db)
agent_executor = create_sql_agent(
llm=OpenAI(temperature=0),
toolkit=toolkit,
verbose=True
)
agent_executor.run("search for th... | ValueError: unsupported format character 'b' (0x62) at index 52 | https://api.github.com/repos/langchain-ai/langchain/issues/1383/comments | 0 | 2023-03-02T07:22:39Z | 2023-03-03T00:03:18Z | https://github.com/langchain-ai/langchain/issues/1383 | 1,606,241,662 | 1,383 |
[
"hwchase17",
"langchain"
] | [ChatML](https://github.com/openai/openai-python/blob/main/chatml.md) is the underlying format consumed by ChatGPT models. In the future, you will be able to interact with this format.
> Traditionally, GPT models consumed unstructured text. ChatGPT models instead expect a structured format, called Chat Markup Langua... | ChatML | https://api.github.com/repos/langchain-ai/langchain/issues/1374/comments | 5 | 2023-03-02T01:17:40Z | 2023-09-28T16:11:55Z | https://github.com/langchain-ai/langchain/issues/1374 | 1,605,951,842 | 1,374 |
[
"hwchase17",
"langchain"
] | Hi, thanks for developing this great library!
I was using `chain.apredict` inside an async method and just updated to use `OpenAIChat` in `v0.0.98`.\
Now it's giving me error:
```
NotImplementedError: Async generation not implemented for this LLM.
```
The error was generated from this line:
https://github.com/... | OpenAIChat error with async calls | https://api.github.com/repos/langchain-ai/langchain/issues/1372/comments | 5 | 2023-03-01T23:53:04Z | 2023-08-26T18:19:36Z | https://github.com/langchain-ai/langchain/issues/1372 | 1,605,872,338 | 1,372 |
[
"hwchase17",
"langchain"
] | I'm on v0.0.98 and python3.10, and I'm getting this error when trying to use a `zero-shot-react-description` agent with OpenAIChat:
```
llm = OpenAIChat(temperature=0)
search = GoogleSearchAPIWrapper()
llm_math_chain = LLMMathChain(llm=llm, verbose=True)
tools = [
Tool(
name = "Search",
fu... | Agents can't parse OpenAIChat output | https://api.github.com/repos/langchain-ai/langchain/issues/1371/comments | 7 | 2023-03-01T23:04:05Z | 2023-08-04T02:06:31Z | https://github.com/langchain-ai/langchain/issues/1371 | 1,605,813,256 | 1,371 |
[
"hwchase17",
"langchain"
] | We probably need to rethink how to define `memory` class that works for agents based on the new chatgpt api. | Memory class for chatgpt api | https://api.github.com/repos/langchain-ai/langchain/issues/1369/comments | 2 | 2023-03-01T20:51:32Z | 2023-09-25T16:17:51Z | https://github.com/langchain-ai/langchain/issues/1369 | 1,605,645,066 | 1,369 |
[
"hwchase17",
"langchain"
] | Trying to use the new gpt-3.5-turbo model causes an error:
```
llm = OpenAI(model_name="gpt-3.5-turbo")
# ...
llm.run(...)
InvalidRequestError: Invalid URL (POST /v1/completions)
```
I also tried specifying a client but got the same error.
```
import openai
llm = OpenAI(model_name="gpt-3.5-turbo", client=... | Trouble using OpenAI ChatCompletion (gpt-3.5-turbo model) | https://api.github.com/repos/langchain-ai/langchain/issues/1368/comments | 13 | 2023-03-01T19:20:09Z | 2023-11-16T16:08:58Z | https://github.com/langchain-ai/langchain/issues/1368 | 1,605,531,358 | 1,368 |
[
"hwchase17",
"langchain"
] | I'm sure this has been discussed internally, but I wanted to get some feedback and before I started diving into an implementation.
I was working on a custom agent, and noticed there's this pseudo-memory structure that also exists on `agents` with `agent_scratchpad` var needing to exist on the LLMChain and within the... | [Discussion] Abstracting memory from `chain`, using `Memory` with agents | https://api.github.com/repos/langchain-ai/langchain/issues/1366/comments | 0 | 2023-03-01T18:43:11Z | 2023-03-07T18:33:55Z | https://github.com/langchain-ai/langchain/issues/1366 | 1,605,481,412 | 1,366 |
[
"hwchase17",
"langchain"
] | Has anyone deployed langchain scripts on AWS - Lambda in particular. There is some issue with the way langchain imports numpy that is causing issues. I have tried it with different version and with a docker image as well but get numpy import issues. Locally it works fine. Thanks, Ali | Langchain with AWS Lambda | https://api.github.com/repos/langchain-ai/langchain/issues/1364/comments | 47 | 2023-03-01T15:04:23Z | 2024-06-19T11:42:28Z | https://github.com/langchain-ai/langchain/issues/1364 | 1,605,144,078 | 1,364 |
[
"hwchase17",
"langchain"
] | Starting a new issue to track [this idea](https://twitter.com/mathisob/status/1630620380707667968?s=20) to provide functionality to translate prompts based on the input language. | Prompt language translations | https://api.github.com/repos/langchain-ai/langchain/issues/1363/comments | 6 | 2023-03-01T14:02:28Z | 2023-09-29T18:55:09Z | https://github.com/langchain-ai/langchain/issues/1363 | 1,605,035,184 | 1,363 |
[
"hwchase17",
"langchain"
] | Hi, I am reaching out due to several requests from others in the field.
I am the author of TableQA: https://github.com/abhijithneilabraham/tableQA, a tool to query natural language on tabular data. The tool uses a BERT based huggingface model for QA on free text, and uses heuristics to combine it with tabular data t... | Integration of tabular data querying with LangChain | https://api.github.com/repos/langchain-ai/langchain/issues/1361/comments | 2 | 2023-03-01T10:54:09Z | 2023-09-10T16:43:27Z | https://github.com/langchain-ai/langchain/issues/1361 | 1,604,731,278 | 1,361 |
[
"hwchase17",
"langchain"
] | ## Description
### Motivation
Using configuration files are great for fast prototyping but given the current state of the framework, it is limited to pre-defined agents, tools and other components. Currently the `load_tools()` function is implemented to load pre-defined tools via tool name.
https://github.com/... | Feature Request: Add decorator function to register custom components (agents, tools, etc) | https://api.github.com/repos/langchain-ai/langchain/issues/1360/comments | 1 | 2023-03-01T10:48:12Z | 2023-08-24T16:16:07Z | https://github.com/langchain-ai/langchain/issues/1360 | 1,604,722,715 | 1,360 |
[
"hwchase17",
"langchain"
] | In addition to completions, the `edit` and `insert` modes of LLMs are also very useful in certain use cases. Specially for combating prompt injection attacks and ensuring certain rules are followed by the LLM while generating output.
Right now, LangChain is closely tied to the completion paradigm. Is there a way we c... | Feature request: support Edit and Insert modes for openai/others | https://api.github.com/repos/langchain-ai/langchain/issues/1359/comments | 1 | 2023-03-01T10:30:43Z | 2023-08-24T16:16:13Z | https://github.com/langchain-ai/langchain/issues/1359 | 1,604,697,665 | 1,359 |
[
"hwchase17",
"langchain"
] | `agent_chain = initialize_agent( tools=tools, llm= HuggingFaceHub(repo_id="google/flan-t5-xl"), agent="conversational-react-description", memory=memory, verbose=False)
agent_chain.run("Hi")`
**throws error. This happens with Bloom as well. Agent only with OpenAI is only working well.**
`_(self, inputs, return_... | ValueError: Could not parse LLM output: | https://api.github.com/repos/langchain-ai/langchain/issues/1358/comments | 82 | 2023-03-01T08:50:18Z | 2024-06-30T16:02:40Z | https://github.com/langchain-ai/langchain/issues/1358 | 1,604,533,069 | 1,358 |
[
"hwchase17",
"langchain"
] | I am encountering the following error when trying to import VectorstoreIndexCreator from langchain.indexes:
`ModuleNotFoundError: No module named 'langchain.indexes'` | ModuleNotFoundError: No module named 'langchain.indexes' | https://api.github.com/repos/langchain-ai/langchain/issues/1352/comments | 11 | 2023-03-01T05:37:12Z | 2023-09-29T16:10:12Z | https://github.com/langchain-ai/langchain/issues/1352 | 1,604,280,635 | 1,352 |
[
"hwchase17",
"langchain"
] | have been very often running into openai.error.InvalidRequestError for getting over 4097 tokens maximum context length. Is there a module/ best practice to manage the context length ?
Quick example I am adding the map reduce summary chain to the URL data loader and its throwing that error:
```
from langchain.doc... | model's maximum context length | https://api.github.com/repos/langchain-ai/langchain/issues/1349/comments | 31 | 2023-03-01T03:22:21Z | 2023-11-15T16:10:23Z | https://github.com/langchain-ai/langchain/issues/1349 | 1,604,163,597 | 1,349 |
[
"hwchase17",
"langchain"
] | The def get_summarize_call is not returning the output_text. I am getting the response of the intermediate steps but the final output_text is not returned. I see that verbose= true let me see that the petition to the openAI is being made to receive the final output_text but it appears empty in the object values.
`d... | load_summarize_chain with return_intermediate_steps=True Does not return output_text. | https://api.github.com/repos/langchain-ai/langchain/issues/1343/comments | 3 | 2023-02-28T18:15:46Z | 2023-08-25T15:17:58Z | https://github.com/langchain-ai/langchain/issues/1343 | 1,603,583,732 | 1,343 |
[
"hwchase17",
"langchain"
] | While using langchain for pinecone upsert I was frequently running into an error discussed [here](https://community.pinecone.io/t/metadata-size-error/604/11). I found that langchain is including text metadata along with whatever the user sends as metadata [here](https://github.com/hwchase17/langchain/blob/master/langch... | Including text metadata in pinecone upsert. | https://api.github.com/repos/langchain-ai/langchain/issues/1341/comments | 5 | 2023-02-28T15:14:19Z | 2023-09-27T16:13:52Z | https://github.com/langchain-ai/langchain/issues/1341 | 1,603,265,730 | 1,341 |
[
"hwchase17",
"langchain"
] | I forked & cloned the project to my dev env on MacOS, then ran 'make test', the test case 'test_incorrect_command_return_err_output' from test_bash.py failed with the following output:
<img width="1139" alt="image" src="https://user-images.githubusercontent.com/64731944/221828313-4c3f6284-9fd4-4bb5-b489-8d7e911ada03... | UT test_bash.py broken on MacOS dev environment | https://api.github.com/repos/langchain-ai/langchain/issues/1339/comments | 0 | 2023-02-28T10:51:39Z | 2023-03-21T16:06:54Z | https://github.com/langchain-ai/langchain/issues/1339 | 1,602,806,273 | 1,339 |
[
"hwchase17",
"langchain"
] | The LLM discards a lot of information while returning the `LLMResult` and only returns a few keys. Especially in the case of the `OpenAI` LLM, only the total token usage is returned while things like API type, organization ID, response time etc. are all discarded.
These extra keys should be added to the `llm_output`... | Provide more information in the LLMResult | https://api.github.com/repos/langchain-ai/langchain/issues/1337/comments | 1 | 2023-02-28T08:01:30Z | 2023-09-12T21:30:10Z | https://github.com/langchain-ai/langchain/issues/1337 | 1,602,547,100 | 1,337 |
[
"hwchase17",
"langchain"
] | The OpenAI [embeddings](https://platform.openai.com/docs/api-reference/embeddings/create) API can take a list of string as input. However, in the various stores in `langchain`, we use the following pattern: `[self.embedding_function(text) for text in texts]` to embed a list of documents, e.g. [here](https://github.com/... | Leverage Bulk Embeddings APIs where possible | https://api.github.com/repos/langchain-ai/langchain/issues/1335/comments | 2 | 2023-02-28T03:15:46Z | 2023-03-31T16:22:21Z | https://github.com/langchain-ai/langchain/issues/1335 | 1,602,298,983 | 1,335 |
[
"hwchase17",
"langchain"
] | Langchain Stopped Working in AWS Lambda Function using version 0.0.95,
it works fine in 0.0.94
Specifically it fails to build my AWS Sam Application it gets stuck at [INFO]: Running PythonPipBuilder:ResolveDependencies
switching to 0.0.94 is the solution for now...
| Langchain Stopped Working in AWS Lambda Function using version 0.0.95, it works fine inn 0.0.94 | https://api.github.com/repos/langchain-ai/langchain/issues/1329/comments | 3 | 2023-02-27T20:58:31Z | 2023-09-10T16:43:31Z | https://github.com/langchain-ai/langchain/issues/1329 | 1,601,937,801 | 1,329 |
[
"hwchase17",
"langchain"
] | Following the example here https://langchain.readthedocs.io/en/latest/modules/indexes/chain_examples/vector_db_qa_with_sources.html,
I'm connecting a weaviate vector store to VectorDBQAWithSourcesChain with chain_type="stuff" and it gives really garbled results, possibly including some defaults that haven't been over... | Issue with VectorDBQAWithSourcesChain and chain_type="stuff" | https://api.github.com/repos/langchain-ai/langchain/issues/1326/comments | 6 | 2023-02-27T19:23:08Z | 2023-09-28T16:12:03Z | https://github.com/langchain-ai/langchain/issues/1326 | 1,601,806,915 | 1,326 |
[
"hwchase17",
"langchain"
] | Hi in [this Wolfram Alpha demo colab notebook](https://colab.research.google.com/drive/1AAyEdTz-Z6ShKvewbt1ZHUICqak0MiwR?usp=sharing#scrollTo=M4S2HDizS6L2) if you enter
How many ping pong balls fit into a jumbo jet?
… Wolfram Alpha returns "31 million" but the conversational agent decides to choose "that's a lot... | How do I coax the "conversational-react-description" agent to use Wolfram Alpha | https://api.github.com/repos/langchain-ai/langchain/issues/1322/comments | 11 | 2023-02-27T11:09:18Z | 2023-11-08T16:10:25Z | https://github.com/langchain-ai/langchain/issues/1322 | 1,600,967,643 | 1,322 |
[
"hwchase17",
"langchain"
] | Hi @hwchase17, congrats on this fantastic project!
This is Dani, co-founder of [Argilla](https://github.com/argilla-io/argilla). As I mentioned a few weeks ago over Twitter, we and other members of our community are starting to use `langchain` in combination with Argilla. Besides zero/few-shot chains for data labe... | Using Argilla as prompt and generations store | https://api.github.com/repos/langchain-ai/langchain/issues/1321/comments | 1 | 2023-02-27T10:26:43Z | 2023-08-24T16:16:23Z | https://github.com/langchain-ai/langchain/issues/1321 | 1,600,898,132 | 1,321 |
[
"hwchase17",
"langchain"
] | I'm using this for a Q&A bot, utilizing OpenAI and its ada model.
Do you have any tips on generating your own Q&A document? I initially tried ingesting a document that had "Q: how to do X \n A: Do this by doing Y". I then saw it sometimes didn't answer it properly, so I changed the answer to "To do X, you must do Y"... | Using this as a Q&A bot? | https://api.github.com/repos/langchain-ai/langchain/issues/1320/comments | 1 | 2023-02-27T08:25:31Z | 2023-08-24T16:16:28Z | https://github.com/langchain-ai/langchain/issues/1320 | 1,600,709,496 | 1,320 |
[
"hwchase17",
"langchain"
] | ### Description
the unit test "test_incorrect_command_return_err_output" in test_bash.py expects:
"/bin/sh: 1: invalid_command: not found\n"
while the actual output of being tested BashProcess.run is:
"/bin/sh: invalid_command: command not found\n"
as BashPro... | UT "test_incorrect_command_return_err_output" in test_bash.py broken | https://api.github.com/repos/langchain-ai/langchain/issues/1319/comments | 1 | 2023-02-27T08:03:45Z | 2023-02-28T07:38:56Z | https://github.com/langchain-ai/langchain/issues/1319 | 1,600,676,512 | 1,319 |
[
"hwchase17",
"langchain"
] | <img width="1440" alt="Screenshot 2023-02-26 at 8 17 04 PM" src="https://user-images.githubusercontent.com/52064142/221456499-8f60c89d-0e72-45e9-8a20-1483b2a0b62b.png">
When I click in awesome paper it redirects me here https://memprompt.com/ which doesn't open ! | Documentation Link Broken | https://api.github.com/repos/langchain-ai/langchain/issues/1312/comments | 3 | 2023-02-27T02:17:31Z | 2023-09-18T16:24:05Z | https://github.com/langchain-ai/langchain/issues/1312 | 1,600,324,925 | 1,312 |
[
"hwchase17",
"langchain"
] | It would be great to follow the [rate limits guide](https://platform.openai.com/docs/guides/rate-limits/overview) by OpenAI to ensure that this LLM works as expected no matter what chunk size or chunk overlap.
See related issue: https://github.com/hwchase17/langchain/issues/634 | OpenAI Rate Limits | https://api.github.com/repos/langchain-ai/langchain/issues/1310/comments | 11 | 2023-02-26T20:10:32Z | 2023-12-12T17:03:45Z | https://github.com/langchain-ai/langchain/issues/1310 | 1,600,185,079 | 1,310 |
[
"hwchase17",
"langchain"
] | <img width="942" alt="image" src="https://user-images.githubusercontent.com/13427145/221388828-8bbe4c56-dcaf-4b78-b32e-3dfa2775b7e7.png">
I used the above to query the index in gpt-index through the langchain agent, but now the result only returns the result str. I hope it can return this structure
<img width="... | How do I get the source of index results | https://api.github.com/repos/langchain-ai/langchain/issues/1301/comments | 8 | 2023-02-26T02:21:23Z | 2024-05-22T16:07:10Z | https://github.com/langchain-ai/langchain/issues/1301 | 1,599,905,275 | 1,301 |
[
"hwchase17",
"langchain"
] | `ConversationBufferMemory` and the other associated memories all add an extra space in front of AI responses when moving them into the history buffer.
This can be seen in the examples on [this page](https://langchain.readthedocs.io/en/latest/modules/memory/getting_started.html), for instance:
```
> Entering new C... | ConversationBufferMemory adds an extra space in front of AI responses | https://api.github.com/repos/langchain-ai/langchain/issues/1298/comments | 1 | 2023-02-26T00:56:26Z | 2023-08-24T16:16:33Z | https://github.com/langchain-ai/langchain/issues/1298 | 1,599,889,031 | 1,298 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.