Skip to content

Commit 48bb994

Browse files
committed
Update the last section
1 parent 5f0a7a3 commit 48bb994

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/guides/tutorials/fastapi_gelai_searchbot.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,9 +1189,6 @@ modifications to the ``main.py``:
11891189
Step 6. Use Gel's advanced features to create a RAG
11901190
====================================================
11911191
1192-
.. note::
1193-
mention httpx-sse
1194-
11951192
At this point we have a decent search bot that can refine a search query over
11961193
multiple turns of a conversation.
11971194
@@ -1286,6 +1283,13 @@ your head, so here's the query itself:
12861283
order by .distance
12871284
limit <int64>$limit;
12881285
1286+
1287+
.. note::
1288+
Before we can integrate this query into out Python app, we also need to add a
1289+
new dependency for the Python binding: ``httpx-sse``. It's enables streaming
1290+
outputs, which we're not going to use right now, but we won't be able to
1291+
create the AI client without it.
1292+
12891293
Let's place in in ``app/queries/search_chats.edgeql``, run the codegen and modify
12901294
our ``post_messages`` endpoint to keep track of those similar chats.
12911295

0 commit comments

Comments
 (0)