Skip to content

Commit 8d49513

Browse files
authored
Merge pull request #770 from tisnik/lcore-951-example-config-files
LCORE-951: example configuration files
2 parents 44721a0 + 6c71c74 commit 8d49513

6 files changed

+203
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Lightspeed Core Service (LCS)
2+
service:
3+
host: localhost
4+
port: 8080
5+
auth_enabled: false
6+
workers: 1
7+
color_log: true
8+
access_log: true
9+
llama_stack:
10+
use_as_library_client: false
11+
url: http://localhost:8321
12+
api_key: xyzzy
13+
user_data_collection:
14+
feedback_enabled: true
15+
feedback_storage: "/tmp/data/feedback"
16+
transcripts_enabled: true
17+
transcripts_storage: "/tmp/data/transcripts"
18+
authentication:
19+
module: "noop"
20+
quota_handlers:
21+
sqlite:
22+
db_path: quota.sqlite
23+
limiters:
24+
- name: user_monthly_limits
25+
type: user_limiter
26+
initial_quota: 50
27+
quota_increase: 50
28+
period: "30 seconds"
29+
- name: cluster_monthly_limits
30+
type: cluster_limiter
31+
initial_quota: 100
32+
quota_increase: 100
33+
period: "30 seconds"
34+
scheduler:
35+
# scheduler ticks in seconds
36+
period: 10
37+
byok_rag:
38+
- rag_id: ocp_docs
39+
rag_type: inline::faiss
40+
embedding_dimension: 1024
41+
vector_db_id: vector_byok_1
42+
db_path: /tmp/ocp.faiss
43+
- rag_id: knowledge_base
44+
rag_type: inline::faiss
45+
embedding_dimension: 384
46+
vector_db_id: vector_byok_2
47+
db_path: /tmp/kb.faiss
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Lightspeed Core Service (LCS)
2+
service:
3+
host: localhost
4+
port: 8080
5+
auth_enabled: false
6+
workers: 1
7+
color_log: true
8+
access_log: true
9+
llama_stack:
10+
use_as_library_client: true
11+
library_client_config_path: run.yaml
12+
user_data_collection:
13+
feedback_enabled: true
14+
feedback_storage: "/tmp/data/feedback"
15+
transcripts_enabled: true
16+
transcripts_storage: "/tmp/data/transcripts"
17+
authentication:
18+
module: "noop"
19+
conversation_cache:
20+
type: "postgres"
21+
postgres:
22+
host: 127.0.0.1
23+
db: test
24+
user: tester
25+
password: 123qwe
26+
ssl_mode: disable
27+
gss_encmode: disable
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lightspeed Core Service (LCS)
2+
service:
3+
host: localhost
4+
port: 8080
5+
auth_enabled: false
6+
workers: 1
7+
color_log: true
8+
access_log: true
9+
llama_stack:
10+
use_as_library_client: true
11+
library_client_config_path: run.yaml
12+
user_data_collection:
13+
feedback_enabled: true
14+
feedback_storage: "/tmp/data/feedback"
15+
transcripts_enabled: true
16+
transcripts_storage: "/tmp/data/transcripts"
17+
authentication:
18+
module: "noop"
19+
conversation_cache:
20+
type: "sqlite"
21+
sqlite:
22+
db_path: quota.sqlite
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Lightspeed Core Service (LCS)
2+
service:
3+
host: localhost
4+
port: 8080
5+
auth_enabled: false
6+
workers: 1
7+
color_log: true
8+
access_log: true
9+
llama_stack:
10+
use_as_library_client: false
11+
url: http://localhost:8321
12+
api_key: xyzzy
13+
user_data_collection:
14+
feedback_enabled: true
15+
feedback_storage: "/tmp/data/feedback"
16+
transcripts_enabled: true
17+
transcripts_storage: "/tmp/data/transcripts"
18+
authentication:
19+
module: "noop"
20+
mcp_servers:
21+
- name: "server1"
22+
provider_id: "provider1"
23+
url: "http://url.com:1"
24+
- name: "server2"
25+
provider_id: "provider2"
26+
url: "http://url.com:2"
27+
- name: "server3"
28+
provider_id: "provider3"
29+
url: "http://url.com:3"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Lightspeed Core Service (LCS)
2+
service:
3+
host: localhost
4+
port: 8080
5+
auth_enabled: false
6+
workers: 1
7+
color_log: true
8+
access_log: true
9+
llama_stack:
10+
use_as_library_client: false
11+
url: http://localhost:8321
12+
api_key: xyzzy
13+
user_data_collection:
14+
feedback_enabled: true
15+
feedback_storage: "/tmp/data/feedback"
16+
transcripts_enabled: true
17+
transcripts_storage: "/tmp/data/transcripts"
18+
authentication:
19+
module: "noop"
20+
quota_handlers:
21+
postgres:
22+
host: "127.0.0.1"
23+
port: 5432
24+
db: test
25+
user: tester
26+
password: 123qwe
27+
ssl_mode: disable
28+
gss_encmode: disable
29+
limiters:
30+
- name: user_monthly_limits
31+
type: user_limiter
32+
initial_quota: 50
33+
quota_increase: 50
34+
period: "30 seconds"
35+
- name: cluster_monthly_limits
36+
type: cluster_limiter
37+
initial_quota: 100
38+
quota_increase: 100
39+
period: "30 seconds"
40+
scheduler:
41+
# scheduler ticks in seconds
42+
period: 10
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Lightspeed Core Service (LCS)
2+
service:
3+
host: localhost
4+
port: 8080
5+
auth_enabled: false
6+
workers: 1
7+
color_log: true
8+
access_log: true
9+
llama_stack:
10+
use_as_library_client: false
11+
url: http://localhost:8321
12+
api_key: xyzzy
13+
user_data_collection:
14+
feedback_enabled: true
15+
feedback_storage: "/tmp/data/feedback"
16+
transcripts_enabled: true
17+
transcripts_storage: "/tmp/data/transcripts"
18+
authentication:
19+
module: "noop"
20+
quota_handlers:
21+
sqlite:
22+
db_path: quota.sqlite
23+
limiters:
24+
- name: user_monthly_limits
25+
type: user_limiter
26+
initial_quota: 50
27+
quota_increase: 50
28+
period: "30 seconds"
29+
- name: cluster_monthly_limits
30+
type: cluster_limiter
31+
initial_quota: 100
32+
quota_increase: 100
33+
period: "30 seconds"
34+
scheduler:
35+
# scheduler ticks in seconds
36+
period: 10

0 commit comments

Comments
 (0)