Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@red-hat-developer-hub/backstage-plugin-lightspeed-backend
Advanced tools
This is the lightspeed backend plugin that enables you to interact with any LLM server running a model with OpenAI's API compatibility.
yarn add --cwd packages/backend @red-hat-developer-hub/backstage-plugin-lightspeed-backend
Add the following to your packages/backend/src/index.ts
file:
const backend = createBackend();
// Add the following line
backend.add(
import('@red-hat-developer-hub/backstage-plugin-lightspeed-backend'),
);
backend.start();
Add the following lightspeed configurations into your app-config.yaml
file:
lightspeed:
servers:
- id: <server id>
url: <serverURL>
token: <api key> # dummy token
Example local development configuration:
lightspeed:
servers:
- id: 'my-llm-server'
url: 'https://localhost:443/v1'
token: 'js92n-ssj28dbdk902' # dummy token
The Lightspeed Backend plugin has support for the permission framework.
rbac-policy.csv
:p, role:default/team_a, lightspeed.conversations.read, read, allow
p, role:default/team_a, lightspeed.conversations.create, create, allow
p, role:default/team_a, lightspeed.conversations.delete, delete, allow
g, user:default/<your-user-name>, role:default/team_a
You can specify the path to this configuration file in your application configuration:
permission:
enabled: true
rbac:
policies-csv-file: /some/path/rbac-policy.csv
policyFileReload: true
FAQs
Unknown package
The npm package @red-hat-developer-hub/backstage-plugin-lightspeed-backend receives a total of 4 weekly downloads. As such, @red-hat-developer-hub/backstage-plugin-lightspeed-backend popularity was classified as not popular.
We found that @red-hat-developer-hub/backstage-plugin-lightspeed-backend demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.