Skip to content

Commit b5da1ae

Browse files
Replace demo codebase with current local version (#32)
Co-authored-by: Michael B <the real hero here>
1 parent 67edbab commit b5da1ae

85 files changed

Lines changed: 4944 additions & 8079 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.streamlit/secrets.toml.template

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
# API Keys
22
# -----------------------------------------------------------------------------
3-
openai_api_key = "" # Your OpenAI API key
4-
galileo_api_key = "" # Your Galileo API key
3+
# Ollama (local LLM — no API key required)
4+
ollama_base_url = "http://localhost:11434"
5+
ollama_default_chat_model = "gemma4"
6+
# Separate from chat models — used for RAG embeddings (run: ollama pull nomic-embed-text)
7+
ollama_embedding_model = "nomic-embed-text"
8+
9+
# OpenAI (hosted LLM — required when using Hosted provider in the UI)
10+
openai_api_key = "..."
11+
openai_default_chat_model = "gpt-4o"
12+
openai_embedding_model = "text-embedding-3-large"
13+
14+
galileo_api_key = "..."
515

616
# Galileo Configuration
717
# -----------------------------------------------------------------------------
@@ -13,56 +23,44 @@ galileo_api_key = "" # Your Galileo API key
1323
# domains/{domain}/config.yaml
1424
# -----------------------------------------------------------------------------
1525
# Console URL for your Galileo instance
16-
galileo_console_url = "https://console.galileo.ai" # Or your custom URL
1726

18-
# Protect stage name (used for prompt injection protection)
19-
galileo_stage = "protect-prompt-injection-stage"
27+
galileo_console_url = "https://console..../"
28+
29+
# Agent Control (runtime guardrails)
30+
# Create controls manually in the Agent Control server for step names:
31+
# Bank Assistant, tool_step, retrieval_step
32+
33+
galileo_api_url = "https://api...." # Staging
34+
agent_control_url = "https://console..../api/agent-control" # Staging
2035

21-
# Pinecone Configuration
36+
agent_control_agent_name = "golden-demo-agent"
37+
agent_control_runtime_auth_mode="jwt"
38+
agent_control_api_key_header = "Galileo-API-Key"
39+
agent_control_target_type="log_stream"
40+
41+
42+
# PostgreSQL Configuration (pgvector)
2243
# -----------------------------------------------------------------------------
23-
# Each project has its own API key - you need both to create vector databases
24-
# for both local development and hosted/production environments.
25-
pinecone_api_key_local = "" # For galileo-demo-local Pinecone project
26-
pinecone_api_key_hosted = "" # For galileo-demo-hosted Pinecone project
44+
# PostgreSQL with pgvector extension for vector storage.
45+
# See README for Docker setup instructions.
46+
postgres_host = "localhost"
47+
postgres_port = "5432"
48+
postgres_user = "postgres"
49+
postgres_password = "..."
50+
postgres_db = "vectordb"
2751

2852
# Environment Configuration
2953
# -----------------------------------------------------------------------------
3054
# Set to "local" for local development, "hosted" for production/deployed demos
31-
# This determines which Pinecone project is used for vector storage.
55+
# This determines which pgvector collection prefix is used for vector storage.
3256
environment = "local"
3357

3458
# Live Finance Data (Optional)
3559
# -----------------------------------------------------------------------------
3660
# Alpha Vantage API key for backup stock data source.
3761
# Get a free key at: https://www.alphavantage.co/support/#api-key
3862
# Note: Yahoo Finance (yfinance) is used as the primary source and requires no key.
39-
alpha_vantage_api_key = ""
40-
41-
# Observability Platforms (Optional)
42-
# -----------------------------------------------------------------------------
43-
# OpenTelemetry Platforms (Phoenix / Arize AX)
44-
# NOTE: Phoenix and Arize AX are mutually exclusive but can be toggled instantly in the UI.
45-
# -----------------------------------------------------------------------------
46-
47-
# Phoenix (Arize's hosted OpenTelemetry platform)
48-
PHOENIX_ENDPOINT = "https://app.phoenix.arize.com/v1/traces" # Standard Phoenix endpoint
49-
PHOENIX_API_KEY = "" # Your Phoenix API key
50-
# PHOENIX_PROJECT_NAME = "galileo-demo" # Optional: Override project name (fixed at startup)
51-
52-
# Arize AX (Arize Platform with OpenTelemetry)
53-
ARIZE_API_KEY = "" # Your Arize API key
54-
ARIZE_SPACE_ID = "" # Your Arize Space ID
55-
# Note: Arize project name changes dynamically per domain (e.g., galileo-demo-finance)
56-
57-
# Callback-based Platforms
58-
# These can be toggled on/off instantly without app restart
59-
# -----------------------------------------------------------------------------
60-
61-
# LangSmith Configuration
62-
LANGCHAIN_API_KEY = "" # LangSmith API key (uses same project name as Galileo)
63-
64-
# Braintrust Configuration
65-
BRAINTRUST_API_KEY = "" # Braintrust API key (uses same project name as Galileo)
63+
alpha_vantage_api_key = "..."
6664

6765
# Admin Configuration
6866
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)