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

Plutopulp/chat app integration #420

Merged
merged 6 commits into from
Mar 5, 2024
Merged

Conversation

plutopulp
Copy link
Member

Pull request outline

Add chat functionality to container play page. In order for this to work, an extras field needs to be added to the pipeline.yaml config file with key-value model_type=chat, e.g.

runtime:
  container_commands:
    - apt-get update
    - apt-get install -y git
  python:
    version: "3.10"
    requirements:
      - pipeline-ai
accelerators: []
accelerator_memory: null
pipeline_graph: new_pipeline:my_new_pipeline
pipeline_name: chat-pipeline
extras:
  model_type: "chat"

Note that the extras are loaded from this yaml file on the container and returned as part of the response /v4/container/pipeline.

@paulcjh paulcjh self-requested a review March 5, 2024 13:29
Copy link
Member

@paulcjh paulcjh left a comment

Choose a reason for hiding this comment

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

LGTM

@plutopulp plutopulp merged commit 5f15958 into main Mar 5, 2024
5 checks passed
@plutopulp plutopulp deleted the plutopulp/chat-app-integration branch March 5, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants