opea-project / GenAIComps

GenAI components at micro-service level; GenAI service composer to create mega-service
Apache License 2.0
76 stars 140 forks source link

[bug] embedding microservice almost openai compatible but not fully #926

Open rbrugaro opened 5 days ago

rbrugaro commented 5 days ago

We claim OPENAI compatible but OPEA still returns some objects as null that should be populated. OPEA TEI: "usage":null, "model":null, Bare TEI: "model":"BAAI/bge-large-en-v1.5","usage":{"prompt_tokens":12,"total_tokens":12}

This issue of milling objects applies to other microservices too. Might be good to systematically correct for all.