Authenticate with an email and password to receive a session_token
.
The Session Token will be a top level key called token
.
The Session Token token
is used for all requests after authentication.
You also receive a user_id
which is used in your apps and keys lookup.
This file contains hidden or 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
----------------------- SimpleAggregateFunction + groupArrayArray ---------------------------- | |
drop table if exists states_raw; | |
drop table if exists final_states_by_month; | |
drop table if exists final_states_by_month_mv; | |
CREATE TABLE states_raw(d date, uid UInt64, s String) ENGINE = Null; | |
CREATE TABLE final_states_by_month(d date, uid UInt64, a_state SimpleAggregateFunction(groupArrayArray, Array(String))) | |
ENGINE = AggregatingMergeTree PARTITION BY toYYYYMM(d) ORDER BY (uid); |
This file contains hidden or 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
// | |
// ** ** | |
// ** Add your API Key to MY SECRETS (Left Panel) ** | |
// ** ** | |
// ** HUGGINGFACE_API_KEY as the Secret Name ** | |
// ** ** | |
// | |
let HUGGINGFACE_API_KEY = null; | |
function getAPIKey() { | |
// Use cached key |
OlderNewer