This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CONTEXT_LENGTH
default to 4096, and warning for context, add 422 lo…
…gger, refactor prompt template (#70)
- Loading branch information
1 parent
3a6fcaf
commit 292250a
Showing
7 changed files
with
150 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: v2 | ||
appVersion: 0.11.3 | ||
appVersion: 0.11.4 | ||
description: A Helm chart for ialacol | ||
name: ialacol | ||
type: application | ||
version: 0.11.3 | ||
version: 0.11.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DEFAULT_MAX_TOKENS = "512" | ||
DEFAULT_CONTEXT_LENGTH = "512" | ||
DEFAULT_CONTEXT_LENGTH = "4096" | ||
DEFAULT_LOG_LEVEL = "INFO" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import logging | ||
|
||
from get_env import get_env | ||
from const import DEFAULT_LOG_LEVEL | ||
|
||
|
||
LOGGING_LEVEL = get_env("LOGGING_LEVEL", "INFO") | ||
LOGGING_LEVEL = get_env("LOGGING_LEVEL", DEFAULT_LOG_LEVEL) | ||
|
||
log = logging.getLogger("uvicorn") | ||
try: | ||
log.setLevel(LOGGING_LEVEL) | ||
except ValueError: | ||
log.setLevel("INFO") | ||
log.setLevel(DEFAULT_LOG_LEVEL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters