NeuroQRS
NeuroQRS (Neuro Query Recommendation System) is Faiss + LLM based query recommender with auto-improvement using closed feedback loop!
It works by first using faiss to check for any similar previous search, if not then it builds one using genai! XD
Installation
[Coming Soon] Install the neuroqrs package with pip:
$ pip install neuroqrs
Or install the latest package directly from github
$ pip install git+https://github.com/searchX/neuroqrs
Example Usage
from neuroqrs.main import NeuroQRS
neuroqrs = NeuroQRS()
async def main():
... statements
import asyncio
asyncio.run(main())
- Force fetch documents from chatgpt api (index + search mode)
print(await neuroqrs.query_and_index("nike casual ", "nike", {}, {}))
# Output: ['nike casual black', 'nike casual men', 'nike casual white', 'nike casual wear', 'nike casual shoes']
- Only do quick query without reindexing/genai
print(await neuroqrs.quick_query("nike casual ", "nike"))
# Output: ['nike casual black', 'nike casual men', 'nike casual white', 'nike casual wear', 'nike casual shoes']
- Try quick query, if data not avaliable then index and get results (combines above two)
print(await neuroqrs.query_maybe_index("nike casual ", "nike", {}, {}))
# Output: ['nike casual black', 'nike casual men', 'nike casual white', 'nike casual wear', 'nike casual shoes']
Please look into official docs for more information - https://searchx.github.io/neuroqrs/
Metadata
Release files for NeuroQRS 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neuroqrs-0.1.4.tar.gz | 5.1 kB | Without provenance | Details for neuroqrs-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neuroqrs-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for neuroqrs-0.1.4-py3-none-any.whl |
Total release size: 11.1 kB
Release files / neuroqrs-0.1.4.tar.gz
| Download URL | neuroqrs-0.1.4.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56aa960c534d1cd6544cb720fb2b935614ff8f48a451115d909d2d8e0099b60b
|
|
BLAKE2b-256 checksum How to use checksums |
a7fe2304de104beefb99e0638c7f34ffbaa54ceb5fa3eb2f23ff5cef98bc7714
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.12.2 CPython/3.10.12
|
Release files / neuroqrs-0.1.4-py3-none-any.whl
| Download URL | neuroqrs-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e871d519c0e1c020d9a696556f947c5b85bd1186afe2e868047272448f82326
|
|
BLAKE2b-256 checksum How to use checksums |
3ad796aec8f9dd1117086f0afcb3102e356b011b6dd235c06a6ae5d48bbd1b1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.12.2 CPython/3.10.12
|
Security for NeuroQRS 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.