Integration of Sphinx sites with LLMs #12571
Replies: 2 comments 1 reply
-
Hi @mgaitan - I'm not a Sphinx core developer, although I do contribute when I can, and am interested in some of the aspects of the existing search/query functionality in Sphinx HTML projects. In my developer mindset there are a few things that I like about the current search functionality that make me hesistant/unsure about LLMs. They are:
These tend to disincline me towards suggestions to integrate Sphinx projects with LLMs -- either by adding LLM functionality into Sphinx itself, or by exposing additional features that would make it easier for LLMs to consume the contents of them, because I don't think that the maintainers of those LLMs could offer the same kind of support or care to their communities. Thanks for opening the discussion! I think it's a useful and topical one. |
Beta Was this translation helpful? Give feedback.
-
I don't know if I understand your response correctly. At no point did I propose that we should replace the integrated Sphinx search engine with an LLM (and I don't know if that's possible for a "static" site). My intention is simply to facilitate from Sphinx the optimal compilation of the contents so they can be consumed by an LLM (an independent application, for example, a chatbot integrated into Slack) which can be queried and respond including links to the documentation. For example, in my company, internal documentation generated with Sphinx is automatically deployed when the .md sources change. I would like that in addition to updating the .html output, the "knowledge base" of an LLM chatbot is updated so that it is always up to date to respond. |
Beta Was this translation helpful? Give feedback.
-
Hello Sphinx Community,
I'm exploring the possibility of integrating Sphinx-based documentation with large language models (LLMs) such as Claude, LLaMA, or (chat)GPT. This integration aims to allow users to query the documentation using natural language and receive relevant responses (hopefully with links to the doc) generated by the LLM.
Are there any existing extensions or guides that facilitate the integration of Sphinx documentation with LLMs? If no such solution exists, is there interest within the community to develop one? AFAIK this could be based on tools like LlamaIndex to structure the documentation in a way that is easily accessible for LLMs. I'm not an expert, so I'm open to suggestions on the best practices or strategies to achieve this integration.
Any insights, suggestions, or pointers to existing resources would be greatly appreciated.
Thanks!
Martin
Beta Was this translation helpful? Give feedback.
All reactions