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

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.2.8.tar.gz (12.9 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.2.8-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: retriever_search-0.2.8.tar.gz
  • Upload date:
  • Size: 12.9 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.8.tar.gz
Algorithm Hash digest
SHA256 a25f7324f6ed3e51765266ca4fc28c86ba5bdcfe034ea8f6873a9bb96be92cc4
MD5 d14456b54ce8bc09849c545d6da2deac
BLAKE2b-256 415dc6798f2677640531119b16b959d2362ab7f548d5772f68d94b3cecea7bcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for retriever_search-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 500180c3629bc23649d0185d873515f0f8dff521491279de7be4c161b854c399
MD5 c2bab093d95eb380f1495b4f38db130e
BLAKE2b-256 c1a971c24e8b80ca61542dd200c9c38582c11efcb8d5f1900559fdf915a5d8ca

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