TuanaCelik/should-i-follow
Sobre
🦄 An NLP application just for the lols: built with Haystack to get an overview of what a user is posting about on Twitter
IA e aprendizado de máquinaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originaltitle: Should I follow? emoji: 🦄 colorFrom: pink colorTo: yellow sdk: streamlit sdk_version: 1.55.0 app_file: app.py pinned: false
Should I Follow?
Try it out on 🤗 Spaces
A simple app to get an overview of what a Bluesky user has been posting about and their tone
This is a demo just for fun 🥳
This repo contains a streamlit application that given a Bluesky handle, tells you what type of things they've been posting about lately, their tone, and the languages they use. It uses the LLM by OpenAI gpt-4.1-nano.
It's been built with Haystack using the OpenAIChatGenerator and by creating a ChatPromptBuilder
Points of improvement
Since we're using a generative model here, we need to be a bit creative with the prompt we provide it to minimize any hallucination or similar unwanted results. For this reason, I've tried to be a bit creative with the ChatPromptBuilder template and give some examples of how to construct a summary. However, this still sometimes produces odd results.
If you try to run it yourself and find ways to make this app better, please feel free to create an issue/PR 🙌
To learn more about the ChatPromptBuilder
You can create prompt templates with Jinja. Check out the guide on creating prompts here
Installation and Running
To run the bare application which does nothing:
- Install requirements:
pip install -r requirements.txt - Run the streamlit app:
streamlit run app.py
This will start up the app on localhost:8501 where you will dind a simple search bar
The Haystack Community is on Discord
Explore projetos relacionados
Carregando…