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

Add the ability to parse macros and include them in the interpretation #10

Open
pragunbhutani opened this issue Mar 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pragunbhutani
Copy link
Owner

Currently, ragstar only reads model and source definitions and uses these to infer dbt compatible documentation for the models. Similarly, we should be able to read macros and include macro definitions in the context provided to the LLM to interpret models.

To do this one would have to:

  1. Include parsing of macros in the DbtProject.parse() method
  2. Scan model definitions for the names of macros that have been used
  3. Add relevant macro definition to the context provided to the DocumentationGenerator
@pragunbhutani pragunbhutani added the enhancement New feature or request label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant