Created
September 8, 2023 23:06
-
-
Save fsndzomga/20fcc8b18c34b1c3a7df5e8ac447e668 to your computer and use it in GitHub Desktop.
anonLLM example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from anonLLM.llm import OpenaiLanguageModel | |
from dotenv import load_dotenv | |
load_dotenv() | |
text = "Write a CV for me: My name is Alice Johnson, "\ | |
"email: [email protected], phone: +1 234-567-8910."\ | |
"I am a machine learning engineer." | |
llm = OpenaiLanguageModel() | |
response = llm.generate(text) | |
print(response) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment