kenken999's picture
dfda
3d91b3c
raw
history blame
412 Bytes
from interpreter import interpreter
# 環境変数でOpenAI APIキーを保存および使用
interpreter.auto_run = True
#interpreter.llm.model = "huggingface/meta-llama/Meta-Llama-3-8B-Instruct"
#interpreter.llm.api_key = os.getenv("hf_token")
interpreter.llm.api_base = "https://api.groq.com/openai/v1"
interpreter.llm.api_key = os.getenv("apikey")
interpreter.llm.model = "Llama3-70b-8192"
interpreter.chat()