ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
16.45k stars 1.54k forks source link

Kindly Add API option #95

Closed anoobn closed 6 months ago

anoobn commented 6 months ago

Hi there,

Since Perplexity and Copilot are free, a web-based interface will help us with testing, but we prefer to have an API option to raise the same to the production level, which can be a game-changer. Kindly add the API option.

ItzCrazyKns commented 6 months ago

We don't have any plans for adding an API because it is made to be hosted locally. We might add an API option in the future but for now we're focusing on adding more features and fixing the bugs. Perplexica's backend exposes a WS that you can connect to and make use of. You can understand its structure, working and format by looking into the websocket code in the src folder.