Skip to content

Ollama model : llama2 : No code block found in the response. The model is unable to generate code to complete the task. #180

@Abdelkrim

Description

@Abdelkrim

setup

I am running ollama and data formulator locally on WSL/Ubuntu

here is the configuration of the models

Image

how to reproduce

  1. use sample database movies
  2. select scatter plot
  3. Set x-axis to Production_Budget
  4. Set y-axis to US_Gross
  5. set the formulate data with show top 5

the error

(chart builder) Data formulation failed, please try again.
[details]

No code block found in the response. The model is unable to generate code to complete the task. 
Image

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