Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 25, 2025

Conversation

sfc-gh-tteixeira
Copy link
Contributor

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

📚 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
5 checks passed
@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