ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Endpoint

webhead2oo9 opened this issue · comments

Is your feature request related to a problem? Please describe.
Request for API Endpoint for calling this as a local search provider.

Describe the solution you'd like
I'm looking for a curl based possibly endpoint off the existing search, an example would be with an json output such as

{
"status": "complete",
"results": [
{
"body": "Raw output",
"sources": "Comma separated sources with numbers"
}
],
"sources": [
{
"source": "1",
"url": "URLHere"
}
]
}

Describe alternatives you've considered
I don't know if the sources need to be broken down in detail in a separate list, was an initial thought however.
I think any open standard the data can be retrieved would be useful, but I do believe a status response is needed, as well as the text and sources, even if individual sources are not provided in the raw text.

This would be a nice addition. +1

+1 great for integration into ai agent apps

Hi everyone, I am looking into this right now. Lets see what can be done over here.

Hi everyone, I am looking into this right now. Lets see what can be done over here.

Hey @ItzCrazyKns excellent work with Perplexica

I can see that you have closed this issue, if this task is completed , can you guide on how to use perplexica over APIs , looking for example

Hi everyone, I am looking into this right now. Lets see what can be done over here.

Hey @ItzCrazyKns excellent work with Perplexica

I can see that you have closed this issue, if this task is completed , can you guide on how to use perplexica over APIs , looking for example

The issue is still open.

Thanks @ItzCrazyKns

Tracking this , happy to be a tester once this arrives

its important

hope this could be done ASAP.

commented

In version 1.8.0 of Perplexica, I was able to access the API. You can find the complete implementation at: https://github.com/Asman2010/perplexica_api.git

I recently tried Perplexica and was impressed with its web research capabilities. However, API access is essential for us to integrate this in our automated workflows. We would greatly appreciate having this as soon as possible.

Also, I'm assuming that the current design uses some backend API to fetch search results, even if it's not publicly documented. Is there a way to directly access this API, even if it's not well formatted? Thanks

Hello,
I tried this tool 2 days ago, and was hoping to find any API for it, and I didn't, so I created a selenium automation that automates the process of sending queries and getting responses back to validate my Excel sheet list :D thank you for this amazing tool and I really hope there will be API available soon :D

image

Oh my god, people are finding their own way. I'll try to release the API before the discover feature.

commented

@ItzCrazyKns it would be also quite helpful, and I understand there is a lot on your plate right now, to have the API calls have multiple-threads rather than having a single one occupied all the time since a single call does take several seconds at least.

Yes, ofcourse

Also waiting for the API release!
In the meantime, I am using a simple Python script to call the search API(WS) as python function.
For anyone looking for a API or a way to integrate with other tools before the official release, I think this script could be a good start.

https://gist.github.com/jacepark12/1886f6e95d9051f198992323758defa1