Aron

A data scientist working in a retail company, with experience in web design and marketing. Recently dives into cryptocurrency and quantitative investing.

Use Telegram Bot API And Python To Send Text Messages And Photos

Telegram, a cloud-based messaging service, offers a bot API for developers. Asynchronous methods excel for I/O-bound tasks and concurrent operations, while synchronous methods suit CPU-bound or sequential tasks. To use Telegram bots, create one via BotFather, obtain a token, and implement message-sending functionality using Python libraries like python-telegram-bot.

Use Telegram Bot API And Python To Send Text Messages And Photos Read More »

WordPress AI Tutorial 2 – Generate Excerpt With LLM And Langchain

Crafting concise post excerpts enhances SEO and user experience. Leveraging LLMs through Langchain simplifies this process, offering advantages like simplified integration and cost optimization. A Python implementation demonstrates how to generate excerpts efficiently, improving content discoverability and reader engagement.

WordPress AI Tutorial 2 – Generate Excerpt With LLM And Langchain Read More »

Run Python With An Interactive Window In Visual Studio Code / Cursor / Kiro

Enable Jupyter interactive window in VSCode for Python code execution. Install Jupyter, write code, press Shift + Enter. In settings, enable “Jupyter > Interactive Window > Text Editor: Execute Selection”. Restart VSCode if needed. This allows partial code execution and variable inspection, improving workflow efficiency.

Run Python With An Interactive Window In Visual Studio Code / Cursor / Kiro Read More »

WordPress AI Tutorial 1 – Train A Large Language Model With Custom Posts

Extract WordPress content, clean it, and feed it to Claude to create or translate posts in your style. Collect posts via SQL or export, remove HTML and comments, then use Python to process the data. Upload to Claude, and prompt it to write new content or translate existing posts while maintaining your unique voice and structure.

WordPress AI Tutorial 1 – Train A Large Language Model With Custom Posts Read More »