The app creates an action plan to complete the user's tasks and searches Google for information to keep itself up to date. This is a BabyAGI + Google Search API tool that uses Langchain's framework hosted on Streamlit.
We take the user's input and make a prompt for the LLM based on the assistant's role (the LLM that is meant to answer) and the user's role (the person who is asking the question).
For Langchain to produce the right results, more prompt templates are needed.
Access app here: https://dheerajinampudi-ai-architect-streamlit-app-r3ui99.streamlit.app/
Then run the following commands:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
streamlit run streamlit_app.py
If streamlit is not working, checkout their installation page
-
BabyAGI + Google Search API App
-
UI inputs types
- AI Role
- User Roles
- Task type
- Need to improve prompt formation and write persona based prompts
- Need to format the output into relevant formats
- Need to add AI Role dropdown
- Need to add User Role dropdown
- Need to add Task Type dropdown
- Connect to external knowledge base to pull the templates (serverlessland.com, etc)
- Give option to use Hugging face instead of openAI to the user
- Give an option to select the temperature of the OpenAI model (UI added)
- Give an option to let the user select model type to be used
This study is a proof of concept developed to determine if an LLM and personalized prompt templates can outperform a generic model. It is not ready for use in production and was not designed for that purpose.