url
stringlengths 63
64
| repository_url
stringclasses 1
value | labels_url
stringlengths 77
78
| comments_url
stringlengths 72
73
| events_url
stringlengths 70
71
| html_url
stringlengths 51
54
| id
int64 1.73B
2.09B
| node_id
stringlengths 18
19
| number
int64 5.23k
16.2k
| title
stringlengths 1
385
| user
dict | labels
list | state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
list | milestone
null | comments
int64 0
56
| created_at
timestamp[s] | updated_at
timestamp[s] | closed_at
timestamp[s] | author_association
stringclasses 3
values | active_lock_reason
null | body
stringlengths 1
55.4k
⌀ | reactions
dict | timeline_url
stringlengths 72
73
| performed_via_github_app
null | state_reason
stringclasses 3
values | draft
bool 2
classes | pull_request
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/langchain-ai/langchain/issues/11706
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11706/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11706/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11706/events
|
https://github.com/langchain-ai/langchain/issues/11706
| 1,939,853,669 |
I_kwDOIPDwls5zn9Fl
| 11,706 |
Issue: Invalid prompt schema: Missing value for input [GraphCypherQAChain][cypherPrompt]
|
{
"login": "snezajelenic",
"id": 42175061,
"node_id": "MDQ6VXNlcjQyMTc1MDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/42175061?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snezajelenic",
"html_url": "https://github.com/snezajelenic",
"followers_url": "https://api.github.com/users/snezajelenic/followers",
"following_url": "https://api.github.com/users/snezajelenic/following{/other_user}",
"gists_url": "https://api.github.com/users/snezajelenic/gists{/gist_id}",
"starred_url": "https://api.github.com/users/snezajelenic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snezajelenic/subscriptions",
"organizations_url": "https://api.github.com/users/snezajelenic/orgs",
"repos_url": "https://api.github.com/users/snezajelenic/repos",
"events_url": "https://api.github.com/users/snezajelenic/events{/privacy}",
"received_events_url": "https://api.github.com/users/snezajelenic/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-12T12:12:12 | 2023-10-16T11:55:48 | 2023-10-16T11:55:10 |
NONE
| null |
### Issue you'd like to raise.
Having issue with cypherPrompt in GraphCypherQAChain .
I am trying to use GraphCypherQAChain and Bedrock to generate an answer from Neo4j database.
I am using local Neo4j Movies database and the code example from: https://js.langchain.com/docs/modules/chains/additional/cypher_chain
Here is the code:
```
const { PromptTemplate } = require("langchain/prompts");
const { GraphCypherQAChain } = require("langchain/chains/graph_qa/cypher");
const { Neo4jGraph } = require("langchain/graphs/neo4j_graph");
const { Bedrock } = require("langchain/llms/bedrock");
const url = "bolt://localhost:7687";
const username = "neo4j";
const password = "***";
const aiModelId = "ai21.j2-mid-v1";
module.exports.chainRun = async (event) => {
const graph = await Neo4jGraph.initialize({ url, username, password });
const model = new Bedrock({
model: aiModelId,
region: "***",
maxTokens: 200,
temperature: 0.5,
stopSequences: ["\n\nHuman:"],
credentials: {
accessKeyId: "***",
secretAccessKey: "***",
},
});
await graph.query(
"CREATE (a:Actor {name:'Bruce Willis'})" +
"-[:ACTED_IN]->(:Movie {title: 'Pulp Fiction'})"
);
const cypherTemplate = `Task:Generate Cypher statement to query a graph database.
Instructions:
Use only the provided relationship types and properties in the schema.
Do not use any other relationship types or properties that are not provided.
Schema:
{schema}
Note: Do not include any explanations or apologies in your responses.
Do not respond to any questions that might ask anything else than for you to construct a Cypher statement.
Do not include any text except the generated Cypher statement.
Follow these Cypher example when Generating Cypher statements:
# How many actors played in Top Gun?
MATCH (m:Movie {title:"Top Gun"})<-[:ACTED_IN]-()
RETURN count(*) AS result
The question is:
{question}`;
const cypherPrompt = new PromptTemplate({
template: cypherTemplate,
inputVariables: ["schema", "question"],
});
const chain = GraphCypherQAChain.fromLLM({
llm: model,
graph,
cypherPrompt,
});
const res = await chain.run("Who played in Pulp Fiction?");
return {
statusCode: 200,
body: JSON.stringify(res),
};
};
```
The error that I am getting:
<img width="926" alt="Screenshot 2023-10-12 at 2 08 52 PM" src="https://github.com/langchain-ai/langchain/assets/42175061/3f40f1e1-09fa-4ebf-ae29-35f6dc28e0b3">
If I run that query directly it returns result, also if I remove that part from cypher prompt there are no issues.
Can you help me to find what is the issue?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11706/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11706/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11705
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11705/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11705/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11705/events
|
https://github.com/langchain-ai/langchain/pull/11705
| 1,939,824,852 |
PR_kwDOIPDwls5coAuC
| 11,705 |
SingleStoreDBChatMessageHistory: Add singlestoredb support for ChatMessageHistory
|
{
"login": "volodymyr-memsql",
"id": 57520563,
"node_id": "MDQ6VXNlcjU3NTIwNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/57520563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/volodymyr-memsql",
"html_url": "https://github.com/volodymyr-memsql",
"followers_url": "https://api.github.com/users/volodymyr-memsql/followers",
"following_url": "https://api.github.com/users/volodymyr-memsql/following{/other_user}",
"gists_url": "https://api.github.com/users/volodymyr-memsql/gists{/gist_id}",
"starred_url": "https://api.github.com/users/volodymyr-memsql/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/volodymyr-memsql/subscriptions",
"organizations_url": "https://api.github.com/users/volodymyr-memsql/orgs",
"repos_url": "https://api.github.com/users/volodymyr-memsql/repos",
"events_url": "https://api.github.com/users/volodymyr-memsql/events{/privacy}",
"received_events_url": "https://api.github.com/users/volodymyr-memsql/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 3 | 2023-10-12T11:54:02 | 2023-10-17T07:25:45 | 2023-10-17T01:59:45 |
CONTRIBUTOR
| null |
**Description**
- Added the `SingleStoreDBChatMessageHistory` class that inherits `BaseChatMessageHistory` and allows to use of a SingleStoreDB database as a storage for chat message history.
- Added integration test to check that everything works (requires `singlestoredb` to be installed)
- Added notebook with usage example
- Removed custom retriever for SingleStoreDB vector store (as it is useless)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11705/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11705/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11705",
"html_url": "https://github.com/langchain-ai/langchain/pull/11705",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11705.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11705.patch",
"merged_at": "2023-10-17T01:59:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11703
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11703/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11703/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11703/events
|
https://github.com/langchain-ai/langchain/pull/11703
| 1,939,771,607 |
PR_kwDOIPDwls5cn09T
| 11,703 |
Add YandexGPT LLM and Chat model
|
{
"login": "tyumentsev4",
"id": 56769451,
"node_id": "MDQ6VXNlcjU2NzY5NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56769451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tyumentsev4",
"html_url": "https://github.com/tyumentsev4",
"followers_url": "https://api.github.com/users/tyumentsev4/followers",
"following_url": "https://api.github.com/users/tyumentsev4/following{/other_user}",
"gists_url": "https://api.github.com/users/tyumentsev4/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tyumentsev4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tyumentsev4/subscriptions",
"organizations_url": "https://api.github.com/users/tyumentsev4/orgs",
"repos_url": "https://api.github.com/users/tyumentsev4/repos",
"events_url": "https://api.github.com/users/tyumentsev4/events{/privacy}",
"received_events_url": "https://api.github.com/users/tyumentsev4/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 5 | 2023-10-12T11:19:38 | 2023-10-17T03:30:08 | 2023-10-17T03:30:08 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
- **Description:** Introducing an ability to work with the [YandexGPT](https://cloud.yandex.com/en/services/yandexgpt) language model.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11703/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11703/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11703",
"html_url": "https://github.com/langchain-ai/langchain/pull/11703",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11703.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11703.patch",
"merged_at": "2023-10-17T03:30:08"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11702
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11702/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11702/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11702/events
|
https://github.com/langchain-ai/langchain/pull/11702
| 1,939,763,545 |
PR_kwDOIPDwls5cnzLw
| 11,702 |
Fix default impl of aparse_result
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-12T11:14:25 | 2023-10-12T13:14:00 | 2023-10-12T13:13:59 |
COLLABORATOR
| null |
Should delegate to parse_result, not to aparse, as parse_result is a method that some output parsers override
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11702/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11702/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11702",
"html_url": "https://github.com/langchain-ai/langchain/pull/11702",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11702.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11702.patch",
"merged_at": "2023-10-12T13:13:59"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11700
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11700/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11700/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11700/events
|
https://github.com/langchain-ai/langchain/issues/11700
| 1,939,721,293 |
I_kwDOIPDwls5zncxN
| 11,700 |
Allow API_KEY to be optional when API_BASE is selected for OpenAI.
|
{
"login": "haseeb-heaven",
"id": 11544739,
"node_id": "MDQ6VXNlcjExNTQ0NzM5",
"avatar_url": "https://avatars.githubusercontent.com/u/11544739?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haseeb-heaven",
"html_url": "https://github.com/haseeb-heaven",
"followers_url": "https://api.github.com/users/haseeb-heaven/followers",
"following_url": "https://api.github.com/users/haseeb-heaven/following{/other_user}",
"gists_url": "https://api.github.com/users/haseeb-heaven/gists{/gist_id}",
"starred_url": "https://api.github.com/users/haseeb-heaven/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/haseeb-heaven/subscriptions",
"organizations_url": "https://api.github.com/users/haseeb-heaven/orgs",
"repos_url": "https://api.github.com/users/haseeb-heaven/repos",
"events_url": "https://api.github.com/users/haseeb-heaven/events{/privacy}",
"received_events_url": "https://api.github.com/users/haseeb-heaven/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 3 | 2023-10-12T10:47:50 | 2023-10-13T10:01:13 | null |
NONE
| null |
### Feature request
I propose a feature that allows the **API key** to be set as an optional **parameter** when changing the `openai_api_base` in LangChain's implementation of OpenAI. This feature would make it possible to set the API key to an empty string or any arbitrary string, similar to how it's done in **LiteLLM**.
Relevant resources:
- LangChain OpenAI: [GitHub Repo](https://github.com/langchain-ai/langchain)
- LiteLLM Proxy: [Documentation](https://docs.litellm.ai/docs/proxy_server#create-a-proxy-for-multiple-llms)
### Motivation
The motivation for this proposal is to facilitate testing and development scenarios where the `openai_api_base` is pointed to a local or mock server that doesn't require an API key. Currently, when the API key is set to empty or an arbitrary string, LangChain OpenAI throws an `AuthenticationError`. This behavior is frustrating when trying to test or develop without a valid OpenAI API key.
### Your contribution
I am willing to help implement this feature and submit a PR, but I would appreciate guidance from the maintainers or community to ensure the changes are made correctly and in line with the project's standards and practices.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11700/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11700/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11699
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11699/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11699/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11699/events
|
https://github.com/langchain-ai/langchain/issues/11699
| 1,939,606,027 |
I_kwDOIPDwls5znAoL
| 11,699 |
Agent stopped due to iteration limit or time limit.
|
{
"login": "xxm1668",
"id": 129041904,
"node_id": "U_kgDOB7EF8A",
"avatar_url": "https://avatars.githubusercontent.com/u/129041904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xxm1668",
"html_url": "https://github.com/xxm1668",
"followers_url": "https://api.github.com/users/xxm1668/followers",
"following_url": "https://api.github.com/users/xxm1668/following{/other_user}",
"gists_url": "https://api.github.com/users/xxm1668/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xxm1668/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xxm1668/subscriptions",
"organizations_url": "https://api.github.com/users/xxm1668/orgs",
"repos_url": "https://api.github.com/users/xxm1668/repos",
"events_url": "https://api.github.com/users/xxm1668/events{/privacy}",
"received_events_url": "https://api.github.com/users/xxm1668/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
open
| false | null |
[] | null | 4 | 2023-10-12T09:38:36 | 2023-10-12T12:56:48 | null |
NONE
| null |
### Issue you'd like to raise.

如何获取打印的日志呢?不知道怎么关闭这些打印的日志
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11699/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11699/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11698
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11698/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11698/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11698/events
|
https://github.com/langchain-ai/langchain/issues/11698
| 1,939,531,951 |
I_kwDOIPDwls5zmuiv
| 11,698 |
LocalAI embeddings require OpenAI key
|
{
"login": "flash1293",
"id": 1508364,
"node_id": "MDQ6VXNlcjE1MDgzNjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1508364?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flash1293",
"html_url": "https://github.com/flash1293",
"followers_url": "https://api.github.com/users/flash1293/followers",
"following_url": "https://api.github.com/users/flash1293/following{/other_user}",
"gists_url": "https://api.github.com/users/flash1293/gists{/gist_id}",
"starred_url": "https://api.github.com/users/flash1293/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flash1293/subscriptions",
"organizations_url": "https://api.github.com/users/flash1293/orgs",
"repos_url": "https://api.github.com/users/flash1293/repos",
"events_url": "https://api.github.com/users/flash1293/events{/privacy}",
"received_events_url": "https://api.github.com/users/flash1293/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 0 | 2023-10-12T08:58:04 | 2023-10-12T09:00:12 | null |
CONTRIBUTOR
| null |
### System Info
Current master, all python versions
### Who can help?
@hwchase17
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
The LocalAI embeddings class required the openai api key to be set even though this might not be required by the locally hosted server: https://github.com/langchain-ai/langchain/blob/44da27c07b2bd0ccac355c8236a3ab1dd26870eb/libs/langchain/langchain/embeddings/localai.py#L200
Initializing the class like this fails:
```
from langchain.embeddings.localai import LocalAIEmbeddings
LocalAIEmbeddings(openai_api_key=None)
# Did not find openai_api_key, please add an environment variable `OPENAI_API_KEY` which contains it, or pass
`openai_api_key` as a named parameter. (type=value_error)
```
### Expected behavior
it should work fine, the key is not required for the class to function.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11698/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11698/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11697
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11697/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11697/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11697/events
|
https://github.com/langchain-ai/langchain/issues/11697
| 1,939,487,505 |
I_kwDOIPDwls5zmjsR
| 11,697 |
Understanding the Role and Functionality of Metadata and Page_Content in Langchain
|
{
"login": "ToryPan",
"id": 59463198,
"node_id": "MDQ6VXNlcjU5NDYzMTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/59463198?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ToryPan",
"html_url": "https://github.com/ToryPan",
"followers_url": "https://api.github.com/users/ToryPan/followers",
"following_url": "https://api.github.com/users/ToryPan/following{/other_user}",
"gists_url": "https://api.github.com/users/ToryPan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ToryPan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ToryPan/subscriptions",
"organizations_url": "https://api.github.com/users/ToryPan/orgs",
"repos_url": "https://api.github.com/users/ToryPan/repos",
"events_url": "https://api.github.com/users/ToryPan/events{/privacy}",
"received_events_url": "https://api.github.com/users/ToryPan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-12T08:31:39 | 2023-10-12T08:37:56 | null |
NONE
| null |
### Issue you'd like to raise.
Dear Langchain Developers,
Thank you very much for developing Langchain.
I am writing to seek clarification on a few aspects of Langchain that I find intriguing. Specifically, I am interested in understanding more about the role and functionality of 'metadata' and 'page_content' within the system.
Could you kindly explain what the purpose of these two components is within Langchain? I am curious to know how they contribute to the overall functionality of the system. Additionally, I am interested in understanding how these elements are stored in vectors.
Furthermore, when a user question is used to match the most suitable text chunk, how does the system process this? After the user question is converted into a vector, does the system search the 'metadata' or the 'page_content'?
Your insights would be greatly appreciated. I am sure that understanding these aspects will enhance my appreciation of Langchain even more. Thank you in advance for your time and assistance.
Best regards,
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11697/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11697/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11696
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11696/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11696/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11696/events
|
https://github.com/langchain-ai/langchain/issues/11696
| 1,939,352,699 |
I_kwDOIPDwls5zmCx7
| 11,696 |
Issue: GPT4AllEmbeddings - dont compare with - OpenAIEmbeddings
|
{
"login": "RohitDhankar",
"id": 13214169,
"node_id": "MDQ6VXNlcjEzMjE0MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/13214169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RohitDhankar",
"html_url": "https://github.com/RohitDhankar",
"followers_url": "https://api.github.com/users/RohitDhankar/followers",
"following_url": "https://api.github.com/users/RohitDhankar/following{/other_user}",
"gists_url": "https://api.github.com/users/RohitDhankar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RohitDhankar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RohitDhankar/subscriptions",
"organizations_url": "https://api.github.com/users/RohitDhankar/orgs",
"repos_url": "https://api.github.com/users/RohitDhankar/repos",
"events_url": "https://api.github.com/users/RohitDhankar/events{/privacy}",
"received_events_url": "https://api.github.com/users/RohitDhankar/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-12T07:12:54 | 2023-10-12T07:17:56 | null |
NONE
| null |
### Issue you'd like to raise.
How to get the same values of the Float numbers generated as embeddings -
1/ Am comparing values generated from OpenAI - from langchain.embeddings.openai import OpenAIEmbeddings
embedding = OpenAIEmbeddings()
2/ comparing with the values generated from -- gpt4all
from langchain.embeddings import GPT4AllEmbeddings
gpt4all_embd = GPT4AllEmbeddings()
```python
def get_embeddings_gpt4all():
"""
"""
from langchain.embeddings import GPT4AllEmbeddings
gpt4all_embd = GPT4AllEmbeddings()
#text = "This is a test document."
text = "i like dogs"
query_result = gpt4all_embd.embed_query(text)
print("--query_result-",type(query_result))
print("--query_result-",len(query_result))
print("--query_result-",query_result[0:10])
print("--query_result-",query_result[11])
print("--query_result-",query_result[15])
doc_result = gpt4all_embd.embed_documents([text])
print("--doc_result-",type(doc_result)) # List of LIST --
print("--doc_result-",len(doc_result)) # 1
print("--doc_result-",type(doc_result[0])) # List of Floats --
print("--doc_result-",len(doc_result[0])) # 384
```
- terminal prints as below --
```
Found model file at C:\\\\Users\\\\rohit.dhankar\\\\.cache\\\\gpt4all\\ggml-all-MiniLM-L6-v2-f16.bin
--query_result- <class 'list'>
--query_result- 384
--query_result- [-0.04856949672102928, -0.04622294753789902, 0.060556311160326004, 0.043546244502067566, -0.05463598296046257, -0.004457559902220964, 0.05100328475236893, -0.02644169144332409, 0.08410052955150604, 0.05480821430683136]
--query_result- -0.07515878230333328
--query_result- 0.05370383337140083
--doc_result- <class 'list'>
--doc_result- 1
--doc_result- <class 'list'>
--doc_result- 384
```
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11696/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11696/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11695
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11695/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11695/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11695/events
|
https://github.com/langchain-ai/langchain/issues/11695
| 1,939,343,638 |
I_kwDOIPDwls5zmAkW
| 11,695 |
agent是否支持llama2系列及其衍生模型
|
{
"login": "xxm1668",
"id": 129041904,
"node_id": "U_kgDOB7EF8A",
"avatar_url": "https://avatars.githubusercontent.com/u/129041904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xxm1668",
"html_url": "https://github.com/xxm1668",
"followers_url": "https://api.github.com/users/xxm1668/followers",
"following_url": "https://api.github.com/users/xxm1668/following{/other_user}",
"gists_url": "https://api.github.com/users/xxm1668/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xxm1668/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xxm1668/subscriptions",
"organizations_url": "https://api.github.com/users/xxm1668/orgs",
"repos_url": "https://api.github.com/users/xxm1668/repos",
"events_url": "https://api.github.com/users/xxm1668/events{/privacy}",
"received_events_url": "https://api.github.com/users/xxm1668/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-12T07:07:11 | 2023-10-12T07:44:50 | 2023-10-12T07:44:50 |
NONE
| null |
### Issue you'd like to raise.
_No response_
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11695/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11695/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11694
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11694/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11694/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11694/events
|
https://github.com/langchain-ai/langchain/issues/11694
| 1,939,149,824 |
I_kwDOIPDwls5zlRQA
| 11,694 |
APIError: HTTP code 200 from API ("{\"rate_limit_usage\": {\)
|
{
"login": "Tsukumizu",
"id": 143052241,
"node_id": "U_kgDOCIbN0Q",
"avatar_url": "https://avatars.githubusercontent.com/u/143052241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tsukumizu",
"html_url": "https://github.com/Tsukumizu",
"followers_url": "https://api.github.com/users/Tsukumizu/followers",
"following_url": "https://api.github.com/users/Tsukumizu/following{/other_user}",
"gists_url": "https://api.github.com/users/Tsukumizu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tsukumizu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tsukumizu/subscriptions",
"organizations_url": "https://api.github.com/users/Tsukumizu/orgs",
"repos_url": "https://api.github.com/users/Tsukumizu/repos",
"events_url": "https://api.github.com/users/Tsukumizu/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tsukumizu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 7 | 2023-10-12T04:24:29 | 2023-10-12T07:43:45 | 2023-10-12T07:43:44 |
NONE
| null |
### System Info
APIError: HTTP code 200 from API ("{\"rate_limit_usage\": {\)
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.__dict__)
File "[...]/gitlab/run_finQA_webUI.py", line 158, in <module>
generate_answer(clicked)
File "[...]/gitlab/run_finQA_webUI.py", line 123, in generate_answer
response = rq_agent.finQAinConversation(user_query, callbacks=[stream_handler])
File "[...]/gitlab/report_query/report_query.py", line 187, in finQAinConversation
response = self._convR_qa(query, callbacks=callbacks)
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "[...]/gitlab/report_query/custom_intention_chain.py", line 131, in _call
answer = self.combine_docs_chain.run(
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/base.py", line 506, in run
return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/combine_documents/base.py", line 119, in _call
output, extra_return_dict = self.combine_docs(
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/combine_documents/stuff.py", line 171, in combine_docs
return self.llm_chain.predict(callbacks=callbacks, **inputs), {}
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/llm.py", line 257, in predict
return self(kwargs, callbacks=callbacks)[self.output_key]
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/base.py", line 306, in __call__
raise e
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/base.py", line 300, in __call__
self._call(inputs, run_manager=run_manager)
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/llm.py", line 93, in _call
response = self.generate([inputs], run_manager=run_manager)
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chains/llm.py", line 103, in generate
return self.llm.generate_prompt(
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chat_models/base.py", line 469, in generate_prompt
return self.generate(prompt_messages, stop=stop, callbacks=callbacks, **kwargs)
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chat_models/base.py", line 359, in generate
raise e
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chat_models/base.py", line 349, in generate
self._generate_with_cache(
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chat_models/base.py", line 501, in _generate_with_cache
return self._generate(
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chat_models/openai.py", line 357, in _generate
return _generate_from_stream(stream_iter)
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chat_models/base.py", line 60, in _generate_from_stream
for chunk in stream:
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/langchain/chat_models/openai.py", line 326, in _stream
for chunk in self.completion_with_retry(
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 166, in <genexpr>
return (
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/openai/api_requestor.py", line 693, in <genexpr>
self._interpret_response_line(
File "[...]/anaconda3/envs/sjj_env/lib/python3.10/site-packages/openai/api_requestor.py", line 755, in _interpret_response_line
raise error.APIError(
Seems like this error just appears starting from oct 12. The answer can be directly generated with an HTTP code 200 in Openai response, but an error appears at the end of generation. @hwchase17
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
answer = self.combine_docs_chain.run(
input_documents=docs, callbacks=_run_manager.get_child(), **new_inputs
)
### Expected behavior
No error happens.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11694/reactions",
"total_count": 11,
"+1": 11,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11694/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11693
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11693/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11693/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11693/events
|
https://github.com/langchain-ai/langchain/pull/11693
| 1,939,013,958 |
PR_kwDOIPDwls5clQvx
| 11,693 |
fix: incorrect arguments in clickhouse docstring
|
{
"login": "rsyi",
"id": 28232885,
"node_id": "MDQ6VXNlcjI4MjMyODg1",
"avatar_url": "https://avatars.githubusercontent.com/u/28232885?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rsyi",
"html_url": "https://github.com/rsyi",
"followers_url": "https://api.github.com/users/rsyi/followers",
"following_url": "https://api.github.com/users/rsyi/following{/other_user}",
"gists_url": "https://api.github.com/users/rsyi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rsyi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rsyi/subscriptions",
"organizations_url": "https://api.github.com/users/rsyi/orgs",
"repos_url": "https://api.github.com/users/rsyi/repos",
"events_url": "https://api.github.com/users/rsyi/events{/privacy}",
"received_events_url": "https://api.github.com/users/rsyi/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-12T01:32:21 | 2023-10-12T01:41:21 | 2023-10-12T01:41:21 |
CONTRIBUTOR
| null |
- **Description:** fix docstring for clickhouse,
- **Issue:** N/A,
- **Dependencies:** none,
- **Tag maintainer:** N/A,
- **Twitter handle:**
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11693/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11693/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11693",
"html_url": "https://github.com/langchain-ai/langchain/pull/11693",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11693.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11693.patch",
"merged_at": "2023-10-12T01:41:21"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11692
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11692/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11692/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11692/events
|
https://github.com/langchain-ai/langchain/pull/11692
| 1,939,011,270 |
PR_kwDOIPDwls5clQKT
| 11,692 |
Improve InfoSQLDatabaseTool because it doesn't work well with qwen
|
{
"login": "dqatsh",
"id": 347618,
"node_id": "MDQ6VXNlcjM0NzYxOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/347618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dqatsh",
"html_url": "https://github.com/dqatsh",
"followers_url": "https://api.github.com/users/dqatsh/followers",
"following_url": "https://api.github.com/users/dqatsh/following{/other_user}",
"gists_url": "https://api.github.com/users/dqatsh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dqatsh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dqatsh/subscriptions",
"organizations_url": "https://api.github.com/users/dqatsh/orgs",
"repos_url": "https://api.github.com/users/dqatsh/repos",
"events_url": "https://api.github.com/users/dqatsh/events{/privacy}",
"received_events_url": "https://api.github.com/users/dqatsh/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-10-12T01:29:30 | 2023-10-13T04:11:58 | null |
NONE
| null |
1. Remove single quotation marks from the string, because qwen may return a string within single quotation marks.
2. Make the splition more robust, because qwen may return a list without blank after comma.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11692/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11692/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11692",
"html_url": "https://github.com/langchain-ai/langchain/pull/11692",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11692.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11692.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11691
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11691/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11691/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11691/events
|
https://github.com/langchain-ai/langchain/issues/11691
| 1,939,011,196 |
I_kwDOIPDwls5zkvZ8
| 11,691 |
text split by llm?
|
{
"login": "sudranga",
"id": 12044110,
"node_id": "MDQ6VXNlcjEyMDQ0MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/12044110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sudranga",
"html_url": "https://github.com/sudranga",
"followers_url": "https://api.github.com/users/sudranga/followers",
"following_url": "https://api.github.com/users/sudranga/following{/other_user}",
"gists_url": "https://api.github.com/users/sudranga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sudranga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sudranga/subscriptions",
"organizations_url": "https://api.github.com/users/sudranga/orgs",
"repos_url": "https://api.github.com/users/sudranga/repos",
"events_url": "https://api.github.com/users/sudranga/events{/privacy}",
"received_events_url": "https://api.github.com/users/sudranga/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 4 | 2023-10-12T01:29:23 | 2023-11-20T15:01:02 | null |
CONTRIBUTOR
| null |
### Feature request
Would it make sense to use an llm to split a large document into smaller documents that have complete context?
### Motivation
My best guess is that most of the existing splitters may drop context ?
### Your contribution
Could try
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11691/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11691/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11690
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11690/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11690/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11690/events
|
https://github.com/langchain-ai/langchain/pull/11690
| 1,938,987,942 |
PR_kwDOIPDwls5clLLL
| 11,690 |
add plan execute cookbook
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-12T01:03:07 | 2023-10-12T01:03:19 | 2023-10-12T01:03:13 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11690/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11690/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11690",
"html_url": "https://github.com/langchain-ai/langchain/pull/11690",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11690.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11690.patch",
"merged_at": "2023-10-12T01:03:13"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11689
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11689/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11689/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11689/events
|
https://github.com/langchain-ai/langchain/pull/11689
| 1,938,917,526 |
PR_kwDOIPDwls5ck75Q
| 11,689 |
fix tool async
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T23:33:33 | 2023-10-11T23:40:24 | 2023-10-11T23:40:23 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11689/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11689/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11689",
"html_url": "https://github.com/langchain-ai/langchain/pull/11689",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11689.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11689.patch",
"merged_at": "2023-10-11T23:40:23"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11688
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11688/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11688/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11688/events
|
https://github.com/langchain-ai/langchain/pull/11688
| 1,938,906,883 |
PR_kwDOIPDwls5ck5d4
| 11,688 |
Fix chains/loading.py error messages
|
{
"login": "lawwu",
"id": 9869041,
"node_id": "MDQ6VXNlcjk4NjkwNDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9869041?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lawwu",
"html_url": "https://github.com/lawwu",
"followers_url": "https://api.github.com/users/lawwu/followers",
"following_url": "https://api.github.com/users/lawwu/following{/other_user}",
"gists_url": "https://api.github.com/users/lawwu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lawwu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lawwu/subscriptions",
"organizations_url": "https://api.github.com/users/lawwu/orgs",
"repos_url": "https://api.github.com/users/lawwu/repos",
"events_url": "https://api.github.com/users/lawwu/events{/privacy}",
"received_events_url": "https://api.github.com/users/lawwu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T23:25:39 | 2023-10-12T04:18:03 | 2023-10-12T00:05:42 |
CONTRIBUTOR
| null |
- **Description:** make the error messages consistent in chains/loading.py
- **Dependencies:** None
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11688/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11688/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11688",
"html_url": "https://github.com/langchain-ai/langchain/pull/11688",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11688.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11688.patch",
"merged_at": "2023-10-12T00:05:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11687
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11687/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11687/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11687/events
|
https://github.com/langchain-ai/langchain/pull/11687
| 1,938,842,847 |
PR_kwDOIPDwls5ckq8y
| 11,687 |
Adds GetByID Elasticsearch store strategy
|
{
"login": "izo0x90",
"id": 53634432,
"node_id": "MDQ6VXNlcjUzNjM0NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/53634432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/izo0x90",
"html_url": "https://github.com/izo0x90",
"followers_url": "https://api.github.com/users/izo0x90/followers",
"following_url": "https://api.github.com/users/izo0x90/following{/other_user}",
"gists_url": "https://api.github.com/users/izo0x90/gists{/gist_id}",
"starred_url": "https://api.github.com/users/izo0x90/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/izo0x90/subscriptions",
"organizations_url": "https://api.github.com/users/izo0x90/orgs",
"repos_url": "https://api.github.com/users/izo0x90/repos",
"events_url": "https://api.github.com/users/izo0x90/events{/privacy}",
"received_events_url": "https://api.github.com/users/izo0x90/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 5 | 2023-10-11T22:36:23 | 2023-10-12T18:23:49 | 2023-10-12T18:23:44 |
CONTRIBUTOR
| null |
- **Description:**
- Add GetByID strategy to allow retrieving exact documents when needed
- Update ElasticsearchStore to allow loading data from an index that does not follow the Langchain index structure by
remapping them.
- Fix store to return None for page_content when the field is missing, preventing hardfails if a specific document is
malformed.
- **Dependencies:** None
- **Twitter handle:** Void
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11687/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11687/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11687",
"html_url": "https://github.com/langchain-ai/langchain/pull/11687",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11687.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11687.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11685
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11685/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11685/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11685/events
|
https://github.com/langchain-ai/langchain/pull/11685
| 1,938,812,711 |
PR_kwDOIPDwls5ckkRF
| 11,685 |
LLaMA2 SQL Chat cookbook
|
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T22:05:58 | 2023-10-15T15:54:11 | 2023-10-15T15:54:10 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11685/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11685/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11685",
"html_url": "https://github.com/langchain-ai/langchain/pull/11685",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11685.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11685.patch",
"merged_at": "2023-10-15T15:54:10"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11684
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11684/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11684/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11684/events
|
https://github.com/langchain-ai/langchain/pull/11684
| 1,938,810,758 |
PR_kwDOIPDwls5ckj1u
| 11,684 |
Feat: Add support for OpenAI function call
|
{
"login": "aledelunap",
"id": 54540938,
"node_id": "MDQ6VXNlcjU0NTQwOTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/54540938?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aledelunap",
"html_url": "https://github.com/aledelunap",
"followers_url": "https://api.github.com/users/aledelunap/followers",
"following_url": "https://api.github.com/users/aledelunap/following{/other_user}",
"gists_url": "https://api.github.com/users/aledelunap/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aledelunap/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aledelunap/subscriptions",
"organizations_url": "https://api.github.com/users/aledelunap/orgs",
"repos_url": "https://api.github.com/users/aledelunap/repos",
"events_url": "https://api.github.com/users/aledelunap/events{/privacy}",
"received_events_url": "https://api.github.com/users/aledelunap/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-11T22:03:50 | 2023-10-25T12:26:39 | null |
CONTRIBUTOR
| null |
- **Description:** This PR proposes a simple implementation to add support for the Open AI `function_call` parameter and modifies the `with_function` for the `plan` method of the `ChatOpenAI`class accordingly.
- **Issue:** Right now, there is no way to force the model to generate a function call as enabled by the Open AI API.
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11684/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11684/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11684",
"html_url": "https://github.com/langchain-ai/langchain/pull/11684",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11684.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11684.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11683
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11683/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11683/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11683/events
|
https://github.com/langchain-ai/langchain/issues/11683
| 1,938,775,462 |
I_kwDOIPDwls5zj12m
| 11,683 |
A way to use csv_agent to simply return JSON
|
{
"login": "sahanxdissanayake",
"id": 100333536,
"node_id": "U_kgDOBfr34A",
"avatar_url": "https://avatars.githubusercontent.com/u/100333536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sahanxdissanayake",
"html_url": "https://github.com/sahanxdissanayake",
"followers_url": "https://api.github.com/users/sahanxdissanayake/followers",
"following_url": "https://api.github.com/users/sahanxdissanayake/following{/other_user}",
"gists_url": "https://api.github.com/users/sahanxdissanayake/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sahanxdissanayake/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sahanxdissanayake/subscriptions",
"organizations_url": "https://api.github.com/users/sahanxdissanayake/orgs",
"repos_url": "https://api.github.com/users/sahanxdissanayake/repos",
"events_url": "https://api.github.com/users/sahanxdissanayake/events{/privacy}",
"received_events_url": "https://api.github.com/users/sahanxdissanayake/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false | null |
[] | null | 0 | 2023-10-11T21:31:49 | 2023-10-11T21:33:57 | null |
NONE
| null |
### Feature request
At the moment the agent spends additional rounds of agent <> LLM to format the JSON data I request to be in a sentence format. Is there a way to avoid this?
### Motivation
If the user is asking for JSON the agent should provide JSON and not a properly formatted sentence(that costs more token>money)
### Your contribution
Test, Deploy to production workload
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11683/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11683/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11682
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11682/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11682/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11682/events
|
https://github.com/langchain-ai/langchain/pull/11682
| 1,938,770,644 |
PR_kwDOIPDwls5ckbCM
| 11,682 |
Add `type` to Agent actions
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T21:27:53 | 2023-10-12T01:33:25 | 2023-10-12T01:33:25 |
COLLABORATOR
| null |
Add `type` to agent actions.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11682/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11682/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11682",
"html_url": "https://github.com/langchain-ai/langchain/pull/11682",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11682.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11682.patch",
"merged_at": "2023-10-12T01:33:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11681
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11681/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11681/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11681/events
|
https://github.com/langchain-ai/langchain/pull/11681
| 1,938,769,705 |
PR_kwDOIPDwls5cka0p
| 11,681 |
evaluation criteria
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 5 | 2023-10-11T21:27:11 | 2023-10-17T15:31:18 | 2023-10-17T04:05:08 |
COLLABORATOR
| null |
the updated value was:
` Criteria.MISOGYNY: "Is the submission misogynistic? If so, respond Y." `
The " If so, respond Y." should not be here. This sub-string is not presented in any other criteria and should not be presented here.
I also added a synonym to "misogynistic" as it done in many other criteria.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11681/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11681/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11681",
"html_url": "https://github.com/langchain-ai/langchain/pull/11681",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11681.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11681.patch",
"merged_at": "2023-10-17T04:05:08"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11679
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11679/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11679/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11679/events
|
https://github.com/langchain-ai/langchain/pull/11679
| 1,938,710,089 |
PR_kwDOIPDwls5ckNYA
| 11,679 |
add input type for convo retrieval chain
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T20:51:23 | 2023-10-11T21:13:50 | 2023-10-11T21:13:49 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11679/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11679/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11679",
"html_url": "https://github.com/langchain-ai/langchain/pull/11679",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11679.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11679.patch",
"merged_at": "2023-10-11T21:13:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11678
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11678/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11678/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11678/events
|
https://github.com/langchain-ai/langchain/pull/11678
| 1,938,705,806 |
PR_kwDOIPDwls5ckMZF
| 11,678 |
include_df_in_prompt should be True or False and not None
|
{
"login": "Yanni8",
"id": 99135388,
"node_id": "U_kgDOBeivnA",
"avatar_url": "https://avatars.githubusercontent.com/u/99135388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yanni8",
"html_url": "https://github.com/Yanni8",
"followers_url": "https://api.github.com/users/Yanni8/followers",
"following_url": "https://api.github.com/users/Yanni8/following{/other_user}",
"gists_url": "https://api.github.com/users/Yanni8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Yanni8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Yanni8/subscriptions",
"organizations_url": "https://api.github.com/users/Yanni8/orgs",
"repos_url": "https://api.github.com/users/Yanni8/repos",
"events_url": "https://api.github.com/users/Yanni8/events{/privacy}",
"received_events_url": "https://api.github.com/users/Yanni8/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-10-11T20:49:24 | 2023-11-13T07:10:58 | 2023-11-13T07:10:57 |
CONTRIBUTOR
| null |
Replace this entire comment with:
- **Description:** `include_df_in_prompt` does now also work with `False` instade of `None`
- **Issue:** #11677
- **Dependencies:** None
- **Tag maintainer:**
- **Twitter handle:**
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11678/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11678/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11678",
"html_url": "https://github.com/langchain-ai/langchain/pull/11678",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11678.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11678.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11677
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11677/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11677/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11677/events
|
https://github.com/langchain-ai/langchain/issues/11677
| 1,938,701,583 |
I_kwDOIPDwls5zjj0P
| 11,677 |
include_df_in_prompt should be compared as boolean value and not None
|
{
"login": "Yanni8",
"id": 99135388,
"node_id": "U_kgDOBeivnA",
"avatar_url": "https://avatars.githubusercontent.com/u/99135388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yanni8",
"html_url": "https://github.com/Yanni8",
"followers_url": "https://api.github.com/users/Yanni8/followers",
"following_url": "https://api.github.com/users/Yanni8/following{/other_user}",
"gists_url": "https://api.github.com/users/Yanni8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Yanni8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Yanni8/subscriptions",
"organizations_url": "https://api.github.com/users/Yanni8/orgs",
"repos_url": "https://api.github.com/users/Yanni8/repos",
"events_url": "https://api.github.com/users/Yanni8/events{/privacy}",
"received_events_url": "https://api.github.com/users/Yanni8/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T20:47:09 | 2023-12-22T07:34:59 | 2023-12-22T07:34:59 |
CONTRIBUTOR
| null |
### System Info
Version `0.0.312`
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
# Description
The parameter `include_df_in_prompt` on the method `create_pandas_dataframe_agent` is a boolean value which should be eigther `True` or `False`.
If you specify your own suffix in the create_pandas_dataframe_agent method it results in an error saying that the variable include_df_in_prompt should be False.
## For example
```python
agent = create_pandas_dataframe_agent(ChatOpenAI(temperature=0),df, AgentType.OPENAI_FUNCTIONS, suffix=sufix)
```
Results in
```
ValueError: If suffix is specified, include_df_in_prompt should not be.
```
This is also the correct behavior. However, if you set `include_df_in_prompt` to `False`, the error still occurs.
## For example
```python
agent = create_pandas_dataframe_agent(ChatOpenAI(temperature=0),df, AgentType.OPENAI_FUNCTIONS, suffix=sufix, include_df_in_prompt=False)
```
But everything just works fine if I use `None` instade of `False`
## For example
```python
agent = create_pandas_dataframe_agent(ChatOpenAI(temperature=0),df, AgentType.OPENAI_FUNCTIONS, suffix=sufix, include_df_in_prompt=None)
``
### Expected behavior
It should also work when I use `False` instade of `None`
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11677/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11677/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11676
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11676/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11676/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11676/events
|
https://github.com/langchain-ai/langchain/pull/11676
| 1,938,681,961 |
PR_kwDOIPDwls5ckHKo
| 11,676 |
Update kay.ipynb
|
{
"login": "Zhreyu",
"id": 96978606,
"node_id": "U_kgDOBcfGrg",
"avatar_url": "https://avatars.githubusercontent.com/u/96978606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhreyu",
"html_url": "https://github.com/Zhreyu",
"followers_url": "https://api.github.com/users/Zhreyu/followers",
"following_url": "https://api.github.com/users/Zhreyu/following{/other_user}",
"gists_url": "https://api.github.com/users/Zhreyu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Zhreyu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zhreyu/subscriptions",
"organizations_url": "https://api.github.com/users/Zhreyu/orgs",
"repos_url": "https://api.github.com/users/Zhreyu/repos",
"events_url": "https://api.github.com/users/Zhreyu/events{/privacy}",
"received_events_url": "https://api.github.com/users/Zhreyu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-11T20:33:31 | 2023-10-11T21:02:12 | 2023-10-11T21:02:12 |
CONTRIBUTOR
| null |
Fixed title display
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11676/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11676/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11676",
"html_url": "https://github.com/langchain-ai/langchain/pull/11676",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11676.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11676.patch",
"merged_at": "2023-10-11T21:02:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11675
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11675/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11675/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11675/events
|
https://github.com/langchain-ai/langchain/pull/11675
| 1,938,599,129 |
PR_kwDOIPDwls5cj0ni
| 11,675 |
Fix runnable docs link
|
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T19:43:46 | 2023-10-11T20:11:25 | 2023-10-11T20:11:24 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11675/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11675/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11675",
"html_url": "https://github.com/langchain-ai/langchain/pull/11675",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11675.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11675.patch",
"merged_at": "2023-10-11T20:11:24"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11674
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11674/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11674/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11674/events
|
https://github.com/langchain-ai/langchain/pull/11674
| 1,938,582,274 |
PR_kwDOIPDwls5cjw6q
| 11,674 |
Add COBOL parser and splitter
|
{
"login": "ehartford",
"id": 1117701,
"node_id": "MDQ6VXNlcjExMTc3MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1117701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ehartford",
"html_url": "https://github.com/ehartford",
"followers_url": "https://api.github.com/users/ehartford/followers",
"following_url": "https://api.github.com/users/ehartford/following{/other_user}",
"gists_url": "https://api.github.com/users/ehartford/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ehartford/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ehartford/subscriptions",
"organizations_url": "https://api.github.com/users/ehartford/orgs",
"repos_url": "https://api.github.com/users/ehartford/repos",
"events_url": "https://api.github.com/users/ehartford/events{/privacy}",
"received_events_url": "https://api.github.com/users/ehartford/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 13 | 2023-10-11T19:34:10 | 2023-10-24T19:44:58 | 2023-10-23T19:44:31 |
CONTRIBUTOR
| null |
- **Description:** Add COBOL parser and splitter
- **Issue:** n/a
- **Dependencies:** n/a
- **Tag maintainer:** @baskaryan
- **Twitter handle:** erhartford
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11674/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11674/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11674",
"html_url": "https://github.com/langchain-ai/langchain/pull/11674",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11674.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11674.patch",
"merged_at": "2023-10-23T19:44:31"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11673
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11673/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11673/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11673/events
|
https://github.com/langchain-ai/langchain/issues/11673
| 1,938,566,368 |
I_kwDOIPDwls5zjCzg
| 11,673 |
Integrating `create_citation_fuzzy_match_chain` with `ConversationalRetrievalChain`
|
{
"login": "timxieICN",
"id": 112183115,
"node_id": "U_kgDOBq_HSw",
"avatar_url": "https://avatars.githubusercontent.com/u/112183115?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timxieICN",
"html_url": "https://github.com/timxieICN",
"followers_url": "https://api.github.com/users/timxieICN/followers",
"following_url": "https://api.github.com/users/timxieICN/following{/other_user}",
"gists_url": "https://api.github.com/users/timxieICN/gists{/gist_id}",
"starred_url": "https://api.github.com/users/timxieICN/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timxieICN/subscriptions",
"organizations_url": "https://api.github.com/users/timxieICN/orgs",
"repos_url": "https://api.github.com/users/timxieICN/repos",
"events_url": "https://api.github.com/users/timxieICN/events{/privacy}",
"received_events_url": "https://api.github.com/users/timxieICN/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 18 | 2023-10-11T19:24:42 | 2023-12-15T10:43:03 | 2023-11-15T01:46:15 |
NONE
| null |
### Feature request
Similar to the discussion in this thread https://github.com/langchain-ai/langchain/issues/7239, I would like to have a way to show inline citations in QA tasks.
Specially, I haven't had a whole lot of success integrating `create_citation_fuzzy_match_chain` with `ConversationalRetrievalChain`
### Motivation
The point of this change is to enable QA based chains (e.g. ConversationalRetrievalChain) to easily do inline citations, and surface the citations as part of metadata fields
### Your contribution
TBD
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11673/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11673/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11672
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11672/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11672/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11672/events
|
https://github.com/langchain-ai/langchain/pull/11672
| 1,938,562,828 |
PR_kwDOIPDwls5cjso7
| 11,672 |
Track ChatFireworks time to first_token
|
{
"login": "efriis",
"id": 9557659,
"node_id": "MDQ6VXNlcjk1NTc2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9557659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efriis",
"html_url": "https://github.com/efriis",
"followers_url": "https://api.github.com/users/efriis/followers",
"following_url": "https://api.github.com/users/efriis/following{/other_user}",
"gists_url": "https://api.github.com/users/efriis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/efriis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/efriis/subscriptions",
"organizations_url": "https://api.github.com/users/efriis/orgs",
"repos_url": "https://api.github.com/users/efriis/repos",
"events_url": "https://api.github.com/users/efriis/events{/privacy}",
"received_events_url": "https://api.github.com/users/efriis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T19:22:51 | 2023-10-11T20:37:05 | 2023-10-11T20:37:04 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11672/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11672/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11672",
"html_url": "https://github.com/langchain-ai/langchain/pull/11672",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11672.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11672.patch",
"merged_at": "2023-10-11T20:37:04"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11671
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11671/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11671/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11671/events
|
https://github.com/langchain-ai/langchain/issues/11671
| 1,938,552,713 |
I_kwDOIPDwls5zi_eJ
| 11,671 |
DELETE
|
{
"login": "timxieICN",
"id": 112183115,
"node_id": "U_kgDOBq_HSw",
"avatar_url": "https://avatars.githubusercontent.com/u/112183115?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timxieICN",
"html_url": "https://github.com/timxieICN",
"followers_url": "https://api.github.com/users/timxieICN/followers",
"following_url": "https://api.github.com/users/timxieICN/following{/other_user}",
"gists_url": "https://api.github.com/users/timxieICN/gists{/gist_id}",
"starred_url": "https://api.github.com/users/timxieICN/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timxieICN/subscriptions",
"organizations_url": "https://api.github.com/users/timxieICN/orgs",
"repos_url": "https://api.github.com/users/timxieICN/repos",
"events_url": "https://api.github.com/users/timxieICN/events{/privacy}",
"received_events_url": "https://api.github.com/users/timxieICN/received_events",
"type": "User",
"site_admin": false
}
|
[] |
closed
| false | null |
[] | null | 0 | 2023-10-11T19:16:40 | 2023-10-24T01:07:38 | 2023-10-11T19:23:02 |
NONE
| null |
### Issue you'd like to raise.
Similar to the discussion in this thread https://github.com/langchain-ai/langchain/issues/7239, I would like to have a way to show inline citations in QA tasks.
Specially, I haven't had a whole lot of success integrating `create_citation_fuzzy_match_chain` with `ConversationalRetrievalChain`
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11671/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11671/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11670
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11670/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11670/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11670/events
|
https://github.com/langchain-ai/langchain/pull/11670
| 1,938,378,938 |
PR_kwDOIPDwls5cjD6l
| 11,670 |
Fix output types for BaseChatModel
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T17:51:43 | 2023-10-11T20:02:04 | 2023-10-11T20:02:03 |
COLLABORATOR
| null |
* Should use non chunked messages for Invoke/Batch
* After this PR, stream output type is not represented, do we want to use the union?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11670/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11670/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11670",
"html_url": "https://github.com/langchain-ai/langchain/pull/11670",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11670.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11670.patch",
"merged_at": "2023-10-11T20:02:03"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11669
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11669/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11669/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11669/events
|
https://github.com/langchain-ai/langchain/pull/11669
| 1,938,262,191 |
PR_kwDOIPDwls5cips3
| 11,669 |
added trafilatura to webbaseloader
|
{
"login": "abrehmaaan",
"id": 51506279,
"node_id": "MDQ6VXNlcjUxNTA2Mjc5",
"avatar_url": "https://avatars.githubusercontent.com/u/51506279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abrehmaaan",
"html_url": "https://github.com/abrehmaaan",
"followers_url": "https://api.github.com/users/abrehmaaan/followers",
"following_url": "https://api.github.com/users/abrehmaaan/following{/other_user}",
"gists_url": "https://api.github.com/users/abrehmaaan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/abrehmaaan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abrehmaaan/subscriptions",
"organizations_url": "https://api.github.com/users/abrehmaaan/orgs",
"repos_url": "https://api.github.com/users/abrehmaaan/repos",
"events_url": "https://api.github.com/users/abrehmaaan/events{/privacy}",
"received_events_url": "https://api.github.com/users/abrehmaaan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2023-10-11T16:54:32 | 2023-10-19T14:40:40 | 2023-10-19T14:40:39 |
NONE
| null |
- **Description:** The WebBaseLoader has some problems when it came to handling page content properly. These issues ranged from unwanted or missing spaces, to unwanted characters like dots, multiple newlines, and even the addition of header, footer, ads, and other unwanted data in the page content. It was a roadblock that needed a solution. I made changes to extract the page_content using another python package named as trafilatura, which handles all the issues I described earlier. The BeautifulSoup package is still used for metadata extraction, just the text part is extracted using trafilatura.,
- **Dependencies:** trafilatura,
- **Tag maintainer:** @baskaryan , @eyurtsev , @hwchase17 ,
- **Twitter handle:** abrehmaaan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11669/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11669/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11669",
"html_url": "https://github.com/langchain-ai/langchain/pull/11669",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11669.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11669.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11668
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11668/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11668/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11668/events
|
https://github.com/langchain-ai/langchain/issues/11668
| 1,938,174,193 |
I_kwDOIPDwls5zhjDx
| 11,668 |
Add async streaming for Bedrock
|
{
"login": "PiotrPmr",
"id": 113363598,
"node_id": "U_kgDOBsHKjg",
"avatar_url": "https://avatars.githubusercontent.com/u/113363598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PiotrPmr",
"html_url": "https://github.com/PiotrPmr",
"followers_url": "https://api.github.com/users/PiotrPmr/followers",
"following_url": "https://api.github.com/users/PiotrPmr/following{/other_user}",
"gists_url": "https://api.github.com/users/PiotrPmr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PiotrPmr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PiotrPmr/subscriptions",
"organizations_url": "https://api.github.com/users/PiotrPmr/orgs",
"repos_url": "https://api.github.com/users/PiotrPmr/repos",
"events_url": "https://api.github.com/users/PiotrPmr/events{/privacy}",
"received_events_url": "https://api.github.com/users/PiotrPmr/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-11T16:06:06 | 2023-10-19T21:08:09 | null |
NONE
| null |
### Feature request
Currently, the Bedrock `chat_model` does not support async streaming, which is odd, as the previous [PR](https://github.com/langchain-ai/langchain/pull/10393/files#diff-9874347f7fa335df661ff4089b0922b3214e08a92e9879610424522f806358f7R62) included it; seems that the async method was not added properly.
### Motivation
Without async streaming you cannot pretty much build chatbot infra.
### Your contribution
Not sure, possibly just copying-pasting what was [here](https://github.com/langchain-ai/langchain/pull/10393/files#diff-9874347f7fa335df661ff4089b0922b3214e08a92e9879610424522f806358f7R62) already?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11668/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11668/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11667
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11667/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11667/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11667/events
|
https://github.com/langchain-ai/langchain/pull/11667
| 1,938,126,088 |
PR_kwDOIPDwls5ciLxy
| 11,667 |
Fix typo in baidu_qianfan_endpoint.ipynb
|
{
"login": "eltociear",
"id": 22633385,
"node_id": "MDQ6VXNlcjIyNjMzMzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/22633385?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eltociear",
"html_url": "https://github.com/eltociear",
"followers_url": "https://api.github.com/users/eltociear/followers",
"following_url": "https://api.github.com/users/eltociear/following{/other_user}",
"gists_url": "https://api.github.com/users/eltociear/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eltociear/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eltociear/subscriptions",
"organizations_url": "https://api.github.com/users/eltociear/orgs",
"repos_url": "https://api.github.com/users/eltociear/repos",
"events_url": "https://api.github.com/users/eltociear/events{/privacy}",
"received_events_url": "https://api.github.com/users/eltociear/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T15:40:24 | 2023-10-11T20:01:19 | 2023-10-11T20:01:19 |
CONTRIBUTOR
| null |
enviroment -> environment
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11667/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11667/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11667",
"html_url": "https://github.com/langchain-ai/langchain/pull/11667",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11667.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11667.patch",
"merged_at": "2023-10-11T20:01:18"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11666
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11666/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11666/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11666/events
|
https://github.com/langchain-ai/langchain/issues/11666
| 1,938,100,043 |
I_kwDOIPDwls5zhQ9L
| 11,666 |
ConversationalRetrievalChain Vectorstore cannot apply filter to a key with given multiple values
|
{
"login": "muge-birlik",
"id": 95641412,
"node_id": "U_kgDOBbNfRA",
"avatar_url": "https://avatars.githubusercontent.com/u/95641412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muge-birlik",
"html_url": "https://github.com/muge-birlik",
"followers_url": "https://api.github.com/users/muge-birlik/followers",
"following_url": "https://api.github.com/users/muge-birlik/following{/other_user}",
"gists_url": "https://api.github.com/users/muge-birlik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/muge-birlik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/muge-birlik/subscriptions",
"organizations_url": "https://api.github.com/users/muge-birlik/orgs",
"repos_url": "https://api.github.com/users/muge-birlik/repos",
"events_url": "https://api.github.com/users/muge-birlik/events{/privacy}",
"received_events_url": "https://api.github.com/users/muge-birlik/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false | null |
[] | null | 4 | 2023-10-11T15:29:24 | 2023-10-13T14:34:38 | null |
NONE
| null |
### System Info
on Ubuntu with Python 3.11.5, Langchain 0.0.307
### Who can help?
@hwchase17
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
What my code basically does is returns an answer to a given question using conversational retrieval chain with a qdrant vectorstore that stores publications. I want the chain to use only the documents published in specified years.
1. Create vectorstore
qdrant_client = QdrantClient(QDRANT_HOST, port=int(QDRANT_PORT))
retriever = Qdrant(client=qdrant_client, collection_name=QDRANT_COLLECTION, embeddings=get_encoder(ENCODER))
2. Create chain:
rag_chain = ConversationalRetrievalChain.from_llm(llm=llm,
retriever = retriever.as_retriever(search_kwargs={"filter": {"year": ["2009","2010"]}),
return_source_documents=return_source_documents,
verbose=verbose)
3. When I run the chain it retrieves no documents even though it should.
### Expected behavior
The chain should return documents related to a given question. When I checked the implementation of qdrant.py under langchain vectorstores I saw that _qdrant_filter_from_dict function makes a "must" match; however in my case I need a "should" match since no document can have more than one publication date.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11666/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11666/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11665
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11665/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11665/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11665/events
|
https://github.com/langchain-ai/langchain/issues/11665
| 1,937,873,604 |
I_kwDOIPDwls5zgZrE
| 11,665 |
`Chroma.from_documents` adds docs to same collection creating duplicates
|
{
"login": "mattbit",
"id": 1101742,
"node_id": "MDQ6VXNlcjExMDE3NDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1101742?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mattbit",
"html_url": "https://github.com/mattbit",
"followers_url": "https://api.github.com/users/mattbit/followers",
"following_url": "https://api.github.com/users/mattbit/following{/other_user}",
"gists_url": "https://api.github.com/users/mattbit/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mattbit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattbit/subscriptions",
"organizations_url": "https://api.github.com/users/mattbit/orgs",
"repos_url": "https://api.github.com/users/mattbit/repos",
"events_url": "https://api.github.com/users/mattbit/events{/privacy}",
"received_events_url": "https://api.github.com/users/mattbit/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5924999838,
"node_id": "LA_kwDOIPDwls8AAAABYShSng",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma",
"name": "integration: chroma",
"color": "B78AF8",
"default": false,
"description": "Related to ChromaDB"
}
] |
closed
| false | null |
[] | null | 5 | 2023-10-11T14:05:47 | 2023-10-11T20:53:10 | 2023-10-11T20:52:06 |
NONE
| null |
### System Info
langchain==0.0.306
chromadb==0.4.13
Python 3.11.5
### Who can help?
@hwchase17 @atroyn
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
from langchain.vectorstores import Chroma
from langchain.docstore.document import Document
from langchain.embeddings import GPT4AllEmbeddings
docs = [
Document(page_content="This is a demo document"),
Document(page_content="This is another demo document"),
]
other_docs = [
Document(page_content="Unrelated document"),
Document(page_content="Another unrelated document"),
]
# Create two (independent) vector stores
vectorstore = Chroma.from_documents(documents=docs, embedding=GPT4AllEmbeddings())
other_vectorstore = Chroma.from_documents(documents=other_docs, embedding=GPT4AllEmbeddings())
# Expect two stores to be independent
assert len(vectorstore.similarity_search("document", k=999)) == len(docs) # OK
assert len(other_vectorstore.similarity_search("document", k=999)) == len(other_docs) # FAILS
# Documents from the first vector store are actually retrieved in the `other_vectorstore`
print(other_vectorstore.similarity_search("document"))
# Actually the two vector stores contain the union of `docs` and `other_docs`
assert len(vectorstore.get()["documents"]) == 2 # FAILS
assert len(other_vectorstore.get()["documents"]) == 2 # FAILS
```
### Expected behavior
When I initialize two separate Chroma in-memory vectorstores with `Chroma.from_documents` using two distinct groups of documents, the vector store that was initialized last will contain the union of the two groups of documents.
In summary, running this code:
```python
vectorstore = Chroma.from_documents(documents=documents, …)
other_vectorstore = Chroma.from_documents(documents=other_documents, …)
```
the `other_vectorstore` will contain both `documents` and `other_documents`.
---
It seems that the two vectorstores are sharing the same chroma client & collection.
This could be a side effect of commit https://github.com/langchain-ai/langchain/commit/822cdb161b6631d8255e341f3321d8f0b9e28e8a which made the `chromadb.Client` shared among all instances of the `Chroma` class.
One can avoid the bug by explicitly passing two different `collection_name` values when initializing the vector store, but I thought this would have been the default behaviour (or at least I expected a warning telling that the new vectorstore was reusing an existing collection).
Moreover, it is not clear to me why the first vector store will return the documents it was initialized with if I use `vectorstore.similarity_search(…)`, but shows the union of all documents if I use `vectorstore.get()`.
If you confirm what is the intended behaviour I am available to to work a PR to fix this.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11665/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11665/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11664
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11664/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11664/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11664/events
|
https://github.com/langchain-ai/langchain/pull/11664
| 1,937,818,328 |
PR_kwDOIPDwls5chGM1
| 11,664 |
lakeFS Document loader
|
{
"login": "Jonathan-Rosenberg",
"id": 96974219,
"node_id": "U_kgDOBce1iw",
"avatar_url": "https://avatars.githubusercontent.com/u/96974219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jonathan-Rosenberg",
"html_url": "https://github.com/Jonathan-Rosenberg",
"followers_url": "https://api.github.com/users/Jonathan-Rosenberg/followers",
"following_url": "https://api.github.com/users/Jonathan-Rosenberg/following{/other_user}",
"gists_url": "https://api.github.com/users/Jonathan-Rosenberg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jonathan-Rosenberg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jonathan-Rosenberg/subscriptions",
"organizations_url": "https://api.github.com/users/Jonathan-Rosenberg/orgs",
"repos_url": "https://api.github.com/users/Jonathan-Rosenberg/repos",
"events_url": "https://api.github.com/users/Jonathan-Rosenberg/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jonathan-Rosenberg/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 3 | 2023-10-11T13:42:41 | 2023-10-29T20:56:27 | 2023-10-29T20:56:27 |
CONTRIBUTOR
| null |
## Description
This PR adds support for a lakeFS document loader.
[lakeFS](https://lakefs.io/) provides version control over the data lake, and uses Git-like semantics to create and access those versions.
---
@hwchase17,
- **Twitter handle:** JonLaRose
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11664/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11664/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11664",
"html_url": "https://github.com/langchain-ai/langchain/pull/11664",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11664.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11664.patch",
"merged_at": "2023-10-29T20:56:27"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11663
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11663/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11663/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11663/events
|
https://github.com/langchain-ai/langchain/pull/11663
| 1,937,797,118 |
PR_kwDOIPDwls5chBdm
| 11,663 |
Fix typos
|
{
"login": "JohnnyDeuss",
"id": 6266815,
"node_id": "MDQ6VXNlcjYyNjY4MTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6266815?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JohnnyDeuss",
"html_url": "https://github.com/JohnnyDeuss",
"followers_url": "https://api.github.com/users/JohnnyDeuss/followers",
"following_url": "https://api.github.com/users/JohnnyDeuss/following{/other_user}",
"gists_url": "https://api.github.com/users/JohnnyDeuss/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JohnnyDeuss/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JohnnyDeuss/subscriptions",
"organizations_url": "https://api.github.com/users/JohnnyDeuss/orgs",
"repos_url": "https://api.github.com/users/JohnnyDeuss/repos",
"events_url": "https://api.github.com/users/JohnnyDeuss/events{/privacy}",
"received_events_url": "https://api.github.com/users/JohnnyDeuss/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2023-10-11T13:34:14 | 2023-10-12T15:44:17 | 2023-10-12T15:44:03 |
CONTRIBUTOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11663/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11663/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11663",
"html_url": "https://github.com/langchain-ai/langchain/pull/11663",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11663.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11663.patch",
"merged_at": "2023-10-12T15:44:03"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11662
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11662/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11662/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11662/events
|
https://github.com/langchain-ai/langchain/pull/11662
| 1,937,782,954 |
PR_kwDOIPDwls5cg-XZ
| 11,662 |
Add patch_config(configurable=) arg, make with_config(configurable=) merge it with existing
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T13:27:23 | 2023-10-11T13:45:33 | 2023-10-11T13:45:32 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11662/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11662",
"html_url": "https://github.com/langchain-ai/langchain/pull/11662",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11662.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11662.patch",
"merged_at": "2023-10-11T13:45:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11661
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11661/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11661/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11661/events
|
https://github.com/langchain-ai/langchain/issues/11661
| 1,937,769,538 |
I_kwDOIPDwls5zgARC
| 11,661 |
db = FAISS.from_documents(docs, embeddings) ;how to get docs's index or content from db?
|
{
"login": "lonngxiang",
"id": 40717349,
"node_id": "MDQ6VXNlcjQwNzE3MzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/40717349?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lonngxiang",
"html_url": "https://github.com/lonngxiang",
"followers_url": "https://api.github.com/users/lonngxiang/followers",
"following_url": "https://api.github.com/users/lonngxiang/following{/other_user}",
"gists_url": "https://api.github.com/users/lonngxiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lonngxiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lonngxiang/subscriptions",
"organizations_url": "https://api.github.com/users/lonngxiang/orgs",
"repos_url": "https://api.github.com/users/lonngxiang/repos",
"events_url": "https://api.github.com/users/lonngxiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/lonngxiang/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 6 | 2023-10-11T13:20:45 | 2023-10-11T14:46:52 | 2023-10-11T14:31:53 |
NONE
| null |
### System Info
0.0.3
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
https://api.python.langchain.com/en/latest/vectorstores/langchain.vectorstores.faiss.FAISS.html
### Expected behavior
get concrete docs's index or content
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11661/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11661/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11660
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11660/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11660/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11660/events
|
https://github.com/langchain-ai/langchain/pull/11660
| 1,937,699,950 |
PR_kwDOIPDwls5cgrzU
| 11,660 |
#11655 Add SQLAlchemyMd5Cache implementation
|
{
"login": "markowanga",
"id": 12802461,
"node_id": "MDQ6VXNlcjEyODAyNDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/12802461?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/markowanga",
"html_url": "https://github.com/markowanga",
"followers_url": "https://api.github.com/users/markowanga/followers",
"following_url": "https://api.github.com/users/markowanga/following{/other_user}",
"gists_url": "https://api.github.com/users/markowanga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/markowanga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/markowanga/subscriptions",
"organizations_url": "https://api.github.com/users/markowanga/orgs",
"repos_url": "https://api.github.com/users/markowanga/repos",
"events_url": "https://api.github.com/users/markowanga/events{/privacy}",
"received_events_url": "https://api.github.com/users/markowanga/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-11T12:51:37 | 2023-10-11T22:28:15 | 2023-10-11T22:28:09 |
CONTRIBUTOR
| null |
- **Description:** Add SQLAlchemyMd5Cache implementation,
- **Issue:** the issue # #11655,
- **Dependencies:** no deps,
- **Tag maintainer:** @markowanga
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11660/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11660",
"html_url": "https://github.com/langchain-ai/langchain/pull/11660",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11660.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11660.patch",
"merged_at": "2023-10-11T22:28:09"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11658
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11658/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11658/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11658/events
|
https://github.com/langchain-ai/langchain/pull/11658
| 1,937,570,231 |
PR_kwDOIPDwls5cgQrT
| 11,658 |
Qa with anonymization
|
{
"login": "maks-operlejn-ds",
"id": 142261444,
"node_id": "U_kgDOCHq8xA",
"avatar_url": "https://avatars.githubusercontent.com/u/142261444?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maks-operlejn-ds",
"html_url": "https://github.com/maks-operlejn-ds",
"followers_url": "https://api.github.com/users/maks-operlejn-ds/followers",
"following_url": "https://api.github.com/users/maks-operlejn-ds/following{/other_user}",
"gists_url": "https://api.github.com/users/maks-operlejn-ds/gists{/gist_id}",
"starred_url": "https://api.github.com/users/maks-operlejn-ds/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maks-operlejn-ds/subscriptions",
"organizations_url": "https://api.github.com/users/maks-operlejn-ds/orgs",
"repos_url": "https://api.github.com/users/maks-operlejn-ds/repos",
"events_url": "https://api.github.com/users/maks-operlejn-ds/events{/privacy}",
"received_events_url": "https://api.github.com/users/maks-operlejn-ds/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T11:44:04 | 2023-10-11T22:38:09 | 2023-10-11T22:38:08 |
CONTRIBUTOR
| null |
Added demo for QA system with anonymization. It will be part of LangChain's privacy webinar.
@hwchase17 @baskaryan @nfcampos
Twitter handle: @MaksOpp
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11658/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11658",
"html_url": "https://github.com/langchain-ai/langchain/pull/11658",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11658.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11658.patch",
"merged_at": "2023-10-11T22:38:08"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11657
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11657/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11657/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11657/events
|
https://github.com/langchain-ai/langchain/issues/11657
| 1,937,562,333 |
I_kwDOIPDwls5zfNrd
| 11,657 |
Chat model answering incorrectly and weirdly
|
{
"login": "yazanrisheh",
"id": 99576727,
"node_id": "U_kgDOBe9rlw",
"avatar_url": "https://avatars.githubusercontent.com/u/99576727?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yazanrisheh",
"html_url": "https://github.com/yazanrisheh",
"followers_url": "https://api.github.com/users/yazanrisheh/followers",
"following_url": "https://api.github.com/users/yazanrisheh/following{/other_user}",
"gists_url": "https://api.github.com/users/yazanrisheh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yazanrisheh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yazanrisheh/subscriptions",
"organizations_url": "https://api.github.com/users/yazanrisheh/orgs",
"repos_url": "https://api.github.com/users/yazanrisheh/repos",
"events_url": "https://api.github.com/users/yazanrisheh/events{/privacy}",
"received_events_url": "https://api.github.com/users/yazanrisheh/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-11T11:39:43 | 2023-10-12T09:38:26 | null |
NONE
| null |



I am using the ConversationalRetrievalChain along with DirectoryLoader from LangChain to load PDF files only and answer questions based on the different files in the directory along with returning the source of the answer from the document it got it from. As shown in the 2 pictures, in the first picture I asked it to answer in 1 single sentence but it kept answering and answering then repeated the answer. In the second picture, it rewrote the question again and then answered along with repeating the answers. In the 3rd picture, it answered a question thats not in any of the files in the Directory and it then shows the error of exceeding the rate limit.
I'd like help on how can I make it "listen" to me and how do I fix the rate limit error? I am using OpenAI embeddings for my Q&A chatbot. Does anyone recommend other embeddings that are not OpenAI which I could use for this use case? I plan on later moving my embeddings to the cloud and deploy it.
Thanks in advance
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11657/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11657/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11656
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11656/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11656/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11656/events
|
https://github.com/langchain-ai/langchain/issues/11656
| 1,937,545,931 |
I_kwDOIPDwls5zfJrL
| 11,656 |
Prompt invalid with ConversationalRetrievalChain
|
{
"login": "yazanrisheh",
"id": 99576727,
"node_id": "U_kgDOBe9rlw",
"avatar_url": "https://avatars.githubusercontent.com/u/99576727?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yazanrisheh",
"html_url": "https://github.com/yazanrisheh",
"followers_url": "https://api.github.com/users/yazanrisheh/followers",
"following_url": "https://api.github.com/users/yazanrisheh/following{/other_user}",
"gists_url": "https://api.github.com/users/yazanrisheh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yazanrisheh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yazanrisheh/subscriptions",
"organizations_url": "https://api.github.com/users/yazanrisheh/orgs",
"repos_url": "https://api.github.com/users/yazanrisheh/repos",
"events_url": "https://api.github.com/users/yazanrisheh/events{/privacy}",
"received_events_url": "https://api.github.com/users/yazanrisheh/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5924999838,
"node_id": "LA_kwDOIPDwls8AAAABYShSng",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma",
"name": "integration: chroma",
"color": "B78AF8",
"default": false,
"description": "Related to ChromaDB"
}
] |
open
| false | null |
[] | null | 5 | 2023-10-11T11:29:12 | 2023-11-29T17:42:20 | null |
NONE
| null |
I am trying to use a prompt with my chain but I am getting an error which I'm not sure how to solve. Also, I was wondering is it possible to use a constitutional principle to apply it to the ConversationalRetrievalChain? If so, can someone guide me on how to do so? Sorry for beginner questions but I am new to all of this including coding. Thanks in advance!
Code:
from dotenv import load_dotenv
import csv
import PyPDF2
from PyPDF2 import PdfReader
from langchain.document_loaders import DirectoryLoader, PyPDFLoader
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.callbacks import get_openai_callback
from langchain.chat_models import ChatOpenAI
from langchain.chains import ConversationalRetrievalChain
from langchain.memory import ConversationBufferMemory
from langchain.prompts import PromptTemplate
import time
from langchain.chains.qa_with_sources import load_qa_with_sources_chain
from langchain.vectorstores import Chroma
from langchain.callbacks import StreamingStdOutCallbackHandler
import pandas as pd
from docx import Document
from nltk.tokenize import sent_tokenize, word_tokenize
from collections import Counter
from nltk.corpus import stopwords
import os
def print_letter_by_letter(text):
for char in text:
print(char, end='', flush=True)
time.sleep(0.02)
def main():
load_dotenv()
# directory_path = input("Copy your directory path here or upload a file: ")
directory_path = "C:\\Users\\Asus\\OneDrive\\Documents\\Vendolista"
pdf_loader = DirectoryLoader(directory_path,
glob="**/*.pdf",
show_progress=True,
use_multithreading=True,
silent_errors=True,
loader_cls = PyPDFLoader)
documents = pdf_loader.load()
print(str(len(documents))+ " documents loaded")
llm = ChatOpenAI(temperature = 0, model_name='gpt-3.5-turbo', callbacks=[StreamingStdOutCallbackHandler()], streaming = True)
# Split into chunks
text_splitter = RecursiveCharacterTextSplitter(
chunk_size=1000,
chunk_overlap=200,
)
chunks = text_splitter.split_documents(documents)
embeddings = OpenAIEmbeddings()
persist_directory = "C:\\Users\\Asus\\OneDrive\\Documents\\Vendolista"
knowledge_base = Chroma.from_documents(chunks, embeddings, persist_directory = persist_directory)
#save to disk
knowledge_base.persist()
#To delete the DB we created at first so that we can be sure that we will load from disk as fresh db
knowledge_base = None
new_knowledge_base = Chroma(persist_directory = persist_directory, embedding_function = embeddings)
custom_template = ("""
Help the users with answering questions based on the document.
"""
)
# prompt = PromptTemplate(input_variables=[], template=custom_template)
prompt = PromptTemplate.from_template(custom_template)
memory = ConversationBufferMemory(memory_key = "chat_history", return_messages = True)
model = ConversationalRetrievalChain.from_llm(llm = llm,
chain_type = "refine",
retriever = new_knowledge_base.as_retriever(),
memory = memory,
combine_docs_chain_kwargs = {"prompt":prompt}
)
while True:
question = input("Ask me anything about the files (type 'exit' to quit): ")
if question.lower() in ["exit"] and len(question) == 4:
end_chat = "Thank you for visiting us! Have a nice day"
print_letter_by_letter(end_chat)
break
if question:
chat_history = []
# with get_openai_callback() as cb:
response = model({"question": question}, return_only_outputs = True)
chat_history.append(('user', question))
chat_history.append(('AI', response))
print("AI:", response)
if __name__ == '__main__':
main()
Error:
86 documents loaded
Traceback (most recent call last):
File "C:\Users\Asus\Documents\Vendolista\app.py", line 100, in <module>
main()
File "C:\Users\Asus\Documents\Vendolista\app.py", line 73, in main
model = ConversationalRetrievalChain.from_llm(llm = llm,
File "C:\Users\Asus\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\chains\conversational_retrieval\base.py", line 341, in from_llm
doc_chain = load_qa_chain(
File "C:\Users\Asus\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\chains\question_answering\__init__.py", line 249, in load_qa_chain
return loader_mapping[chain_type](
File "C:\Users\Asus\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\chains\question_answering\__init__.py", line 206, in _load_refine_chain
return RefineDocumentsChain(
File "C:\Users\Asus\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\load\serializable.py", line 97, in __init__
super().__init__(**kwargs)
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for RefineDocumentsChain
prompt
extra fields not permitted (type=value_error.extra)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11656/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11656/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11655
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11655/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11655/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11655/events
|
https://github.com/langchain-ai/langchain/issues/11655
| 1,937,471,577 |
I_kwDOIPDwls5ze3hZ
| 11,655 |
Using hash for indexing prompts SQLAlchemyCache
|
{
"login": "markowanga",
"id": 12802461,
"node_id": "MDQ6VXNlcjEyODAyNDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/12802461?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/markowanga",
"html_url": "https://github.com/markowanga",
"followers_url": "https://api.github.com/users/markowanga/followers",
"following_url": "https://api.github.com/users/markowanga/following{/other_user}",
"gists_url": "https://api.github.com/users/markowanga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/markowanga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/markowanga/subscriptions",
"organizations_url": "https://api.github.com/users/markowanga/orgs",
"repos_url": "https://api.github.com/users/markowanga/repos",
"events_url": "https://api.github.com/users/markowanga/events{/privacy}",
"received_events_url": "https://api.github.com/users/markowanga/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 3 | 2023-10-11T10:56:25 | 2023-10-23T05:39:08 | 2023-10-23T05:39:07 |
CONTRIBUTOR
| null |
### Feature request
I want to make similar implementation of SQLAlchemyCache that can index prompts by md5 hash.
### Motivation
Postgres have limitation for 2704 bytes on index. Processing on simple index can be faster.
### Your contribution
I have prepared cache implementation – I will add it in contributing PR
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11655/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11654
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11654/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11654/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11654/events
|
https://github.com/langchain-ai/langchain/issues/11654
| 1,937,424,892 |
I_kwDOIPDwls5zesH8
| 11,654 |
Issue: Inability to serialize langchain modules such as conversational retrieval chain, SQL database
|
{
"login": "JoAmps",
"id": 64706945,
"node_id": "MDQ6VXNlcjY0NzA2OTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/64706945?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoAmps",
"html_url": "https://github.com/JoAmps",
"followers_url": "https://api.github.com/users/JoAmps/followers",
"following_url": "https://api.github.com/users/JoAmps/following{/other_user}",
"gists_url": "https://api.github.com/users/JoAmps/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JoAmps/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JoAmps/subscriptions",
"organizations_url": "https://api.github.com/users/JoAmps/orgs",
"repos_url": "https://api.github.com/users/JoAmps/repos",
"events_url": "https://api.github.com/users/JoAmps/events{/privacy}",
"received_events_url": "https://api.github.com/users/JoAmps/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-11T10:35:10 | 2023-10-11T11:07:58 | null |
NONE
| null |
### Issue you'd like to raise.
In creating an app, ideally, you would like to let's say
db = SQLDatabase.from_uri(DATABASE_URI)
in one endpoint, and use the db in other endpoints,
The second endpoint could be what users get access to, so in getting responses, it should be quick, hence only accessing the already loaded db
but I cannot serialize db from the first endpoint, hence i have to include
db = SQLDatabase.from_uri(DATABASE_URI)
in the user endpoint, meaning anytime they hit the endpoint, db is run which delays significantly, and doesn't make for a good user experience, how do I solve this issue
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11654/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11654/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11653
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11653/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11653/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11653/events
|
https://github.com/langchain-ai/langchain/issues/11653
| 1,937,406,691 |
I_kwDOIPDwls5zenrj
| 11,653 |
Hallucinations, ignoring data in vector store and returning all documents as sources
|
{
"login": "pedrotheplumber",
"id": 141760050,
"node_id": "U_kgDOCHMWMg",
"avatar_url": "https://avatars.githubusercontent.com/u/141760050?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pedrotheplumber",
"html_url": "https://github.com/pedrotheplumber",
"followers_url": "https://api.github.com/users/pedrotheplumber/followers",
"following_url": "https://api.github.com/users/pedrotheplumber/following{/other_user}",
"gists_url": "https://api.github.com/users/pedrotheplumber/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pedrotheplumber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pedrotheplumber/subscriptions",
"organizations_url": "https://api.github.com/users/pedrotheplumber/orgs",
"repos_url": "https://api.github.com/users/pedrotheplumber/repos",
"events_url": "https://api.github.com/users/pedrotheplumber/events{/privacy}",
"received_events_url": "https://api.github.com/users/pedrotheplumber/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5932474361,
"node_id": "LA_kwDOIPDwls8AAAABYZpf-Q",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20pinecone",
"name": "integration: pinecone",
"color": "BC53BE",
"default": false,
"description": "Related to Pinecone vector store integration"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-11T10:27:20 | 2023-10-11T10:37:38 | null |
NONE
| null |
### System Info
IDE==PyCharm
Python==3.11.4
langchain==0.0.306
pinecone-client==2.2.2
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [X] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
The following function in my code with **ConversationalRetrievalChain** runs perfectly. It responds to the question "Hello" appropriately. It answers the questions related to the data in the vector_store:
```python
def get_conversation_chain(vector_store):
llm = ChatOpenAI()
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
conversation_chain = ConversationalRetrievalChain.from_llm(
llm=llm,
retriever=vector_store.as_retriever(),
memory=memory
)
return conversation_chain
```
When the chain is changed to **RetrievalQAWithSourcesChain** with new arguments then the bot responds to the user prompt "hello" with statements about Michael Jackson. It also does not answer questions to data that is contained within the vector store:
```python
def get_conversation_chain(vector_store):
llm = ChatOpenAI()
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True, output_key="answer")
conversation_chain = RetrievalQAWithSourcesChain.from_chain_type(
llm=llm,
chain_type="stuff",
retriever=vector_store.as_retriever(),
# return_source_documents=True,
memory=memory
)
return conversation_chain
```
Everything else in my code remains the same when switching between the 2 functions. The issue only arises when I use the RetrievalQAWithSourcesChain function above. Also when the return_source_documents=True argument is active, it returns all documents within vector_store instead of only the documents being referenced in the answer.
### Expected behavior
I would expect that the answers from the RetrievalQAWithSourcesChain are the same as with ConversationalRetrievalChain:
- responds appropriately to the user prompt "hello"
- provides an answer referencing data that is contained within the vector_store
- plus returning relevant document sources related to answer.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11653/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11653/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11652
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11652/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11652/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11652/events
|
https://github.com/langchain-ai/langchain/pull/11652
| 1,937,331,454 |
PR_kwDOIPDwls5cfbvr
| 11,652 |
Update models.py
|
{
"login": "naveentnj",
"id": 57190478,
"node_id": "MDQ6VXNlcjU3MTkwNDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/57190478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/naveentnj",
"html_url": "https://github.com/naveentnj",
"followers_url": "https://api.github.com/users/naveentnj/followers",
"following_url": "https://api.github.com/users/naveentnj/following{/other_user}",
"gists_url": "https://api.github.com/users/naveentnj/gists{/gist_id}",
"starred_url": "https://api.github.com/users/naveentnj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/naveentnj/subscriptions",
"organizations_url": "https://api.github.com/users/naveentnj/orgs",
"repos_url": "https://api.github.com/users/naveentnj/repos",
"events_url": "https://api.github.com/users/naveentnj/events{/privacy}",
"received_events_url": "https://api.github.com/users/naveentnj/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-11T09:43:45 | 2023-10-11T09:43:58 | null |
CONTRIBUTOR
| null |
Updated comments for better understanding of the search mechanism.
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11652/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11652/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11652",
"html_url": "https://github.com/langchain-ai/langchain/pull/11652",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11652.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11652.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11651
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11651/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11651/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11651/events
|
https://github.com/langchain-ai/langchain/issues/11651
| 1,937,320,086 |
I_kwDOIPDwls5zeSiW
| 11,651 |
DOC: HuggingFaceEmbeddings vs. HuggingFaceHubEmbeddings
|
{
"login": "maximotus",
"id": 76868881,
"node_id": "MDQ6VXNlcjc2ODY4ODgx",
"avatar_url": "https://avatars.githubusercontent.com/u/76868881?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maximotus",
"html_url": "https://github.com/maximotus",
"followers_url": "https://api.github.com/users/maximotus/followers",
"following_url": "https://api.github.com/users/maximotus/following{/other_user}",
"gists_url": "https://api.github.com/users/maximotus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/maximotus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maximotus/subscriptions",
"organizations_url": "https://api.github.com/users/maximotus/orgs",
"repos_url": "https://api.github.com/users/maximotus/repos",
"events_url": "https://api.github.com/users/maximotus/events{/privacy}",
"received_events_url": "https://api.github.com/users/maximotus/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
open
| false | null |
[] | null | 3 | 2023-10-11T09:37:15 | 2023-10-11T12:53:35 | null |
NONE
| null |
### Issue with current documentation:
Hello folks,
I am not quite sure if my issue is an issue regarding the docs or rather the implementation.
### What is the differnece between HuggingFaceEmbeddings and HuggingFaceHubEmbeddings?
Currently in [v0.0.312](https://github.com/langchain-ai/langchain/releases/tag/v0.0.312), there are two pretty similar modules in the `langchain` package, namely `libs/langchain/langchain/embeddings/huggingface.py` and `libs/langchain/langchain/embeddings/huggingface_hub.py` (compare https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/embeddings/huggingface.py and https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/embeddings/huggingface_hub.py).
Moreover, these modules provide pretty similar classes: `HuggingFaceEmbeddings` and `HuggingFaceHubEmbeddings`.
When should I use which one? This question arises as a consequence of the described example below.
### Relevant Example
Considering the task of using a LLM with additional documents, you could consider the following code:
```
from langchain.llms.huggingface_hub import HuggingFaceHub
from langchain.prompts import PromptTemplate
from langchain.vectorstores.faiss import FAISS
from langchain.chains import LLMChain
from langchain.embeddings import HuggingFaceHubEmbeddings, HuggingFaceEmbeddings
from langchain.text_splitter import RecursiveCharacterTextSplitter
model = HuggingFaceHub(repo_id=llm, model_kwargs={"temperature": 0.2, "max_length": 64, "raw_response": True}, huggingfacehub_api_token=HUGGINGFACEHUB_API_KEY)
prompt = PromptTemplate(input_variables=["question", "docs"],
template="""
Answer the following question: {question}
By searching the following documents: {docs}
If you feel like you don't have enough information to answer the question, say "I don't know".
Your answers should be verbose and detailed.
""")
chain = LLMChain(llm=model, prompt=prompt)
docs = "bla bli blub ..."
text_splitter = RecursiveCharacterTextSplitter(
chunk_size=5,
chunk_overlap=0
)
documents = text_splitter.split_text(document)
# A)
embeddings = HuggingFaceEmbeddings()
# B) alternatively
# embeddings = HuggingFaceHubEmbeddings(huggingfacehub_api_token=self.huggingfacehub_api_key)
self.documents_db = FAISS.from_texts(documents, embeddings)
docs = self.documents_db.similarity_search(prompt, k=4)
docs_page_content = " ".join([d.page_content for d in docs])
response = self.llm_chain.run(question=prompt, docs=docs_page_content)
response = response.replace("\n", "")
```
### Observed Behaviour
#### A)
Everything seems to work reliable and smooth without any errors or unexpected outputs.
#### B)
I did not conduct a study, but in my empirical testings I could observe the following.
Sometimes it works like A) and everything seems to work smooth and reliable,
However, sometimes (approximately 50% of the time i am running this script), I am getting one of the following two different errors:
##### KeyError
```
You're using a different task than the one specified in the repository. Be sure to know what you're doing :)
Traceback (most recent call last):
File "/qa_docs.py", line 59, in <module>
qa.add_document_to_context(document)
File "/qa.py", line 79, in add_document_to_context
self.documents_db = FAISS.from_texts(documents, embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/langchain/vectorstores/faiss.py", line 603, in from_texts
return cls.__from(
^^^^^^^^^^^
File "/lib/python3.11/site-packages/langchain/vectorstores/faiss.py", line 562, in __from
index = faiss.IndexFlatL2(len(embeddings[0]))
~~~~~~~~~~^^^
KeyError: 0
```
##### ChunkedEncodingError
```
You're using a different task than the one specified in the repository. Be sure to know what you're doing :)
Traceback (most recent call last):
File "/lib/python3.11/site-packages/urllib3/response.py", line 710, in _error_catcher
yield
File "/lib/python3.11/site-packages/urllib3/response.py", line 1073, in read_chunked
self._update_chunk_length()
File "/lib/python3.11/site-packages/urllib3/response.py", line 1008, in _update_chunk_length
raise InvalidChunkLength(self, line) from None
urllib3.exceptions.InvalidChunkLength: InvalidChunkLength(got length b'', 0 bytes read)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/lib/python3.11/site-packages/requests/models.py", line 816, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "/lib/python3.11/site-packages/urllib3/response.py", line 933, in stream
yield from self.read_chunked(amt, decode_content=decode_content)
File "/lib/python3.11/site-packages/urllib3/response.py", line 1061, in read_chunked
with self._error_catcher():
File "/lib/python3.11/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "/lib/python3.11/site-packages/urllib3/response.py", line 727, in _error_catcher
raise ProtocolError(f"Connection broken: {e!r}", e) from e
urllib3.exceptions.ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "qa_docs.py", line 59, in <module>
qa.add_document_to_context(document)
File "qa.py", line 79, in add_document_to_context
self.documents_db = FAISS.from_texts(documents, embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/langchain/vectorstores/faiss.py", line 602, in from_texts
embeddings = embedding.embed_documents(texts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/langchain/embeddings/huggingface_hub.py", line 90, in embed_documents
responses = self.client(inputs=texts, params=_model_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/huggingface_hub/inference_api.py", line 190, in __call__
response = get_session().post(self.api_url, headers=self.headers, json=payload, data=data)
File "/lib/python3.11/site-packages/requests/sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/requests/sessions.py", line 747, in send
r.content
File "/lib/python3.11/site-packages/requests/models.py", line 899, in content
self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/requests/models.py", line 818, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
```
### Remarks about the documents
Important note: the value of param `documents` is calculated by another script and is not fixed. It is a textual inference of another model. I already thought about that being the cause of the errors I encounter in some script executions but I have no idea how this could be. I can assure that there is always at least 100 characters that are being the value of `documents`.
However, I think that this problem already may be answered if I fully understand the differences between the two classes `HuggingFaceHubEmbeddings` and `HuggingFaceEmbeddings`.
### Related langchain documentation
- https://python.langchain.com/docs/integrations/vectorstores/faiss
- https://python.langchain.com/docs/integrations/providers/huggingface
- https://python.langchain.com/docs/integrations/llms/huggingface_hub.html
- https://python.langchain.com/docs/integrations/text_embedding/huggingfacehub.html
If there is more information needed, feel free to ask. I am looking forward for every help I can get!
### Idea or request for content:
When to use HuggingFaceEmbeddings vs. when to use HuggingFaceHubEmbeddings.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11651/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11650
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11650/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11650/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11650/events
|
https://github.com/langchain-ai/langchain/issues/11650
| 1,937,199,873 |
I_kwDOIPDwls5zd1MB
| 11,650 |
ConversationalRetrievalChain + Memory ( New issue for me)
|
{
"login": "jimstechwork",
"id": 109333969,
"node_id": "U_kgDOBoRN0Q",
"avatar_url": "https://avatars.githubusercontent.com/u/109333969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jimstechwork",
"html_url": "https://github.com/jimstechwork",
"followers_url": "https://api.github.com/users/jimstechwork/followers",
"following_url": "https://api.github.com/users/jimstechwork/following{/other_user}",
"gists_url": "https://api.github.com/users/jimstechwork/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jimstechwork/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jimstechwork/subscriptions",
"organizations_url": "https://api.github.com/users/jimstechwork/orgs",
"repos_url": "https://api.github.com/users/jimstechwork/repos",
"events_url": "https://api.github.com/users/jimstechwork/events{/privacy}",
"received_events_url": "https://api.github.com/users/jimstechwork/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 8 | 2023-10-11T08:41:59 | 2023-10-27T05:33:48 | null |
NONE
| null |
### Issue you'd like to raise.
I've tried building a Bot and now I see the following issue.
Architecture:
1. Cloud Run service 1 ; Streamlit app which accepts the user_input (question) on the topic and sends it to Flask API part of service 2.
2. Cloud Run service 2: Flask code which calls the LLM code and returns the response to streamlit.
I'm using qa as below.
qa = ConversationalRetrievalChain.from_llm(
llm,
retriever,
condense_question_prompt=CONDENSE_QUESTION_PROMPT,
verbose=False,
memory=memory,
condense_question_llm =llm,
return_generated_question= True,
combine_docs_chain_kwargs={"prompt": promptHist},
return_source_documents=True,
)
Issue: If different Users are asking questions through various streamlit sessions, it is using the same chat_history buffer and mixing responses.
Question: Is there a way to separate the "qa" sessions specific to User and avoid common memory/chat buffer being used ? Is there a utility in Langchain for this?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11650/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11649
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11649/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11649/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11649/events
|
https://github.com/langchain-ai/langchain/issues/11649
| 1,937,072,756 |
I_kwDOIPDwls5zdWJ0
| 11,649 |
GPT4All Model Serializable.__init__ Error
|
{
"login": "ceasarXuu",
"id": 50387804,
"node_id": "MDQ6VXNlcjUwMzg3ODA0",
"avatar_url": "https://avatars.githubusercontent.com/u/50387804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ceasarXuu",
"html_url": "https://github.com/ceasarXuu",
"followers_url": "https://api.github.com/users/ceasarXuu/followers",
"following_url": "https://api.github.com/users/ceasarXuu/following{/other_user}",
"gists_url": "https://api.github.com/users/ceasarXuu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ceasarXuu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ceasarXuu/subscriptions",
"organizations_url": "https://api.github.com/users/ceasarXuu/orgs",
"repos_url": "https://api.github.com/users/ceasarXuu/repos",
"events_url": "https://api.github.com/users/ceasarXuu/events{/privacy}",
"received_events_url": "https://api.github.com/users/ceasarXuu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T07:41:44 | 2023-10-11T07:53:52 | 2023-10-11T07:53:52 |
NONE
| null |
### System Info
Langchain version : 0.0.312
python version: 3.11.4
conda env platform: osx-arm64 / x86
system : macos M1 13.2.1 (22D68)
### Who can help?
@hwchase17 @agola11
### Information
- [x] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
template = """Question: {question}
Answer: Let's think step by step."""
prompt = PromptTemplate(template=template, input_variables=["question"])
local_path = ("/Users/langchain-usecase/04-gpt4all/llama-2-7b-chat.ggmlv3.q4_0.bin")
# Callbacks support token-wise streaming
callbacks = [StreamingStdOutCallbackHandler()]
# Verbose is required to pass to the callback manager
llm = GPT4All(model=local_path, callbacks=callbacks, verbose=True)
llm_chain = LLMChain(prompt=prompt, llm=llm)
question = "What NFL team won the Super Bowl in the year Justin Bieber was born?"
llm_chain.run(question)
```
bash output
``` bash
Traceback (most recent call last):
File "/Users/mac/EasyGithub/test/gpt4all.py", line 45, in <module>
llm = GPT4All(model=local_path, callbacks=callbacks, verbose=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/miniforge3/envs/langchain/lib/python3.11/site-packages/langchain/load/serializable.py", line 97, in __init__
super().__init__(**kwargs)
File "/Users/mac/miniforge3/envs/langchain/lib/python3.11/site-packages/pydantic/v1/main.py", line 341, in __init__
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for GPT4All
__root__ -> __root__
Serializable.__init__() takes 1 positional argument but 2 were given (type=type_error)
```
### Expected behavior
The same code runs on my other M2 MacMini and generates a reply. I don't know what caused the error.

M2 MacMini env info:
python==3.11.4
langchain==0.0.312
conda env platform: osx-arm64
macos==13.4.1
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11649/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11648
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11648/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11648/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11648/events
|
https://github.com/langchain-ai/langchain/issues/11648
| 1,936,992,404 |
I_kwDOIPDwls5zdCiU
| 11,648 |
ValueError: "Minimax" object has no field "_client"
|
{
"login": "zirenlegend",
"id": 94090626,
"node_id": "U_kgDOBZu1gg",
"avatar_url": "https://avatars.githubusercontent.com/u/94090626?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zirenlegend",
"html_url": "https://github.com/zirenlegend",
"followers_url": "https://api.github.com/users/zirenlegend/followers",
"following_url": "https://api.github.com/users/zirenlegend/following{/other_user}",
"gists_url": "https://api.github.com/users/zirenlegend/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zirenlegend/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zirenlegend/subscriptions",
"organizations_url": "https://api.github.com/users/zirenlegend/orgs",
"repos_url": "https://api.github.com/users/zirenlegend/repos",
"events_url": "https://api.github.com/users/zirenlegend/events{/privacy}",
"received_events_url": "https://api.github.com/users/zirenlegend/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-11T06:52:49 | 2023-10-11T07:02:08 | null |
NONE
| null |
### System Info
langchain=0.0.312
### code:
from langchain.llms import Minimax
minimax = Minimax(minimax_api_key=minimax_api_key, minimax_group_id=minimax_group_id)
print(minimax("What is the difference between panda and bear?"))
### or:
from langchain.chat_models import MiniMaxChat
from langchain.schema import HumanMessage
chat = MiniMaxChat()
res = chat(
[
HumanMessage(
content="Translate this sentence from English to French. I love programming."
)
]
)
print(res)
### error log:
File "E:\AI\Projects\AIProject\AIApiTest\langchain_minimax.py", line 43, in <module>
llm = Minimax()
File "D:\anaconda3\envs\ai\lib\site-packages\langchain\llms\minimax.py", line 113, in __init__
self._client = _MinimaxEndpointClient(
File "pydantic\main.py", line 357, in pydantic.main.BaseModel.__setattr__
ValueError: "Minimax" object has no field "_client"
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
### code:
from langchain.llms import Minimax
minimax = Minimax(minimax_api_key=minimax_api_key, minimax_group_id=minimax_group_id)
print(minimax("What is the difference between panda and bear?"))
### or:
from langchain.chat_models import MiniMaxChat
from langchain.schema import HumanMessage
chat = MiniMaxChat()
res = chat(
[
HumanMessage(
content="Translate this sentence from English to French. I love programming."
)
]
)
print(res)
### Expected behavior
Fix this bug
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11648/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11648/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11647
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11647/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11647/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11647/events
|
https://github.com/langchain-ai/langchain/pull/11647
| 1,936,833,064 |
PR_kwDOIPDwls5cdtua
| 11,647 |
make tools conditional
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T04:59:12 | 2023-10-11T05:11:07 | 2023-10-11T05:11:06 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11647/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11647",
"html_url": "https://github.com/langchain-ai/langchain/pull/11647",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11647.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11647.patch",
"merged_at": "2023-10-11T05:11:06"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11646
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11646/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11646/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11646/events
|
https://github.com/langchain-ai/langchain/pull/11646
| 1,936,832,821 |
PR_kwDOIPDwls5cdtq8
| 11,646 |
make utils conditional
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T04:58:52 | 2023-10-11T05:11:33 | 2023-10-11T05:11:32 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11646/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11646",
"html_url": "https://github.com/langchain-ai/langchain/pull/11646",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11646.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11646.patch",
"merged_at": "2023-10-11T05:11:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11645
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11645/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11645/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11645/events
|
https://github.com/langchain-ai/langchain/issues/11645
| 1,936,721,958 |
I_kwDOIPDwls5zcAgm
| 11,645 |
FAISS similarity search with score
|
{
"login": "lmz0506",
"id": 42560553,
"node_id": "MDQ6VXNlcjQyNTYwNTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/42560553?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lmz0506",
"html_url": "https://github.com/lmz0506",
"followers_url": "https://api.github.com/users/lmz0506/followers",
"following_url": "https://api.github.com/users/lmz0506/following{/other_user}",
"gists_url": "https://api.github.com/users/lmz0506/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lmz0506/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lmz0506/subscriptions",
"organizations_url": "https://api.github.com/users/lmz0506/orgs",
"repos_url": "https://api.github.com/users/lmz0506/repos",
"events_url": "https://api.github.com/users/lmz0506/events{/privacy}",
"received_events_url": "https://api.github.com/users/lmz0506/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-11T03:21:59 | 2023-10-11T03:29:47 | null |
NONE
| null |
### System Info
langchain==0.0.311
python==3.9
I am trying to find out the similarity search score. but I got the score is abnormal. I hope the score is between 0 and 1.

### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
from torch import cuda
from langchain.embeddings.huggingface import HuggingFaceEmbeddings
from langchain.vectorstores import (FAISS, Chroma)
from langchain.document_loaders import CSVLoader
embed_model_id = 'E:/modelscope/model/hggingface/text2vec-large-chinese'
device = f'cuda:{cuda.current_device()}' if cuda.is_available() else 'cpu'
embedding = HuggingFaceEmbeddings(
model_name=embed_model_id,
model_kwargs={'device': device},
encode_kwargs={'device': device, 'batch_size': 8}
)
def save_faiss_index(file_path: str = './label_remark_openai.csv', encoding: str = 'utf-8',
index_name: str = 'label_remark_openai_index',
save_path: str = "E:/pythonProject/information_demo/faiss_data"):
document = CSVLoader(file_path=file_path, encoding=encoding).load()
FAISS.normalize_L2 = True
db = FAISS.from_documents(documents=document, embedding=embedding, normalize_L2=True)
db.save_local(index_name=index_name, folder_path=save_path)
def get_faiss_index(index_name: str = 'label_remark_openai_index',
folder_path: str = "E:/pythonProject/information_demo/faiss_data"):
local_db = FAISS.load_local(index_name=index_name, embeddings=embedding, folder_path=folder_path, normalize_L2=True)
return local_db
if __name__ == '__main__':
index = get_faiss_index()
docs_and_scores = index.similarity_search_with_score("query text", k=10)
for doc, score in docs_and_scores:
print(f"Content: {doc.page_content}, Metadata: {doc.metadata}, Score: {score}")
```
### Expected behavior
I hope the score is between 0 and 1.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11645/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11644
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11644/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11644/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11644/events
|
https://github.com/langchain-ai/langchain/issues/11644
| 1,936,650,375 |
I_kwDOIPDwls5zbvCH
| 11,644 |
ArxivLoader always returns 1 document
|
{
"login": "azazel92",
"id": 48623540,
"node_id": "MDQ6VXNlcjQ4NjIzNTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/48623540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/azazel92",
"html_url": "https://github.com/azazel92",
"followers_url": "https://api.github.com/users/azazel92/followers",
"following_url": "https://api.github.com/users/azazel92/following{/other_user}",
"gists_url": "https://api.github.com/users/azazel92/gists{/gist_id}",
"starred_url": "https://api.github.com/users/azazel92/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/azazel92/subscriptions",
"organizations_url": "https://api.github.com/users/azazel92/orgs",
"repos_url": "https://api.github.com/users/azazel92/repos",
"events_url": "https://api.github.com/users/azazel92/events{/privacy}",
"received_events_url": "https://api.github.com/users/azazel92/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 5 | 2023-10-11T02:24:01 | 2023-10-14T04:35:52 | 2023-10-14T04:35:52 |
NONE
| null |
### System Info
Python version - Python 3
Langchain version - I am not completely sure, but I think 0.0.196
### Who can help?
@eyurtsev - can you help with the above issue as I see you look after DataLoader Abstractions?
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Code I wrote:
!pip install arxiv
!pip install pymupdf
from langchain.document_loaders import ArxivLoader
docs = ArxivLoader(query="2303.10130", load_max_docs=5, load_all_available_meta='FALSE').load()
### Expected behavior
Problem:
The problem is that I expected 'docs' variable to have at least 5 pages (as the article has 20+ pages) given i have passed the parameter load_max_docs = 5, but it only has 1. I tried with different numbers as well, but to no avail.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11644/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11644/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11640
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11640/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11640/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11640/events
|
https://github.com/langchain-ai/langchain/pull/11640
| 1,936,572,606 |
PR_kwDOIPDwls5ccz3T
| 11,640 |
docstrings cleanup
|
{
"login": "leo-gan",
"id": 2256422,
"node_id": "MDQ6VXNlcjIyNTY0MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2256422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-gan",
"html_url": "https://github.com/leo-gan",
"followers_url": "https://api.github.com/users/leo-gan/followers",
"following_url": "https://api.github.com/users/leo-gan/following{/other_user}",
"gists_url": "https://api.github.com/users/leo-gan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leo-gan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo-gan/subscriptions",
"organizations_url": "https://api.github.com/users/leo-gan/orgs",
"repos_url": "https://api.github.com/users/leo-gan/repos",
"events_url": "https://api.github.com/users/leo-gan/events{/privacy}",
"received_events_url": "https://api.github.com/users/leo-gan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T01:05:41 | 2023-10-11T03:15:09 | 2023-10-11T02:56:47 |
COLLABORATOR
| null |
Added missed docstrings. Some reformatting.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11640/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11640/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11640",
"html_url": "https://github.com/langchain-ai/langchain/pull/11640",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11640.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11640.patch",
"merged_at": "2023-10-11T02:56:47"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11639
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11639/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11639/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11639/events
|
https://github.com/langchain-ai/langchain/pull/11639
| 1,936,531,331 |
PR_kwDOIPDwls5ccq3_
| 11,639 |
collapse sidebar peer items
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T00:34:38 | 2023-10-11T02:56:23 | 2023-10-11T02:56:22 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11639/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11639/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11639",
"html_url": "https://github.com/langchain-ai/langchain/pull/11639",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11639.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11639.patch",
"merged_at": "2023-10-11T02:56:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11638
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11638/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11638/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11638/events
|
https://github.com/langchain-ai/langchain/pull/11638
| 1,936,527,305 |
PR_kwDOIPDwls5ccqBI
| 11,638 |
start cookbook
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-11T00:32:02 | 2023-10-11T00:37:24 | 2023-10-11T00:37:23 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11638/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11638/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11638",
"html_url": "https://github.com/langchain-ai/langchain/pull/11638",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11638.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11638.patch",
"merged_at": "2023-10-11T00:37:23"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11637
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11637/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11637/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11637/events
|
https://github.com/langchain-ai/langchain/issues/11637
| 1,936,494,704 |
I_kwDOIPDwls5zbJBw
| 11,637 |
create_csv_agent cannot read files hosted on Vercel blob
|
{
"login": "sahanxdissanayake",
"id": 100333536,
"node_id": "U_kgDOBfr34A",
"avatar_url": "https://avatars.githubusercontent.com/u/100333536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sahanxdissanayake",
"html_url": "https://github.com/sahanxdissanayake",
"followers_url": "https://api.github.com/users/sahanxdissanayake/followers",
"following_url": "https://api.github.com/users/sahanxdissanayake/following{/other_user}",
"gists_url": "https://api.github.com/users/sahanxdissanayake/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sahanxdissanayake/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sahanxdissanayake/subscriptions",
"organizations_url": "https://api.github.com/users/sahanxdissanayake/orgs",
"repos_url": "https://api.github.com/users/sahanxdissanayake/repos",
"events_url": "https://api.github.com/users/sahanxdissanayake/events{/privacy}",
"received_events_url": "https://api.github.com/users/sahanxdissanayake/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-10-11T00:00:18 | 2023-10-11T03:26:55 | 2023-10-11T03:26:55 |
NONE
| null |
### System Info
Flask==3.0.0
Flask-Cors==4.0.0
langchain==0.0.312
openai==0.28.1
pandas==2.1.1
tabulate==0.9.0
numpy==1.26.0
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```python
agent = create_csv_agent(
ChatOpenAI(temperature=0, model="gpt-4", openai_api_key=api_key, verbose=True),
["https://loyp2qzippf1q4hd.public.blob.vercel-storage.com/Mock%20Data%20_%20Dumping%20Costs%20-%20Dumping%20Cost-SIU4feVnqtCwoYg2g5Rgy9K5ejfKx0.csv"],
verbose=True,
agent_type=AgentType.OPENAI_FUNCTIONS,
return_intermediate_steps=True,
agent_executor_kwargs={"handle_parsing_errors": True},
)
```
### Expected behavior
The CSV file should be loaded accordingly
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11637/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11636
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11636/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11636/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11636/events
|
https://github.com/langchain-ai/langchain/pull/11636
| 1,936,451,269 |
PR_kwDOIPDwls5ccZzp
| 11,636 |
Start cookbook and move stuff from use cases
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T23:18:22 | 2023-10-11T19:27:14 | 2023-10-11T19:27:14 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11636/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11636/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11636",
"html_url": "https://github.com/langchain-ai/langchain/pull/11636",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11636.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11636.patch",
"merged_at": "2023-10-11T19:27:13"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11635
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11635/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11635/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11635/events
|
https://github.com/langchain-ai/langchain/issues/11635
| 1,936,432,030 |
I_kwDOIPDwls5za5ue
| 11,635 |
How to debug vercel failures?
|
{
"login": "sudranga",
"id": 12044110,
"node_id": "MDQ6VXNlcjEyMDQ0MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/12044110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sudranga",
"html_url": "https://github.com/sudranga",
"followers_url": "https://api.github.com/users/sudranga/followers",
"following_url": "https://api.github.com/users/sudranga/following{/other_user}",
"gists_url": "https://api.github.com/users/sudranga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sudranga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sudranga/subscriptions",
"organizations_url": "https://api.github.com/users/sudranga/orgs",
"repos_url": "https://api.github.com/users/sudranga/repos",
"events_url": "https://api.github.com/users/sudranga/events{/privacy}",
"received_events_url": "https://api.github.com/users/sudranga/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
closed
| false | null |
[] | null | 5 | 2023-10-10T23:10:20 | 2023-10-12T01:31:50 | 2023-10-12T01:31:50 |
CONTRIBUTOR
| null |
### Issue you'd like to raise.
I submitted a PR. Vercel 'deployment' failed. There is no other info. I dont seem to have access for this PR on vercel. How do i debug this?
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11635/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11633
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11633/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11633/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11633/events
|
https://github.com/langchain-ai/langchain/pull/11633
| 1,936,416,962 |
PR_kwDOIPDwls5ccTMK
| 11,633 |
Add MMR functionality to elasticsearch retriever
|
{
"login": "sudranga",
"id": 12044110,
"node_id": "MDQ6VXNlcjEyMDQ0MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/12044110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sudranga",
"html_url": "https://github.com/sudranga",
"followers_url": "https://api.github.com/users/sudranga/followers",
"following_url": "https://api.github.com/users/sudranga/following{/other_user}",
"gists_url": "https://api.github.com/users/sudranga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sudranga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sudranga/subscriptions",
"organizations_url": "https://api.github.com/users/sudranga/orgs",
"repos_url": "https://api.github.com/users/sudranga/repos",
"events_url": "https://api.github.com/users/sudranga/events{/privacy}",
"received_events_url": "https://api.github.com/users/sudranga/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5510857403,
"node_id": "LA_kwDOIPDwls8AAAABSHkCuw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/needs%20documentation",
"name": "needs documentation",
"color": "DCAAC0",
"default": false,
"description": "PR needs to be updated with documentation"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 5 | 2023-10-10T22:57:50 | 2023-10-12T15:42:33 | 2023-10-12T15:42:33 |
CONTRIBUTOR
| null |
Allows MMR functionality only for the case where we have access to the embedding function. Also allows for users to request for fields from elasticsearch store. These are added to the document metadata.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11633/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11633",
"html_url": "https://github.com/langchain-ai/langchain/pull/11633",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11633.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11633.patch",
"merged_at": "2023-10-12T15:42:33"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11632
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11632/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11632/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11632/events
|
https://github.com/langchain-ai/langchain/pull/11632
| 1,936,399,448 |
PR_kwDOIPDwls5ccPGs
| 11,632 |
Add Support for Azure Cosmos DB MongoDB vCore Vector Store #11627
|
{
"login": "izzymsft",
"id": 37992436,
"node_id": "MDQ6VXNlcjM3OTkyNDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/37992436?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/izzymsft",
"html_url": "https://github.com/izzymsft",
"followers_url": "https://api.github.com/users/izzymsft/followers",
"following_url": "https://api.github.com/users/izzymsft/following{/other_user}",
"gists_url": "https://api.github.com/users/izzymsft/gists{/gist_id}",
"starred_url": "https://api.github.com/users/izzymsft/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/izzymsft/subscriptions",
"organizations_url": "https://api.github.com/users/izzymsft/orgs",
"repos_url": "https://api.github.com/users/izzymsft/repos",
"events_url": "https://api.github.com/users/izzymsft/events{/privacy}",
"received_events_url": "https://api.github.com/users/izzymsft/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 3 | 2023-10-10T22:49:07 | 2023-10-11T20:56:46 | 2023-10-11T20:56:46 |
CONTRIBUTOR
| null |
This PR adds support for the Azure Cosmos DB MongoDB vCore Vector Store
https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/
https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/vector-search
Summary:
- **Description:** added vector store integration for Azure Cosmos DB MongoDB vCore Vector Store,
- **Issue:** the issue # it fixes #11627,
- **Dependencies:** pymongo dependency,
- **Tag maintainer:** @hwchase17,
- **Twitter handle:** @izzyacademy
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11632/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11632",
"html_url": "https://github.com/langchain-ai/langchain/pull/11632",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11632.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11632.patch",
"merged_at": "2023-10-11T20:56:46"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11631
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11631/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11631/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11631/events
|
https://github.com/langchain-ai/langchain/issues/11631
| 1,936,362,500 |
I_kwDOIPDwls5zaowE
| 11,631 |
feat: implement ChatPromptTemplate.save
|
{
"login": "mjspeck",
"id": 20689127,
"node_id": "MDQ6VXNlcjIwNjg5MTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/20689127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mjspeck",
"html_url": "https://github.com/mjspeck",
"followers_url": "https://api.github.com/users/mjspeck/followers",
"following_url": "https://api.github.com/users/mjspeck/following{/other_user}",
"gists_url": "https://api.github.com/users/mjspeck/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mjspeck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mjspeck/subscriptions",
"organizations_url": "https://api.github.com/users/mjspeck/orgs",
"repos_url": "https://api.github.com/users/mjspeck/repos",
"events_url": "https://api.github.com/users/mjspeck/events{/privacy}",
"received_events_url": "https://api.github.com/users/mjspeck/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-10T22:20:50 | 2023-10-11T05:28:21 | null |
NONE
| null |
### Feature request
Currently, the `save` method for `ChatPromptTemplate` is not implemented, preventing developers from saving templates as files.
### Motivation
This is a core feature that should be supported by all templates.
### Your contribution
If I have time I can make a PR.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11631/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11630
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11630/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11630/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11630/events
|
https://github.com/langchain-ai/langchain/pull/11630
| 1,936,350,610 |
PR_kwDOIPDwls5ccEHq
| 11,630 |
Use `chunk_size` in openai embeddings
|
{
"login": "kpister",
"id": 4607361,
"node_id": "MDQ6VXNlcjQ2MDczNjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4607361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kpister",
"html_url": "https://github.com/kpister",
"followers_url": "https://api.github.com/users/kpister/followers",
"following_url": "https://api.github.com/users/kpister/following{/other_user}",
"gists_url": "https://api.github.com/users/kpister/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kpister/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kpister/subscriptions",
"organizations_url": "https://api.github.com/users/kpister/orgs",
"repos_url": "https://api.github.com/users/kpister/repos",
"events_url": "https://api.github.com/users/kpister/events{/privacy}",
"received_events_url": "https://api.github.com/users/kpister/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-10T22:08:15 | 2023-10-11T03:26:28 | null |
NONE
| null |
Currently the `embed_documents` (and async version) ignore the `chunk_size` param.
Update passes it along to the relevant function.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11630/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11630",
"html_url": "https://github.com/langchain-ai/langchain/pull/11630",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11630.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11630.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11629
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11629/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11629/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11629/events
|
https://github.com/langchain-ai/langchain/issues/11629
| 1,936,346,884 |
I_kwDOIPDwls5zak8E
| 11,629 |
Issue as a result of Chroma.from_documents, OpenAI and AWS API Gateway
|
{
"login": "infernokodiak",
"id": 254689,
"node_id": "MDQ6VXNlcjI1NDY4OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/254689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/infernokodiak",
"html_url": "https://github.com/infernokodiak",
"followers_url": "https://api.github.com/users/infernokodiak/followers",
"following_url": "https://api.github.com/users/infernokodiak/following{/other_user}",
"gists_url": "https://api.github.com/users/infernokodiak/gists{/gist_id}",
"starred_url": "https://api.github.com/users/infernokodiak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/infernokodiak/subscriptions",
"organizations_url": "https://api.github.com/users/infernokodiak/orgs",
"repos_url": "https://api.github.com/users/infernokodiak/repos",
"events_url": "https://api.github.com/users/infernokodiak/events{/privacy}",
"received_events_url": "https://api.github.com/users/infernokodiak/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5924999838,
"node_id": "LA_kwDOIPDwls8AAAABYShSng",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma",
"name": "integration: chroma",
"color": "B78AF8",
"default": false,
"description": "Related to ChromaDB"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-10T22:04:33 | 2023-10-10T22:10:45 | null |
NONE
| null |
### System Info
langchain version: 0.0.268
python version: 3.11
MacOS: Ventura 13.6
### Who can help?
@agola11
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Using a Chroma vector store's from_documents method through an AWS API Gateway. The response size appears to be greater than 6MB. Is there a way to send a request whos response becomes smaller than 6MB?
Retrying langchain.embeddings.openai.embed_with_retry.<locals>._embed_with_retry in 10.0 seconds as it raised APIError: HTTP code 501 from API (Response size larger than Lambda 6MB Limit).
Traceback (most recent call last):
File "/Users/john_ramos/mckinsey-git/policy-y/.venv/lib/python3.11/site-packages/openai/api_requestor.py", line 753, in _interpret_response_line
data = json.loads(rbody)
^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
### Expected behavior
Embeddings are stored in the data store after the response comes back through API gateway.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11629/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11628
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11628/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11628/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11628/events
|
https://github.com/langchain-ai/langchain/pull/11628
| 1,936,281,113 |
PR_kwDOIPDwls5cb0WC
| 11,628 |
Fixed the assignment of custom_llm_provider argument
|
{
"login": "thundersaiyan",
"id": 39567014,
"node_id": "MDQ6VXNlcjM5NTY3MDE0",
"avatar_url": "https://avatars.githubusercontent.com/u/39567014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thundersaiyan",
"html_url": "https://github.com/thundersaiyan",
"followers_url": "https://api.github.com/users/thundersaiyan/followers",
"following_url": "https://api.github.com/users/thundersaiyan/following{/other_user}",
"gists_url": "https://api.github.com/users/thundersaiyan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thundersaiyan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thundersaiyan/subscriptions",
"organizations_url": "https://api.github.com/users/thundersaiyan/orgs",
"repos_url": "https://api.github.com/users/thundersaiyan/repos",
"events_url": "https://api.github.com/users/thundersaiyan/events{/privacy}",
"received_events_url": "https://api.github.com/users/thundersaiyan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-10T21:22:19 | 2023-10-11T03:29:25 | 2023-10-11T03:29:25 |
CONTRIBUTOR
| null |
- **Description:** Assigning the custom_llm_provider to the default params function so that it will be passed to the litellm
- **Issue:** Even though the custom_llm_provider argument is being defined it's not being assigned anywhere in the code and hence its not being passed to litellm, therefore any litellm call which uses the custom_llm_provider as required parameter is being failed. This parameter is mainly used by litellm when we are doing inference via Custom API server. https://docs.litellm.ai/docs/providers/custom_openai_proxy
- **Dependencies:** No dependencies are required
@krrishdholakia , @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11628/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11628",
"html_url": "https://github.com/langchain-ai/langchain/pull/11628",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11628.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11628.patch",
"merged_at": "2023-10-11T03:29:25"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11627
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11627/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11627/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11627/events
|
https://github.com/langchain-ai/langchain/issues/11627
| 1,936,230,465 |
I_kwDOIPDwls5zaIhB
| 11,627 |
Add AzureCosmosDBVectorSearch VectorStore
|
{
"login": "izzymsft",
"id": 37992436,
"node_id": "MDQ6VXNlcjM3OTkyNDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/37992436?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/izzymsft",
"html_url": "https://github.com/izzymsft",
"followers_url": "https://api.github.com/users/izzymsft/followers",
"following_url": "https://api.github.com/users/izzymsft/following{/other_user}",
"gists_url": "https://api.github.com/users/izzymsft/gists{/gist_id}",
"starred_url": "https://api.github.com/users/izzymsft/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/izzymsft/subscriptions",
"organizations_url": "https://api.github.com/users/izzymsft/orgs",
"repos_url": "https://api.github.com/users/izzymsft/repos",
"events_url": "https://api.github.com/users/izzymsft/events{/privacy}",
"received_events_url": "https://api.github.com/users/izzymsft/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T20:55:53 | 2023-10-11T20:56:47 | 2023-10-11T20:56:47 |
CONTRIBUTOR
| null |
### Feature request
### Feature request
Azure Cosmos DB for MongoDB vCore enables users to efficiently store, index, and query high dimensional vector data stored directly in Azure Cosmos DB for MongoDB vCore. It contains similarity measures such as COS (cosine distance), L2 (Euclidean distance) or IP (inner product) which measures the distance between the data vectors and your query vector. The data vectors that are closest to your query vector are the ones that are found to be most similar semantically and retrieved during query time. The accompanying PR would add support for Langchain Python users to store vectors from document embeddings generated from APIs such as Azure OpenAI Embeddings or Hugging Face on Azure.
[Azure Cosmos DB for MongoDB vCore](https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/vector-search)
### Motivation
This capability described in the feature request is currently not available for Langchain Python.
### Your contribution
I will be submitting a PR for this feature request.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11627/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11627/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11626
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11626/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11626/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11626/events
|
https://github.com/langchain-ai/langchain/issues/11626
| 1,936,153,248 |
I_kwDOIPDwls5zZ1qg
| 11,626 |
How to integrate Langchain's Human Tool into Streamlit
|
{
"login": "sharifamlani",
"id": 53711469,
"node_id": "MDQ6VXNlcjUzNzExNDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/53711469?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sharifamlani",
"html_url": "https://github.com/sharifamlani",
"followers_url": "https://api.github.com/users/sharifamlani/followers",
"following_url": "https://api.github.com/users/sharifamlani/following{/other_user}",
"gists_url": "https://api.github.com/users/sharifamlani/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sharifamlani/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sharifamlani/subscriptions",
"organizations_url": "https://api.github.com/users/sharifamlani/orgs",
"repos_url": "https://api.github.com/users/sharifamlani/repos",
"events_url": "https://api.github.com/users/sharifamlani/events{/privacy}",
"received_events_url": "https://api.github.com/users/sharifamlani/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 3 | 2023-10-10T20:26:57 | 2024-01-10T13:58:57 | null |
NONE
| null |
### System Info
I'm using Langchain's Human Tool as part of my application. However, I am having difficulty integrating it into streamlit.
I'm mainly trying to change the input_func argument in the function:
`Human_Tool =load_tools(["human"], lm=llm, input_func=get_input)`
I've tried many different approaches but have not had success yet.
**I want to ask what might be a `get_input` function for langchains' Human Tool that integrates successfully with streamlit.**
### Who can help?
@hwchase17
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Here are some of the things I've tried:
```
import streamlit as st
def get_input() -> str:
st.write("Insert your text below.")
# Updated this line to include a label and hide it using label_visibility
user_input = st.text_area(label="Your Text", value="", height=100, key=None, help=None, on_change=None, args=None, kwargs=None, label_visibility="hidden")
submit_button = st.button("Submit")
if submit_button:
return user_input.strip() # This will return the text entered by the user
if not submit_button:
with st.empty():
for remaining in range(3600, 0, -1):
st.write(f"You have {remaining//60} minutes and {remaining%60} seconds to enter the text.")
time.sleep(1)
st.empty()
return "" # Returning empty if no input after an hour or not submitted
```
The code above opens a streamlit box that and accepts the user's input but it does not pass the users input to the agent.
import streamlit as st
import uuid
def get_input() -> str:
unique_key = str(uuid.uuid4())
user_input = st.text_area(
"Insert your text below:",
key=f"uniqueTextAreaKey_{unique_key}",
value="",
height=200,
)
if st.button("Submit", key=f"uniqueButtonKey_{unique_key}"):
if user_input: # check if user input is not empty
st.session_state['user_input'] = user_input
st.session_state['submitted'] = True
st.success("Input submitted successfully!")
return user_input.strip()
elif 'submitted' in st.session_state and st.session_state['submitted']:
st.success("Input already submitted.")
return st.session_state['user_input'].strip()
else:
st.warning("Please enter text and press submit.")
return ""
This code also opens up a streamlit text box but gets stuck in an infinite loop.
### Expected behavior
I want the human tool to integrate with streamlit.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11626/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11625
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11625/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11625/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11625/events
|
https://github.com/langchain-ai/langchain/issues/11625
| 1,936,149,678 |
I_kwDOIPDwls5zZ0yu
| 11,625 |
similaritySearchWithScore and similaritySearch method signatures are identical in javascript
|
{
"login": "Surf-N-Code",
"id": 984145,
"node_id": "MDQ6VXNlcjk4NDE0NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/984145?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Surf-N-Code",
"html_url": "https://github.com/Surf-N-Code",
"followers_url": "https://api.github.com/users/Surf-N-Code/followers",
"following_url": "https://api.github.com/users/Surf-N-Code/following{/other_user}",
"gists_url": "https://api.github.com/users/Surf-N-Code/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Surf-N-Code/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Surf-N-Code/subscriptions",
"organizations_url": "https://api.github.com/users/Surf-N-Code/orgs",
"repos_url": "https://api.github.com/users/Surf-N-Code/repos",
"events_url": "https://api.github.com/users/Surf-N-Code/events{/privacy}",
"received_events_url": "https://api.github.com/users/Surf-N-Code/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 3 | 2023-10-10T20:24:24 | 2023-10-11T06:24:30 | null |
NONE
| null |
### System Info
The method signatures of similaritySearchWithScore and similaritySearch are identical in Javascript. I assume this is a mistake.
```
export declare abstract class VectorStore extends Serializable {
...
similaritySearch(query: string, k?: number, filter?: this["FilterType"] | undefined, _callbacks?: Callbacks | undefined): Promise<Document[]>;
similaritySearchWithScore(query: string, k?: number, filter?: this["FilterType"] | undefined, _callbacks?: Callbacks | undefined): Promise<[Document, number][]>;
```
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Open the base.d.ts file and search for the abstract class VectorStore. It contains these methods.
### Expected behavior
I would assume the signature for similaritySearchWithScore should contain some kind of Score parameter that we could pass to it to only return documents with a certain score.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11625/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11624
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11624/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11624/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11624/events
|
https://github.com/langchain-ai/langchain/issues/11624
| 1,936,133,212 |
I_kwDOIPDwls5zZwxc
| 11,624 |
Release 3.0.4 breaks compatibility with ddtrace.
|
{
"login": "Siddhartha90",
"id": 2003023,
"node_id": "MDQ6VXNlcjIwMDMwMjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2003023?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Siddhartha90",
"html_url": "https://github.com/Siddhartha90",
"followers_url": "https://api.github.com/users/Siddhartha90/followers",
"following_url": "https://api.github.com/users/Siddhartha90/following{/other_user}",
"gists_url": "https://api.github.com/users/Siddhartha90/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Siddhartha90/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Siddhartha90/subscriptions",
"organizations_url": "https://api.github.com/users/Siddhartha90/orgs",
"repos_url": "https://api.github.com/users/Siddhartha90/repos",
"events_url": "https://api.github.com/users/Siddhartha90/events{/privacy}",
"received_events_url": "https://api.github.com/users/Siddhartha90/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-10T20:12:25 | 2023-10-12T15:04:28 | null |
NONE
| null |
### System Info
https://github.com/langchain-ai/langchain/releases/tag/v0.0.304
Reverting to 3.0.3 or under fixes it. The error looks something like (truncated confidential parts of the trace)
```
Traceback (most recent call last):
...
File "/Users/sid.gupta/.pyenv/versions/3.11.3/lib/python3.11/site-packages/ddtrace/_monkey.py", line 205, in patch_all
patch(raise_errors=False, **modules)
File "/Users/sid.gupta/.pyenv/versions/3.11.3/lib/python3.11/site-packages/ddtrace/_monkey.py", line 245, in patch
when_imported(module)(
File "/Users/sid.gupta/.pyenv/versions/3.11.3/lib/python3.11/site-packages/ddtrace/vendor/wrapt/importer.py", line 284, in register
register_post_import_hook(hook, name)
File "/Users/sid.gupta/.pyenv/versions/3.11.3/lib/python3.11/site-packages/ddtrace/vendor/wrapt/decorators.py", line 470, in _synchronized
return wrapped(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sid.gupta/.pyenv/versions/3.11.3/lib/python3.11/site-packages/ddtrace/vendor/wrapt/importer.py", line 82, in register_post_import_hook
hook(module)
File "/Users/sid.gupta/.pyenv/versions/3.11.3/lib/python3.11/site-packages/ddtrace/_monkey.py", line 168, in on_import
imported_module.patch()
File "/Users/sid.gupta/.pyenv/versions/3.11.3/lib/python3.11/site-packages/ddtrace/contrib/langchain/patch.py", line 763, in patch
if hasattr(langchain.embeddings, text_embedding_model):
^^^^^^^^^^^^^^^^^^^^
File "/Users/sid.gupta/.pyenv/versions/3.11.3/lib/python3.11/site-packages/langchain/__init__.py", line 332, in __getattr__
raise AttributeError(f"Could not find: {name}")
AttributeError: Could not find: embeddings
```
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Be on `ddtrace 1.17.6` and a langchain version >= 3.0.4. Running an webapp on hypercorn and fastAPI.
### Expected behavior
Don't throw this trace and block the application.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11624/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11624/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11623
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11623/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11623/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11623/events
|
https://github.com/langchain-ai/langchain/pull/11623
| 1,936,112,129 |
PR_kwDOIPDwls5cbNrU
| 11,623 |
add ls guide redirect
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T19:57:58 | 2023-10-10T21:56:27 | 2023-10-10T19:58:04 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11623/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11623",
"html_url": "https://github.com/langchain-ai/langchain/pull/11623",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11623.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11623.patch",
"merged_at": "2023-10-10T19:58:04"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11622
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11622/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11622/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11622/events
|
https://github.com/langchain-ai/langchain/pull/11622
| 1,936,082,464 |
PR_kwDOIPDwls5cbHGt
| 11,622 |
Use endpoint_url if provided with boto3 session for dynamodb
|
{
"login": "chevalmuscle",
"id": 28069469,
"node_id": "MDQ6VXNlcjI4MDY5NDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/28069469?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chevalmuscle",
"html_url": "https://github.com/chevalmuscle",
"followers_url": "https://api.github.com/users/chevalmuscle/followers",
"following_url": "https://api.github.com/users/chevalmuscle/following{/other_user}",
"gists_url": "https://api.github.com/users/chevalmuscle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chevalmuscle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chevalmuscle/subscriptions",
"organizations_url": "https://api.github.com/users/chevalmuscle/orgs",
"repos_url": "https://api.github.com/users/chevalmuscle/repos",
"events_url": "https://api.github.com/users/chevalmuscle/events{/privacy}",
"received_events_url": "https://api.github.com/users/chevalmuscle/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-10T19:37:50 | 2023-11-13T18:31:16 | 2023-11-13T18:31:16 |
CONTRIBUTOR
| null |
- **Description:** Uses `endpoint_url` if provided with a boto3 session. When running dynamodb locally, credentials are required even if invalid. With this change, it will be possible to pass a boto3 session with credentials and specify an endpoint_url
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11622/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11622",
"html_url": "https://github.com/langchain-ai/langchain/pull/11622",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11622.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11622.patch",
"merged_at": "2023-11-13T18:31:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11621
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11621/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11621/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11621/events
|
https://github.com/langchain-ai/langchain/pull/11621
| 1,936,067,830 |
PR_kwDOIPDwls5cbD38
| 11,621 |
bump 312
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T19:27:36 | 2023-10-10T19:34:50 | 2023-10-10T19:34:49 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11621/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11621",
"html_url": "https://github.com/langchain-ai/langchain/pull/11621",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11621.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11621.patch",
"merged_at": "2023-10-10T19:34:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11620
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11620/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11620/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11620/events
|
https://github.com/langchain-ai/langchain/pull/11620
| 1,936,056,901 |
PR_kwDOIPDwls5cbBd-
| 11,620 |
Restructure docs
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T19:20:54 | 2023-10-10T19:55:20 | 2023-10-10T19:55:19 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11620/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11620/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11620",
"html_url": "https://github.com/langchain-ai/langchain/pull/11620",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11620.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11620.patch",
"merged_at": "2023-10-10T19:55:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11619
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11619/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11619/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11619/events
|
https://github.com/langchain-ai/langchain/pull/11619
| 1,935,988,710 |
PR_kwDOIPDwls5cayN6
| 11,619 |
Remove LLM Bash and related bash utilities
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-10T18:42:53 | 2023-10-10T18:54:10 | 2023-10-10T18:54:09 |
COLLABORATOR
| null |
Deprecate LLMBash and related bash utilities
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11619/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11619",
"html_url": "https://github.com/langchain-ai/langchain/pull/11619",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11619.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11619.patch",
"merged_at": "2023-10-10T18:54:09"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11618
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11618/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11618/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11618/events
|
https://github.com/langchain-ai/langchain/issues/11618
| 1,935,901,944 |
I_kwDOIPDwls5zY4T4
| 11,618 |
AWS Sagemaker "code":424,
|
{
"login": "puneet-dm",
"id": 143061878,
"node_id": "U_kgDOCIbzdg",
"avatar_url": "https://avatars.githubusercontent.com/u/143061878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/puneet-dm",
"html_url": "https://github.com/puneet-dm",
"followers_url": "https://api.github.com/users/puneet-dm/followers",
"following_url": "https://api.github.com/users/puneet-dm/following{/other_user}",
"gists_url": "https://api.github.com/users/puneet-dm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/puneet-dm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/puneet-dm/subscriptions",
"organizations_url": "https://api.github.com/users/puneet-dm/orgs",
"repos_url": "https://api.github.com/users/puneet-dm/repos",
"events_url": "https://api.github.com/users/puneet-dm/events{/privacy}",
"received_events_url": "https://api.github.com/users/puneet-dm/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-10T17:47:53 | 2023-10-24T13:51:14 | null |
NONE
| null |
### System Info
from langchain.docstore.document import Document
from typing import Dict
from langchain import PromptTemplate, SagemakerEndpoint
from langchain.llms.sagemaker_endpoint import LLMContentHandler
from langchain.chains.question_answering import load_qa_chain
import json
example_doc_1 = """
Peter and Elizabeth took a taxi to attend the night party in the city. While in the party, Elizabeth collapsed and was rushed to the hospital.
Since she was diagnosed with a brain injury, the doctor told Peter to stay besides her until she gets well.
Therefore, Peter stayed with her at the hospital for 3 days without leaving.
"""
docs = [
Document(
page_content=example_doc_1,
)
]
query = """How long was Elizabeth hospitalized?
"""
prompt_template = """Use the following pieces of context to answer the question at the end.
{context}
Question: {question}
Answer:"""
PROMPT = PromptTemplate(
template=prompt_template, input_variables=["context", "question"]
)
class ContentHandler(LLMContentHandler):
content_type = "application/json"
accepts = "application/json"
def transform_input(self, prompt: str, model_kwargs: Dict) -> bytes:
input_dict = {"inputs": prompt, "parameters": model_kwargs}
return json.dumps(input_dict).encode('utf-8')
def transform_output(self, output: bytes) -> str:
response_json = json.loads(output.read().decode("utf-8"))
return response_json[0]["generated_text"]
content_handler = ContentHandler()
chain = load_qa_chain(
llm=SagemakerEndpoint(
endpoint_name="endpoint",
region_name="ap-southeast-2",
credentials_profile_name="dev",
model_kwargs={"temperature": 1e-10},
endpoint_kwargs={"CustomAttributes": 'accept_eula=true'},
content_handler=ContentHandler(),
),
prompt=PROMPT,
)
chain({"input_documents": docs, "question": query}, return_only_outputs=True)
Stacktrace :
ValueError: Error raised by inference endpoint: An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (424) from primary with message "{
"code":424,
"message":"prediction failure",
"error":"string indices must be integers"
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
run the same python code to reproduce.
### Expected behavior
I am expecting a response generated by the chain.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11618/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11617
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11617/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11617/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11617/events
|
https://github.com/langchain-ai/langchain/pull/11617
| 1,935,780,134 |
PR_kwDOIPDwls5caDuC
| 11,617 |
Make metadata from the url_selenium loader match that of the web_base loader
|
{
"login": "ToddKerpelman",
"id": 4397978,
"node_id": "MDQ6VXNlcjQzOTc5Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4397978?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ToddKerpelman",
"html_url": "https://github.com/ToddKerpelman",
"followers_url": "https://api.github.com/users/ToddKerpelman/followers",
"following_url": "https://api.github.com/users/ToddKerpelman/following{/other_user}",
"gists_url": "https://api.github.com/users/ToddKerpelman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ToddKerpelman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ToddKerpelman/subscriptions",
"organizations_url": "https://api.github.com/users/ToddKerpelman/orgs",
"repos_url": "https://api.github.com/users/ToddKerpelman/repos",
"events_url": "https://api.github.com/users/ToddKerpelman/events{/privacy}",
"received_events_url": "https://api.github.com/users/ToddKerpelman/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-10T16:43:40 | 2023-10-11T03:32:45 | 2023-10-11T03:32:45 |
CONTRIBUTOR
| null |
**Description:** I noticed the metadata returned by the url_selenium loader was missing several values included by the web_base loader. (The former returned `{source: ...}`, the latter returned `{source: ..., title: ..., description: ..., language: ...}`.) This change fixes it so both loaders return all 4 key value pairs.
Files have been properly formatted and all tests are passing. Note, however, that I am not much of a python expert, so that whole "Adding the imports inside the code so that tests pass" thing seems weird to me. Please LMK if I did anything wrong.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11617/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11617",
"html_url": "https://github.com/langchain-ai/langchain/pull/11617",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11617.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11617.patch",
"merged_at": "2023-10-11T03:32:45"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11616
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11616/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11616/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11616/events
|
https://github.com/langchain-ai/langchain/issues/11616
| 1,935,763,708 |
I_kwDOIPDwls5zYWj8
| 11,616 |
Self-querying retriever for MongoDBAtlasVectorSearch
|
{
"login": "AthulVincent",
"id": 90774897,
"node_id": "MDQ6VXNlcjkwNzc0ODk3",
"avatar_url": "https://avatars.githubusercontent.com/u/90774897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AthulVincent",
"html_url": "https://github.com/AthulVincent",
"followers_url": "https://api.github.com/users/AthulVincent/followers",
"following_url": "https://api.github.com/users/AthulVincent/following{/other_user}",
"gists_url": "https://api.github.com/users/AthulVincent/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AthulVincent/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AthulVincent/subscriptions",
"organizations_url": "https://api.github.com/users/AthulVincent/orgs",
"repos_url": "https://api.github.com/users/AthulVincent/repos",
"events_url": "https://api.github.com/users/AthulVincent/events{/privacy}",
"received_events_url": "https://api.github.com/users/AthulVincent/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
open
| false | null |
[] | null | 1 | 2023-10-10T16:37:06 | 2023-10-10T16:39:28 | null |
CONTRIBUTOR
| null |
### Feature request
Add self-querying capability for MongoDBAtlasVectorSearch so that any natural language query could be converted to a MongoDB query and then be used to search the MongoDB vector store
### Motivation
I was testing self-quering using MongoDBAtlasVectorSearch when I got an error saying that self-querying is not supported. I think it will be useful to have that functionality since MongoDB vector store is well used.
### Your contribution
We will work on this feature and submit a pull request in the coming 1-2 months.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11616/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11615
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11615/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11615/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11615/events
|
https://github.com/langchain-ai/langchain/pull/11615
| 1,935,671,524 |
PR_kwDOIPDwls5cZr3c
| 11,615 |
Deprecate LLMSymbolicMath from langchain core
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T15:41:48 | 2023-10-10T16:33:52 | 2023-10-10T16:33:51 |
COLLABORATOR
| null |
Deprecate LLMSymbolicMath from langchain core package.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11615/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11615",
"html_url": "https://github.com/langchain-ai/langchain/pull/11615",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11615.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11615.patch",
"merged_at": "2023-10-10T16:33:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11614
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11614/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11614/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11614/events
|
https://github.com/langchain-ai/langchain/pull/11614
| 1,935,648,929 |
PR_kwDOIPDwls5cZm5_
| 11,614 |
Docs to use LLMSymbolicMath and LLMBash + utilities from experimental
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T15:28:29 | 2023-10-10T17:11:47 | 2023-10-10T17:11:46 |
COLLABORATOR
| null |
Update docs in lieu of:
https://github.com/langchain-ai/langchain/discussions/11352
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11614/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11614",
"html_url": "https://github.com/langchain-ai/langchain/pull/11614",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11614.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11614.patch",
"merged_at": "2023-10-10T17:11:46"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11613
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11613/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11613/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11613/events
|
https://github.com/langchain-ai/langchain/pull/11613
| 1,935,617,578 |
PR_kwDOIPDwls5cZf-7
| 11,613 |
Add version to langchain_experimental
|
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T15:12:14 | 2023-10-10T15:17:42 | 2023-10-10T15:17:41 |
COLLABORATOR
| null |
Add version to langchain experimental
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11613/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11613",
"html_url": "https://github.com/langchain-ai/langchain/pull/11613",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11613.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11613.patch",
"merged_at": "2023-10-10T15:17:41"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11612
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11612/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11612/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11612/events
|
https://github.com/langchain-ai/langchain/pull/11612
| 1,935,607,331 |
PR_kwDOIPDwls5cZdtX
| 11,612 |
Add yandex llm and chat model
|
{
"login": "tyumentsev4",
"id": 56769451,
"node_id": "MDQ6VXNlcjU2NzY5NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56769451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tyumentsev4",
"html_url": "https://github.com/tyumentsev4",
"followers_url": "https://api.github.com/users/tyumentsev4/followers",
"following_url": "https://api.github.com/users/tyumentsev4/following{/other_user}",
"gists_url": "https://api.github.com/users/tyumentsev4/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tyumentsev4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tyumentsev4/subscriptions",
"organizations_url": "https://api.github.com/users/tyumentsev4/orgs",
"repos_url": "https://api.github.com/users/tyumentsev4/repos",
"events_url": "https://api.github.com/users/tyumentsev4/events{/privacy}",
"received_events_url": "https://api.github.com/users/tyumentsev4/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T15:07:41 | 2023-10-10T15:08:51 | 2023-10-10T15:08:05 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11612/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11612",
"html_url": "https://github.com/langchain-ai/langchain/pull/11612",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11612.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11612.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11610
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11610/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11610/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11610/events
|
https://github.com/langchain-ai/langchain/pull/11610
| 1,935,579,517 |
PR_kwDOIPDwls5cZXgk
| 11,610 |
rm slack from community.md
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T14:55:18 | 2023-10-10T14:55:27 | 2023-10-10T14:55:26 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11610/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11610",
"html_url": "https://github.com/langchain-ai/langchain/pull/11610",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11610.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11610.patch",
"merged_at": "2023-10-10T14:55:26"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11609
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11609/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11609/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11609/events
|
https://github.com/langchain-ai/langchain/pull/11609
| 1,935,546,634 |
PR_kwDOIPDwls5cZQAH
| 11,609 |
Fix: invalid link to chat model in openai platform docs
|
{
"login": "FacerAin",
"id": 16442978,
"node_id": "MDQ6VXNlcjE2NDQyOTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/16442978?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FacerAin",
"html_url": "https://github.com/FacerAin",
"followers_url": "https://api.github.com/users/FacerAin/followers",
"following_url": "https://api.github.com/users/FacerAin/following{/other_user}",
"gists_url": "https://api.github.com/users/FacerAin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/FacerAin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/FacerAin/subscriptions",
"organizations_url": "https://api.github.com/users/FacerAin/orgs",
"repos_url": "https://api.github.com/users/FacerAin/repos",
"events_url": "https://api.github.com/users/FacerAin/events{/privacy}",
"received_events_url": "https://api.github.com/users/FacerAin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-10T14:44:46 | 2023-10-10T17:22:40 | 2023-10-10T17:22:40 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
There is some invalid link in open ai platform [docs](https://python.langchain.com/docs/integrations/platforms/openai).
So i fixed it to valid links.
- `/docs/integrations/chat_models/openai` -> `/docs/integrations/chat/openai`
- `/docs/integrations/chat_models/azure_openai` -> `/docs/integrations/chat/azure_chat_openai`
Thanks! ☺️
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11609/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11609",
"html_url": "https://github.com/langchain-ai/langchain/pull/11609",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11609.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11609.patch",
"merged_at": "2023-10-10T17:22:40"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11608
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11608/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11608/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11608/events
|
https://github.com/langchain-ai/langchain/pull/11608
| 1,935,532,082 |
PR_kwDOIPDwls5cZMrI
| 11,608 |
Add support for ChatOpenAI models in Infino callback handler
|
{
"login": "vinaykakade",
"id": 10574123,
"node_id": "MDQ6VXNlcjEwNTc0MTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/10574123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vinaykakade",
"html_url": "https://github.com/vinaykakade",
"followers_url": "https://api.github.com/users/vinaykakade/followers",
"following_url": "https://api.github.com/users/vinaykakade/following{/other_user}",
"gists_url": "https://api.github.com/users/vinaykakade/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vinaykakade/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vinaykakade/subscriptions",
"organizations_url": "https://api.github.com/users/vinaykakade/orgs",
"repos_url": "https://api.github.com/users/vinaykakade/repos",
"events_url": "https://api.github.com/users/vinaykakade/events{/privacy}",
"received_events_url": "https://api.github.com/users/vinaykakade/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-10T14:40:23 | 2023-10-11T21:00:55 | 2023-10-11T21:00:55 |
CONTRIBUTOR
| null |
**Description:** This PR adds support for ChatOpenAI models in the Infino callback handler. In particular, this PR implements `on_chat_model_start` callback, so that ChatOpenAI models are supported. With this change, Infino callback handler can be used to track latency, errors, and prompt tokens for ChatOpenAI models too (in addition to the support for OpenAI and other non-chat models it has today). The existing example notebook is updated to show how to use this integration as well. cc/ @naman-modi @savannahar68
**Issue:** https://github.com/langchain-ai/langchain/issues/11607
**Dependencies:** None
**Tag maintainer:** @hwchase17
**Twitter handle:** [@vkakade](https://twitter.com/vkakade)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11608/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11608/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11608",
"html_url": "https://github.com/langchain-ai/langchain/pull/11608",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11608.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11608.patch",
"merged_at": "2023-10-11T21:00:55"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11607
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11607/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11607/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11607/events
|
https://github.com/langchain-ai/langchain/issues/11607
| 1,935,507,768 |
I_kwDOIPDwls5zXYE4
| 11,607 |
Support ChatOpenAI models in Infino callback manager
|
{
"login": "vinaykakade",
"id": 10574123,
"node_id": "MDQ6VXNlcjEwNTc0MTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/10574123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vinaykakade",
"html_url": "https://github.com/vinaykakade",
"followers_url": "https://api.github.com/users/vinaykakade/followers",
"following_url": "https://api.github.com/users/vinaykakade/following{/other_user}",
"gists_url": "https://api.github.com/users/vinaykakade/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vinaykakade/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vinaykakade/subscriptions",
"organizations_url": "https://api.github.com/users/vinaykakade/orgs",
"repos_url": "https://api.github.com/users/vinaykakade/repos",
"events_url": "https://api.github.com/users/vinaykakade/events{/privacy}",
"received_events_url": "https://api.github.com/users/vinaykakade/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-10T14:32:26 | 2023-10-10T14:46:14 | null |
CONTRIBUTOR
| null |
### Feature request
[Infino callback handler](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/callbacks/infino_callback.py) as of this writing does not support ChatOpenAI models, as it does not support `on_chat_model_start` callback.
Adding this callback will enable users to track latency, errors and token usage for ChatOpenAI models (in addition to existing support for OpenAI and other non-chat models).
### Motivation
Infino customers have requested for this integration, as this increases Infino callback handler's coverage to OpenAI chat models.
Customer request GitHub issue for Infino - https://github.com/infinohq/infino/issues/93
### Your contribution
I have a working code change for this issue, and will submit a PR shortly.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11607/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11606
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11606/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11606/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11606/events
|
https://github.com/langchain-ai/langchain/issues/11606
| 1,935,467,502 |
I_kwDOIPDwls5zXOPu
| 11,606 |
langchain is not working on AWS , It is always giving "ImportError: libmariadb.so.3: cannot open shared object file: No such file or directory" , no where i am using mariadb
|
{
"login": "akashkumar398",
"id": 24894328,
"node_id": "MDQ6VXNlcjI0ODk0MzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/24894328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akashkumar398",
"html_url": "https://github.com/akashkumar398",
"followers_url": "https://api.github.com/users/akashkumar398/followers",
"following_url": "https://api.github.com/users/akashkumar398/following{/other_user}",
"gists_url": "https://api.github.com/users/akashkumar398/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akashkumar398/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akashkumar398/subscriptions",
"organizations_url": "https://api.github.com/users/akashkumar398/orgs",
"repos_url": "https://api.github.com/users/akashkumar398/repos",
"events_url": "https://api.github.com/users/akashkumar398/events{/privacy}",
"received_events_url": "https://api.github.com/users/akashkumar398/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5959659008,
"node_id": "LA_kwDOIPDwls8AAAABYzkuAA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20aws",
"name": "integration: aws",
"color": "C5DEF5",
"default": false,
"description": "Related to Amazon Web Services (AWS) integrations"
}
] |
open
| false | null |
[] | null | 2 | 2023-10-10T14:13:21 | 2023-10-10T15:06:44 | null |
NONE
| null |
### System Info
openai==0.27.6
urllib3==1.26.15
pandas==2.0.1
slack-sdk==3.21.3
pydantic==2.4.2
langchain==0.0.311
SQLAlchemy==2.0.11
mysqlclient==2.2.0
pymysql==1.1.0
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
i am using AWS lambda
### Expected behavior
it should run fine without MariaDB
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11606/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11605
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11605/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11605/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11605/events
|
https://github.com/langchain-ai/langchain/pull/11605
| 1,935,444,495 |
PR_kwDOIPDwls5cY5XO
| 11,605 |
Add baidu cloud vector search in vectorstore and fix some unit test in vectorstores
|
{
"login": "wemysschen",
"id": 38650638,
"node_id": "MDQ6VXNlcjM4NjUwNjM4",
"avatar_url": "https://avatars.githubusercontent.com/u/38650638?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wemysschen",
"html_url": "https://github.com/wemysschen",
"followers_url": "https://api.github.com/users/wemysschen/followers",
"following_url": "https://api.github.com/users/wemysschen/following{/other_user}",
"gists_url": "https://api.github.com/users/wemysschen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wemysschen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wemysschen/subscriptions",
"organizations_url": "https://api.github.com/users/wemysschen/orgs",
"repos_url": "https://api.github.com/users/wemysschen/repos",
"events_url": "https://api.github.com/users/wemysschen/events{/privacy}",
"received_events_url": "https://api.github.com/users/wemysschen/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 4 | 2023-10-10T14:01:58 | 2023-11-03T11:01:23 | 2023-10-25T20:44:20 |
CONTRIBUTOR
| null |
**Description:**
Add baidu cloud vector search in vectorstore
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11605/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11605",
"html_url": "https://github.com/langchain-ai/langchain/pull/11605",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11605.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11605.patch",
"merged_at": "2023-10-25T20:44:20"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11604
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11604/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11604/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11604/events
|
https://github.com/langchain-ai/langchain/pull/11604
| 1,935,420,646 |
PR_kwDOIPDwls5cY0JA
| 11,604 |
FIX: 'from_texts' method in Weaviate with non-existent kwargs param
|
{
"login": "takatost",
"id": 5485478,
"node_id": "MDQ6VXNlcjU0ODU0Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5485478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/takatost",
"html_url": "https://github.com/takatost",
"followers_url": "https://api.github.com/users/takatost/followers",
"following_url": "https://api.github.com/users/takatost/following{/other_user}",
"gists_url": "https://api.github.com/users/takatost/gists{/gist_id}",
"starred_url": "https://api.github.com/users/takatost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/takatost/subscriptions",
"organizations_url": "https://api.github.com/users/takatost/orgs",
"repos_url": "https://api.github.com/users/takatost/repos",
"events_url": "https://api.github.com/users/takatost/events{/privacy}",
"received_events_url": "https://api.github.com/users/takatost/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T13:50:17 | 2023-11-13T18:32:21 | 2023-11-13T18:32:20 |
CONTRIBUTOR
| null |
Due to the possibility of external inputs including UUIDs, there may be additional values in **kwargs, while Weaviate's `__init__` method does not support passing extra **kwarg parameters.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11604/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11604",
"html_url": "https://github.com/langchain-ai/langchain/pull/11604",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11604.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11604.patch",
"merged_at": "2023-11-13T18:32:20"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11603
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11603/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11603/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11603/events
|
https://github.com/langchain-ai/langchain/pull/11603
| 1,935,310,711 |
PR_kwDOIPDwls5cYcBI
| 11,603 |
Fix mutation bugs in callback manager configure
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T12:55:57 | 2023-10-10T13:50:20 | 2023-10-10T13:50:19 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11603/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11603",
"html_url": "https://github.com/langchain-ai/langchain/pull/11603",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11603.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11603.patch",
"merged_at": "2023-10-10T13:50:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11602
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11602/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11602/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11602/events
|
https://github.com/langchain-ai/langchain/pull/11602
| 1,935,309,996 |
PR_kwDOIPDwls5cYb2m
| 11,602 |
Update azureml_chat_endpoint code exemple
|
{
"login": "ElliotKetchup",
"id": 64539418,
"node_id": "MDQ6VXNlcjY0NTM5NDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/64539418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ElliotKetchup",
"html_url": "https://github.com/ElliotKetchup",
"followers_url": "https://api.github.com/users/ElliotKetchup/followers",
"following_url": "https://api.github.com/users/ElliotKetchup/following{/other_user}",
"gists_url": "https://api.github.com/users/ElliotKetchup/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ElliotKetchup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ElliotKetchup/subscriptions",
"organizations_url": "https://api.github.com/users/ElliotKetchup/orgs",
"repos_url": "https://api.github.com/users/ElliotKetchup/repos",
"events_url": "https://api.github.com/users/ElliotKetchup/events{/privacy}",
"received_events_url": "https://api.github.com/users/ElliotKetchup/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-10-10T12:55:40 | 2023-10-10T17:27:28 | 2023-10-10T17:27:28 |
CONTRIBUTOR
| null |
<!--
- **Description:** azureml_chat_endpoint code exemple now takes endpoint_url and endpoint_api_key parameter into consideration,
- **Issue:** None),
- **Dependencies:** None,
- **Tag maintainer:** None,
- **Twitter handle:** @ElliotAlladaye
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11602/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11602",
"html_url": "https://github.com/langchain-ai/langchain/pull/11602",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11602.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11602.patch",
"merged_at": "2023-10-10T17:27:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11601
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11601/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11601/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11601/events
|
https://github.com/langchain-ai/langchain/pull/11601
| 1,935,249,726 |
PR_kwDOIPDwls5cYOFy
| 11,601 |
Add configurable fields with options
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-10-10T12:34:34 | 2023-10-10T21:17:23 | 2023-10-10T21:17:22 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11601/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11601",
"html_url": "https://github.com/langchain-ai/langchain/pull/11601",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11601.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11601.patch",
"merged_at": "2023-10-10T21:17:22"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11600
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11600/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11600/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11600/events
|
https://github.com/langchain-ai/langchain/pull/11600
| 1,935,139,555 |
PR_kwDOIPDwls5cX1q2
| 11,600 |
Add id in the metadata of the Documents returned in Similarity Search
|
{
"login": "meet1919",
"id": 62868163,
"node_id": "MDQ6VXNlcjYyODY4MTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/62868163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meet1919",
"html_url": "https://github.com/meet1919",
"followers_url": "https://api.github.com/users/meet1919/followers",
"following_url": "https://api.github.com/users/meet1919/following{/other_user}",
"gists_url": "https://api.github.com/users/meet1919/gists{/gist_id}",
"starred_url": "https://api.github.com/users/meet1919/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meet1919/subscriptions",
"organizations_url": "https://api.github.com/users/meet1919/orgs",
"repos_url": "https://api.github.com/users/meet1919/repos",
"events_url": "https://api.github.com/users/meet1919/events{/privacy}",
"received_events_url": "https://api.github.com/users/meet1919/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
},
{
"id": 5924999838,
"node_id": "LA_kwDOIPDwls8AAAABYShSng",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/integration:%20chroma",
"name": "integration: chroma",
"color": "B78AF8",
"default": false,
"description": "Related to ChromaDB"
}
] |
open
| false | null |
[] | null | 11 | 2023-10-10T11:34:32 | 2023-10-24T10:12:17 | null |
NONE
| null |
The documents returned in any similarity search function doesnt returns the id of the document. This id can later be use to update the page_content or the metadata of the stored document in the vector store.
@hwchase17
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally.
See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use. It lives in `docs/extras` directory.
If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17.
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11600/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11600",
"html_url": "https://github.com/langchain-ai/langchain/pull/11600",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11600.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11600.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11599
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11599/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11599/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11599/events
|
https://github.com/langchain-ai/langchain/issues/11599
| 1,935,118,678 |
I_kwDOIPDwls5zV5FW
| 11,599 |
Using a self-hosted LLM in an offline environment
|
{
"login": "chadongho",
"id": 124663865,
"node_id": "U_kgDOB244OQ",
"avatar_url": "https://avatars.githubusercontent.com/u/124663865?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chadongho",
"html_url": "https://github.com/chadongho",
"followers_url": "https://api.github.com/users/chadongho/followers",
"following_url": "https://api.github.com/users/chadongho/following{/other_user}",
"gists_url": "https://api.github.com/users/chadongho/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chadongho/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chadongho/subscriptions",
"organizations_url": "https://api.github.com/users/chadongho/orgs",
"repos_url": "https://api.github.com/users/chadongho/repos",
"events_url": "https://api.github.com/users/chadongho/events{/privacy}",
"received_events_url": "https://api.github.com/users/chadongho/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5820539098,
"node_id": "LA_kwDOIPDwls8AAAABWu5g2g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20models",
"name": "area: models",
"color": "bfdadc",
"default": false,
"description": "Related to LLMs or chat model modules"
}
] |
open
| false | null |
[] | null | 3 | 2023-10-10T11:22:02 | 2023-10-10T12:06:35 | null |
NONE
| null |
### Issue you'd like to raise.
I built a self-hosted LLM and applied Langchain's HuggingFaceTextGenInference for use in an offline environment, but an error occurred because the tokenizer was forced to call online in the code using the map_reduce type of summarize_chain.
I would like to solve this problem to use self-hosted LLM in an offline environment
The error message is as follows:
OSError: Can't load tokenizer for 'gpt2'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'gpt2' is the correct path to a directory containing all relevant files for a GPT2TokenizerFast tokenizer.
Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?8199cda9-1c5c-4995-ba50-f58f326273c3) or open in a [text editor](command:workbench.action.openLargeOutput?8199cda9-1c5c-4995-ba50-f58f326273c3). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)...
### Suggestion:
I would like to know how to change the tokenizer used online in HuggingFaceTextGenInference to offline or how to utilize self-hosted LLM without using HuggingFaceTextGenInference.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11599/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/11598
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11598/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11598/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11598/events
|
https://github.com/langchain-ai/langchain/pull/11598
| 1,934,997,521 |
PR_kwDOIPDwls5cXVjk
| 11,598 |
[Issue#11595] Multithreading support for TextSplitter
|
{
"login": "gustavz",
"id": 29252883,
"node_id": "MDQ6VXNlcjI5MjUyODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/29252883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gustavz",
"html_url": "https://github.com/gustavz",
"followers_url": "https://api.github.com/users/gustavz/followers",
"following_url": "https://api.github.com/users/gustavz/following{/other_user}",
"gists_url": "https://api.github.com/users/gustavz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gustavz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gustavz/subscriptions",
"organizations_url": "https://api.github.com/users/gustavz/orgs",
"repos_url": "https://api.github.com/users/gustavz/repos",
"events_url": "https://api.github.com/users/gustavz/events{/privacy}",
"received_events_url": "https://api.github.com/users/gustavz/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "eyurtsev",
"id": 3205522,
"node_id": "MDQ6VXNlcjMyMDU1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3205522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyurtsev",
"html_url": "https://github.com/eyurtsev",
"followers_url": "https://api.github.com/users/eyurtsev/followers",
"following_url": "https://api.github.com/users/eyurtsev/following{/other_user}",
"gists_url": "https://api.github.com/users/eyurtsev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eyurtsev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eyurtsev/subscriptions",
"organizations_url": "https://api.github.com/users/eyurtsev/orgs",
"repos_url": "https://api.github.com/users/eyurtsev/repos",
"events_url": "https://api.github.com/users/eyurtsev/events{/privacy}",
"received_events_url": "https://api.github.com/users/eyurtsev/received_events",
"type": "User",
"site_admin": false
}
] | null | 6 | 2023-10-10T10:26:11 | 2023-10-19T14:42:08 | 2023-10-19T14:42:07 |
NONE
| null |
### Feature request
Add optional multithreading support for `TextSplitter`, e.g for the loop in `TextSplitter.create_documents`:
https://github.com/langchain-ai/langchain/blob/e2a9072b806b1a45b0e4c107b30dddd0f67a453f/libs/langchain/langchain/text_splitter.py#L138-L153
Question: Is there anything opposing this idea / preventing it from a technical perspective?
### Motivation
Text splitting can take up significant time and resources if a custom length function is used to measure chunk length (e.g. based on a huggingface tokenizer's encode method), especially for the `RecursiveCharacterTextSplitter`.
Therefore we want to introduce multithreading support on a document level.
### Your contribution
Feature Request: https://github.com/langchain-ai/langchain/issues/11595
PR: https://github.com/langchain-ai/langchain/pull/11598
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11598/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11598",
"html_url": "https://github.com/langchain-ai/langchain/pull/11598",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11598.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11598.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11597
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/11597/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11597/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/11597/events
|
https://github.com/langchain-ai/langchain/pull/11597
| 1,934,991,240 |
PR_kwDOIPDwls5cXUHf
| 11,597 |
langchain-experimental: Add allow_list support in experimental/data_anonymizer
|
{
"login": "surki",
"id": 48516,
"node_id": "MDQ6VXNlcjQ4NTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/48516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/surki",
"html_url": "https://github.com/surki",
"followers_url": "https://api.github.com/users/surki/followers",
"following_url": "https://api.github.com/users/surki/following{/other_user}",
"gists_url": "https://api.github.com/users/surki/gists{/gist_id}",
"starred_url": "https://api.github.com/users/surki/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/surki/subscriptions",
"organizations_url": "https://api.github.com/users/surki/orgs",
"repos_url": "https://api.github.com/users/surki/repos",
"events_url": "https://api.github.com/users/surki/events{/privacy}",
"received_events_url": "https://api.github.com/users/surki/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 4 | 2023-10-10T10:23:40 | 2023-10-11T21:51:37 | 2023-10-11T21:50:42 |
CONTRIBUTOR
| null |
- **Description:** Add allow_list support in langchain experimental data-anonymizer package
- **Issue:** no
- **Dependencies:** no
- **Tag maintainer:** @hwchase17
- **Twitter handle:**
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/11597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/11597/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/11597",
"html_url": "https://github.com/langchain-ai/langchain/pull/11597",
"diff_url": "https://github.com/langchain-ai/langchain/pull/11597.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/11597.patch",
"merged_at": "2023-10-11T21:50:42"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.