/GPTPromptEngineeringExample

example of prompt engineering based on visual_chatgpt and gpt

Primary LanguagePython

pip install requests replace your API_KEY for more examples, see Here python index.py example: input -> I want to generate a duck output:

GPT-3.5: Thought: Do I need to use a tool? Yes
Action: Generate Image From User Input Text
Action Input: "Generate an image of a duck"
Observation: An image file named "image/generated_duck.png" has been generated.