!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

432 Members
Discussion about documentation improvements around the Nix ecosystem90 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
8 Feb 2024
@symys:dailyaslbot.twilightparadox.comsymys joined the room.06:22:03
@symys:dailyaslbot.twilightparadox.comsymys changed their profile picture.18:46:54
9 Feb 2024
@dooy:matrix.org@dooy:matrix.orgIs there any work towards creating an LLM bot that integrates Nix documentation for user support and generating specific documentation10:35:24
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @dooy:matrix.org
Is there any work towards creating an LLM bot that integrates Nix documentation for user support and generating specific documentation

There were some internal experiments with commercial offers at Tweag in the past months, based on the source code, i.e. official documentation. Unsurprisingly the quality was not overwhelming, because many things are simply not written down.

Last year there was quite harsh opposition to mine Discourse and IRC/Matrix logs due to copyright/privacy concerns. We thought about implementing a self-hosted setup and offering it to the community for testing. But as those volunteer efforts go, not much has happened due to other priorities.

Ideally such an LLM would graze over Discourse, Matrix, GitHub, and the sources, and reply to questions with summaries with references. Would be great to have such a smart dumb search engine, because of those things that are written down somewhere, most are really hard to find manually.

10:49:44
11 Feb 2024
@fractivore:cyberia.clubSYMYƧ
In reply to @dooy:matrix.org
Is there any work towards creating an LLM bot that integrates Nix documentation for user support and generating specific documentation
In my experience LLMs are really awful at Nix right now and hallucinate a lot. I think significant advancement would probably need to happen for this to be helpful rather than confusing, as a bot pulling from existing LLMs is very likely to hallucinate and provide incorrect documentation. Probably, an LLM would need to be trained specifically for the task, and yeah I feel like the best one could even hope for right now is for the LLM to provide links to relevant discussions as described above, or be able to tell you "this is new territory" with some level of confidence.
18:42:12
@fractivore:cyberia.clubSYMYƧThis also brings up the inevitable question of training ethics. Is there a means for indicating consent to train LLMs on, for example, code in nixpkgs? Is that up to the maintainer, or what? How does that work for discourse?18:46:07
@fractivore:cyberia.clubSYMYƧMy bias on this is, I'm a defender of "ai" tech, but also, people are thinking it's way better and more accurate right now than it actually is due to a small number of impressive cases like Alpha Go, and also the ethics are in a spot where nobody knows quite what to do and it's very easy to piss people off18:47:50
@fractivore:cyberia.clubSYMYƧ All that being said, docs are one place that LLMs should have some good use-cases, so I think it's good to keep exploring those. 18:49:18
@fractivore:cyberia.clubSYMYƧFinding relevant discussions would be more of a classifier than a generator18:51:19
@dooy:matrix.org@dooy:matrix.orgIf it could encapsulate the function logic without merely skimming over the consent code, that would be ideal. However, my knowledge in this area is limited. ChatGPT has been immensely helpful to me over the past year as I've been getting up to speed with NixOS. For the first time in my life, after being a hobbyist for 15 years, I've started working on my first PR. It assists me in understanding the function logic and already possesses a substantial amount of knowledge about Nix too. The value it provides is immense, and I feel significantly less stressed than before. It feels like I'm moving quickly, which empowers me. 21:24:30
12 Feb 2024
@symys:dailyaslbot.twilightparadox.comsymysSounds like it's gotten a little better since the last time I tried it.01:41:47

Show newer messages


Back to Room ListRoom Version: 6