Skip to content

this repo is for linkedin learning course: Building custom agents with the OpenAI Assistant API [ASI]

License

Notifications You must be signed in to change notification settings

LinkedInLearning/building-custom-agents-with-the-openai-assistant-api--asi--3366139

Repository files navigation

OpenAI API: Building custom agents with the Assistant API [ASI]

This is the repository for the LinkedIn Learning course OpenAI API: Building custom agents with the Assistant API [ASI]. The full course is available from LinkedIn Learning.

lil-thumbnail-url

See the readme file in the main branch for updated instructions and information.

Instructions

This repository provides basic examples of how to use the OpenAI Assistant API in both Python and Node.js. The Python examples are found in the /python folder, the Node.js examples in the /node folder. The examples perform identical tasks using the same API across the two different languages.

To use these exercise files you need an OpenAI API key. You get that key at platform.openai.com

Running the examples in GitHub Codespaces

  1. Click the "Code" button and select "Codespaces."
  2. Create a new Codespace or open one you've already created.
  3. Create a new file named .env in the root folder.
  4. Add OPENAI_API_KEY= followed by your OpenAI API key to .env
  5. Note .env is not tracked by GitHub so the file will only exist in this Codespace.
  6. To run the Python examples in terminal, navigate to the /python folder and use the python [filename.py] command.
  7. To run the Node.js examples in terminal, navigate to the /node folder and use the node [filename.js] command.

About

this repo is for linkedin learning course: Building custom agents with the OpenAI Assistant API [ASI]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published