updated feedback:
This commit is contained in:
@@ -21,7 +21,7 @@ load_dotenv()
|
||||
|
||||
os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
|
||||
|
||||
llm_temp = ChatOpenAI(model="gpt-4o-mini", temperature=0.7)
|
||||
llm_temp = ChatOpenAI(model="gpt-4o-mini", temperature=0.7,max_tokens=5000)
|
||||
def generate_theme(conversation_data, resume, full_history, form_response=None, feedback=None, previous_result=None) -> dict:
|
||||
try:
|
||||
# Define prompt for summarizing and extracting the required fields
|
||||
@@ -159,9 +159,9 @@ Generate a well-structured JSON output with the following fields:
|
||||
- Use this feedback to refine and regenerate the STARTPOP.
|
||||
|
||||
<|eot_id|><|start_header_id|>user<|end_header_id|>
|
||||
Rules for Generating Each Component:
|
||||
1. Situation: 100 - 120 words.
|
||||
2. Task: 100 words.
|
||||
Rules for Generating Each Component:FOLLOW THIS STRICTLY
|
||||
1. Situation: 80 - 120 words.
|
||||
2. Task: 70 words.
|
||||
3. Actions: 2 negative actions and 2 positive actions.
|
||||
4. Results: 50-70 words.
|
||||
5. Personal Lessons: 50-70 words.
|
||||
|
||||
Reference in New Issue
Block a user