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

Custom predict path for Async API #2434

Open
imshashank opened this issue Apr 18, 2022 · 1 comment
Open

Custom predict path for Async API #2434

imshashank opened this issue Apr 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@imshashank
Copy link

Is there a way to change the "default" path "/" to add a prefix like "/predict" for AsyncAPI?

- name: text-generator
  kind: AsyncAPI
  pod:
    port: 8080
    - http:
        paths:
        - path: /predict
          pathType: Prefix
    containers:
    - name: api
      image: quay.io/cortexlabs-test/async-text-generator-cpu:latest
      compute:
        cpu: 1
        mem: 2.5Gi
@imshashank imshashank added the question Further information is requested label Apr 18, 2022
@deliahu
Copy link
Member

deliahu commented Apr 21, 2022

This is not currently supported. I will leave this issue open as a feature request

@deliahu deliahu added enhancement New feature or request and removed question Further information is requested labels Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants