Nandha's Channel [ தமிழன் பாட்கள் ] ("⁧;⁧(⁧"⁧
1.53K subscribers
180 photos
125 videos
40 files
296 links
🗣️ Discussion Group - @NandhaSupport
📢 Network Channel - @NandhaNetwork
🛒 Market Shop - @NandhaMarket

Owner: @Nandha

ℹ️ GitHub Account:
https://github.com/nandhaxd

ℹ️ GitHub Organization: https://github.com/Nandhabots
Download Telegram
Added programming language Compiler support to @GojoAssistantBot 👍 for test codes! @NandhaBots #gojoassistant
🥰1
Chatbot Updated for @GojoAssistantbot now it can support image/sticker response.. 🌟


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's Channel [ தமிழன் பாட்கள் ] ("⁧;⁧(⁧"⁧ via @GojoAssistantBot
Inline command for @GojoAssistantBot!
Made animation gif scrapper the AnimationSearch func which takes two parameters 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. 👍 By @NandhaBots

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
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


👨‍💻 For Example:
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 /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:
@GojoAssistantBot autofilter #music thank
@GojoAssistantBot autofilter #movie amaran
@GojoAssistantBot autofilter #anime anime mov
@GojoAssistantBot autofilter #app app

#gojoAssistant

Any bugs ?
Report: @NandhaSupport


@nandhabots
👍31
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
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