product · inferred from evidence
j2-ultra
A specific AI21 LLM model referenced in the example code.
- api sanitizer probe thread do not use
pass your API key to AI21LLM(model="j2-ultra")
- api sanitizer probe thread do not use
use llm = AI21LLM(model="j2-ultra", with your API key)
- AI21 LLM is not Runnable when using via LangChain
Dont pass AI21Client as the llm. Use the LangChain wrapper from the langchain_ai21 package instead: from langchain_ai21 import AI21LLM, then llm = AI21LLM(model="j2-ultra", your AI21 key parameter) and pass that llm to load_tools and initia