facebookexperimental / Robyn

Robyn is an experimental, AI/ML-powered and open sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science. Our mission is to democratise modeling knowledge, inspire the industry through innovation, reduce human bias in the modeling process & build a strong open source marketing science community.
https://facebookexperimental.github.io/Robyn/
MIT License
1.07k stars 322 forks source link

Robyn_API is not defined #925

Open sujaykar opened 4 months ago

sujaykar commented 4 months ago

Project Robyn

Describe issue

Describe your issue and provide warnings and error messages.

have installed all the R modules for Robyn and API and everything works until I call robyn_api to see robyn_version and call it for data loads. I was able to run the api service as detailed in the documentation. What might be the problem here?

T

Provide reproducible example

Issues are often related to custom input data that is difficult to debug without. If necessary, please modify your data to mask real values and share a dataset that is able to reproduce the issue. Please also share your model configuration and exported JSON files if available.

Environment & Robyn version

Make sure you're using the latest Robyn version before you post an issue.

yu-ya-tanaka commented 4 months ago

Hi, Can you share more details about issue? Please share error messages and the code you encountered issue.

sujaykar commented 4 months ago

I ran all the required R packages and was also able to generate the  URL's.  I am not sure why python_api is showing up as 'not defined'

running the plumber endpoint as well

On Thursday, February 15, 2024 at 09:47:29 PM PST, yu-ya-tanaka ***@***.***> wrote:  

Hi, Can you share more details about issue? Please share error messages and the code you encountered issue.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

yu-ya-tanaka commented 4 months ago

Can you share error messages and the code or notebook you encountered issue? Screenshot is also helpful. Thanks!

umarbachaev commented 4 weeks ago

Hi! @yu-ya-tanaka help me with Robyn API download. I have error "name 'robyn_api' is not defined"

image
yu-ya-tanaka commented 3 weeks ago

Hi @umarbachaev , The robyn_api() function is defined in python_helper.py. Can you import python_helper like this and try again?

image
umarbachaev commented 3 weeks ago

That's what I did. All the previous steps work for me

umarbachaev commented 3 weeks ago

Everything is working now thanks