cookiecutter-spacy-fastapi

Python cookiecutter API for quick deployments of spaCy models with FastAPI

Azure Search

The API interface is compatible with Azure Search Cognitive Skills.

For instructions on adding your API as a Custom Cognitive Skill in Azure Search see:
https://docs.microsoft.com/en-us/azure/search/cognitive-search-custom-skill-interface

Requirements

  • Python >= 3.6 with pip installed

Quickstart

Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher):

pip install --user cookiecutter

Point cookiecutter to this GitHub repository to automatically download and generate your project

cookiecutter https://github.com/Microsoft/cookiecutter-azure-search-cognitive-skill

View the README.md of your new project for instructions on next steps

Resources

This project has two key dependencies:

Dependency Name Documentation Description
spaCy https://spacy.io Industrial-strength Natural Language Processing (NLP) with Python and Cython
FastAPI https://fastapi.tiangolo.com FastAPI framework, high performance, easy to learn, fast to code, ready for production

GitHub

https://github.com/microsoft/cookiecutter-spacy-fastapi