docs icon indicating copy to clipboard operation
docs copied to clipboard

[Demo] Replace Kapa.ai with Streamlit app using Cortex.

Open sfc-gh-tteixeira opened this issue 9 months ago • 0 comments

Replace Kapa.ai with Streamlit app using Cortex.

PS: The code should be good enough for review, but this PR is just meant as a demo right now. PS2: I merged https://github.com/streamlit/docs/pull/1255 into this one so the build works and we get a proper demo.

📚 Context

Kapa costs money. Meanwhile, Snowflake Cortex now supports everything we need to build a chatbot. Let's give Cortex a try?

🧠 Description of Changes

  • Replace Kapa with a Cortex-based assistant
  • The assistant is just an iframed https://st-assistant.streamlit.app/
  • This PR also adds a script to prep our markdown data for Cortex.

Current: Screenshot 2025-03-10 at 16 32 29 Screenshot 2025-03-10 at 16 33 15

Revised: Screenshot 2025-03-10 at 16 32 35 Screenshot 2025-03-10 at 16 33 09

💥 Impact

Size:

  • [ ] Small
  • [x] Not small

🌐 References

  • [ ] Notion

Contribution License Agreement

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

sfc-gh-tteixeira avatar Mar 10 '25 23:03 sfc-gh-tteixeira