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.4.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

retriever_search-0.2.4-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: retriever_search-0.2.4.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • 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.4.tar.gz
Algorithm Hash digest
SHA256 3c71760da3e233a78150bfe00554cc9190c93e4c32b08678d1323f7265f2dd85
MD5 167be56b33d45a0aeb92b55b2e1edfeb
BLAKE2b-256 fbb4fd8bdb90a184203499b1099deaf109b8100a66ffc6880244657a411dd992

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for retriever_search-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 eb68cc633a94c0ca10fbc85c038a4b1258b7dccc4ec3675fdba4868547dcbee9
MD5 966969e2d8fab1981d7a5c88d4088bad
BLAKE2b-256 4e885e0642d7c2e9aaa6446830b6567d35f263766edbb61f5308209e02d60977

See more details on using hashes here.

Supported by

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