A lot of people have asked us for ideas of how they can leverage Large Language Models (LLMs) for their business applications. A common example is to use the native language comprehension capabilities of LLMs to find matching content. This makes LLMs an excellent tool for search!
This repo demonstrates a prototype application that enables searching for job descriptions using an unstructured, English-language description of a job seeker.
- https://www.sbert.net/ - Sentence Transformers package for Python
- https://github.com/pgvector/pgvector - Vector database plugin for PostgreSQL
- https://huggingface.co/spaces/mteb/leaderboard - The "Massive Text Embedding" leaderboard from HuggingFace. Look at this to find models you can use to generate embeddings.
- https://www.djangoproject.com/
If this is your first time...
- Install Docker
- Run
pipenv lock
to generate a Pipfile.lock - Run
cd client && npm install
so you have node_modules available outside of Docker - Back in the root directory, run
make build
make run
to start the app- If the DB is new, run
make create-test-data
- SuperUser
admin@thinknimble.com
with credentials from your.env
- User
cypress@thinknimble.com
with credentials from your.env
is used by the Cypress tests
- SuperUser
- View other available scripts/commands with
make commands
localhost:8080
to view the app.localhost:8000/staff/
to log into the Django adminlocalhost:8000/api/docs/
to view backend API endpoints available for frontend development
If not using Docker... See the backend README
If not using Docker... See the frontend README
pipenv install --dev
pipenv run pytest server
pipenv run black server
pipenv run isort server --diff
(shows you what isort is expecting)npm run cypress