Skip to content

Building a quick conversation-based search demo with Lepton AI.

License

Notifications You must be signed in to change notification settings

prnake/search_with_lepton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install requirements

pip install -r requirements.txt

Run

1. Build the front-end web

cd web && pnpm install && pnpm run build

Output: The project root directory produces a ui folder, which contains static files for the frontend.

2. Run server with Lepton API

set OPENAI_BASE_URL, OPENAI_TOKEN, SERPER_API before run server

uvicorn search:app --workers 4 --port 8080

ok, now your search app running on http://0.0.0.0:8081

Reference

About

Building a quick conversation-based search demo with Lepton AI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 65.4%
  • Python 31.3%
  • JavaScript 1.5%
  • Other 1.8%