create a flowchart in mermaid.live In this tutorial, we’ll show you how to easily obtain…
Rate quality
Private research annotation
Sign in to add a private research label or note.
- User
create a flowchart in mermaid.live
In this tutorial, we’ll show you how to easily obtain insights from SEC 10-K filings, using the power of a few core components: 1) Large Language Models (LLM’s), 2) Data Parsing through Unstructured, and 3) Data Indexing through LlamaIndex! We show how the LlamaIndex tooling can help you build an amazing query interface over your own data.
- Assistant
To create a flowchart in mermaid.live, you can use the following Mermaid syntax. Copy and paste this code into the Mermaid Live Editor (https://mermaid-js.github.io/mermaid-live-editor/) to visualize the flowchart:
cssgraph TD A[Obtain SEC 10-K Filings] B[Parse Data with Unstructured] C[Large Language Models] D[Data Indexing with LlamaIndex] E[Build Query Interface] A --> B B --> C C --> D D --> EThis flowchart represents the steps described in the tutorial for obtaining insights from SEC 10-K filings using Large Language Models, Data Parsing, and Data Indexing with LlamaIndex. The flowchart starts with obtaining SEC 10-K filings, parsing the data, using large language models, indexing the data with LlamaIndex, and finally building a query interface for users to interact with the data.
- User
replace the first page with a html website with all pdf esrs 1 esrs2 esrsE1 esrsE2 esrsE4 esrsE3 esrsE6 esrsE7 esrsE8 esrsS1 esrsS2 esrsS3 esrsS4 esrsS5 esrsS6 esrsG1
- Assistant
To create an HTML website with links to all the mentioned PDF files, you can use the following HTML code. Copy and paste this code into an HTML file and open it in your web browser to see the website:
html - User
continue part 2Save & SubmitCancel
- Assistant
In Part 2 of the tutorial, we'll walk you through the process of applying text extraction and natural language processing techniques to gain insights from the SEC 10-K filings.
Part 2: Text Extraction and NLP Techniques
1. Text extraction from PDFs
To extract text from the PDFs, you can use a Python library such as PyPDF2 or pdfplumber. Here's a simple example using pdfplumber: