Use ChatGPT para gerar ppt automaticamente, tudo em um único arquivo.
topic.txt : what's OpenAI?
how OpenAI works?
what is the future of OpenAI?
token.txt . ./cgp
E você recebe um:

Com suporte de vários idiomas:

Ou motor de renderização diferente:

Você pode baixar binários pré -construídos na página de lançamento.
topic.txttoken.txt./cgp Tudo feito. Você pode obter ajuda sobre os argumentos da linha de comando com cgp --help .
$ ./cgp_macos --help
Usage of ./cgp_macos:
-client string
gpt client type (default " GPT35 " )
-output string
out path (default " ./output.html " )
-renderer string
renderer type (default " REMARK " )
-rendererBin string
binary file for renderer
-token string
token file path (default " ./token.txt " )
-topic string
topic file path (default " ./topic.txt " ) -i Flag permite que você verifique e corrige o conteúdo gerado um por um.
@williamfzc ➜ /workspaces/chat-gpt-ppt (main) $ ./cgp -i
start preparing ...
start generating ...
2023/03/18 08:17:23 topic what ' s OpenAI? done
Here is your response, type any key to continue, type ' n ' to edit
# what ' s OpenAI ?
- OpenAI is an artificial intelligence research lab.
- It was founded by a group of well-known tech industry figures in 2015 as a non-profit organization.
- OpenAI ' s mission is to ensure that AGI (Artificial General Intelligence) benefits all of humanity.
- Their research covers many areas of AI, such as reinforcement learning, natural language processing, computer vision, and robotics.
- OpenAI also develops and releases several powerful AI-based tools, including GPT-3, which has revolutionized natural language processing.
>>> Obrigado pelo seu interesse. Este projeto é realmente simples de invadir.
Este projeto consiste em duas peças flashable:
Se você quiser fazer algumas alterações:
make para construir um arquivo binário (Go Instalação necessária)Sinta -se à vontade para nos enviar PR/problemas.
[2023-03-02] Reescrever com Golang. Tudo em um arquivo.
[2023-01-13] #2 Os serviços da Openai não estão disponíveis no meu país.
[2022-12-06] Atualmente, o ChatGPT não possui API oficial. Estou esperando que ele faça deste repo uma produção real.
Mit