Spaces:
Runtime error
Runtime error
Update llm.py
Browse files
llm.py
CHANGED
@@ -3,8 +3,6 @@
|
|
3 |
# ------------------------------------------------
|
4 |
from langchain_openai import ChatOpenAI
|
5 |
|
6 |
-
import api_key
|
7 |
-
|
8 |
def invoke_llm(context, task):
|
9 |
prompt = f"""You are an assistant of a newspaper.
|
10 |
Do not make up any information, execute the task just based on the given context.
|
|
|
3 |
# ------------------------------------------------
|
4 |
from langchain_openai import ChatOpenAI
|
5 |
|
|
|
|
|
6 |
def invoke_llm(context, task):
|
7 |
prompt = f"""You are an assistant of a newspaper.
|
8 |
Do not make up any information, execute the task just based on the given context.
|