XBrain

XBrain是一个AI漏斗工具,通过自然语言将用户行为模式映射到特定入口,无需编写提示词即可开发大模型应用,支持将本地Python代码接入OpenAI的function call。

Check out XBrain on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

xbrain是一个AI漏斗,把巨量用户行为模式映射到少量特定入口。<div align="center"><a name="readme-top"><h1>XBrain</h1>xbrain是一个AI漏斗,把巨量用户行为模式映射到少量特定入口。📘详细文档|🎞️介绍视频|🗨English</div>## ✨特点1. 屏蔽了提示词,让用户专注于业务开发:用户无需编写提示词,就能开发大模型应用;2. 用自然语言开发function call:通过自然语言将本地的python代码接入到openai的function call。## 文档- 指导手册- 开发者文档- 常见问题## 几个有意思的例子# 将任何加减操作映射成两数相加通过xb定义一个加法函数:bashI guess you want to do the following, or chat with me:1. chat with my action2. create a new action3. deploy a chat server4. integrate existing functions into xbrain>>> 2Please tell me, the action you want to do?>>> 两数相加Please wait a moment, I'm generating the code for you...Creation successful!file generated: C:\Users\yuruo\Desktop\test2\add_action.pyadd_action.py文件的内容:pythonfrom xbrain import xbrain_toolfrom pydantic import BaseModel, Fieldclass Add(BaseModel): """Add two numbers""" a: int = Field(..., description="First number") b: int = Field(..., description="Second number")@xbrain_tool.Tool(model=Add)def add(a: int, b: int) -> int: """ Add two numbers. """ return a + b通过xbrain的chat mode可以实现两数相加:pythonI guess you want to do the following, or chat with me:1. chat with my action2. create a new action3. deploy a chat server4. integrate existing functions into xbrain>>> 1Welcome to chat mode!💬 1+1run action: action name: Add action path: C:\Users\yuruo\Desktop\test2\add_action.py action arguments: {'a': 1, 'b': 1} action result: 22然而它也能实现两数相减:python💬 1-1run action: action name: Add action path: C:\Users\yuruo\Desktop\test2\add_action.py action arguments: {'a': 1, 'b': -1} action result: 00它还能实现三数相加减,虽然结果不对但我们看到了它的尝试,这也是我们优化的方向:python💬 1+1+3run action: action name: Add action path: C:\Users\yuruo\Desktop\test2\add_action.py action arguments: {'a': 1, 'b': 1} action result: 2run action: action name: Add action path: C:\Users\yuruo\Desktop\test2\add_action.py action arguments: {'a': 1, 'b': 3} action result: 424

Latest Weekly Picks

www.sellerpic.ai favicon
Weekly Pick

SellerPic is the all-in-one AI design platform for e-commerce

SellerPic
fastimage.ai favicon
Weekly Pick

Fast Image AI instantly transforms your photos into stunning styles like Ghibli, Sketch, and Pixar. Effortlessly control image elements and create amazing effects with just one click.

Fast AI Team
linkedinpro.daisy.so favicon
Weekly Pick

AI-powered tool that transforms casual photos into professional LinkedIn headshots instantly. No photographer needed—just upload and download.

Gabriel
crevas.ai favicon
Weekly Pick

Crevas unifies Veo 3, Sora 2, Nano Banana and more into one intuitive canvas — so filmmakers can script, prompt, and generate cinematic stories without switching tools or losing consistency.

Spark Alpha
fotominiatur.com favicon
Weekly Pick

AI Foto Edit - Text to Image & Image Edit

foto miniatur
hynote.ai favicon
Weekly Pick

AI-powered note-taking solution that captures, transcribes, and summarizes meetings, documents, and multimedia content in real-time

HyNote AI
chromewebstore.google.com favicon
Weekly Pick

Easily download Sora videos and thumbnails - One-click extraction and save for ChatGPT Sora generated video content

SoraVideoDownloader.com

Create spine-chilling text designs with the Halloween Spooky font.