Skip to content

Add content_catalog.json (similar to llms-full.txt) - #1299

Merged
sfc-gh-dmatthews merged 4 commits into
mainfrom
catalog-script
Jun 25, 2025
Merged

sfc-gh-dmatthews merged 4 commits into
mainfrom
catalog-script

Conversation

@sfc-gh-tteixeira

@sfc-gh-tteixeira sfc-gh-tteixeira commented Jun 4, 2025 •

Copy link
Copy Markdown
Contributor

📚 Context

Add script to generate content_catalog.json (similar to llms-full.txt), which is used in the RAG pipeline for st-assistant.streamlit.app

As a cleanup, this PR also removes the old apply_image_effects.py and the accompanying blurmask.png.

The script was included in #1300. This PR only adds the generated file.

You might be asking why we need this, if I also have a PR for llms-full.txt over here. The answer is llms-full.txt would probably work fine for st-assistant, but the JSON format in this PR has one nice thing going for it: it allows us to easily include the URL of each section in every chunk of the section inside the RAG database. So I'm OK keeping them separate, at least for now.

Your next question might be whether we can merge a lot of the logic in these scripts and yes we totally can! But we can do that as a next step.

💥 Impact

Size:

  • Small
  • Not small

🌐 References

n/a

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

As a cleanup, this PR also removes the old apply_image_effects.py and
the accompanying blurmask.png.
@sfc-gh-dmatthews
sfc-gh-dmatthews requested a review from a team as a code owner June 25, 2025 22:51
@sfc-gh-dmatthews sfc-gh-dmatthews changed the title Add script to generate content_catalog.json (similar to llms-full.txt) Add content_catalog.json (similar to llms-full.txt) Jun 25, 2025
@sfc-gh-dmatthews
sfc-gh-dmatthews merged commit 12f29e0 into main Jun 25, 2025
@sfc-gh-dmatthews
sfc-gh-dmatthews deleted the catalog-script branch June 25, 2025 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants