Open alexgang opened 1 month ago
Can you write where you could not change the version prefix?
@atobiszei for example: ChatBox application: (see URL in below) https://github.com/Bin-Huang/chatbox/releases it only allows user to modify the web address but not path or version prefix,
there are also other applications/plugins . like ChatGPT Sidebar or one-api.
Describe the bug OpenAI API endpoint is "/v1/chat/completions", but OVMS endpoint is "/v3/chat/completions". most of existing application doesn't allow user to modify the prefix “V1” to "V3", hence the OVMS wont works with those OpenAI compatible applications?
To Reproduce using below "QuickStart" demo as example with minor modification: https://docs.openvino.ai/nightly/openvino-workflow/model-server/ovms_docs_llm_quickstart.html in step6, just modify the 1st line of demo script as below: curl -s http://localhost:8000/v1/chat/completions \
Expected behavior { "choices": [ { "finish_reason": "stop", "index": 0, "logprobs": null, "message": { "content": "OpenVINO is a software toolkit developed by Intel that enables developers to accelerate the training and deployment of deep learning models on Intel hardware.", "role": "assistant" } } ], "created": 1718607923, "model": "TinyLlama/TinyLlama-1.1B-Chat-v1.0", "object": "chat.completion" }
Logs { “error”: "Invalid request URL" }
Configuration