openai-php / client

⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
MIT License
4.56k stars 466 forks source link

[Support]: How to modify to adapt a locally-deployed OpenAI API compatible embedding service? #346

Open fishfree opened 4 months ago

fishfree commented 4 months ago

The related issue is here. However, my local LLM service does not support embedding service the way OpenAI Pinecone does. Luckily, I find anohter dedcated LLM embedding service compatible with OpenAI API. How can I further modify the code to support it. I mean, where should I modify to additionally support different embedding service beside the modified local LLM service.