Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a FastAPI + Gel AI tutorial app #138

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

deepbuzin
Copy link

This is a draft on the LLM-powered search app that remembers interactions with the user and references them when answering new questions.

@deepbuzin deepbuzin requested a review from elprans January 31, 2025 07:26
using extension ai;

module default {
type Message {
Copy link
Contributor

@diksipav diksipav Feb 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it better to annotate some of the props as required? also the Chat can have required multi Message?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Chat is empty when it's created, so messages can't be required. It'd make sense for the User.name to be required, agreed. As for the rest of the properties, I would prefer to leave them as is, since there's no actual downstream application that would drive those constraints.

Copy link
Member

@elprans elprans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall

@@ -0,0 +1 @@
3.13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this used for?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used by uv to pin the Python version: link to docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants