Skip to content

Commit

Permalink
add diagram to data structures notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
lfunderburk committed Nov 16, 2023
1 parent f17a94e commit ba98818
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ch3/jupyter-notebooks/data_classes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# Building blocks in Haystack: Data classes \n",
"\n",
"With Haystack, we can leverage the following built-in data classes: \n",
"When building data pipelines, a core component involved is the use of data structures. With data structures, we can store, manipulate and manage data through code. Having a solid foundation for data structures is key to ease NLP pipeline development, particularly when an LLM is involved. With Haystack, we can leverage the following built-in data classes: \n",
"\n",
"* Haystack Documents data class \n",
"\n",
Expand All @@ -16,6 +16,8 @@
"\n",
"* Haystack StreaminhChunk data class \n",
"\n",
"![](./images/data-structures.png)\n",
"\n",
"Each of these classes act as data structures that can be used to store and process data. We can use these classes to store data in a standardized format, and then use the Haystack API to process the data through data pipelines.\n",
"\n",
"In the next section, we will provide examples of each."
Expand Down
Binary file added ch3/jupyter-notebooks/images/data-structures.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ba98818

Please sign in to comment.