From 4daedd42ffe2a7c55428e4080dc1807a90eb1194 Mon Sep 17 00:00:00 2001 From: Addison-Weatherhead Date: Thu, 30 Nov 2023 20:42:30 -0500 Subject: [PATCH] Fixed typos/formatting --- Topics/Software_Tools/OpenAI-API.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Topics/Software_Tools/OpenAI-API.md b/Topics/Software_Tools/OpenAI-API.md index 8fbf8ba65..bc924da1b 100644 --- a/Topics/Software_Tools/OpenAI-API.md +++ b/Topics/Software_Tools/OpenAI-API.md @@ -63,7 +63,7 @@ _Note that the API's credits are not free! You get 3 months of free credit upon completion = client.chat.completions.create( model="gpt-3.5-turbo", # OpenAI's current standard model. Fast and cheap! messages=[ - {"role": "user", "content": "Come up with a name formy new strawberry ice cream flavor!"} + {"role": "user", "content": "Come up with a name for my new strawberry ice cream flavor!"} ] ) @@ -96,15 +96,15 @@ _Note that the API's credits are not free! You get 3 months of free credit upon - ## Conclusion +## Conclusion - These are just some of the things you can do with the OpenAI API. They have other models that are more sophisticated, and even ones that can process images. Just be sure to check out the pricing page to ensure you don't over spend. Luckily, the prices are fairly low, at fractions of a cent per prompt, and the lowest credit buy in is just $5 USD. +These are just some of the things you can do with the OpenAI API. They have other models that are more sophisticated, and even ones that can process images. Just be sure to check out the pricing page to ensure you don't over spend. Luckily, the prices are fairly low, at fractions of a cent per prompt, and the lowest credit buy in is just $5 USD. - ## Resources +## Resources - https://platform.openai.com/docs/guides/text-generation/chat-completions-api - https://openai.com/pricing - https://www.youtube.com/watch?v=uRQH2CFvedY \ No newline at end of file +https://platform.openai.com/docs/guides/text-generation/chat-completions-api +https://openai.com/pricing +https://www.youtube.com/watch?v=uRQH2CFvedY \ No newline at end of file