MCPcopy Create free account
hub / github.com/IamLiuLv/business-component-codegen

github.com/IamLiuLv/business-component-codegen @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
136 symbols 331 edges 62 files 0 documented · 0% updated 1y ago★ 44

Browse by type

Functions 121 Types & classes 15
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

快读开始

第一步,安装依赖:

pnpm install

第二步,将 .env.example 文件重命名为 .env,并输入你的 OpenAI API_KEY

OPENAI_API_KEY=your-api-key

第三步,生成 ./data 目录中文档的 Embedding:

pnpm run generate

最后,运行开发服务器:

pnpm run dev

用浏览器打开 http://localhost:3000 查看结果。

了解更多

要了解有关前端 AI 的更多信息,请查看以下资源:

《AI赋能前端研发》

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 119
Interface 12
Class 2
Method 2
Enum 1

Languages

TypeScript100%

Modules by API surface

app/api/chat/engine/settings.ts12 symbols
app/components/ui/chat/hooks/use-file.ts9 symbols
app/api/chat/llamaindex/streaming/events.ts9 symbols
app/components/ui/chat/chat-message/markdown.tsx8 symbols
app/components/ui/file-uploader.tsx7 symbols
app/components/ui/chat/widgets/LlamaCloudSelector.tsx5 symbols
app/components/ui/chat/chat-message/codeblock.tsx5 symbols
app/components/ui/chat/chat-message/chat-sources.tsx5 symbols
app/components/ui/document-preview.tsx4 symbols
app/components/ui/chat/index.ts4 symbols
app/components/ui/chat/chat-input.tsx4 symbols
app/api/chat/llamaindex/streaming/annotations.ts4 symbols

For agents

$ claude mcp add business-component-codegen \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page