fromsentimatriximportSentimatrixfromsentimatrix.configimportSentimatrixConfig,LLMConfigconfig=SentimatrixConfig(llm=LLMConfig(provider="together",model="meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",api_key="your-together-key"# Or set TOGETHER_API_KEY))asyncwithSentimatrix(config)assm:summary=awaitsm.summarize_reviews(reviews)
LLMConfig(provider="together",model="meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",api_key="your-key",# Or TOGETHER_API_KEY env vartemperature=0.7,max_tokens=4096,timeout=30,)