7-docs icon indicating copy to clipboard operation
7-docs copied to clipboard

[Question] Can this potentially ingest .ts / .tsx files?

Open lveillard opened this issue 2 years ago • 1 comments

Would it be possible to share not only .md files but also the code in order to have the questions adapted to the actual code and not only the documentation?

If it is not possible, at least ingesting the types / interfaces would be a nice booster already.

Thanks!

lveillard avatar Jul 12 '23 12:07 lveillard

I guess you can ingest *.d.ts files. What happens when you do that? And if that seems to work, how does it come back when querying something relevant?

In general there's currently no way to distinguish code from text, I haven't looked into that yet. OpenAI code completion does seem to understand code blocks inside Markdown, so that makes the whole chain fairly easy.

webpro avatar Jul 12 '23 13:07 webpro