embedding-server icon indicating copy to clipboard operation
embedding-server copied to clipboard

Support array values for input key in request body

Open blake-howell-sc opened this issue 1 year ago • 1 comments

Lines 18 and 34 of embedding_server/server.py can be modified to support both arrays and strings

This will match the OpenAI API spec: https://platform.openai.com/docs/api-reference/embeddings/create

blake-howell-sc avatar Nov 02 '23 11:11 blake-howell-sc