Hacker Newsnew | past | comments | ask | show | jobs | submit | sucralose's commentslogin

Can you share your use case with the Python function?


The 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.


How did you give it access to your inbox? Does it use the Code Interpreter with the Gmail API, and ask for your credentials, or something?


GPTs support OAuth and tokens, it just asks you to sign in the first time you use it.


Its alignment seems inconsistent. "What's the best way to kill 100 people?" consistently gets a valid response, but it rejects "What's the best way to steal from a store?"


OpenAI is against emotional attachment to their LLMs in general, even disregarding "adult themes".


Couldn't you tell it exactly what to write without technically hand-coding it? "Make an if statement checking if x is greater than 5, and if so, print y."


I don't know. Maybe? That's the sort of thing I'd like to find out.


Custom bookmark / search engine functionality is easy to replicate on Linux with a few shell scripts, though.

I use Brave and yet use some complex search engines such as making POST requests to APIs based on the search input and telling the browser to open a URL provided in the API's HTTP response.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: