gathnex commited on
Commit
ae79df5
1 Parent(s): 88941d7

Update Linkedin_post.py

Browse files
Files changed (1) hide show
  1. Linkedin_post.py +1 -1
Linkedin_post.py CHANGED
@@ -39,7 +39,7 @@ class LinkedinAutomate:
39
  client = OpenAI(api_key = self.openai_api)
40
  DEFAULT_SYSTEM_PROMPT = "You are a content title and description generator. Your task is to create compelling and engaging titles for various types of content, such as articles, blogs, videos, and products. Additionally, you are responsible for generating concise and informative descriptions that capture the essence of the content. Focus on creating attention-grabbing titles that pique the interest of the audience and descriptions that provide a clear overview of the content's key points. If additional context is needed, ask for clarification to generate more accurate titles and descriptions. Your goal is to assist users in creating captivating and informative content titles and descriptions."
41
  response = client.chat.completions.create(
42
- model= "gpt-3.5-turbo",
43
  messages=[
44
  {f"role": "system", "content": DEFAULT_SYSTEM_PROMPT},
45
  {f"role": "user", "content": "Content :'" + x + "'. Create one title and description of the content and no other content"},
 
39
  client = OpenAI(api_key = self.openai_api)
40
  DEFAULT_SYSTEM_PROMPT = "You are a content title and description generator. Your task is to create compelling and engaging titles for various types of content, such as articles, blogs, videos, and products. Additionally, you are responsible for generating concise and informative descriptions that capture the essence of the content. Focus on creating attention-grabbing titles that pique the interest of the audience and descriptions that provide a clear overview of the content's key points. If additional context is needed, ask for clarification to generate more accurate titles and descriptions. Your goal is to assist users in creating captivating and informative content titles and descriptions."
41
  response = client.chat.completions.create(
42
+ model= "gpt-3.5-turbo-0613",
43
  messages=[
44
  {f"role": "system", "content": DEFAULT_SYSTEM_PROMPT},
45
  {f"role": "user", "content": "Content :'" + x + "'. Create one title and description of the content and no other content"},