approximatelabs / sketch

AI code-writing assistant that understands data content
MIT License
2.23k stars 117 forks source link

Not working #8

Closed pdavis01 closed 1 year ago

pdavis01 commented 1 year ago

Hello, Tried to use sketch with a simple use case, but I'm not getting results. I'm working in Spyder IDE on Anaconda, pip install of sketch worked fine, but my console output is always: ""

This happens regardless of the type of question I ask it, following the documentation.

Thank you

hugetim commented 1 year ago

Try using it in Jupyter Notebook/Lab instead. It sounds like Spyder is just not able to display the HTML output.

bluecoconut commented 1 year ago

As @hugetim hugetim says, this is the IDE not rendering HTML output https://stackoverflow.com/questions/47075946/replicate-jupyter-html-output-using-ipython-and-spyder-instead

Specifically, sketch has a flag you can add, df.sketh.ask(..., call_display=False) and this should work for you @pdavis01