AB
AiBoss
project

Lepton Search - An open-source conversational AI search engine project

Lepton Search is an open-source conversational AI search engine developed by Jia Yangqing, former Vice President of Technology and AI scientist at Alibaba, from the Lepton AI application building platform. The project is based on leveraging cloud-based artificial intelligence on the Lepton platform...

What is Lepton Search?

Lepton Search is an open-source conversational AI search engine created by Jia Yangqing, former Vice President of Technology and AI scientist at Alibaba, from the Lepton AI application building platform. The project uses less than 500 lines of Python code to build a conversational search engine similar to Perplexity AI, based on calling cloud-based artificial intelligence models on the Lepton platform and Bing search API keys.

Features of Letpton Search

  • Free and open sourceLepton Search's code is open source, which means that developers are free to use, modify, and distribute the code, promoting technology sharing and innovation.
  • Conversational searchLepton Search allows users to interact with the search engine using natural language, providing a more intuitive and user-friendly search experience.
  • Built-in Large Language Model (LLM) supportLepton Search integrates a large language model, which enables it to understand and generate natural language, thus providing more accurate search results.
  • Search engine integrationLepton Search has a built-in search engine that can quickly retrieve and provide relevant information by calling external search engine APIs (Bing Search API).
  • Customize the UIDevelopers can customize the Lepton Search user interface according to their own needs to adapt to different application scenarios and user preferences.
  • Search Results Sharing and CachingLepton Search supports sharing search results and can cache search results, improving user experience and search efficiency.
  • cloud-native platformLepton Search runs on Lepton AI’s cloud platform and is scalable, flexible and secure, making it suitable for handling large-scale AI tasks.

Lepton Search official website

How to use Lepton Search

Regular users can experience Lepton Search through the online web version, while developers can also deploy it themselves. The specific steps are as follows:

  1. Clone the Lepton Search project:git clone https://github.com/leptonai/search_with_lepton.git
  2. runpip install -U leptonai && lep loginThe command automatically sets up LLM and KV functions.
  3. Set up your Bing key:export BING_SEARCH_V7_SUBSCRIPTION_KEY=YOUR_BING_SUBSCRIPTION_KEY
  4. Building the front-end network:cd web && npm install && npm run build
  5. Run the background server:BACKEND=BING python search_with_lepton.py