Bland Language Support for Visual Studio Code
What is Bland?
Bland AI provides the infrastructure for voice AI, enabling you to build, fine-tune, deploy and scale conversational AI applications with ease. One of our major product offerings is the Conversational Pathways feature, which allows you to define the flow of the conversation and the actions to be taken at each step.
What is this for?
We developed a simple, human-readable language called Bland DSL to define conversational pathways. The Bland Language enables you to define the conversational pathways in a structured and easy-to-understand format, which can be compiled into a format that can be used to trigger calls as well, using our bland-cli
npm package!
Features
- Syntax Highlighting: Automatically colorizes Bland language syntax to improve readability and ease of navigation through the code.
- Code Completion: Offers dropdown suggestions for nodes, properties, and values, enhancing the speed and accuracy of code writing.
- Snippet Support: Includes snippets for node templates, making it faster and easier to write repetitive parts of the code.
- Interpolation Highlighting: Special highlighting for interpolated variables within
{{ }}
to distinguish them from regular strings.
Installation
- Via Visual Studio Code Marketplace:
- Open Visual Studio Code.
- Navigate to the Extensions view by clicking on the square icon on the sidebar or pressing
Ctrl+Shift+X
.
- Search for "Bland Language Support".
- Click on "Install" to install the extension.
And you're done! The extension is now installed and ready to use.
Usage
Once installed, the extension automatically activates when you open a file with the .bland
extension. The extension provides syntax highlighting and code completions as you type, without any additional configuration.
Working with Snippets
To use snippets, simply press Enter
and the suggestion dropdown will appear. Press Enter
or click on the desired snippet to insert it into your file.