cancel
Showing results for 
Search instead for 
Did you mean: 
Generative AI
Explore discussions on generative artificial intelligence techniques and applications within the Databricks Community. Share ideas, challenges, and breakthroughs in this cutting-edge field.
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I call open AI model GPT3.5 within note book using python

Himali_K
New Contributor II
 
1 REPLY 1

dbrx_user
New Contributor III

Use the OpenAI API. They have a comprehensive guide with lots of example code here: Quickstart tutorial - OpenAI API
Just remember to save your API keys as databricks secrets and access them wit dbutils.secrets - Secret management | Databricks on AWS