daviddwlee84/First_Agent
0
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# https://www.gradio.app/guides/quickstart#building-your-first-demo
# Gradio (TODO: somehow buggy)
python app.py
# Streamlit (TODO: able to clear message history)
streamlit run streamlit_app.py
# Streamlit chat_input (TODO: move ReAct process to `st.expander`; able to render image)
streamlit run streamlit_app_chat.py
# Chainlit (TODO: move the ReAct process from agent message to "step")
chainlit run chainlit_app.pyTest Example
What time is it?- Expect to use tool
get_current_time_in_timezone - Result expect the current local time in UTC
Draw a bear for me- Expect to use tool
image_generator - Result will be something like
{'path': '/var/folders/g3/gsbp4bsx1gs51t1805r34ztw0000gn/T/tmpch4mrr13/2fa94447-e9e5-4964-b9d2-b4b9a83ccf84.png', 'mime_type': 'image/png'}
