easy_gpt_utils
Easy GPT Utils include 1. chat completion 2. embedding and 3. vector database and others to help create app based on GPT and vector search (vector database is not implemented yet)
gpt
gpt is a simple util to use OpenAI's chat modles such as gpt-3.5-terbo gpt-4 etc. It has functions:
- calculate token of a string
- split string by paragraph and sentences within maximum token limit
- set model, temprature
- set system prompt and post prompt
- add context infomation to query
- remember talking history(buggy, will exceed token limit)
embedding
embedding is a simple util to create embedding (1536 dimension victor) for strings and paragraphs, It has functions:
- create embedding from string ,paragrahp and file
- save embeddings to file
vector_base
not implemented yet
In summary, easy_gpt_utils is now on early stage and hope it could help to create more powerful AI Apps in the future
Metadata
Release files for easy-gpt-utils 0.1.10
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 |
|---|---|---|---|---|
| easy_gpt_utils-0.1.10.tar.gz | 14.6 kB | Without provenance | Details for easy_gpt_utils-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easy_gpt_utils-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for easy_gpt_utils-0.1.10-py3-none-any.whl |
Total release size: 39.6 kB
Release files / easy_gpt_utils-0.1.10.tar.gz
| Download URL | easy_gpt_utils-0.1.10.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc39e0cddde81bf7922e2a7d1915da2de2bff57cc0bde89d3157c7fcefbb0078
|
|
BLAKE2b-256 checksum How to use checksums |
8598845cd1555e6c0b8c371f6b345370f05fffeab6711dc22eeb813aafb3a39f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.10
|
Release files / easy_gpt_utils-0.1.10-py3-none-any.whl
| Download URL | easy_gpt_utils-0.1.10-py3-none-any.whl |
|---|---|
| Size | 24.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05bbd2d51f2f3bca3cc9c7153dfb2891cc1dfb84f179465c9d822d2059aeb411
|
|
BLAKE2b-256 checksum How to use checksums |
fa070bf075a22be82a6e50adb9eadd03015c110be5a0a63723d4fe04aa690915
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.10
|
Security for easy-gpt-utils 0.1.10
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.