Engineering12 min read
We introduce the process of building a system that automatically extracts and normalizes financial statements from PDFs in various formats using Large Language Models (LLMs). We cover data model design with Structured Output and Pydantic, the extraction process through Google Gemini API, and post-processing methods applicable to real-world scenarios, all implemented in about 200 lines of code.

Read Post

Engineering14 min read
Explains the limitations and characteristics of vector embeddings and covers the improvements made to store them.

Read Post

Engineering13 min read

Searching Case Law Data with Natural Language

by Cognica Team | July 4, 2024
Explains how to build a natural language search service by applying vector search to a case law search demo using FTS.

Read Post

Engineering10 min read

Making Case Law Data Quickly Searchable

by Cognica Team | June 21, 2024
Explains the process of downloading case law data and building a case law search service in just one day using Cognica.

Read Post

Engineering20 min read
We explain the process of data collection and processing, search, and service development for product search using Cognica. Learn how to index when structured and unstructured data are mixed, and how to transform queries for search using LLM.

Read Post