Is there any plan to support js/ts file types for the knowledge retrieval?

Is there any plan to support js/ts file types for the knowledge retrieval? It looks strange to me that file types like C/C++ are supported, while JS/TS are not. What would happen if I feed those file types to the retrieval API? Also, is there anything I can do about to retrieve knowledge from *.d.ts (my use case)?

Hi and welcome to the community!

Why not just try it?
Ultimately you could just feed whatever.js.txt to the API and strip the unnecessary letters from the filename as needed.

1 Like

Sure, I can try. I was just trying to figure whether the model would be able to make sense out of those, even if in plain text form, or I would just add noise. Is it for security reasons we cannot give .js/ts files? :neutral_face: