Added programming language Compiler support to @GojoAssistantBot đ for test codes! @NandhaBots #gojoassistant
đĨ°1
Chatbot Updated for @GojoAssistantbot now it can support image/sticker response.. đ
#Chatbot #GojoAssistant #update
Since the inline mode has been turn on so it must be difficult to type bot username so I've added one username to access chatbot @gojo
#Chatbot #GojoAssistant #update
Please open Telegram to view this post
VIEW IN TELEGRAM
đĨ3đ¤¯1
Nandha Bot's Channel via @GojoAssistantBot
Inline command for @GojoAssistantBot!
Made animation gif scrapper the AnimationSearch func which takes two parameters
After you scape the data you can use link to get the download link of animation by GetAnimationSource Function thanks for the support. you use it with bot for testing useđ By @NandhaBots
Source: https://gist.github.com/NandhaxD/36d8ad4494c9c70eae50b756dd378d85
#GojoAssistant #Scape
query
and page_number
for search animation from site if it's find it will give you well formatted dictionary data {'title': 'cat', 'link': 'download link here', 'image': 'image link here'}
After you scape the data you can use link to get the download link of animation by GetAnimationSource Function thanks for the support. you use it with bot for testing use
@GojoAssistantBot
inline. Source: https://gist.github.com/NandhaxD/36d8ad4494c9c70eae50b756dd378d85
#GojoAssistant #Scape
Please open Telegram to view this post
VIEW IN TELEGRAM
Chatbot module has been upgraded! Now it can hold a maximum of 15 chats. If you want more, consider donating đ: /donate đ
#GojoAssistant
#GojoAssistant
import aiohttp
class Gemini:
def __init__(self, api_key: str):
self.api_key = api_key
async def ask(self, prompt: str, file: dict = {}) -> dict:
async with aiohttp.ClientSession() as session:
payload = {}
payload["contents"] = []
if file:
file_uri = file["file"]["uri"]
payload["contents"].append(
{
"role": "user",
"parts": [
{
"fileData": {
"fileUri": file_uri,
"mimeType": "image/jpeg"
}
},
{
"text": prompt
}
]
}
)
else:
payload["contents"].append(
{
"role": "user",
"parts": [
{
"text": prompt
}
]
}
)
payload["generationConfig"] = {
"temperature": 0.9,
"topK": 40,
"topP": 0.95,
"maxOutputTokens": 1024,
"responseMimeType": "text/plain"
}
async with session.post(f"https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-8b-exp-0924:generateContent?key={self.api_key}", headers={"Content-Type": "application/json"}, json=payload) as response:
try:
results = await response.json()
return results
except Exception as e:
return {"error": str(e)}
async def upload_image(self, path: str) -> dict:
with open(path, "rb") as file:
async with aiohttp.ClientSession() as session:
payload = {"file": file}
async with session.post(f"https://generativelanguage.googleapis.com/upload/v1beta/files?key={self.api_key}", data=payload) as response:
try:
return await response.json()
except Exception as e:
return {"error": str(e)}
os.remove(path)
âī¸ Get your API key:
https://aistudio.google.com/app/apikey
Use @GojoAssistantBot /gemini or /google cmd replaced old model with official api
#gojoai #gemini #gojoassistant
@NandhaBots
Please open Telegram to view this post
VIEW IN TELEGRAM
đ1
+ Added custom welcome message module for #gojoAssistant for more detailed info use
/help welcome
Moreover if custom welcome haven't set the default welcome will come instead.
đ1
+ Added
(command for search sticker packs through telegram)
+ Added /htmltoimg convert html text to image
#gojoAssistant
/stickers gojo
:(command for search sticker packs through telegram)
+ Added /htmltoimg convert html text to image
#gojoAssistant
đĨ4
This media is not supported in your browser
VIEW IN TELEGRAM
Okay we have added autofilter module for inline search, now you can share the files anywhere you wanted.
Supports Types for Specific fields without this it will search globally for types: #songs #apps #movies #anime
Example:
#gojoAssistant
Any bugs ?
Report: @NandhaSupport
@nandhabots
Supports Types for Specific fields without this it will search globally for types: #songs #apps #movies #anime
Example:
@GojoAssistantBot autofilter #music
thank@GojoAssistantBot autofilter #movie
amaran@GojoAssistantBot autofilter #anime
anime mov@GojoAssistantBot autofilter #app
app#gojoAssistant
Any bugs ?
Report: @NandhaSupport
@nandhabots
đ3â¤1
âĻ Send All, Send Page buttons have been merged to autofilter & filters results. And 5 lakhs files indexed â
âĻ Google Search command fixedâ
âĻ Added /copypasta, /owo, /shout fun commandsâ
âĻ Anime characters/anime search fixedâ
âĻ AI chatbot bug/speed fixedâ
âĻ File Renamer fixedâ
âĻ Deep link upgradedâ
Tags:
#gojoAssistant #tgbot #update
By @NandhaBots
âĻ Google Search command fixed
âĻ Added /copypasta, /owo, /shout fun commands
âĻ Anime characters/anime search fixed
âĻ AI chatbot bug/speed fixed
âĻ File Renamer fixed
âĻ Deep link upgraded
Tags:
#gojoAssistant #tgbot #update
By @NandhaBots
Please open Telegram to view this post
VIEW IN TELEGRAM
đ4đĨ3đ2
#NewProfileUpdated #GojoAssistant #changed
đ Logo is edited by me, if you have your own preference please comment it.
Please open Telegram to view this post
VIEW IN TELEGRAM
đ3
https://t.me/GojoAssistantChat
https://t.me/GojoAssistantChat
https://t.me/GojoAssistantChat
đ Group recovered but with new username â¤ī¸
https://t.me/GojoAssistantChat
https://t.me/GojoAssistantChat
Please open Telegram to view this post
VIEW IN TELEGRAM
Telegram
đđŧđˇđŧ đđđđļđđđŽđģđ đđĩđŽđ
Hey, I'm Gojo! đĨ Strongest assistant in the multiverse. #gojo #majestic #gojoAssistant
Bot: @gojoAssistantBot
By @NandhaBots
Bot: @gojoAssistantBot
By @NandhaBots
â¤2đ2