Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLM integration #1362

Open
fsword opened this issue Mar 8, 2025 · 5 comments
Open

LLM integration #1362

fsword opened this issue Mar 8, 2025 · 5 comments

Comments

@fsword
Copy link

fsword commented Mar 8, 2025

Describe feature

Trilium作为个人资料和管理中心,开放API给本地LLM系统,对存储在它上面的所有数据都是一种价值提升。
同类产品目前还没有提供这类能力,因此需要摸索一条合适的方式

  • 可以让Trilium提供一个访问接口,便于LLM将Trilium数据导入向量数据库成为RAG系统的内容
  • 可以考虑整合Trilium的全文搜索,当然,考虑到RAG的优势,如何发挥各自长处是个问题
  • 可以对某个分支提供API访问,这样有助于建立不同的资料库,便于LLM更加精准的运用资料
  • 无论用哪种方式访问,“导入”时,每篇笔记都应该是“干净”的,尽量减少html标签的干扰

Additional Information

No response

@fsword
Copy link
Author

fsword commented Mar 8, 2025

英文水平不行,怕辞不达意,算是给中国开发者的建议吧,反正在开源界,中国开发者参与的越来越多了

@eliandoran
Copy link
Contributor

@Nriver , I would guess what is being asked here is an LLM integration.

@perfectra1n already started working on it here: #1325

@Nriver
Copy link
Member

Nriver commented Mar 8, 2025

Yes, this issue relates to LLM integration—great to hear it's underway! Interestingly, a user asked me to implement an MCP server
this week, which presents another approach to integrating LLM with Trilium.

@eliandoran
Copy link
Contributor

@Nriver , interesting. Regarding MCP, we also have a feature request here: #705

@fsword
Copy link
Author

fsword commented Mar 8, 2025

谢谢你的metion,#765 应该只是一个起点,不过看到 #705 以后,我猜MCP就是我期望的东西,在这儿,Triliumnext将会成为一个MCP Server,非常期待

PS:很高兴现代的翻译工具帮我们跨越了语言障碍

@eliandoran eliandoran changed the title 建议提供与LLM系统整合的能力 LLM integration Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants