How does PromptQL know which models are related?
Sorry for the delay here @tariq91 and thanks for asking!
If your source has foreign keys, PromptQL can auto-detect them. Otherwise, you can manually create relationships.
Something to consider is that PromptQL is actually really capable at picking up on implicit relationships—both between entities in the same source and across sources—to carry out actions and return information for users.