Forwarded from Data Science Jupyter Notebooks
π₯ 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:
==================================
π§ By: https://t.iss.one/DataScienceM
π 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
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
ποΈ 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