leptonai / search_with_lepton

Building a quick conversation-based search demo with Lepton AI.
https://search.lepton.run
Apache License 2.0
7.54k stars 949 forks source link

backend cannot be SEARCHAPI #63

Open clfhaha1234 opened 4 months ago

clfhaha1234 commented 4 months ago

Describe the bug when I set backend as SEARCHAPI, it cannot deploy on lepton.ai.

To Reproduce image

Expected behavior I want to use 3rd party api for google search on lepton.ai

Screenshots image

Environment (please complete the following information): https://dashboard.lepton.ai/

vthinkxie commented 4 months ago

Hi

The prebuilt photon only support lepton bing and google as backend, if you want to use customized search api, deploy the modified photon by yourself.

ref: https://www.lepton.ai/docs/build_you_own_model/anatomy_of_a_photon