-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: deprecate lightspeed plugins (#2545)
* deprecate lightspeed plugins in backstage-plugins Signed-off-by: Stephanie <yangcao@redhat.com> * clean up yarn dependency Signed-off-by: Stephanie <yangcao@redhat.com> --------- Signed-off-by: Stephanie <yangcao@redhat.com>
- Loading branch information
Showing
67 changed files
with
39 additions
and
6,235 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,3 @@ | ||
# Lightspeed Backend | ||
# Deprecated | ||
|
||
This is the lightspeed backend plugin that enables you to interact with any LLM server running a model with OpenAI's API compatibility. | ||
|
||
## Getting Started | ||
|
||
### Installing the plugin | ||
|
||
```bash | ||
yarn add --cwd packages/backend @janus-idp/backstage-plugin-lightspeed-backend | ||
``` | ||
|
||
### Configuring the Backend | ||
|
||
Add the following to your `packages/backend/src/index.ts` file: | ||
|
||
```ts title="packages/backend/src/index.ts" | ||
const backend = createBackend(); | ||
|
||
// Add the following line | ||
backend.add(import('@janus-idp/backstage-plugin-lightspeed-backend')); | ||
|
||
backend.start(); | ||
``` | ||
|
||
### Plugin Configurations | ||
|
||
Add the following lightspeed configurations into your `app-config.yaml` file: | ||
|
||
```yaml | ||
lightspeed: | ||
servers: | ||
- id: <server id> | ||
url: <serverURL> | ||
token: <api key> # dummy token | ||
``` | ||
Example local development configuration: | ||
```yaml | ||
lightspeed: | ||
servers: | ||
- id: 'my-llm-server' | ||
url: 'https://localhost:443/v1' | ||
token: 'js92n-ssj28dbdk902' # dummy token | ||
``` | ||
This package has been moved to the [red-hat-developer/rhdh-plugins](https://github.com/redhat-developer/rhdh-plugins) repository. Migrate to using `@red-hat-developer-hub/backstage-plugin-lightspeed-backend` instead. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.