-
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.check here(https://llmstxt.org/) and here(https://ant.design/docs/react/llms-cn) it is very useful for Describe the solution you'd likeNo response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 32 comments 11 replies
-
|
@ice6 Thank you for contacting us. We will give feedback later. |
Beta Was this translation helpful? Give feedback.
-
|
由于目前blazor是通过ws进行真实渲染内容交互的,所以llms.txt应该毫无作用,它只能提供对应的url链接,但是大模型去读取url的时候只能读到基础内容,无法连接到ws,就没有办法真正的获取到文档正文。 |
Beta Was this translation helpful? Give feedback.
-
|
@j4587698 确实,文档网站居然没考虑 |
Beta Was this translation helpful? Give feedback.
-
|
如果没有这个东西,目前只能用项目引用的方式,让 |
Beta Was this translation helpful? Give feedback.
-
|
blazor本身就没办法seo,内容都是后面自动加载的,所有的code都是从源码里自动读取出来的,如果在预处理里就加载这些源码,那么你有的等了啊 |
Beta Was this translation helpful? Give feedback.
-
我做的项目都是 文档网站可能需要从架构层面解决一下,找到方法应该也不是难事儿,体验会好很多。 |
Beta Was this translation helpful? Give feedback.
-
|
我特地跑到 但网站上还留着这句话: ......对 这个库的文档倒是 |
Beta Was this translation helpful? Give feedback.
-
|
ssr你seo个啥?没意义啊,seo也就是看到loading,有啥意义呢 |
Beta Was this translation helpful? Give feedback.
-
|
@j4587698 看下文档很难么,不懂去看看文档再说话呗 :) |
Beta Was this translation helpful? Give feedback.
-
|
你开了预渲染然后把你的数据加载都放在init里?然后还要加载两遍?让用户陪着你看白屏吗? |
Beta Was this translation helpful? Give feedback.
-
|
@j4587698 我们现在讨论的是怎么给 |
Beta Was this translation helpful? Give feedback.
-
|
你的官网主要不是给用户看的?你去给code agent看你也不能影响到用户体验。你不要先保证了用户体验再去说怎么给code agent看? |
Beta Was this translation helpful? Give feedback.
-
|
首先这个官网不是 其次, 再者,不用 我提到 |
Beta Was this translation helpful? Give feedback.
-
|
SSR解决白屏的原理是不预渲染,或者预渲染是Loading,哪怕微软,它的例子也是if (xx == null){loading...}else {真正的组件}。到底是谁知识太有限? |
Beta Was this translation helpful? Give feedback.
-
|
你这方面知识确实少呀。 我问你 你考虑了性能问题,那就加载一部分进去是不是就可以了,剩下的需要交互的部分用 其次这个问题 他提出了用
|
Beta Was this translation helpful? Give feedback.
-
|
code agent要看的是html吗? 当然是拉,llms.txt不就是让code agent到对的位置自己去看文档的么?弱一点儿的llm工作起来像爬虫,需要获得html。强一点儿的自己渲染完整页面后直接dom里取数据,一般的code agent都是前者。 |
Beta Was this translation helpful? Give feedback.
-
他看html干啥?他要知道怎么写 |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
https://github.com/BootstrapBlazor/BootstrapBlazor.MCPServer 哪怕MCP Server的方式,我们也尝试过,但是现在拿不到合适的代码,需要去分那一块是哪一块。我们试过的方法比你想象的多太多了。就是那个搜索,那都是老张花了5万找人做的,专门花钱买了个爬虫来处理。 |
Beta Was this translation helpful? Give feedback.
-
|
我们随时欢迎PR,任何PR都会认真对待 |
Beta Was this translation helpful? Give feedback.
-
|
@j4587698 谢谢 https://github.com/BootstrapBlazor/BootstrapBlazor.MCPServer 我回头看看,谢谢耐心回复。:) |
Beta Was this translation helpful? Give feedback.
-
对你们有了更多的了解,非常感谢你们的贡献和付出!BIG THANKS to @ArgoZhang ! Merry Christmas. |
Beta Was this translation helpful? Give feedback.
-
|
@ice6 @j4587698 看到二位激烈的讨论有些感触,鞠佬是组件库项目组老成员了,提供了很多扩展组件,还是微软最有价值专家(MVP),对 Blazor 有很深的功底的,但是文字表达很容易造成说者说的是茶杯的事,听着想到的是茶壶,所以各持己见,但是这也不是坏事,有讨论才有进步嘛。 @ice6 我们为了迎合 AI 确实做了一些尝试,显然目前做的不够,但是真的希望有更好的解决方案,哪怕是思路也可以提供一下,我们可以去尝试一下下。 微软每次更新大版本我们都会尝试一次把官网更改成 Auto 或者 wasm 模式,整体评估下来又都回退到 ssr 模式了,NET10 已经我们还没有精力把网站更改成 auto 或者 wasm 进行测试,这个工作量非常大,目前官网实例都是真的例子、能交互的例子,这个官网文档改版过两次,每次都是 6 个月之久(当时都还不到 100 个组件),太耗时了 @ice6 非常感谢对组件库提出过非常非常多的建议以及 bug 报告,代表开发团队对你表示衷心的感谢 |
Beta Was this translation helpful? Give feedback.
-
|
@ice6 网站根路径下增加如下文件 llms-semantic.mdllms.txt组件路径直接给 但是这两个文档需要维护,网站内的很多东西其实都是自成一体的,比如例子写好,代码片段等等都是自动维护的(尤其是涉及多语言)。但是这里目前工作量与维护量都不小,如果时间充裕欢迎帮忙维护这两个文件 相关分支: |
Beta Was this translation helpful? Give feedback.
-
|
@ice6 大流程基本调通了,编译项目自动通过 我个人感觉一个组件生成一个 llms.txt 都可以,不需要写那个分类的逻辑,不知道合适不合适,通过这个工具,我突然意识到,我们文档每个组件的文档尾部那个参数组件可以使用 |
Beta Was this translation helpful? Give feedback.
-
|
@ice6 PR 合并 工程移动到扩展库,后续更新从那边更新 https://github.com/BootstrapBlazor/BootstrapBlazor.Extensions/tree/master/tools/BootstrapBlazor.LLMsDocsGenerator |
Beta Was this translation helpful? Give feedback.
-
|
@ice6 hi. good news. https://www.blazor.zone/llms.txt is online now. you can visit https://www.blazor.zone/llms/components/Alert.txt too. now. you can PR introduce page or improve BootstrapBlazor.LLMsDocsGenerator tool |
Beta Was this translation helpful? Give feedback.
-
|
@j4587698 这个问题比较好的被解决了,前面讲话不礼貌,不好意思哈。🤗 🤝🫂 |
Beta Was this translation helpful? Give feedback.

@ice6 PR 合并 工程移动到扩展库,后续更新从那边更新 https://github.com/BootstrapBlazor/BootstrapBlazor.Extensions/tree/master/tools/BootstrapBlazor.LLMsDocsGenerator