Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add simple chatbot definition #156

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sallyom
Copy link
Collaborator

@sallyom sallyom commented Nov 5, 2024

Not sure we want this in the repo, but here it is.

@MichaelClifford
Copy link
Collaborator

Can we move this to kubernetes_yaml/.

Should we add the python code and the Containerfile used as well?

Signed-off-by: sallyom <somalley@redhat.com>

Update the deployment as necessary and
run this from the root of the repository

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe just add a line in here describing the line that must be changed and an exampl

Comment on lines +9 to +11
finalizers:
- inferenceservice.finalizers
generation: 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will populate automatically and are managed by the cluster itself, do not set them manually.

labels:
opendatahub.io/dashboard: "true"
name: candidatemodel
namespace: ilab
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe move the namespace to kustomization.yaml?



```bash
oc apply --kustomize ./chatbot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
oc apply --kustomize ./chatbot
oc apply -k .

storage:
key: aws-connection-ilab-s3
# Update path to match canddidate-server location
path: xxxxxxxx/xxxxxxxxx/pvc-to-model-op/model/phase_2/model/hf_format/candidate_model/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you do helm chart instead of kustomize, you can easily template this from values/CLI params. Just a thought...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants