hf-legisqa / sidebar_mod.py
gabrielaltay's picture
deterministic sort order
b2c7bf9
import streamlit as st
def render_outreach_links():
nomic_base_url = "https://atlas.nomic.ai/data/gabrielhyperdemocracy"
nomic_map_name = "us-congressional-legislation-s1024o256nomic-1"
nomic_url = f"{nomic_base_url}/{nomic_map_name}/map"
hf_url = "https://huggingface.co/hyperdemocracy"
pc_url = "https://www.pinecone.io/blog/serverless"
together_url = "https://www.together.ai/"
google_gemini_url = "https://ai.google.dev/gemini-api"
anthropic_url = "https://www.anthropic.com/api"
openai_url = "https://platform.openai.com/docs/overview"
langchain_url = "https://www.langchain.com/"
st.subheader(f":world_map: Visualize [nomic atlas]({nomic_url})")
st.subheader(f":hugging_face: Raw [huggingface datasets]({hf_url})")
st.subheader(f":evergreen_tree: Index [pinecone serverless]({pc_url})")
st.subheader(f":pancakes: Inference [together.ai]({together_url})")
st.subheader(f":eyeglasses: Inference [google-gemini]({google_gemini_url})")
st.subheader(f":hut: Inference [anthropic]({anthropic_url})")
st.subheader(f":sparkles: Inference [openai]({openai_url})")
st.subheader(f":parrot: Orchestration [langchain]({langchain_url})")
def render_sidebar():
with st.container(border=True):
render_outreach_links()