Spaces:
Running
on
Zero
Running
on
Zero
File size: 412 Bytes
3d91b3c |
1 2 3 4 5 6 7 8 9 |
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() |