News for hackers. Stuff that matters.
Re:Show HN: Code2prompt – Generate LLM prompts from your cod... by printvoid on Tuesday March 12, 2024 @07:18PM (#39686074)
What do you mean my small codebase. I hope not the normal todo repos or basic apps. Can this be run on production codebase like a java application having dozens of microservices inside it.
Re:Show HN: Code2prompt – Generate LLM prompts from your cod... by mufeedvh on Tuesday March 12, 2024 @08:39PM (#39686687)
Yes, this just depends on the model you're using. Small-medium size codebases would fit inside Claude's 200K context window and Gemini 1.5 has a 1M context window which would essentially fit 99% of codebases.

For reference:

- The Flask web framework for Python: 131880 tokens

- The Spring Framework for Java: 11070559 tokens