diff --git a/examples/lightspeed-stack-byok-rag.yaml b/examples/lightspeed-stack-byok-rag.yaml new file mode 100644 index 00000000..7780ac21 --- /dev/null +++ b/examples/lightspeed-stack-byok-rag.yaml @@ -0,0 +1,47 @@ +name: Lightspeed Core Service (LCS) +service: + host: localhost + port: 8080 + auth_enabled: false + workers: 1 + color_log: true + access_log: true +llama_stack: + use_as_library_client: false + url: http://localhost:8321 + api_key: xyzzy +user_data_collection: + feedback_enabled: true + feedback_storage: "/tmp/data/feedback" + transcripts_enabled: true + transcripts_storage: "/tmp/data/transcripts" +authentication: + module: "noop" +quota_handlers: + sqlite: + db_path: quota.sqlite + limiters: + - name: user_monthly_limits + type: user_limiter + initial_quota: 50 + quota_increase: 50 + period: "30 seconds" + - name: cluster_monthly_limits + type: cluster_limiter + initial_quota: 100 + quota_increase: 100 + period: "30 seconds" + scheduler: + # scheduler ticks in seconds + period: 10 +byok_rag: + - rag_id: ocp_docs + rag_type: inline::faiss + embedding_dimension: 1024 + vector_db_id: vector_byok_1 + db_path: /tmp/ocp.faiss + - rag_id: knowledge_base + rag_type: inline::faiss + embedding_dimension: 384 + vector_db_id: vector_byok_2 + db_path: /tmp/kb.faiss diff --git a/examples/lightspeed-stack-conversation-cache-pg.yaml b/examples/lightspeed-stack-conversation-cache-pg.yaml new file mode 100644 index 00000000..4ad04434 --- /dev/null +++ b/examples/lightspeed-stack-conversation-cache-pg.yaml @@ -0,0 +1,27 @@ +name: Lightspeed Core Service (LCS) +service: + host: localhost + port: 8080 + auth_enabled: false + workers: 1 + color_log: true + access_log: true +llama_stack: + use_as_library_client: true + library_client_config_path: run.yaml +user_data_collection: + feedback_enabled: true + feedback_storage: "/tmp/data/feedback" + transcripts_enabled: true + transcripts_storage: "/tmp/data/transcripts" +authentication: + module: "noop" +conversation_cache: + type: "postgres" + postgres: + host: 127.0.0.1 + db: test + user: tester + password: 123qwe + ssl_mode: disable + gss_encmode: disable diff --git a/examples/lightspeed-stack-conversation-cache-sqlite.yaml b/examples/lightspeed-stack-conversation-cache-sqlite.yaml new file mode 100644 index 00000000..20f16c89 --- /dev/null +++ b/examples/lightspeed-stack-conversation-cache-sqlite.yaml @@ -0,0 +1,22 @@ +name: Lightspeed Core Service (LCS) +service: + host: localhost + port: 8080 + auth_enabled: false + workers: 1 + color_log: true + access_log: true +llama_stack: + use_as_library_client: true + library_client_config_path: run.yaml +user_data_collection: + feedback_enabled: true + feedback_storage: "/tmp/data/feedback" + transcripts_enabled: true + transcripts_storage: "/tmp/data/transcripts" +authentication: + module: "noop" +conversation_cache: + type: "sqlite" + sqlite: + db_path: quota.sqlite diff --git a/examples/lightspeed-stack-mcp-servers.yaml b/examples/lightspeed-stack-mcp-servers.yaml new file mode 100644 index 00000000..d44f20e7 --- /dev/null +++ b/examples/lightspeed-stack-mcp-servers.yaml @@ -0,0 +1,29 @@ +name: Lightspeed Core Service (LCS) +service: + host: localhost + port: 8080 + auth_enabled: false + workers: 1 + color_log: true + access_log: true +llama_stack: + use_as_library_client: false + url: http://localhost:8321 + api_key: xyzzy +user_data_collection: + feedback_enabled: true + feedback_storage: "/tmp/data/feedback" + transcripts_enabled: true + transcripts_storage: "/tmp/data/transcripts" +authentication: + module: "noop" +mcp_servers: + - name: "server1" + provider_id: "provider1" + url: "http://url.com:1" + - name: "server2" + provider_id: "provider2" + url: "http://url.com:2" + - name: "server3" + provider_id: "provider3" + url: "http://url.com:3" diff --git a/examples/lightspeed-stack-quota-limiter-pg.yaml b/examples/lightspeed-stack-quota-limiter-pg.yaml new file mode 100644 index 00000000..889f1ce4 --- /dev/null +++ b/examples/lightspeed-stack-quota-limiter-pg.yaml @@ -0,0 +1,42 @@ +name: Lightspeed Core Service (LCS) +service: + host: localhost + port: 8080 + auth_enabled: false + workers: 1 + color_log: true + access_log: true +llama_stack: + use_as_library_client: false + url: http://localhost:8321 + api_key: xyzzy +user_data_collection: + feedback_enabled: true + feedback_storage: "/tmp/data/feedback" + transcripts_enabled: true + transcripts_storage: "/tmp/data/transcripts" +authentication: + module: "noop" +quota_handlers: + postgres: + host: "127.0.0.1" + port: 5432 + db: test + user: tester + password: 123qwe + ssl_mode: disable + gss_encmode: disable + limiters: + - name: user_monthly_limits + type: user_limiter + initial_quota: 50 + quota_increase: 50 + period: "30 seconds" + - name: cluster_monthly_limits + type: cluster_limiter + initial_quota: 100 + quota_increase: 100 + period: "30 seconds" + scheduler: + # scheduler ticks in seconds + period: 10 diff --git a/examples/lightspeed-stack-quota-limiter-sqlite.yaml b/examples/lightspeed-stack-quota-limiter-sqlite.yaml new file mode 100644 index 00000000..f222ab43 --- /dev/null +++ b/examples/lightspeed-stack-quota-limiter-sqlite.yaml @@ -0,0 +1,36 @@ +name: Lightspeed Core Service (LCS) +service: + host: localhost + port: 8080 + auth_enabled: false + workers: 1 + color_log: true + access_log: true +llama_stack: + use_as_library_client: false + url: http://localhost:8321 + api_key: xyzzy +user_data_collection: + feedback_enabled: true + feedback_storage: "/tmp/data/feedback" + transcripts_enabled: true + transcripts_storage: "/tmp/data/transcripts" +authentication: + module: "noop" +quota_handlers: + sqlite: + db_path: quota.sqlite + limiters: + - name: user_monthly_limits + type: user_limiter + initial_quota: 50 + quota_increase: 50 + period: "30 seconds" + - name: cluster_monthly_limits + type: cluster_limiter + initial_quota: 100 + quota_increase: 100 + period: "30 seconds" + scheduler: + # scheduler ticks in seconds + period: 10