Python | Machine Learning | Coding | R
66.9K subscribers
1.23K photos
88 videos
151 files
889 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
πŸ”₯ Trending Repository: Prompt-Engineering-Guide

πŸ“ Description: πŸ™ Guides, papers, lecture, notebooks and resources for prompt engineering

πŸ”— Repository URL: https://github.com/dair-ai/Prompt-Engineering-Guide

🌐 Website: https://www.promptingguide.ai/

πŸ“– Readme: https://github.com/dair-ai/Prompt-Engineering-Guide#readme

πŸ“Š Statistics:
🌟 Stars: 63K stars
πŸ‘€ Watchers: 668
🍴 Forks: 6.6K forks

πŸ’» Programming Languages: MDX - Jupyter Notebook

🏷️ Related Topics:
#deep_learning #openai #language_model #prompt_engineering #generative_ai #chatgpt


==================================
🧠 By: https://t.iss.one/DataScienceM
❀7πŸ‘1
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
❀6πŸ‘1
πŸ€–πŸ§  NanoChat: The Best ChatGPT That $100 Can Buy

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

In a world dominated by billion-dollar AI models like GPT-4 and Claude 3, it’s refreshing to see a minimalist, open-source alternative that puts the power of Large Language Models (LLMs) back into the hands of hackers, researchers and enthusiasts. Enter NanoChat – an end-to-end, full-stack implementation of a ChatGPT-style AI chatbot developed by Andrej Karpathy, ...

#NanoChat #ChatGPT #AI #LargeLanguageModels #OpenSource #AndrejKarpathy
❀1