# Handler Reviews #
## What is this? ##
The module allows process reviews of your clients by tamplates or AI.
## Quick Guide ##
The module is based on the following structure:
handler = ReviewsHandlerProvider()
gpt_handler = handler.fetch_handler(handler_type=HandlerType.GPTHANDLER, api_key=api_key_gpt)
template_handler = handler.fetch_handler(handler_type=HandlerType.TEMPLATEHANDLER)
Which Python provides by standard.
----------
### Using ###
Using the library is as simple and convenient as possible:
Let's import it first:
First, import everything from the library (use the `from `...` import *` construct).
handler = ReviewsHandlerProvider()
gpt_handler = handler.fetch_handler(handler_type=HandlerType.GPTHANDLER, api_key=api_key_gpt)
template_handler = handler.fetch_handler(handler_type=HandlerType.TEMPLATEHANDLER)
#Get your data like name_client, review, grade, return_amount_tokens
response_gpt = gpt_handler.get_response(name_client, review, grade, return_amount_tokens)
response_tamplate = template_handler.get_response(name_client, grade)
----------
## Developer ##
My site: [link](https://github.com/Azakaim/)
Raw data
{
"_id": null,
"home_page": "https://github.com/Azakaim/handler_reviews_lib.git",
"name": "handler-reviews-lib",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "reviews, handler",
"author": "1mlnmyfavoriteinteger",
"author_email": "romansergeev7680@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/6b/e6/6eda2d51ee3b13129784cd3d69398d52b6d2bdf73fe12c33085a669fcf09/handler_reviews_lib-0.0.8.tar.gz",
"platform": null,
"description": "# Handler Reviews #\r\n\r\n## What is this? ##\r\nThe module allows process reviews of your clients by tamplates or AI.\r\n\r\n## Quick Guide ##\r\nThe module is based on the following structure:\r\n\r\n \r\n handler = ReviewsHandlerProvider()\r\n gpt_handler = handler.fetch_handler(handler_type=HandlerType.GPTHANDLER, api_key=api_key_gpt)\r\n template_handler = handler.fetch_handler(handler_type=HandlerType.TEMPLATEHANDLER)\r\n \r\nWhich Python provides by standard.\r\n\r\n----------\r\n\r\n### Using ###\r\n\r\n\r\nUsing the library is as simple and convenient as possible:\r\n\r\nLet's import it first:\r\nFirst, import everything from the library (use the `from `...` import *` construct).\r\n\r\n handler = ReviewsHandlerProvider()\r\n\tgpt_handler = handler.fetch_handler(handler_type=HandlerType.GPTHANDLER, api_key=api_key_gpt)\r\n\ttemplate_handler = handler.fetch_handler(handler_type=HandlerType.TEMPLATEHANDLER)\r\n\r\n#Get your data like name_client, review, grade, return_amount_tokens\r\n\r\nresponse_gpt = gpt_handler.get_response(name_client, review, grade, return_amount_tokens)\r\nresponse_tamplate = template_handler.get_response(name_client, grade)\r\n\r\n----------\r\n\r\n\r\n## Developer ##\r\nMy site: [link](https://github.com/Azakaim/) \r\n",
"bugtrack_url": null,
"license": null,
"summary": "This is the module for work with handlers of reviews by templates or GPT",
"version": "0.0.8",
"project_urls": {
"GitHub": "https://github.com/Azakaim/handler_reviews_lib.git",
"Homepage": "https://github.com/Azakaim/handler_reviews_lib.git"
},
"split_keywords": [
"reviews",
" handler"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b1ce6a1fba8bb177d9c8879d90e9e112ce7944225324f7733c650e4f8f53c9a6",
"md5": "99abf343beeb230a985346d5bca9b45f",
"sha256": "bd0da375ad8813fef2593738fcf42cfc4853aee277686767240006384d933962"
},
"downloads": -1,
"filename": "handler_reviews_lib-0.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "99abf343beeb230a985346d5bca9b45f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 9762,
"upload_time": "2024-08-16T02:16:51",
"upload_time_iso_8601": "2024-08-16T02:16:51.222221Z",
"url": "https://files.pythonhosted.org/packages/b1/ce/6a1fba8bb177d9c8879d90e9e112ce7944225324f7733c650e4f8f53c9a6/handler_reviews_lib-0.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6be66eda2d51ee3b13129784cd3d69398d52b6d2bdf73fe12c33085a669fcf09",
"md5": "76e0e007f15855d4c7e8988aa09b1215",
"sha256": "f12ca5fb1daa4a4e132e79da37e720b0e9e53b011eb2a10465a7061c0ceb75e2"
},
"downloads": -1,
"filename": "handler_reviews_lib-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "76e0e007f15855d4c7e8988aa09b1215",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3834,
"upload_time": "2024-08-16T02:16:53",
"upload_time_iso_8601": "2024-08-16T02:16:53.468271Z",
"url": "https://files.pythonhosted.org/packages/6b/e6/6eda2d51ee3b13129784cd3d69398d52b6d2bdf73fe12c33085a669fcf09/handler_reviews_lib-0.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-16 02:16:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Azakaim",
"github_project": "handler_reviews_lib",
"github_not_found": true,
"lcname": "handler-reviews-lib"
}