PyBing
Python wrapper for Bing Search results.
Implementation
from PyBingRAG.search import BingSearch
bing = BingSearch("Sachin Tendulkar")
#num - num of results to return
#max_lines - maximum number of lines/sentences to return in each result
bing_results = bing.get_results(num=4, max_lines=15)
# bing_results[i]['content'] - scrapped content
# nlines - num of iterations
# hfkey - hugging face secret key
print(bing.rag_output("Tell me about Mr. Narendra Modi?", n_iters=15, bing_results, hfkey))
Metadata
Release files for PyBingRAG 0.0.6
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 |
|---|---|---|---|---|
| PyBingRAG-0.0.6.tar.gz | 5.4 kB | Without provenance | Details for PyBingRAG-0.0.6.tar.gz |
Release files / PyBingRAG-0.0.6.tar.gz
| Download URL | PyBingRAG-0.0.6.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b929b8a50ddca329135a146b808c46bc208a868127917ac00f816661983419e
|
|
BLAKE2b-256 checksum How to use checksums |
ad7fe8774cfd88b3fc79ef5770c0f6e5acd7c4bc590ca0eccff01e2151d7f5ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Security for PyBingRAG 0.0.6
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.