how to use databricks foundation models outside databricks environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 10:49 PM
i want to use below code outside databricks environment without using cluster .getting issue while i am using chat_model.predict().
how to authenticate this outside databricks or any other way to this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 11:22 PM
Are you perhaps talking about Model Serving ?
https://docs.databricks.com/en/machine-learning/model-serving/index.html#requirements
This is how you configure it
https://docs.databricks.com/en/machine-learning/model-serving/create-manage-serving-endpoints.html
This is how you use it via REST API
NOTE - you will use cluster - Serverless for model serving - that will allow you to make online scoring

