Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Genkit documentation for JS (or Go) into a single Markdown file for LLM Long Context #1345

Open
rominirani opened this issue Nov 20, 2024 · 0 comments

Comments

@rominirani
Copy link

The current set of Code Assistants are not aware of the latest features/code samples of Genkit. As a result, it is difficult to expect correct suggestions from the Code Assistants.

While there is still consensus building on what would be the exact mechanism for these Code Assistants to index the documentation, we can look at generating a single Markdown file that is always current with the latest documentation/code samples in every release. This file could be generated in a specific top level directory in the project, etc.

This single Markdown file can then be used as a long context while prompting the Code Assistants. For e.g. in Code Assist, we can use the (File @) feature to include this file and then provide the specific prompt.

While not ideal, this mechanism does work satisfactorily to get the latest code suggestions/templates in the prompt response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant