Python | Machine Learning | Coding | R
67.3K subscribers
1.25K photos
89 videos
153 files
906 links
Help and ads: @hussein_sheikho

Discover powerful insights with Python, Machine Learning, Coding, and Rβ€”your essential toolkit for data-driven solutions, smart alg

List of our channels:
https://t.iss.one/addlist/8_rRW2scgfRhOTc0

https://telega.io/?r=nikapsOH
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ–₯ Want your Telegram bot to respond using ChatGPT?

Do it in a couple of minutes: just install the python-telegram-bot library, add your #OpenAI #API key and bot token, and the bot will start replying to all messages using #ChatGPT.

from telegram import Update
from telegram.ext import ApplicationBuilder, MessageHandler, filters, ContextTypes
from openai import OpenAI


Specify your keys
OPENAI_API_KEY = "sk-..." 
TELEGRAM_TOKEN = "123456789:ABC..."

client = OpenAI(api_key=OPENAI_API_KEY)

async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE):
    user_text = update.message.text

    response = client.chat.completions.create(
        model="gpt-4o-mini",
        messages=[{"role": "user", "content": user_text}]
    )

    await update.message.reply_text(response.choices[0].message.content)

app = ApplicationBuilder().token(TELEGRAM_TOKEN).build()
app.add_handler(MessageHandler(filters.TEXT & ~filters.COMMAND, handle_message))
app.run_polling()


https://t.iss.one/CodeProgrammer πŸ‘
Please open Telegram to view this post
VIEW IN TELEGRAM
❀7πŸ‘2
πŸ€–πŸ§  Sora: OpenAI’s Breakthrough Text-to-Video Model Transforming Visual Creativity

πŸ—“οΈ 18 Oct 2025
πŸ“š AI News & Trends

Introduction Artificial Intelligence (AI) is rapidly transforming the creative world. From generating realistic images to composing music and writing code, AI has redefined how humans interact with technology. But one of the most revolutionary advancements in this domain is Sora, OpenAI’s text-to-video generative model that converts written prompts into hyper-realistic video clips. Ithas captured global ...

#Sora #OpenAI #TextToVideo #AI #VisualCreativity #GenerativeModel
❀6
πŸ€–πŸ§  Free for 1 Year: ChatGPT Go’s Big Move in India

πŸ—“οΈ 28 Oct 2025
πŸ“š AI News & Trends

On 28 October 2025, OpenAI announced that its mid-tier subscription plan, ChatGPT Go, will be available free for one full year in India starting from 4 November. (www.ndtv.com) What is ChatGPT Go? What’s the deal? Why this matters ? Things to check / caveats What should users do? Broader implications This move by OpenAI indicates ...

#ChatGPTGo #OpenAI #India #FreeAccess #ArtificialIntelligence #TechNews
❀7