wisecube-pythia
As a library
You can install the project as a library from github
pip install git+https://github.com/wisecubeai/wisecube-pythia
or if you don't have the git configure use the token
pip install git+https://<GIT_TOKEN>@github.com/wisecubeai/wisecube-pythia
Also is required to have the OPENAI_API_KEY set as an env variable
Usage
from pythia.ai_hallucination import ask_pythia
ref = ["ref1", "ref1"]
resp = "response"
question = "question"
pythia_response = ask_pythia(input_reference=ref, input_response=resp, question=question
print(pythia_response)
As a Rest API
Docker build
docker build -t wisecube-pythia .
Docker run
docker run -p 8085:8085 --name wiscube-pythia -e OPENAI_API_KEY=<KEY> public.ecr.aws/u9o1b9m6/wisecube-pythia:latest
Metadata
Release files for askpythia 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| askpythia-1.3.3-py3-none-any.whl | Python 3 | none | any | Details for askpythia-1.3.3-py3-none-any.whl |
Release files / askpythia-1.3.3-py3-none-any.whl
| Download URL | askpythia-1.3.3-py3-none-any.whl |
|---|---|
| Size | 36.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6120e7b9e1cab0e31539151372a7b3b848c23877c9d56db34fd3ced4b60ac220
|
|
BLAKE2b-256 checksum How to use checksums |
591fbf773880ba3f3d2971733fbb6d526c0d145bba8fb3a288955eb307199df6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.11
|
Security for askpythia 1.3.3
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.