Skip to content

Commit

Permalink
Merge pull request #212 from nulib/deploy/staging
Browse files Browse the repository at this point in the history
Merge staging to prod
  • Loading branch information
mbklein authored May 21, 2024
2 parents 9ffcc1e + 85ad566 commit 6eda227
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chat/src/event_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
MAX_K = 100
TEMPERATURE = 0.2
TEXT_KEY = "id"
VERSION = "2023-07-01-preview"
VERSION = "2024-02-01"

@dataclass
class EventConfig:
Expand Down
2 changes: 1 addition & 1 deletion chat/test/helpers/test_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_token_usage(self):
"prompt": 302,
"question": 15,
"source_documents": 1,
"total": 350
"total": 324
}

self.assertEqual(result, expected_result)
Expand Down
2 changes: 1 addition & 1 deletion chat/test/test_event_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_attempt_override_without_superuser_status(self):
"attributes": EventConfig.DEFAULT_ATTRIBUTES,
"azure_endpoint": "https://test.openai.azure.com/",
"k": 5,
"openai_api_version": "2023-07-01-preview",
"openai_api_version": "2024-02-01",
"question": "test question",
"ref": "test ref",
"temperature": 0.2,
Expand Down

0 comments on commit 6eda227

Please sign in to comment.