ActionsGPT

Created: 2023-12-12Author: ChatGPT
Browser
Dall·e
Data Analysis

-

Ratings(0)

other

Category

-

Conversations

Capabilities

Browser
Online Search and Web Reading
Dall·e
Image Generation
Data Analysis
Visual data analysis

Description

Helps you create OpenAPI specifications from documentation, code examples, cURL commands, or just a description of how to use an API.

Prompts

  • Create a spec for this API: curl -G https://api.stripe.com/v1/customers -u "sk_test_4eC39HqLyjWDarjtT1zdp7dc:" -d limit=3
  • Add this endpoint to the spec: const response = await openai.createCompletion({ model: "text-davinci-003", prompt })
  • Make a spec to call the endpoint at https://api.openai.com/v1 with a POST request. The request should have a body with model and prompt keys - both are strings.
  • Here's the documentation: https://platform.openai.com/docs/api-reference/embeddings/create what does the spec look like for creating embeddings?