is it possible to change /embeddings with prefix of /v1/embeddings? #216
Answered
by
michaelfeil
jacobahtan
asked this question in
Q&A
-
i'm looking for a quick solution if it's possible to prefix /v1/ to the root or even some subpaths to models & embeddings.. i've tried using nginx but it seems like it's not working. Configure nginx for reverse proxy
thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
michaelfeil
May 7, 2024
Replies: 1 comment 2 replies
-
Yes, there is an option for that even in the CLI. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jacobahtan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, there is an option for that even in the CLI.
infinity_emb --help
. The arg is called https://github.com/michaelfeil/infinity/blob/3259775694ddc7541a1f4c52a62e99cab1788e15/libs/infinity_emb/infinity_emb/infinity_server.py#L33C1-L33C26url_prefix
. Thank you and closing.