Quick learn: -Getting Started Building Generative AI Using HuggingFace Open Source Models And Langchain – part 1

Short weekly tech update video (31:05 minutes).This week:langchain_huggingface, a partner package in LangChain jointly maintained by Hugging Face and LangChain. This new Python package is designed to bring the power of the latest development of Hugging Face into LangChain and keep it up to date. langchain-huggingface integrates seamlessly with LangChain, providing an efficient and effective … Read more

Quick learn: How to Create AKS Cluster in Azure | AKS Cluster Creation & App Deployment (Demo)

Short weekly tech update video (14:12 minutes).This week:Shows a break down the fundamentals of AKS cluster configuration but and guides through the deployment of a real-world application on a newly created AKS cluster. It demonstrates the step-by-step process of creating an Azure Kubernetes Service (AKS) cluster using the intuitive Azure Portal.Follow Kubernetes in action, pulling … Read more

Tips and tricks: Kill zombie processes in Linux

In Linux, a zombie process is a terminated process that remains in the process table because its parent process has not yet read its exit status. It occurs when a child process completes but its parent process hasn’t called wait() to retrieve the child’s status. These “defunct” processes consume minimal resources but can clutter the … Read more

Monitor and test the capabilities of OpenAI models with Python (Part 2: streamlit GUI)

In a previous article, the process of retrieving OpenAI models and their capabilities using Python was demonstrated. In this post, the same functionality will be extended by creating a web interface using Streamlit, allowing users to interact with OpenAI models via their browser. The web app will list available OpenAI models, perform basic tests, and … Read more

[Portainer] Reset admin user password (container)

If the Portainer admin password is lost, follow these steps to reset it. There are three methods depending on your Portainer environment. Here the first solution is discussed Method 1: Resetting the admin password if Portainer runs as a container. Link: https://docs.portainer.io/advanced/reset-admin

Monitor and test the capabilities of OpenAI models with Python (Part 1: command line)

For developers in the field of artificial intelligence, verifying the accuracy of AI models is crucial. This blog introduces a Python script designed to automatically check the capabilities of OpenAI models directly from the command line. Objective of the Script The script interfaces with the OpenAI API to fetch all available GPT models, tests each … Read more

Building a Stock Chart Display Application with Flask and Python

This post describes deploying a Flask-based application on a Linux system (Ubuntu, in this case) to display stock charts using Python. The simplicity of Flask makes it an ideal choice for DevOps engineers looking to leverage Python for web projects. Prerequisites Step 1: Setting Up Your Environment First, ensure you have Python and pip installed … Read more

[Python] Terraform install (AI generated)

This the python version of the bash script discussed in a previous post The script is designed to automate the installation and update process of Terraform (binary).What does the script do: Below Bash Code will install or update Terraform (File: install_terraform.sh) This is AI generated code (based on sample input of the previous terraform.sh bash … Read more