Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello guys,
I'm just jump in this world of "Fabric" and not sure this is the correct forum. Also not sure how to describe my problem here, but I gotta give it a try.
So, I'm learning Fabric end-to-end scenario, with source is API. In one of the scenario, While the table already created and populated in OneLake-Lakehouse, I need to include Data Science of it.
So in my Notebook, I've run this command and no issue :
df = spark.sql("SELECT * FROM bing_lake.tbl_latest_news")
display(df)
it ran like it supposed to ->
and added few other code and succeeded :
import synapse.ml.core
from synapse.ml.services import AnalyzeText
#Import the model and configure the input and output columns
model = (AnalyzeText()
.setTextCol("description")
.setKind("SentimentAnalyis")
.setOutputCol("response")
.setErrorCol("error"))
But after this code below, I'm hit error:
#Apply the model to our dataframe result = model.transform(df)
May I know what error is this and how to resolve it.
Thanks.
Solved! Go to Solution.
Hi @VoltesDev ,
My guess is that in the setKind method, "SentimentAnalysis" should be used instead of "SentimentAnalyis".
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @VoltesDev ,
My guess is that in the setKind method, "SentimentAnalysis" should be used instead of "SentimentAnalyis".
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi Scott,
Thanks for your "eagle eye". 🤒
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!