Add Slack messaging

This commit is contained in:
Adrian Rumpold
2025-07-01 13:32:18 +02:00
parent b21c595a49
commit 77497ed56b
5 changed files with 79 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ The code retrieves Hacker News front page stories, categorizes them, stores them
- `OPENAI_API_KEY`: Your OpenAI API key for chat and embedding models.
- `JINA_AI_KEY`: Your [Jina AI Reader](https://jina.ai/reader/) key for text extraction.
- `SLACK_BOT_TOKEN`: Your Slack bot token for sending messages (optional).
2. Start local Weaviate vector store instance:
@@ -22,5 +23,5 @@ The code retrieves Hacker News front page stories, categorizes them, stores them
uv run python indexing.py
```
Adjust the constants in `indexing.py` to change the number of stories to fetch and the categories to use.
Adjust the constants in `indexing.py` to configure the behavior of the application.
You can optionally enable MLflow tracing by setting `ENABLE_MLFLOW_TRACING=True` there (make sure to run `mlflow server` first).