eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

206
active users

#streamlit

0 posts0 participants0 posts today

Want to really understand how RAG, vector search & chunking work?

Then stop reading theory and build your own chatbot.

This guide shows you how to create a local PDF chatbot using:

☕ LangChain

☕ FAISS (vector DB)

☕ Mistral via Ollama

☕ Python & Streamlit

Step-by-step, from environment setup to deployment. Ideal for learning how Retrieval-Augmented Generation works in practice.

👉 medium.com/data-science-collec

Comment “WANT” if you need the friends link to the article, as you don’t have paid Medium.

Data Science Collective · RAG in Action: Build your Own Local PDF Chatbot as a BeginnerBy Sarah Lea

I decided to give it a try and write a simple RAG-based documentation-to-chatbot procedure as an example for reviewing the procedure and hopefully providing a quick and interesting way of learning RAG.

This post walks you through the development of a RAG system from developing a vector database to creating a simple application built on Ollama, Milvus, and Streamlit.

See the post here: masoudmim.github.io/blog/2025/

#RAG #LLM #MachineLearning
#VectorDatabase #Milvus #Ollama #Streamlit

Desde que regresé a LineageOS me encontré con un inesperado desafío: Ya no podía escuchar música desde la app de YT Music.

Antes usaba una app libre llamada InnerTune, que se rompió completamente desde que Google cambió su API, y hoy en día sigue sin funcionar al menos desde el repositorio oficial. Al ver esto, y dado que tuve que regresar temporalmente a MIUI porque mi universidad me lo exigía, comencé a utilizar YT Music sin más tema. Sin embargo, al haber vuelto a LOS, y al no tener GApps, pues ya la app ni siquiera abre jajaja. Traté de utilizarla desde el navegador web, pero es medio que un martirio; se traba, se pausa, no puedo descargar canciones, y otro puñado de cosas que hicieron que en mí surgiera la necesidad de descargar mi música para tenerla accesible en cualquier momento, y potencialmente en cualquier lugar.

Por esta razón, hago el anuncio de que desarrollé un servicio web para descargar música desde YT Music. Es un servicio con enfoque autohosteable y descentralizado, por lo que cualquier persona con el tiempo y las ganas puede levantarse su propia instancia privada o pública. El proyecto sigue en una etapa temprana, por lo que aún no tiene mucho; descarga canciones individuales y playlists, las comprime en un archivo ZIP y permite descargarlas. También agrega cosas como los metadatos y el AlbumArt para cada canción, y permite descargar en distintos formatos (como mp3, opus, ogg y flac). Poco a poco puliré el software y le agregaré más cosas; mejor aún si alguien comienza a contribuir en el repositorio.

Levantaré una instancia "oficial" en mi dominio, pero no la anunciaré por aquí para evitar que demasiada gente la use, pues eso comprometería mi ancho de banda y aumentaría la vulnerabilidad del proyecto ante ataques o censura. Pondré el link en la sección de "Servicios" de mi página web, y ahí estará para quien lo quiera probar. El repositorio está en codeberg.org/Autumn64/Elisifier, y cualquier persona es bienvenida de contribuir, así como de clonar el repositorio y levantar su propia instancia.

¡Muchas gracias por el apoyo!

Codeberg.orgElisifierUn descargador de música libre y online

What does your Spotify account say about your music taste?
I was curious – so I built a little app to find out. Using Python, Streamlit and Plotly, I visualised my top tracks, favourite genres and the release years of the songs I listen to most.

What you need:
:blobcoffee: Access to the Spotify Web API
:blobcoffee: A bit of Pandas for analysis
:blobcoffee: A few lines of code with Plotly
:blobcoffee: Streamlit to build and run the app

→ The result? A personal, interactive music year in review 🎶

I put together a step-by-step guide (beginner-friendly) including code, screenshots, and how to deploy the app on Streamlit Cloud.

👉 Check out the full article here: bit.ly/3SF3VTw

#python #programming #technology #streamlit #spotify #Datavisualization #datascience #datascientist #opensource #api

Friends-Link: medium.com/data-science-collec

Data Science Collective · Visualize Your Spotify Data with Python and StreamlitBy Sarah Lea

I don’t have Spotify, but I use Strava. So I created my personal Year in Sports Wrapped 🚴 📊

Got Strava and want your own? No problem, I turned it into an app year-in-sports.streamlit.app/

Step 1: Download your data from Strava. Follow their guide on how to do it: support.strava.com/hc/en-us/ar

Step 2: Upload your csv file, chose a year and create your visual.

App made in #python using #streamlit, #matplotlib, #pyfonts, and a few more libraries.

🔗 Full code: github.com/Lisa-Ho/year-in-spo

My #Mastodon bookmarks (and previously twitter) are like a black hole that sucks in everything but will never show it again. Because there’s no sensible way to find anything ever again. For my own use, I created a small web app based on #streamlit that allows me to search and explore my bookmarks. It’s actually proven quite useful already, and now I decided to share the code as is in case anyone else wants to try it. github.com/frederik-elwert/mas

Replied in thread

@glyph @mcc I have been developing in Python over 20 years but have always been leery of UI work due to the complexity of Tkinter and GTK APIs. Last year I surveyed the options for RAD GUI tools and landed on #PySimpleGUI. Over a few months I was able to iteratively develop and enhance a SQL query tool of modest complexity and found joy in accomplishing the task. No longer intimidated I am now exploring other options such as #Streamlit and #Textual