🤖 Box Skills: How Machine Learning Can Bring Value to Your Content
Are you looking for a way to bring more value to your content? Look no further than Box Skills, a powerful tool that uses machine learning to process your files and provide valuable information. In this article, we'll walk you through the typical Box implementation and architecture flow, as well as show you how to set up a Hello World Box skill.
Table of Contents
- Introduction
- Typical Box Implementation and Architecture Flow
- Box Skills Cards
- Setting Up a Hello World Box Skill
- Deploying the Serverless Function
- Testing the Skill
- Conclusion
Introduction
Box Skills is a powerful tool that uses machine learning to process your files and provide valuable information. With Box Skills, you can process videos, audio, images, and even floor plans. The possibilities are endless, and in this article, we'll show you how to set up a Hello World Box skill to get started.
Typical Box Implementation and Architecture Flow
To understand how Box Skills works, it's important to understand the typical Box implementation and architecture flow. When an item is uploaded, moved, or copied into a folder in Box, the Box skill will trigger and send a content payload over to a serverless function. The serverless function can live in any cloud provider, such as AWS, Azure, or GCP. The serverless function accepts the content payload and sends the content over to a machine learning provider. The machine learning provider will process the file and send back any information that you requested, such as a resume parser looking for the name, education, job history, etc. The serverless function will then process the information and write back the information as a metadata template on the file in Box.
Box Skills Cards
Box Skills cards are a great way to visualize the information that Box Skills provides. The skills cards will appear under the menu option that looks like a wand and says "Skills". You can save the information on a metadata template or as a Box Skills card. The reason for showing both is due to searchability. If you want to be able to search using the main Box web app search, you can search by metadata template by selecting metadata a metadata template in the drop-down and entering any information for the particular content you're looking for.
Setting Up a Hello World Box Skill
To set up a Hello World Box skill, you'll need to create a new folder in Box and then go over to the developer console to create an app. If you've never been to the developer console before, you can go to the developer site developer.box.com and click "Go to Dev console" in the header image. Once you're in the developer console, click "Create new app" followed by "Box custom skill" and then give your app a name. Click "Create app" and then authorize it. To authorize it, you'll need to be an administrator of your Box instance or if you're using a free developer account, you should already be the admin.
Deploying the Serverless Function
Once you've authorized your app, you'll need to deploy the serverless function. Depending on your cloud provider, this will be different. In this example, we're using GCP, but you are free to use another serverless provider if you wish. You'll need to set up a billing account, create a project, and enable the APIs. All of those instructions are right here for you to view. Once you've set up your project and downloaded a JSON credentials file, you'll need to copy it over to the folder and update the package.json file.
Testing the Skill
To test the skill, you'll need to upload a file. Once the file is uploaded, it will send it over to GCP, and the block of code will run and write back "Hello World" in a metadata template on the file. You can view the metadata by clicking into the file and going over to metadata.
Conclusion
Box Skills is a powerful tool that can bring value to your content. With Box Skills, you can process videos, audio, images, and even floor plans. The possibilities are endless, and we hope this article has shown you how to set up a Hello World Box skill to get started. If you want to find out more information, you can go to the Box Medium post that covers Box Skills.
Highlights
- Box Skills uses machine learning to process your files and provide valuable information.
- Box Skills can process videos, audio, images, and even floor plans.
- Box Skills cards are a great way to visualize the information that Box Skills provides.
- To set up a Hello World Box skill, you'll need to create a new folder in Box and then go over to the developer console to create an app.
- To test the skill, you'll need to upload a file.
FAQ
Q: What is Box Skills?
A: Box Skills is a powerful tool that uses machine learning to process your files and provide valuable information.
Q: What can Box Skills process?
A: Box Skills can process videos, audio, images, and even floor plans.
Q: How do I set up a Hello World Box skill?
A: To set up a Hello World Box skill, you'll need to create a new folder in Box and then go over to the developer console to create an app.
Q: How do I test the skill?
A: To test the skill, you'll need to upload a file.