code databases for ai
jmh530
john.michael.hall at gmail.com
Tue Dec 16 18:59:54 UTC 2025
On Tuesday, 16 December 2025 at 16:07:27 UTC, monkyyy wrote:
> On Tuesday, 16 December 2025 at 11:59:49 UTC, jmh530 wrote:
>> On Saturday, 13 December 2025 at 23:27:40 UTC, monkyyy wrote:
>>> [snip]
>>>
>>> Has anyone done anything on this subject? Is anyone
>>> interested in it? It may need a real hosting solution, github
>>> has file size caps that I ran into with just the forums if I
>>> start extracting from dub and then try to host that github
>>> may get quite upset.
>>
>> I talked a little about what I had tried here
>> https://forum.dlang.org/post/sfuxoiwthnqacwmfwxxs@forum.dlang.org
>
> Im not entirely sure what that markup format is that snar
> found/made but I wonder if its trivially convertible.
Honestly, my first attempt at it, I basically just asked ChatGPT
what I should do to make a Dlang RAG and it recommended basically
what I describe in that post. So I put together the single
combined file without thinking of Har. Basically looks like
### .\Loc\To\FileA.txt
[File A contents]
### .\Loc\To\FileB.txt
[File B contents]
etc.
Har [1] is used for run.dlang.io as a format for handling
multiple files. The examples on that page are very similar to
what I have above. But it's nothing special, per se. As it
stands, that repo just handles reading Har, not writing them. So
that doesn't do much good for this application (writing it is an
issue). I just figured rather than writing my own thing, I would
contribute to that. But then I got distracted by other things and
haven't come back to it.
[1] https://github.com/marler8997/har
More information about the Digitalmars-d
mailing list