Skip to content

Commit

Permalink
config change
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelthwan committed Mar 6, 2023
1 parent 7ff9002 commit d73b0b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ goose_ai_api:
cache: # .cache result for efficiency and consistency
is_enable_cache: false
path: .cache
max_number_of_cache: 10
max_number_of_cache: 0
semantic_search:
# provider list:
# faiss-openai (default): Use OpenAIEmbedding. fast, good accuracy but need openai key (cost)
Expand Down
2 changes: 1 addition & 1 deletion src/website/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<input type="search" id="form1" class="form-control"
placeholder="Ask: e.g. What is ChatGPT"
name="q" value="{{ request.args.get('q', '') }}"
minlength="10" maxlength="200" required/>
minlength="5" maxlength="200" required/>
<button type="submit" class="btn btn-primary" id="search-btn"><i class="fa fa-search"></i></button>
</div>
<div class="row mt-4">
Expand Down

0 comments on commit d73b0b9

Please sign in to comment.