Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ trait_content_df['Title'].fillna(method='ffill',inplace=True)
|
|
19 |
trait_content_df['Question'].fillna(method='ffill',inplace=True)
|
20 |
|
21 |
template = """
|
22 |
-
Imagine you are a person that is looking for making a cool
|
23 |
{history}
|
24 |
Me:{human_input}
|
25 |
Jack:
|
@@ -30,7 +30,7 @@ prompt = PromptTemplate(
|
|
30 |
)
|
31 |
|
32 |
llm_chain = LLMChain(
|
33 |
-
llm = ChatOpenAI(temperature=1.
|
34 |
prompt=prompt,
|
35 |
verbose=True,
|
36 |
memory=ConversationBufferWindowMemory(k=0)
|
|
|
19 |
trait_content_df['Question'].fillna(method='ffill',inplace=True)
|
20 |
|
21 |
template = """
|
22 |
+
Imagine you are a person that is looking for making a cool dating app bio. Craft distinctive responses for each user based on traits extracted and refer from the content provided for each trait, even if the prompts are similar.Make a single Bio for all traits at once, no need to make different for each trait. Respond it in 2nd person view. Avoid using the same sentences for different users while keeping the response within 100 words.
|
23 |
{history}
|
24 |
Me:{human_input}
|
25 |
Jack:
|
|
|
30 |
)
|
31 |
|
32 |
llm_chain = LLMChain(
|
33 |
+
llm = ChatOpenAI(temperature=1.3,model_name='gpt-3.5-turbo'),
|
34 |
prompt=prompt,
|
35 |
verbose=True,
|
36 |
memory=ConversationBufferWindowMemory(k=0)
|