This repository builded top of the Personalized Feed repository. Frontend developed with Streamlit, Recommendation engine developed with Firstbatch.
- Adaptive Conversations: Our chatbot learns from your previous interactions and tailors the conversation accordingly.
- News Content Integration: Engage with news content that you prefer. Like the content you want and the chatbot adapts!
- Modern Interface: Dark-themed, sleek design ensures an enjoyable user experience.
Level 1: The chatbot starts without prior knowledge. Conversations are general and exploratory.
Level 2: As you interact, the chatbot aligns its responses closely with your expressed preferences.
Level 3: With further interactions, the chatbot leverages both your explicit signals and contextually linked topics to diversify the conversation.
Level 4: The chatbot takes brave leaps, introducing topics and directions that are related to your interests but offer fresh perspectives.
Note: The chatbot is predominantly influenced by the last three significant interactions to ensure that the conversation remains dynamic and relevant.
FirstBatch Algorithm in Detail
-
Clone the repository:
git clone [email protected]:anilaltuner/personalized-news-agent.git
-
Install the required libraries:
pip install -r requirements.txt
-
Set up your API keys in the
st.secrets
configuration. Ensure you have API keys for both FirstBatch and Pinecone. A secrets.toml example:"custom_algo_id" = "[algo_id]" "pinecone_index"="[pinecone_index_name]" "firstbatch_db_name"="[firstbatch_db]" "embedding_size"="[embbedding_size_of_vectors]" [api] "pinecone_api_key"="[pinecone_key]" "pinecone_env"="[pinecone_env]" "firstbatch_api_key"="[firstbatch_key]"
-
Run the Streamlit app:
streamlit run app.py
We value your feedback and contributions. If you find a bug or have a feature request, please open an issue. Pull requests are also welcome!