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

>>> 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

Tickets

1.0.0

  • Add lightweight embedding model support as flag in launcher
  • Remove HTML requirement for plotly visualization
  • Make LDA visualization update
  • Add model quantized

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.3.0.tar.gz (11.1 kB 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.3.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: retriever_search-0.3.0.tar.gz
  • Upload date:
  • Size: 11.1 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.3.0.tar.gz
Algorithm Hash digest
SHA256 54c85a7121859d8cc68e73a4f068f260e9d959649b37a351a946143722a94ec1
MD5 f97217311417d3a63750806d78b2952f
BLAKE2b-256 3638133d96e5ec0d7603ad7e9320c1818c6f24b65e28180ef447d12234e82a78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for retriever_search-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eaf9aa3df6acfaa69142c4774e5b6f76d639c41e5fb96cca6cb90d9348c6e997
MD5 2a5e0794c1d2b6bb3c57d6187008af52
BLAKE2b-256 41680876cb55058a6670c8f7eae13d80be72a2fad844f67ac1f3382f0fb35d25

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