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

Mapping 'using' variables to model #351

Closed
ea-rus opened this issue Feb 15, 2024 · 0 comments · Fixed by #352
Closed

Mapping 'using' variables to model #351

ea-rus opened this issue Feb 15, 2024 · 0 comments · Fixed by #352

Comments

@ea-rus
Copy link
Contributor

ea-rus commented Feb 15, 2024

If we have different models in queries we may want to assign different variables to different models it that way

SELECT 
    t.column, 
    m2.prediction as pr2   
FROM table as t
    JOIN model1 as m1
    JOIN model2 as m2
USING m1.prompt_template = 'some template', m2.prompt_template='something else';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant