Skip to content

Conversation

@sfc-gh-tteixeira
Copy link
Contributor

@sfc-gh-tteixeira sfc-gh-tteixeira commented Mar 10, 2025

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 #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
  • Not small

🌐 References

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-tteixeira
Copy link
Contributor Author

FYI if you're trying to recover this work, it's still in the cortex-chat branch: https://github.com/streamlit/docs/tree/cortex-chat

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