Archive


Category: 似水流年

  • helm for nginx ingress controller

    🧭 Helm to install the NGINX Ingress Controller 🔒 HTTPS termination using a self-signed TLS secret (or you can replace with cert-manager later) 🌐 A sample web service (echo server) 📦 An Ingress resource with host routing and HTTPS 📦 Project Structure (1-file setup) You can copy/paste this into a single script or Helm chart, […]

  • build local knowledge base 2

    Building a Local Knowledge Base and Agent with LLM Here’s a detailed guide on how to create a local knowledge base from your files and build an agent that can interact with this knowledge. Part 1: Building a Local Knowledge Base Step 1: Set Up Your Environment # Create a virtual environment python -m venv […]

  • how to build local knowledge base by LLM 1?

    we can build a local knowledge base powered by RAG (Retrieval-Augmented Generation) using: 🔍 ChromaDB (embedded vector DB) 🧠 Ollama (local LLM: Mistral, LLaMA, etc.) ✍️ Go code to ingest documents, embed chunks, and query with context ✅ Prerequisites Install the following tools: # Chroma as a Python backend server pip install chromadb # Ollama […]

  • saturation

    In software service observability, saturation refers to how "full" or constrained a system or service is in terms of its capacity to handle more work. It is one of the "Four Golden Signals" in the Google SRE book: Latency, Traffic (Usage), Errors, and Saturation To understand saturation beyond Usage (traffic), Errors, and Delay (latency), think […]

  • Chrome Plugin Development – A Beginner’s Guide

    Chrome Plugin Development – A Beginner’s Guide I understand you’re new to Chrome plugin (extension) development. Let me walk you through the general framework and steps to create a Chrome extension from scratch. Core Concepts of Chrome Extensions Chrome extensions are built using web technologies: HTML (for UI) CSS (for styling) JavaScript (for functionality) JSON […]

  • review interceptors

    In a Spring Boot project, interceptors are typically implemented using HandlerInterceptor or HandlerInterceptorAdapter (deprecated since Spring 5.3). These interceptors allow you to intercept HTTP requests before they reach the controller. 1. Checking How Many Interceptors Are Registered To see all the interceptors in your Spring Boot application, you can do the following: Approach 1: Print […]

  • AWS Route 53

    In AWS Route 53, Weighted Routing allows you to control the distribution of traffic between multiple resources by assigning weights to DNS records. How Weighted Routing Works Each DNS record in a weighted routing policy has an associated weight (a number between 0 and 255). The proportion of traffic directed to each record is determined […]

  • 提示词之会议纪要

    Got from https://www.aisolink.com/5-easy-chatgpt-prompts-for-creating-high-quality-articles 角色:会议纪要生成专家 背景:用户需要将会议的笔记和聊天记录整理成详细的会议纪要,以便于参会者回顾和跟进。会议纪要需要详实,清晰地展示会议的关键内容,包括讨论的主题、决定的事项和待办事项。此外,会议纪要还需要纠正语音转化错误,确保信息的准确性。 注意:你在整理会议纪要的能力对于提供准确、全面和有用的信息至关重要,这将有助于参会者理解会议的关键内容,跟踪决定事项,并完成待办事项。 个人资料: – 语言:中文 – 描述:作为会议纪要生成专家,你擅长从会议笔记和聊天记录中提炼关键信息,整理成详实的会议纪要,帮助参会者回顾会议内容,跟踪决定事项,完成待办事项。 技能: – 对会议内容有深入的理解,包括讨论的主题、决定的事项和待办事项。 – 熟练于从会议笔记和聊天记录中提炼关键信息。 – 敏锐的纠正语音转化错误的能力,确保信息的准确性。 – 熟练于将信息整理成详实的会议纪要,包括时间戳、主题模块和待办事项。 目标: – 从会议笔记和聊天记录中提炼关键信息。 – 纠正语音转化错误,确保信息的准确性。 – 将信息整理成详实的会议纪要,包括时间戳、主题模块和待办事项。 约束: – 会议纪要需要详实,不能略写。 – 需要包含时间戳,如- 0:00:00 我们讨论了申请事项。 – 需要分出主题模块,如- 主题1:相互问候、主题2:决定事项等。 – 需要提炼要做的内容,列出待办事项,标题为”TODO List”。 – 需要纠正语音转化错误,确保信息的准确性。 工作流程: 首先,从会议笔记和聊天记录中提炼关键信息,包括讨论的主题、决定的事项和待办事项。 然后,纠正语音转化错误,确保信息的准确性。 最后,将信息整理成详实的会议纪要,包括时间戳、主题模块和待办事项。 输出格式: – 写个”# 会议纪要”换行 – 写上主题模块+若干个带有时间戳的会议内容 – 重复第二步直到时间戳覆盖所有时间 – […]

  • 提示词之社交媒体内容策略

    Got from https://www.aisolink.com/5-easy-chatgpt-prompts-for-creating-high-quality-articles Role 社交媒体内容策略指导专家 Profile – author: 夙愿 – version: 1.0 – description: 你是一名专业的社交媒体定位咨询专家,擅长帮助用户找到他们的专长和兴趣点,并在此基础上,引导他们找到一个具有市场需求的细分领域,确定目标粉丝群体,并思考如何为这些粉丝提供价值。 Goals – 帮助用户找到他们的专长和兴趣点。 – 在用户选择的领域内,找到一个细分、竞争较小、但有市场需求的领域。 – 确定目标粉丝群体,并思考如何为他们提供价值。 – 在整个过程中,提供持续的支持和建议,帮助用户优化和调整策略。 Tone 友好而专业,以口语化的方式与用户交流 Workflow -Step 1: 用户背景理解 – 引导用户分享他们的背景信息、特长和兴趣点。 逐行提问:【你能简单描述一下你的工作背景和经验吗? 你有哪些特长或者独特技能? 你目前的兴趣点是什么? 你打算在哪个社交媒体平台发布内容呢?】 – 如果用户提供的信息较少,你需要进一步引导。 -Step 2: 技能和领域建议 – 基于用户的输入,提供关于可能的技能和领域的建议和分析。 – 基于以上列出的建议选项,给出你的推荐选择,并简要说明推荐的理由。 -Step 3: 细分领域建议 – 帮用户在这个技能对应的领域下面,找一个更为细分、竞争较小、但又有市场需求的领域。 – 给出你的推荐选择,并简要说明推荐的理由。 – 如用户在多个领域之间犹豫,列出他们选择的不同领域的优劣点。 -Step […]