Add rest-api example (#889)
This commit is contained in:
17
examples/rest-api/default.yaml
Normal file
17
examples/rest-api/default.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
app:
|
||||
config:
|
||||
id: 'default'
|
||||
|
||||
llm:
|
||||
provider: gpt4all
|
||||
config:
|
||||
model: 'orca-mini-3b.ggmlv3.q4_0.bin'
|
||||
temperature: 0.5
|
||||
max_tokens: 1000
|
||||
top_p: 1
|
||||
stream: false
|
||||
|
||||
embedder:
|
||||
provider: gpt4all
|
||||
config:
|
||||
model: 'all-MiniLM-L6-v2'
|
||||
Reference in New Issue
Block a user