diff --git a/docs/docs/how_to/sql_large_db.ipynb b/docs/docs/how_to/sql_large_db.ipynb index 8772ca05275..81641a6910b 100644 --- a/docs/docs/how_to/sql_large_db.ipynb +++ b/docs/docs/how_to/sql_large_db.ipynb @@ -512,44 +512,6 @@ "db.run(query)" ] }, - { - "cell_type": "code", - "execution_count": 15, - "id": "fcdd8432-07a4-4609-8214-b1591dd94950", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "SELECT DISTINCT Genre.Name\n", - "FROM Genre\n", - "JOIN Track ON Genre.GenreId = Track.GenreId\n", - "JOIN Album ON Track.AlbumId = Album.AlbumId\n", - "JOIN Artist ON Album.ArtistId = Artist.ArtistId\n", - "WHERE Artist.Name = 'Elenis Moriset'\n" - ] - }, - { - "data": { - "text/plain": [ - "''" - ] - }, - "execution_count": 15, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "# Without retrieval\n", - "query = query_chain.invoke(\n", - " {\"question\": \"What are all the genres of elenis moriset songs\", \"proper_nouns\": \"\"}\n", - ")\n", - "print(query)\n", - "db.run(query)" - ] - }, { "cell_type": "code", "execution_count": 14,