Skip to content

Instantly share code, notes, and snippets.

@failable
failable / spec.md
Created November 3, 2025 03:11
spec

FastestAI Dataflow 系统规范

概述

FastestAI Dataflow 是一个基于 DataFrame 范式的业务数据工作流自动化系统,属于 MaybeAI 平台的核心组件。该系统实现了完整的"获取 → 分析 → 行动"业务循环,允许用户用自然语言描述数据需求,自动生成可执行的数据处理工作流。

核心理念

字段模板模式(Field Template Pattern)

Dataflow 的核心是表格构建工作流,遵循字段模板模式:

error: failed to run custom build command for `llama-cpp-sys-2 v0.1.122`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `/var/folders/f6/_kryk9_n3qs8jrc9c4jf0lgr0000gn/T/cargo-installpfCZBs/release/build/llama-cpp-sys-2-91cbecc6df914f93/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-env-changed=LLAMA_LIB_PROFILE
cargo:rerun-if-env-changed=LLAMA_BUILD_SHARED_LIBS
cargo:rerun-if-env-changed=LLAMA_STATIC_CRT
{
"id": "3d9a57fa-c4f1-4730-94ef-e0489a5489f1",
"type": "data",
"data": {
"data": {
"id": "3af8d478-afe7-4c4b-9465-2099c92c5f85",
"title": "Twitter Content to Infographic Processing Pipeline",
"objective": "Read Twitter URLs from a Google Sheet, extract actual tweet content, generate infographics from the content, and update the sheet with results and completion status",
"variables": [
{
{
"request_id": "67624cfc-9d55-45af-9c8b-1e78cd14445c",
"chat_id": "111",
"shop_name": "润星壹药医药专营店",
"shop_id": "322188712",
"company_id": 2840397487074709761,
"platform_id": 5,
"messages": [
{
"timestamp": 1750160042000,
@failable
failable / networkservice.sh
Created March 15, 2025 06:22 — forked from reorx/networkservice.sh
macOS: get current active network device name, interface, mac
#!/bin/bash
services=$(networksetup -listnetworkserviceorder | grep 'Hardware Port')
while read line; do
sname=$(echo $line | awk -F "(, )|(: )|[)]" '{print $2}')
sdev=$(echo $line | awk -F "(, )|(: )|[)]" '{print $4}')
#echo "Current service: $sname, $sdev, $currentservice"
if [ -n "$sdev" ]; then
ifout="$(ifconfig $sdev 2>/dev/null)"
---------- user ----------
Generate an image to show the history of Tesla
---------- PlanningAgent ----------
To generate an image showcasing the history of Tesla, we need to follow a series of structured steps:
1. **Research and Information Gathering**: We need to gather detailed information regarding Tesla's history, including key events, milestones, and developments.
2. **Content Creation**: We will need to create a narrative that highlights key points in Tesla's timeline to be visually represented in an infographic.
3. **Content Review**: The content needs to be reviewed for accuracy, clarity, and consistency with Tesla's brand and message.
This file has been truncated, but you can view the full file.
// Send:
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///Users/maximin/Downloads/aaa/src/aaa/__init__.py","version":9},"contentChanges":[{"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":0}},"text":"s"}]}}
// Send:
{"jsonrpc":"2.0","id":126,"method":"textDocument/completion","params":{"textDocument":{"uri":"file:///Users/maximin/Downloads/aaa/src/aaa/__init__.py"},"position":{"line":2,"character":1},"context":{"triggerKind":1}}}
// Receive:
{"jsonrpc":"2.0","id":126,"result":{"items":[{"label":"__spec__","kind":6,"data":{"uri":"file:///Users/maximin/Downloads/aaa/src/aaa/__init__.py","position":{"line":2,"character":1},"symbolLabel":"__spec__"},"sortText":"11.9999.__spec__"},{"label":"__annotations__","kind":6,"data":{"uri":"file:///Users/maximin/Downloads/aaa/src/aaa/__init__.py","position":{"line":2,"character":1},"symbolLabel":"__annotations__"},"sortText":"11.9999.__annotations__"},{"label":"__builtins__","kind":6,"data":{"uri":"file:///User
import os
import taipy.gui.builder as tgb
from openai import OpenAI
from qdrant_client import QdrantClient
from qdrant_client.models import PayloadFieldSchema
from taipy.gui import Gui
OPENAI_EMBEDDING_MODEL = "text-embedding-ada-002"
@failable
failable / shell-command-with-aliasses.el
Created September 27, 2023 16:17 — forked from amno1/shell-command-with-aliases.el
Use Bash aliases in interactive shell-comands
;;; shell-command-with-aliasses.el --- Use Bash aliases in interactive shell-comands -*- lexical-binding: t; -*-
;; Copyright (C) 2023 Arthur Miller
;; Author: Arthur Miller <[email protected]>
;; Keywords:
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@failable
failable / answers.txt
Last active September 15, 2022 09:12
Question answers
* Seleted "super" in ~kitty-configure--Command-key~
** Step 6
Got a message in echo area: ~s-x~ is undefined.
** Step 7
Got a message in echo area: ~s-x~ is undefined.