<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/fastapi-template-for-llm-saas-part-2-celery-and-pg-vector-2qnxpg3q9" -->

---
title: FastAPI Template for LLM SaaS Part 2 — Celery and Pg-vector
description: This article discusses the use of Celery and Pg-vector in the FastAPI ecosystem for a template designed for LLM SaaS. It covers the process of setting up...
canonical: https://daily.dev/posts/fastapi-template-for-llm-saas-part-2-celery-and-pg-vector-2qnxpg3q9
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: FastAPI Template for LLM SaaS Part 2 — Celery and Pg-vector | daily.dev
og:description: This article discusses the use of Celery and Pg-vector in the FastAPI ecosystem for a template designed for LLM SaaS. It covers the process of setting up...
og:url: https://daily.dev/posts/fastapi-template-for-llm-saas-part-2-celery-and-pg-vector-2qnxpg3q9
og:image: https://api.daily.dev/og/posts/2QNxpG3q9.png
og:image:alt: FastAPI Template for LLM SaaS Part 2 — Celery and Pg-vector
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# FastAPI Template for LLM SaaS Part 2 — Celery and Pg-vector

**[Towards AI](https://daily.dev/sources/tai)** · 7 min read · 13 upvotes · 0 comments

## Summary

This article discusses the use of Celery and Pg-vector in the FastAPI ecosystem for a template designed for LLM SaaS. It covers the process of setting up Celery workers and message queues, configuring a Redis instance, and uploading files to a vector datastore.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://pub.towardsai.net/fastapi-template-for-llm-saas-part-2-celery-and-pg-vector-0db158b6c1b0?source=rss----98111c9905da---4>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#llm](https://daily.dev/tags/llm), [#supabase](https://daily.dev/tags/supabase), [#fastapi](https://daily.dev/tags/fastapi)

[View this post on daily.dev](https://daily.dev/posts/fastapi-template-for-llm-saas-part-2-celery-and-pg-vector-2qnxpg3q9)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"FastAPI Template for LLM SaaS Part 2 — Celery and Pg-vector","url":"https://daily.dev/posts/fastapi-template-for-llm-saas-part-2-celery-and-pg-vector-2qnxpg3q9","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/fastapi-template-for-llm-saas-part-2-celery-and-pg-vector-2qnxpg3q9"},"datePublished":"2023-11-27T12:07:13.086Z","dateModified":"2023-11-27T12:07:11.748Z","description":"This article discusses the use of Celery and Pg-vector in the FastAPI ecosystem for a template designed for LLM SaaS. It covers the process of setting up...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b39bfa112d03eb9c79e61f42411d33ea?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b39bfa112d03eb9c79e61f42411d33ea?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Towards AI","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Towards AI","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/8b7e3e63e47b4d34b4c1e634b902c12f","url":"https://daily.dev/sources/tai"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/fastapi-template-for-llm-saas-part-2-celery-and-pg-vector-2qnxpg3q9","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":13},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,llm,supabase,fastapi","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Towards AI","item":"https://daily.dev/sources/tai"},{"@type":"ListItem","position":3,"name":"FastAPI Template for LLM SaaS Part 2 — Celery and Pg-vector"}]}
```

