3 ms·
Not all GPTs are just prompts. You can create GPTs that include uploaded content or code. A GPT I created for my own use invokes a Python function to do someth
by rahimnathwani 3y ago
Not all GPTs are just prompts. You can create GPTs that include uploaded content or code.
A GPT I created for my own use invokes a Python function to do something GPT-4 cannot do itself.
Other GPTs include knowledge bases.
- sucralose 3y agoCan you share your use case with the Python function?
- rahimnathwani 3y agoThe first line of my prompt is: Create a diagram in mermaid syntax based on what the user asked. Pass the code to the create_mermaid_link function below to get a link to Mermaid Live. Display the clickable link to the user. The prompt has more detail that tells it what types of diagrams to prefer, what types of escaping to use, how to order lines etc. The file I uploaded contains the create_mermaid_link() function, which relies on being able to base64 encode a string.