Linkedin_Automation_with_Generative_AI
1.0.0
該工具利用人工智能和機器學習的力量自動化在LinkedIn上創建和發布高質量內容的過程。它利用大型語言模型Gen AI來生成引人入勝的文本和信息ratri,從提供的鏈接中提取相關信息。
安裝我們的linkedin_automation psi repo
pip install - q git + https : // github . com / gathnexadmin / Linkedin_Automation_with_Generative_AI . git導入文件並設置憑據
要了解有關如何創建LinkedIn訪問令牌的更多信息
#import this two files contain PSI automation system
from psi import llm_automation , Linkedin_post
#setup your credentials
OPENAI_API_KEY = "openai key"
access_token = "linkedin access token"PSI功能
def psi ( prompt ):
llm = llm_automation . llm_auto ( prompt , OPENAI_API_KEY )
if llm . intent_indentifier () == "#Post" :
url = llm . prompt_link_capturer ()
res = Linkedin_post . LinkedinAutomate ( access_token , url , OPENAI_API_KEY ). main_func ()
return llm . posted_or_not ( res )
else :
return llm . normal_gpt ()現在,您準備使用PSI工具使用Genrative AI
psi ( "create content about my new medium blog post https://medium.com/@gathnex/new-generative-ai-course-by-deeplearning-ai-daf34e24e9c8 and post it on my linkedin" )我們歡迎對這個項目的貢獻。請隨時開放問題或提出建議或代碼改進的請求。
該項目已根據MIT許可獲得許可。