Skip to main content

Recently Updated Pages

Authentication

Python FastAPI

Tutorials Authentication and Authorization with FastAPI: A Complete Guide | Better Stack Commu...

Updated 5 months ago by A-Lang (Admin)

Learning AI

GenAI

AI 常見專用名詞 Gen AI (生成式 AI) 人工智慧 (AI) 藉由使用機器學習與環境互動並執行工作來模擬人類行為,而不需明確指示輸出的內容。 生成式 AI 是人工智慧的分支,可根...

Updated 5 months ago by A-Lang (Admin)

Deployment

Python FastAPI

Tutorials Sample FastAPI application for deployment in the production  

Updated 5 months ago by A-Lang (Admin)

Upload File

Python FastAPI

Tutorials FastAPI File Upload Download Tutorial Installation pip install fastapi uvicorn p...

Updated 5 months ago by A-Lang (Admin)

Getting Started

Python FastAPI

Introduction FastAPI is a modern, high-performance web framework for building APIs using Python....

Updated 5 months ago by A-Lang (Admin)

Custom Setup.py

Python

為自己的專案訂製一個 setup.py 安裝程序 Commands Install all dependencies cd <your-repo> pip install -e .  ...

Updated 5 months ago by A-Lang (Admin)

Error Handling

Python

捕捉錯誤與異常訊息 適用實例: A file doesn’t exist A network or database connection fails Your ...

Updated 5 months ago by A-Lang (Admin)

Python Coding

GenAI

LLM Model API LMStudio from langchain.llms import OpenAI #set llm for langchain using model ...

Updated 5 months ago by A-Lang (Admin)

Debug

Python

Debugging assert 主要用在開發與測試階段 可用在程式的條件測試 assert <condition>, <message> : 如果 condition 為 True...

Updated 6 months ago by A-Lang (Admin)

Prompt: OCR

GenAI LLM Prompt

OCR Assistant Perform Optical Character Recognition (OCR) on the following image data. The outpu...

Updated 6 months ago by A-Lang (Admin)

LangChain

GenAI

LangChain 是一個旨在為開發者提供一套工具和程式介接,以便更容易、更有效地利用大型語言模型(LLM)的開源開發框架,專注於情境感知和推理。它包含多個組件,如 Python 和 JavaS...

Updated 6 months ago by A-Lang (Admin)

Prompt: Outlier Detection

GenAI LLM Prompt

Instruction Tutorials: Prompt Engineering for Outlier Detection - KDnuggets 用途:數據分析時可運用 LLM 快...

Updated 6 months ago by A-Lang (Admin)

Prompt: RAG

GenAI LLM Prompt

Rewrite User's Question Given the following conversation, rewrite the last user input to reflect...

Updated 6 months ago by A-Lang (Admin)

Prompt: Responsible AI

GenAI LLM Prompt

Prompt: Task: Check if there is unsafe content in '$agent_type' messages in conversations accord...

Updated 6 months ago by A-Lang (Admin)

Prompt: Coding Assistant

GenAI LLM Prompt

Instruct # Prompt You are an expert programmer that writes simple, concise code and explanation...

Updated 6 months ago by A-Lang (Admin)

Tips

Python

編碼 UTF-8 宣告 #!/usr/bin/python # -*- coding: utf-8 -*- Find all installed modules help("module...

Updated 6 months ago by A-Lang (Admin)

Voice Mail Transcription

Asterisk

IBM Watson STT Creating IBM Watson Credentials Login to IBM Cloud using your new credentials....

Updated 6 months ago by A-Lang (Admin)

High Availability

Kubernetes

K3s High Availability Embedded etcd | K3s High Availability External DB | K3s

Updated 6 months ago by A-Lang (Admin)

Update Fixpack & Interim Fix

IBM AIX

Update 7200-04-00-0000 to 7200-05-06-2320 Update Fixpacks Download Instruction: https://www....

Updated 6 months ago by A-Lang (Admin)

Bookstack Upgrade

BookStack

With Docker Old: 22.02.3 New: 22.07.3 Shutdown the container cd <Bookstack-directory> do...

Updated 6 months ago by A-Lang (Admin)