What's new on BaseTen

BaseTen news feed and changelog.

New
November 19, 2021

🪧💪 Protecting your work

We're always trying to make it easier for you to work on BaseTen, both on your own and with others. Here’s a little improvement that should help your editing experience when you have multiple windows of BaseTen open or are collaborating on BaseTen with someone else.

If you accidentally end up editing a worklet, view, or query in multiple windows, we kindly prevent you from saving changes that’ll overwrite your work. We do the same thing when you and a colleague are collaborating on an application together, so no more accidentally editing over each other's work.

emoji negative reaction for '🪧💪 Protecting your work' emoji neutral reaction for '🪧💪 Protecting your work' emoji positive reaction for '🪧💪 Protecting your work'
Thank you for your feedback.
New
November 19, 2021

🕰 Long-running tasks

ML tasks can be fairly time-consuming. Processing audio, video, and images can take minutes, sometimes even hours. While BaseTen already supported processing of up to 5 minutes per python node invocation, even that can be limiting.

We're happy to announce that long-running tasks are now a first-class citizen in BaseTen. Each python node invocation can take up to 4 hours, as long as you invoke the worklet in async mode.

If your worklet has long-running tasks, i.e. tasks that take more than a few minutes, we highly recommend marking the worklet for background execution. Then, the worklet will always execute in async mode.

Alternatively, you can pass the async flag in the API request to execute any worklet in async mode:

curl -X POST https://app.baseten.co/applications/{YOUR_APP_ID}/worklets/{YOUR_WORKLET_ID}/invoke -H 'Authorization: Api-Key YOUR_API_KEY' -d '{ "worklet_input": WORKLET_INPUT , "async": true}'

emoji negative reaction for '🕰 Long-running tasks' emoji neutral reaction for '🕰 Long-running tasks' emoji positive reaction for '🕰 Long-running tasks'
Thank you for your feedback.
New
November 15, 2021

🧐 Unexplained errors, explained!

When writing any sort of software, it's inevitable to run into errors that Googling, scrolling through myriad Stack Overflow answers, and random fixes ultimately cannot resolve. Here at BaseTen, we’ve made an effort to rid you of some of that misery by adding more descriptive error messages to worklet and node outputs.

Here are a few of the errors we’ve made more clear:

  • New requirements still being applied to your python environment: If you’re trying to use new requirements right away, you’ll see a message letting you know they’re still being applied.
        • (ModuleNotFoundError): No module named 'cv2'; this might be due to the new requirements that are still being applied.
  • Timing out in a worklet or node: When you run a worklet or node with some code that times out because it runs for longer than 5 minutes, you’ll see a message encouraging you to optimize your code or run it as a background task.
        • (ReadTimeout): The node timed out. Nodes must be executed in 300s or less; you can make this error go away by optimizing your code, or running it as a background task.
  • Server errors: When you run a worklet or node with some code that causes a server error, you’ll see a message letting you know that you should try again or contact us.
        • (HTTPError): An error has occurred. Please try running your code again. If the error persists, reach out to BaseTen for more information.

Here’s to hoping you never run into unexplained errors in BaseTen 🤞 But if you do, we’re here to help. Happy coding!

emoji negative reaction for '🧐 Unexplained errors, explained!' emoji neutral reaction for '🧐 Unexplained errors, explained!' emoji positive reaction for '🧐 Unexplained errors, explained!'
Thank you for your feedback.
New
November 03, 2021

✅ Select view builder component

The new select component replaces our old dropdown component, with improved functionality. Use this new select component to allow operators to select from a list of options in your app, for example, when labeling data.

Add all your options at once

In the old dropdown component, you had to configure your options one-by-one as individual input fields. With the new Select component, you can add all your options through a single display function.

Add dynamic options

You can display dynamic options in the select component. For example, the option the operator chooses in one select component could determine the options available to them in a second select component.

Search for options in the UI

When using your app, operators can type to search and more quickly find the option they’re looking for.

Create new options from the UI

If an operator searches for something and doesn’t find it in the list of existing options, you can give them the ability to easily create a new option from the UI. You can choose whether to enable or disable this functionality in the select component.

Dynamically disable the Select component

You can dynamically disable the select component. For example, you can require operators to submit text through a text input component before being able to select an option in the select component.

We’d love to see what you build with this new component.

emoji negative reaction for '✅  Select view builder component' emoji neutral reaction for '✅  Select view builder component' emoji positive reaction for '✅  Select view builder component'
Thank you for your feedback.
New
November 02, 2021

🗑️ ​​Delete hotkey

When building our own application views, a few of us at BaseTen got frustrated when we couldn’t use the delete key to quickly remove components.

Mike to the rescue. You (and we!) can now remove components by hitting the delete key. Happy view building!

emoji negative reaction for '🗑️ ​​Delete hotkey' emoji neutral reaction for '🗑️ ​​Delete hotkey' emoji positive reaction for '🗑️ ​​Delete hotkey'
Thank you for your feedback.
New
October 22, 2021

🔎 Improved model logs search

You can now search model logs using regular expressions, logging level, and time span.

emoji negative reaction for '🔎 Improved model logs search' emoji neutral reaction for '🔎 Improved model logs search' emoji positive reaction for '🔎 Improved model logs search'
Thank you for your feedback.
Create your own newsfeed