-
Notifications
You must be signed in to change notification settings - Fork 23
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
base: main
Are you sure you want to change the base?
Conversation
using extension ai; | ||
|
||
module default { | ||
type Message { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
This is a draft on the LLM-powered search app that remembers interactions with the user and references them when answering new questions.