Skip to content

qianfan llms submit prompt does not include ddl_prompt #736

@xiatain

Description

@xiatain

When using qianfan as a large model, the Prompt does not include ddl_prompt, that's all
SQL Prompt: [{'role ':' user ',' content ':' 2024 Total Trade with the United States'}]

Activity

yangsir666

yangsir666 commented on Apr 14, 2025

@yangsir666

Changing for i, example in question_sql_list: to for i, example in enumerate(question_sql_list):
in get_sql_prompt fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @xiatain@yangsir666

        Issue actions

          qianfan llms submit prompt does not include ddl_prompt · Issue #736 · vanna-ai/vanna