Skip to content

Reasoning with the sql output #66

@addyag93

Description

@addyag93

Hi,
I have been trying sqlcoder 34b model on my large database using pruning, but model cannot handle out of domain queries well as expected. It always generate sql no matter whether that column is present in the schema or not. I have two questions:

  • how to make model to handle out of domain queries via prompting instructions. as it tried appending in prompt.md but its not that accurate.
  • If I can get the reasoning as to how generated a SQL query, that would also help to mitigate some of out of domain queries. How can we do it via prompting?

Can you please help with above?

Thanks
Aditya

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions