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/docstore
Rafal Wojdyla 160bfae93f
Add `DocstoreFn` - lookup doc via arbitrary function (#3760)
This **partially** addresses
https://github.com/hwchase17/langchain/issues/1524, but it's also useful
for some of our use cases.

This `DocstoreFn` allows to lookup a document given a function that
accepts the `search` string without the need to implement a custom
`Docstore`.

This could be useful when:
* you don't want to implement a `Docstore` just to provide a custom
`search`
 * it's expensive to construct an `InMemoryDocstore`/dict
 * you retrieve documents from remote sources
 * you just want to reuse existing objects
1 year ago
..
__init__.py Samantha/add conversation chain (#166) 2 years ago
arbitrary_fn.py Add `DocstoreFn` - lookup doc via arbitrary function (#3760) 1 year ago
base.py wip: add method for both docstore and embeddings (#119) 2 years ago
document.py Harrison/retrieval code (#1916) 1 year ago
in_memory.py wip: add method for both docstore and embeddings (#119) 2 years ago
wikipedia.py Corrected small typo in error message. (#1791) 1 year ago