Hi @rkranendonk,
you can set the RASA_PRO_LICENSE env var temporarily in your terminal, but it is recommended to set it persistently so that you don’t have to set it every time you run Rasa Pro.
Run the following in your terminal:
export RASA_PRO_LICENSE=<your-license-string>
See the docs here for further information: Licensing
Thanks! 'rasa inspect` now opens the Inspector in my default browser.
However, I see a confused owl with “No flow is currently active”, and in the Flow pane, the only answer I get (apart from greetings) is “I am a bot, powered by Rasa”.
Please make sure you are running rasa-plus==3.7.7. You can check your version by running:
rasa --version
It could be that the rasa init --template tutorial command didn’t run completely due to the missing license previously. Try cleaning up the folder and running it again. You should then see the transfer_money flow in your data/flows.yml file.
I’ve got my RASA_PRO_LICENSE and my OPENAI_API_KEY set up
rasa train and rasa inspect now run without errors.
But if I enter ‘hello’ in the Rasa inspector it responds with “Sorry, I am having trouble with that. Please try again in a few minutes.”
The terminal shows the following error:
llm_command_generator.llm.error error=InvalidRequestError(message='The model gpt-4 does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.', param=None, code='model_not_found', http_status=404, request_id=None)
A good check to verify that the OPENAI_API_KEY is correctly set and valid for the model you’re using, default is gpt-4, is to first try it out without Rasa, and follow the steps of the openAI quickstart.
What OS are you running on?
If on MacOS, try using ’ ’ around the api-key, like:
I am indeed on MacOS. These are the steps I followed:
put single quotes around the api-key in my .zshrc file.
opened a new terminal window and checked if the key was set with echo $OPENAI_API_KEY
followed the steps in the openAI QuickStart, including setting up and activating a virtual environment as recommended
created and ran openai-test.py, which created a poem (cost me $0.01) – noticed that the output was maybe not configured correctly as intended LF’s where displayed as \n
ran rasa train with no errors
ran rasa inspect with no errors, but did get a DeprecationWarning for asyncio.wait()
Problem is still the same: The model gpt-4 does not exist or you do not have access to it.
openai-test.py was indeed configured for model="gpt-3.5-turbo".
Initially, after changing that to model="gpt-4", the ‘no access’ problem remained. The problem seems to be caused by the sub-optimal link between OpenAI’s billing logic and its model access. After buying some extra credits from OpenAI and letting OpenAI’s enormous intelligence work on that overnight, I now have access to gpt-4 and have successfully transferred large amounts of money to you guys!
Thanks for helping and I hope others will benefit from this thread.
As I’m using windows and not able to create a rasa pro project as i got the pro developer key
but I don’t know how to start using the pro version locally.
I read the rasa docs but not understand properly i would like to hear from someone who already did it so that I may relate it.