mindai is a package has alot of ai tools like chat with ai or code generate and more.
Examples Chat with ai (Offline)+:
import mindai
from mindai import Ai
ai = Ai()
chat = ai.chat(message="Hello! How are you?")
print(chat)
#print(chat['reply'])
Text from image (OCR) :
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'])
Code Generatetor :
import mindai
from mindai import Ai
ai = Ai()
code = a.code_gen(prompt="hello world",lang="python")
print(code)
#print(code['code'])
Word mean :
import mindai
from mindai import Ai
ai = Ai()
means = ai.word_mean(word="men")
print(means)
#print(means['mean'])
Audio to Text (STT) :
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'])
Explain Code :
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'])
Image Search Engine (Ai Make, Images.) :
import mindai
from mindai import Ai
ai = Ai()
eng = ai.image_search(query="Duck")
print(eng)
#print(eng['images'])
Dalle-2 Text-To-Image (New!) :
import mindai
from mindai import Ai
ai = Ai()
eng = ai.dalle_2("Duck eat sandwich")
print(eng)
#print(eng['url'])
Complete Setenece :
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'])
Text-To-Anime Image! :
import mindai
from mindai import Ai
ai = Ai()
eng = ai.text_to_anime("A Iraqi Men")
print(eng)
#print(eng['url'])
Prompt Extend :
import mindai
from mindai import Ai
ai = Ai()
eng = ai.prompt_extend("Elon Musk")
print(eng)
#print(eng['text'])
Get Verbs and Names and Company Names :
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'])