Single file full stack ChatGpt clone in Cursor in 1 minute in 100 lines

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • Join my 1000x Cursor course by becoming a Patron: / 520959
    Check out all my videos: www.echohive.l...
    full prompt:
    "
    create a fastapi chatgpt clone in a single file main.py.
    do not create any additonal files or folders. have js and all necesary python logic in main.py. do not refer to or use any directories
    use daisy ui for styling(dark mode)
    use gpt-4o api call with chat.completions and not chatcompletions as openai library has been updated.
    gpt-4o is a new model and has to have the "o" at the end
    openai api key from env variable.
    use 127... and run it from within main.py with reload enabled
    "
    #cursor #cursoride #aicoding

ความคิดเห็น • 1