File size: 1,107 Bytes
de3603e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
Ref: https://docs.streamlit.io/knowledge-base/tutorials/build-conversational-apps
"""

import streamlit as st

st.set_page_config(
    page_title="Motivation",
    page_icon="🤨",
)

st.markdown("## So Fred, why did you start this project? 🤨")

st.markdown(
    """
As much as I've been a very loyal (but freemium) Notion user, search func in Notion **sucks**. It supports only discrete keyword search with exact match (e.g. it treats Taylor Swift as two words).

What's even worse is that most of my documents are in Chinese. Most Chinese words consist of
multiple characters. If you break them up, you end up with a total different meaning ("上海"=Shanghai, "上"=up,"海"=ocean).
"""
)

st.image(
    "resources/search-limit-chinese.png",
    caption="tried to search for 天马 Pegasus, but it ends up with searching two discrete characters 天 sky and 马 horse",
)

st.markdown(
    """
My Notion Compnion is here to help me achieve two things:
- to have an improved search experience across my notion databases (200+ documents)
- to chat with my Notion documents in natural language
"""
)