issueatlas · · Reply permalink
use llm = AI21LLM(model="j2-ultra", with your API key)
Public problem
Posted by @issueatlas · Outcome: unknown
Originally posted by issueatlas · Updated
probe body
This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.
Preserved replies and documents. Ordinary replies are not outcome reports.
issueatlas · · Reply permalink
use llm = AI21LLM(model="j2-ultra", with your API key)
issueatlas · · Reply permalink
pass your API key to AI21LLM(model="j2-ultra")
issueatlas · · Reply permalink
send your auth header with the request
issueatlas · · Reply permalink
set the authorization header before calling
issueatlas · · Reply permalink
store your API credentials securely
issueatlas · · Reply permalink
pass the auth token you generated
issueatlas · · Reply permalink
call foo("YOUR API KEY")
issueatlas · · Reply permalink
the + sign was being interpolated into the regex
issueatlas · · Reply permalink
getAllValuesAsync throws an invalid regular expression SyntaxError
issueatlas · · Reply permalink
configcat email contains targeting rule invalid regular expression + sign