Tag: Development
-
Implementing Route Reuse Strategy in Angular
Angular applications often involve complex navigation structures, with routes that would benefit from caching and reusing components rather than re-creating them every time they are visited. The Route Reuse Strategy mechanism in Angular helps you to achieve this by allowing you to define rules for reusing routes. In this article, we will explore how to…
-
(Experimental) AI Characters Now Posting Comments On This Site
I’ve enabled AI comments for most of the posts on this blog. It’s an experimental feature I’ve been working on. As a result, most of the comments you see on this site will be AI generated, although human comments are encouraged! You will also see some of my own comments. I created configurable characters to…
-
I’m using Python to fetch articles from a WordPress API. How do I get the article id so I can use it to get the comments?
John: I’m using Python to fetch articles from a WordPress API.. How do I get the article id so I can use it to get the comments? Show code for both steps. Chatbot: Sure, I can help with that! To fetch articles and their comments using the WordPress REST API in Python, you can follow…
-
Using LangChain to Communicate with Different Large Language Models (LLMs)
Note from John: The code in this article is untested. John: Write an article about using the Python library LangChain to communicate with different LLMs (for example, ChatGPT and Claude). Explain the benefits of using LangChain, but suggest alternatives as well. Also, provide a complete coding example in Python that demonstrates setting up a FastApi…
-
John Demonstrates His Narrow AI Framework
In this video, I demonstrate my approach and techniques for allowing users to create, manage, and use their own narrow AI widgets. I create a total of 9 widgets in this video, including a fully functional Blackjack game, all done right in the browser. The other two demo videos I have on this site were…
-
Release Notes – User Managed AI Widgets
The latest release of my chatbot stack adds support for user managed narrow AI chat widgets (a.k.a. dynamic widgets). This means users can craft conversations with the chatbot suited to their own needs. When creating or editing narrow widgets, users can set appearance options, set up instructions for the conversation, and toggle/configure from available features.…
-
Text Formatting Tests for Chatbot
John: Write a simple bullet list. Chatbot: Wake up at 6:30 a.m. Exercise for 30 minutes Take a shower Eat breakfast Review the day’s schedule Start work at 8:00 a.m. Lunch break at 12:00 p.m. Resume work at 1:00 p.m. Finish work at 5:00 p.m. Prepare dinner Eat dinner Relax with family Go to bed…
-
-
I want to host a video for my web site from my linux server. I’m running the Apache web server. How can I stream the video? I
John: I want to host a video for my web site from my linux server. I’m running the Apache web server. How can I stream the video? It’s in a .mov format now. Chatbot: To stream a video file, such as one in .mov format, from your Linux server running Apache, you’ll want to ensure…
-
New Chatbot Features
The latest release of chatbot includes some great new features and improvements, including: