Skip to main content

Local retriever search for your use

Project description

Retriever

To setup your own local search you can now use this repo.

GitHub Contributors GitHub Last Commit GitHub Repo Size GitHub Issues GitHub Pull Requests Github License


Install

Recommended to use a virtual environment using venv -

$ python -m venv new_env
$ source new_env/bin/activate

For installing from the github repo -

$ pip install -e .

For installing from the pip -

$ pip install retriever-search

Search server and frontend run

>>> from retriever_search import search_server
>>> from retriever_search import frontend_app as fp
>>> fp.run_frontend()
>>> search_server.run_search_server('path_to_folder', 'save_json_path', device='cpu')

Vizualisation run

Currently run from the git repo

$ cd retriever
>>> from retriever_search import viz_server as vs
>>> vs.run_viz_server()

Where to access the frontend

Access via the following URL - http://127.0.0.1:7860 This URL would work for your local setup only

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

retriever_search-0.2.1.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

retriever_search-0.2.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file retriever_search-0.2.1.tar.gz.

File metadata

  • Download URL: retriever_search-0.2.1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.12

File hashes

Hashes for retriever_search-0.2.1.tar.gz
Algorithm Hash digest
SHA256 24edb0614826ce1e0c97d46574fa8c0e430cdb7b16617a3a9485a3d836813db8
MD5 34702249fc50ca9015d509d396b6d008
BLAKE2b-256 c64240ac323a10da47deffc95f4d96d297e65cd83ecc241b81caa58570578aa5

See more details on using hashes here.

File details

Details for the file retriever_search-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for retriever_search-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56f3474d1fc7364e1706e0f71d010d6ee27763663103fd2579fe8b0826e18739
MD5 9c9febf4399b3ff4a19c2e8a77e2c386
BLAKE2b-256 37d0829d538db6c0454f7109fd0a01953e91ff9be6d224b0d2c473a12c9b6187

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page