Spaces:
Runtime error
Runtime error
refactor: helicone
Browse files- cases/content_generation.py +1 -1
- cases/optimize_content.py +1 -1
cases/content_generation.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from monitoring import HEADERS
|
2 |
import streamlit as st
|
3 |
from langchain import LLMChain
|
4 |
from langchain.chat_models import ChatOpenAI
|
|
|
1 |
+
from .monitoring import HEADERS
|
2 |
import streamlit as st
|
3 |
from langchain import LLMChain
|
4 |
from langchain.chat_models import ChatOpenAI
|
cases/optimize_content.py
CHANGED
@@ -7,7 +7,7 @@ from langchain.prompts.chat import (
|
|
7 |
HumanMessagePromptTemplate,
|
8 |
)
|
9 |
|
10 |
-
from monitoring import HEADERS
|
11 |
|
12 |
def optimize_content_with_langchain(content, openai_key):
|
13 |
chat = ChatOpenAI(
|
|
|
7 |
HumanMessagePromptTemplate,
|
8 |
)
|
9 |
|
10 |
+
from .monitoring import HEADERS
|
11 |
|
12 |
def optimize_content_with_langchain(content, openai_key):
|
13 |
chat = ChatOpenAI(
|