AI Agent Hub

Blog

In-depth articles on AI agents, LLM engineering, servers, Python and software development.

📝
Installing Docker on Ubuntu with GPU Support
Aug 29, 2024 · Backend

This article introduces the installation and configuration of Docker using the Alibaba Cloud mirror source, with support for NVIDIA GPU usage. First, add the Alibaba Cloud GPG key and set up the repos

# Ubuntu # Docker # eureka 1,143 views
📝
Starting Programs with /etc/rc.local on Ubuntu 22.04
Jul 02, 2024 · Backend

This article introduces the method to achieve program startup at boot using `/etc/rc.local` on Ubuntu 20.04 or 22.04 systems. It requires editing the `/lib/systemd/system/rc-local.service` file to add

# Ubuntu 1,116 views
📝
Night Rain Drifting · A Thousand Questions: Answering Your Endless Queries
Apr 09, 2024 · Starter

Night Rain Drifting · Qianwen Launcher is an efficient and convenient LLM (Large Language Model) launching tool. It supports the Windows system and requires an NVIDIA graphics card with a driver versi

# Large Language Model # Tongyi Qianwen # One - key start 833 views
📝
HarmonyOS Application Development - Recording, Saving, and Playing Audio
Mar 26, 2024 · HarmonyOS Application Development

Your code example demonstrates how to implement audio recording and playback functions in HarmonyOS. Below is a summary of the code and some improvement suggestions: ### Summary 1. **Permission Appl

# HarmonyOS # Audio and Video # Huawei 844 views
📝
HarmonyOS Application Development - Recording Audio and Implementing Real - time Speech Recognition with WebSocket
Mar 26, 2024 · HarmonyOS Application Development

Your code implements a complete example of real-time speech recognition using WebSocket. The following are some supplementary and optimization suggestions for the entire project to ensure robustness a

# HarmonyOS # websocket # Speech Recognition 855 views
📝
HarmonyOS App Development - Customizable Deletable List Popup
Feb 03, 2024 · HarmonyOS Application Development

This application implements a custom list popup window function, supporting task addition, deletion, and confirmation. The specific implementation is as follows: 1. **Entity Class**: The `Intention`

# HarmonyOS # Huawei 728 views
📝
HarmonyOS Application Development - Imitating WeChat Chat Message List
Jan 19, 2024 · HarmonyOS Application Development

This example demonstrates how to create a chat application interface similar to WeChat using ArkTS. The page structure includes a scrollable message list and a button to dynamically add new messages.

# HarmonyOS # WeChat # Huawei 700 views
📝
HarmonyOS Application Development - Sending POST Request and Obtaining Result
Jan 19, 2024 · HarmonyOS Application Development

This code is used to send data to the server via a POST request and parse the JSON response. The core functionalities include: 1. Using the `http.createHttp().request()` method to send asynchronous PO

# HarmonyOS # Huawei 781 views
📝
HarmonyOS Application Development - Playing Local Audio Files
Jan 18, 2024 · HarmonyOS Application Development

This document introduces the implementation of audio playback functionality on HarmonyOS using the AVPlayer audio and video player. The main steps include: 1. Creating an `AVPlayer` instance and regis

# HarmonyOS # Huawei 762 views
📝
HarmonyOS Application Development - Requesting Voice Synthesis Service to Obtain Audio File
Jan 18, 2024 · HarmonyOS Application Development

This document describes a text-to-speech service implemented using HarmonyOS, which uploads text data and requests the server to return audio data. Key steps include creating HTTP requests, setting re

# HarmonyOS # Huawei 800 views