<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/kay-x-cybersyn-x-langchain-embedding-sec-filings-for-rag-xvlxydnw1" -->

---
title: Kay x Cybersyn x LangChain: Embedding SEC Filings for RAG
description: Kay and Cybersyn built a SEC Filings retriever integrated with LangChain, offering pre-embedded, fully hosted access to financial filings for RAG applications....
canonical: https://daily.dev/posts/kay-x-cybersyn-x-langchain-embedding-sec-filings-for-rag-xvlxydnw1
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Kay x Cybersyn x LangChain: Embedding SEC Filings for RAG | daily.dev
og:description: Kay and Cybersyn built a SEC Filings retriever integrated with LangChain, offering pre-embedded, fully hosted access to financial filings for RAG applications....
og:url: https://daily.dev/posts/kay-x-cybersyn-x-langchain-embedding-sec-filings-for-rag-xvlxydnw1
og:image: https://api.daily.dev/og/posts/xVLxyDNW1.png
og:image:alt: Kay x Cybersyn x LangChain: Embedding SEC Filings for RAG
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Kay x Cybersyn x LangChain: Embedding SEC Filings for RAG

**[LangChain](https://daily.dev/sources/langchain)** · 11 min read · 0 upvotes · 0 comments

## Summary

Kay and Cybersyn built a SEC Filings retriever integrated with LangChain, offering pre-embedded, fully hosted access to financial filings for RAG applications. The post explains how Cybersyn converts unstructured EDGAR filings into structured, queryable data on Snowflake Marketplace, while Kay handles enrichment, chunking, embedding (using the gte-base OSS model instead of OpenAI), and retrieval optimization via a custom Query Intent Classifier, hybrid search, and Cohere re-ranking. A code sample shows a LangChain KayAiRetriever query analyzing NVIDIA's quarterly cash flows. LangChain users get 10,000 free Kay requests for three months.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.langchain.com/blog/kay-x-cybersyn-x-langchain>

## Questions this post answers

### What open-source embedding model is best for embedding financial documents like SEC filings?

The gte-base model was chosen after internal evaluation, since it ranked among the top models on the MTEB leaderboard at the time. Moving from OpenAI's embedding API to a self-hosted open-source model gave full control over scaling, lower cost, and the ability to fine-tune later, which was essential for iterating quickly.

_Developers weighing embedding model choices for RAG can track comparisons like this on daily.dev._

### How fast can Ray parallelize embedding generation for a large text dataset?

Ray's parallelization framework was used for offline batch embedding jobs and enabled chunking and embedding over 20 million pieces of text in under 15 minutes. Ray was described as easy to set up and reliable, making it a practical choice for large-scale offline embedding pipelines feeding a vector database.

_Anyone scaling embedding pipelines can follow practical benchmarks like this on daily.dev._

### How should tables inside financial documents be handled when chunking text for embeddings?

Chunks containing tables are handled differently by having a large language model summarize the table content into natural language before embedding, rather than embedding raw tabular data directly. Text chunks are otherwise dynamically sized based on document sections, averaging about 1500 characters using full sentences.

_Teams building document chunking strategies for RAG can find approaches like this on daily.dev._

## Similar posts on daily.dev

- [Cube x LangChain: Building AI experiences with LLMs and the semantic layer](https://daily.dev/posts/cube-x-langchain-building-ai-experiences-with-llms-and-the-semantic-layer-bqmdxwkbo) · LangChain · 0 upvotes · 0 comments
- [I Built a Hybrid RAG Pipeline Over SEC Filings — Here’s What Broke, and Why That Was the Point](https://daily.dev/posts/i-built-a-hybrid-rag-pipeline-over-sec-filings-here-s-what-broke-and-why-that-was-the-point-nuh5kchyt) · Medium · 0 upvotes · 0 comments
- [How we built an agentic GraphRAG for financial disclosures with Docling](https://daily.dev/posts/how-we-built-an-agentic-graphrag-for-financial-disclosures-with-docling-h08pku5r9) · Red Hat Developer · 0 upvotes · 0 comments
- [CodeLab: Building a RAG Application With Couchbase Capella Model Services and LangChain](https://daily.dev/posts/codelab-building-a-rag-application-with-couchbase-capella-model-services-and-langchain-u14vix8ez) · Couchbase · 1 upvotes · 0 comments
- [Building Agentic RAG with LangGraph and OpenSearch](https://daily.dev/posts/building-agentic-rag-with-langgraph-and-opensearch-9inxh7ahs) · BigData Boutique blog · 4 upvotes · 0 comments

---

Tags: [#rag](https://daily.dev/tags/rag), [#vector-search](https://daily.dev/tags/vector-search), [#langchain](https://daily.dev/tags/langchain), [#embeddings](https://daily.dev/tags/embeddings)

[View this post on daily.dev](https://daily.dev/posts/kay-x-cybersyn-x-langchain-embedding-sec-filings-for-rag-xvlxydnw1)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Kay x Cybersyn x LangChain: Embedding SEC Filings for RAG","url":"https://daily.dev/posts/kay-x-cybersyn-x-langchain-embedding-sec-filings-for-rag-xvlxydnw1","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/kay-x-cybersyn-x-langchain-embedding-sec-filings-for-rag-xvlxydnw1"},"datePublished":"2026-08-26T14:16:35.192Z","dateModified":"2026-09-13T21:35:39.608Z","description":"Kay and Cybersyn built a SEC Filings retriever integrated with LangChain, offering pre-embedded, fully hosted access to financial filings for RAG applications....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/54413fe8d72bc15ea1aa04317d42cfd0?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/54413fe8d72bc15ea1aa04317d42cfd0?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"LangChain","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"LangChain","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0f4f2629e0724a849823f8cd0d913e13","url":"https://daily.dev/sources/langchain"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/kay-x-cybersyn-x-langchain-embedding-sec-filings-for-rag-xvlxydnw1","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"rag,vector-search,langchain,embeddings","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"LangChain","item":"https://daily.dev/sources/langchain"},{"@type":"ListItem","position":3,"name":"Kay x Cybersyn x LangChain: Embedding SEC Filings for RAG"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/kay-x-cybersyn-x-langchain-embedding-sec-filings-for-rag-xvlxydnw1#faq","mainEntity":[{"@type":"Question","name":"What open-source embedding model is best for embedding financial documents like SEC filings?","acceptedAnswer":{"@type":"Answer","text":"The gte-base model was chosen after internal evaluation, since it ranked among the top models on the MTEB leaderboard at the time. Moving from OpenAI's embedding API to a self-hosted open-source model gave full control over scaling, lower cost, and the ability to fine-tune later, which was essential for iterating quickly. Developers weighing embedding model choices for RAG can track comparisons like this on daily.dev."}},{"@type":"Question","name":"How fast can Ray parallelize embedding generation for a large text dataset?","acceptedAnswer":{"@type":"Answer","text":"Ray's parallelization framework was used for offline batch embedding jobs and enabled chunking and embedding over 20 million pieces of text in under 15 minutes. Ray was described as easy to set up and reliable, making it a practical choice for large-scale offline embedding pipelines feeding a vector database. Anyone scaling embedding pipelines can follow practical benchmarks like this on daily.dev."}},{"@type":"Question","name":"How should tables inside financial documents be handled when chunking text for embeddings?","acceptedAnswer":{"@type":"Answer","text":"Chunks containing tables are handled differently by having a large language model summarize the table content into natural language before embedding, rather than embedding raw tabular data directly. Text chunks are otherwise dynamically sized based on document sections, averaging about 1500 characters using full sentences. Teams building document chunking strategies for RAG can find approaches like this on daily.dev."}}]}
```

