Skip to content

Latest commit

 

History

History
93 lines (58 loc) · 3.03 KB

README.md

File metadata and controls

93 lines (58 loc) · 3.03 KB

DeepSearch Toolkit

PyPI version PyPI - Python Version License MIT Code style: black Docs

Interact with the Deep Search platform for new knowledge explorations and discoveries

The Deep Search Toolkit is a Python SDK allowing a user to interact with the Deep Search platform. The Toolkit provides easy-to-use functionalities for several common processes such as document conversion, graph creation and querying.

Learn about IBM Deep Search

Quick links

Install

Using poetry in your project? Add the toolkit with:

$ poetry add deepsearch-toolkit

New to poetry? Visit https://python-poetry.org/ or our CONTRIBUTING.md section.

Using pip:

$ pip install deepsearch-toolkit

Requirements

Python 3.8+

Start using the toolkit

// Login to Deep Search,
// see https://ds4sd.github.io/deepsearch-toolkit/getting_started/#authentication
$ deepsearch login
...


// Convert a document
// for more details, see https://ds4sd.github.io/deepsearch-toolkit/guide/convert_doc/
$ deepsearch documents convert -p 1234567890abcdefghijklmnopqrstvwyz123456 -u https://arxiv.org/pdf/2206.00785.pdf
Submitting input:     : 100%|██████████████████████████████| 1/1 [00:01<00:00,  1.52s/it]
Converting input:     : 100%|██████████████████████████████| 1/1 [00:33<00:00, 33.80s/it]
Downloading result:   : 100%|██████████████████████████████| 1/1 [00:01<00:00,  1.11s/it]
Total online documents             1
Successfully converted documents   1

Get help and support

Please feel free to connect with us using the discussion section.

Contributing

Please read Contributing to Deep Search Toolkit for details.

References

If you use Deep Search in your projects, please consider citing the following:

@software{Deep Search Toolkit,
author = {Deep Search Team},
month = {6},
title = {{Deep Search Toolkit}},
url = {https://github.com/DS4SD/deepsearch-toolkit},
version = {main},
year = {2022}
}

License

The Deep Search Toolkit codebase is under MIT license. For individual model usage, please refer to the model licenses found in the original packages.