Metadata-Version: 2.1
Name: easy_gpt_utils
Version: 0.1.9
Summary: Easy GPT utils include 1. chat completion 2. embedding and 3. vector database
Home-page: https://github.com/ark338/easy_gpt_utils
Author: Hou Wei
Author-email: messenger929@163.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# 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:
1. calculate token of a string
2. split string by paragraph and sentences within maximum token limit
3. set model, temprature
4. set system prompt and post prompt
5. add context infomation to query
6. 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:
1. create embedding from string ,paragrahp and file
2. 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


