Name | mindai JSON |
Version |
2023.1.3
JSON |
| download |
home_page | |
Summary | list of tools using ai. |
upload_time | 2022-12-24 04:47:47 |
maintainer | |
docs_url | None |
author | ReBack |
requires_python | |
license | |
keywords |
ai
openai
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# mindai
mindai is a package has alot of ai tools like chat with ai or code generate and more.
**Examples**
<b>Chat with ai (Offline)+:</b>
```
import mindai
from mindai import Ai
ai = Ai()
chat = ai.chat(message="Hello! How are you?")
print(chat)
#print(chat['reply'])
```
<b>Text from image (OCR) :</b>
```
import mindai
from mindai import Ai
ai = Ai()
ocr = ai.image_to_text(url="https://telegra.ph//file/3381da14831562cb2dd0e.png")
print(ocr)
#print(ocr['text'])
```
<b>Code Generatetor :</b>
```
import mindai
from mindai import Ai
ai = Ai()
code = a.code_gen(prompt="hello world",lang="python")
print(code)
#print(code['code'])
```
<b>Word mean :</b>
```
import mindai
from mindai import Ai
ai = Ai()
means = ai.word_mean(word="men")
print(means)
#print(means['mean'])
```
<b>Audio to Text (STT) :</b>
```
import mindai
from mindai import Ai
ai = Ai()
tt = ai.audio_to_text(url="https://ttsmp3.com/created_mp3/2e14d53d4285fe4b0d43245902171fcf.mp3")
print(tt)
#print(tt['text'])
```
<b>Explain Code :</b>
```
import mindai
from mindai import Ai
ai = Ai()
ex = ai.explain_code("""
d = 0
print(d)
exit()
""",lang='ar')
## lang None or english or arabic.
print(ex)
#print(ex['explained'])
```
<b>Image Search Engine (Ai Make, Images.) :</b>
```
import mindai
from mindai import Ai
ai = Ai()
eng = ai.image_search(query="Duck")
print(eng)
#print(eng['images'])
```
<b> Dalle-2 Text-To-Image (New!) :</b>
```
import mindai
from mindai import Ai
ai = Ai()
eng = ai.dalle_2("Duck eat sandwich")
print(eng)
#print(eng['url'])
```
<b>Complete Setenece :</b>
```
import mindai
from mindai import Ai
ai = Ai()
eng = ai.complete_setnece("The Goal of life is *") # Must add (*) To complete your setnece.
print(eng)
#print(eng['setneces'])
```
<b>Text-To-Anime Image! :</b>
```
import mindai
from mindai import Ai
ai = Ai()
eng = ai.text_to_anime("A Iraqi Men")
print(eng)
#print(eng['url'])
```
<b>Prompt Extend :</b>
```
import mindai
from mindai import Ai
ai = Ai()
eng = ai.prompt_extend("Elon Musk")
print(eng)
#print(eng['text'])
```
<b> Get Verbs and Names and Company Names :</b>
```
import mindai
from mindai import Ai
ai = Ai()
eng = ai.get_verbs("Hello, my name is Elon and i CEO of SpaceX and Tesla Motors")
print(eng)
#print(eng['verbs'])
```
# Thats all thank you.
Raw data
{
"_id": null,
"home_page": "",
"name": "mindai",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "ai,openai",
"author": "ReBack",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/0c/54/236c80f048ef4caad2c2c377232d30a7d6bda1a6dac38e7284296fb5f8aa/mindai-2023.1.3.tar.gz",
"platform": null,
"description": "\r\n# mindai\r\n\r\nmindai is a package has alot of ai tools like chat with ai or code generate and more.\r\n\r\n\r\n\r\n\r\n\r\n**Examples**\r\n\r\n<b>Chat with ai (Offline)+:</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\nchat = ai.chat(message=\"Hello! How are you?\")\r\n\r\n\r\n\r\nprint(chat)\r\n\r\n#print(chat['reply'])\r\n\r\n```\r\n\r\n\r\n\r\n<b>Text from image (OCR) :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\nocr = ai.image_to_text(url=\"https://telegra.ph//file/3381da14831562cb2dd0e.png\")\r\n\r\n\r\n\r\nprint(ocr)\r\n\r\n#print(ocr['text'])\r\n\r\n```\r\n\r\n\r\n\r\n<b>Code Generatetor :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\ncode = a.code_gen(prompt=\"hello world\",lang=\"python\")\r\n\r\n\r\n\r\nprint(code)\r\n\r\n#print(code['code'])\r\n\r\n```\r\n\r\n\r\n\r\n\r\n\r\n<b>Word mean :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\nmeans = ai.word_mean(word=\"men\")\r\n\r\n\r\n\r\nprint(means)\r\n\r\n#print(means['mean'])\r\n\r\n```\r\n\r\n\r\n\r\n<b>Audio to Text (STT) :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\ntt = ai.audio_to_text(url=\"https://ttsmp3.com/created_mp3/2e14d53d4285fe4b0d43245902171fcf.mp3\")\r\n\r\n\r\n\r\nprint(tt)\r\n\r\n#print(tt['text'])\r\n\r\n```\r\n\r\n<b>Explain Code :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\nex = ai.explain_code(\"\"\"\r\n\r\nd = 0\r\n\r\nprint(d)\r\n\r\nexit()\r\n\r\n\"\"\",lang='ar')\r\n\r\n## lang None or english or arabic.\r\n\r\nprint(ex)\r\n\r\n#print(ex['explained'])\r\n\r\n```\r\n\r\n\r\n\r\n<b>Image Search Engine (Ai Make, Images.) :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\neng = ai.image_search(query=\"Duck\")\r\n\r\n\r\n\r\nprint(eng) \r\n\r\n#print(eng['images']) \r\n\r\n```\r\n\r\n\r\n\r\n<b> Dalle-2 Text-To-Image (New!) :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\neng = ai.dalle_2(\"Duck eat sandwich\")\r\n\r\n\r\n\r\nprint(eng) \r\n\r\n#print(eng['url']) \r\n\r\n```\r\n\r\n<b>Complete Setenece :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\neng = ai.complete_setnece(\"The Goal of life is *\") # Must add (*) To complete your setnece.\r\n\r\n\r\n\r\nprint(eng) \r\n\r\n#print(eng['setneces']) \r\n\r\n```\r\n\r\n<b>Text-To-Anime Image! :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\neng = ai.text_to_anime(\"A Iraqi Men\")\r\n\r\n\r\n\r\nprint(eng) \r\n\r\n#print(eng['url']) \r\n\r\n```\r\n\r\n<b>Prompt Extend :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\neng = ai.prompt_extend(\"Elon Musk\")\r\n\r\n\r\n\r\nprint(eng)\r\n\r\n#print(eng['text']) \r\n\r\n```\r\n\r\n<b> Get Verbs and Names and Company Names :</b>\r\n\r\n```\r\n\r\nimport mindai\r\n\r\nfrom mindai import Ai\r\n\r\n\r\n\r\nai = Ai()\r\n\r\n\r\n\r\neng = ai.get_verbs(\"Hello, my name is Elon and i CEO of SpaceX and Tesla Motors\")\r\n\r\n\r\n\r\nprint(eng) \r\n\r\n#print(eng['verbs']) \r\n\r\n```\r\n\r\n\r\n\r\n\r\n\r\n# Thats all thank you.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "list of tools using ai.",
"version": "2023.1.3",
"split_keywords": [
"ai",
"openai"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "5f302934672877e427b6576029a6e1b3",
"sha256": "ef836b3cf15ce53e69293c4797bdf9237b974158fec63c4e10abe943f36b135b"
},
"downloads": -1,
"filename": "mindai-2023.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5f302934672877e427b6576029a6e1b3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4486,
"upload_time": "2022-12-24T04:47:44",
"upload_time_iso_8601": "2022-12-24T04:47:44.293975Z",
"url": "https://files.pythonhosted.org/packages/6d/f1/4c0d6b8b0194b8342569024808a92e8ecebf4074b4b33ae864b5f7cf5a54/mindai-2023.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "3c4655d6fdd647dcb4ed84466f296409",
"sha256": "2e08f5cf05c358fda973bb2f0aafb408c9c02030d1f499595187c9b23f651649"
},
"downloads": -1,
"filename": "mindai-2023.1.3.tar.gz",
"has_sig": false,
"md5_digest": "3c4655d6fdd647dcb4ed84466f296409",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4468,
"upload_time": "2022-12-24T04:47:47",
"upload_time_iso_8601": "2022-12-24T04:47:47.780145Z",
"url": "https://files.pythonhosted.org/packages/0c/54/236c80f048ef4caad2c2c377232d30a7d6bda1a6dac38e7284296fb5f8aa/mindai-2023.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-24 04:47:47",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "mindai"
}