This file contains hidden or 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
from llama_stack_client.lib.agents.event_logger import EventLogger | |
base_url = "http://localhost:8321" | |
from llama_stack_client import LlamaStackClient | |
import json | |
client = LlamaStackClient( | |
base_url=base_url | |
) | |
model = "llama3.1:8b" |
This file contains hidden or 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
dynamicPlugins: | |
frontend: | |
red-hat-developer-hub.backstage-plugin-ai-experience: | |
mountPoints: | |
- mountPoint: global.header/application-launcher | |
importName: HeaderButton | |
config: | |
section: "Red Hat AI" | |
priority: 180, | |
props: |
This file contains hidden or 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
--- | |
apiVersion: backstage.io/v1alpha1 | |
kind: System | |
metadata: | |
name: parasol-insurance-llm | |
spec: | |
owner: user1 | |
--- | |
apiVersion: backstage.io/v1alpha1 | |
kind: API |
This file contains hidden or 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
--- | |
apiVersion: backstage.io/v1alpha1 | |
kind: System | |
metadata: | |
name: parasol-insurance-llm | |
spec: | |
owner: user1 | |
--- | |
apiVersion: backstage.io/v1alpha1 | |
kind: API |
This file contains hidden or 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
apiVersion: leaderworkerset.x-k8s.io/v1 | |
kind: LeaderWorkerSet | |
metadata: | |
name: vllm | |
spec: | |
replicas: 1 | |
leaderWorkerTemplate: | |
size: 4 | |
restartPolicy: RecreateGroupOnPodRestart | |
leaderTemplate: |
This file contains hidden or 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
apiVersion: kubeflow.org/v1 | |
kind: Notebook | |
metadata: | |
annotations: | |
notebooks.opendatahub.io/inject-oauth: 'true' | |
opendatahub.io/image-display-name: code-server | |
opendatahub.io/accelerator-name: '' | |
openshift.io/description: '' | |
openshift.io/display-name: workbench-test-two | |
notebooks.opendatahub.io/last-image-selection: 'code-server-notebook:2024.1' |
This file contains hidden or 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
# This file is generated from CRDs by ./hack/generate-kcp-api.sh script. | |
# Please do not modify! | |
apiVersion: apis.kcp.dev/v1alpha1 | |
kind: APIResourceSchema | |
metadata: | |
creationTimestamp: null | |
name: v202211031702.applications.appstudio.redhat.com | |
spec: | |
group: appstudio.redhat.com |
This file contains hidden or 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
# This file is generated from CRDs by ./hack/generate-kcp-api.sh script. | |
# Please do not modify! | |
apiVersion: apis.kcp.dev/v1alpha1 | |
kind: APIExport | |
metadata: | |
name: application-api | |
spec: | |
permissionClaims: | |
- group: "" |
This file contains hidden or 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
apiVersion: apis.kcp.dev/v1alpha1 | |
kind: APIBinding | |
metadata: | |
name: has | |
spec: | |
reference: | |
workspace: | |
path: root:redhat-appstudio | |
exportName: application-service | |
permissionClaims: |
This file contains hidden or 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
apiVersion: apis.kcp.dev/v1alpha1 | |
kind: APIBinding | |
metadata: | |
name: application-api-binding | |
spec: | |
reference: | |
workspace: | |
exportName: spi | |
path: root:redhat-appstudio | |
permissionClaims: |
NewerOlder