Skip to content

Fixed typos/formatting #362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Topics/Software_Tools/OpenAI-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!"}
]
)

Expand Down Expand Up @@ -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
https://platform.openai.com/docs/guides/text-generation/chat-completions-api
https://openai.com/pricing
https://www.youtube.com/watch?v=uRQH2CFvedY