You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/langchain/indexes
maspotts 95c9aa1ccb
Create async copy of from_text() inside GraphIndexCreator. (#5214)
Copies `GraphIndexCreator.from_text()` to make an async version called
`GraphIndexCreator.afrom_text()`.

This is (should be) a trivial change: it just adds a copy of
`GraphIndexCreator.from_text()` which is async and awaits a call to
`chain.apredict()` instead of `chain.predict()`. There is no unit test
for GraphIndexCreator, and I did not create one, but this code works for
me locally.

@agola11 @hwchase17
1 year ago
..
prompts Harrion/kg (#1016) 1 year ago
__init__.py Harrison/indexing pipeline (#1317) 1 year ago
graph.py Create async copy of from_text() inside GraphIndexCreator. (#5214) 1 year ago
vectorstore.py Replace remaining usage of basellm with baselangmodel (#3981) 1 year ago