Skip to main content

Overview

FastAPI is a modern web framework for building APIs with Python 3.6+ based on standard Python type hints. Langtrace can be easily integrated with FastAPI applications with the help of the Langtrace SDK.

Steps

Follow the steps below to integrate Langtrace with your FastAPI application:
  • Install the Langtrace SDK in your project and initialize it. See the example below:
Python