Local retriever search for your use
Project description
Retriever
To setup your own local search you can now use this repo.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file retriever_search-0.2.6.tar.gz.
File metadata
- Download URL: retriever_search-0.2.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e10ef7323a9c305487b787b9fdb032a0bc4849913b569c4f8ffc5207d968123
|
|
| MD5 |
ddf4ddec5a1771a9b513dfad31df447a
|
|
| BLAKE2b-256 |
abfc7529c4c7dd235a903ef36bbb44b729528675350cd1e509628a027db5258c
|
File details
Details for the file retriever_search-0.2.6-py3-none-any.whl.
File metadata
- Download URL: retriever_search-0.2.6-py3-none-any.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
507b34bfd7075bdea307143128f3f39eabfd007b31e60cd72f6b49d5979e3316
|
|
| MD5 |
ebe00f7ffa717cb406138b7abc3a372c
|
|
| BLAKE2b-256 |
8fb85fef9510924c47ec587eeba997ed2a8cfbb51fa3ff485f88a2f3632e778f
|