0:00
/
0:00
Transcript

101 - Getting started with Agentic AI

No OpenAI Account Required

Hello!

Many people often ask me a simple question: How can I get started with building Gen AI applications?

They face various challenges, such as:

  1. Limited access to OpenAI API keys.

  2. Organizational restrictions that prevent using OpenAI services.

  3. Uncertainty about where to find resources to begin.

Let me give you a straightforward solution.

Step 1: Access the Notebook

We’ve created a simple playbook in the form of a notebook to help you get started. Here’s what you need to do:

  1. Go to the provided link and open it in Google Colab Notebook - https://colab.research.google.com/drive/1-uskO605mspHnKjrjL1C3QlV2jcExhiE?usp=sharing.

  2. Sign in to your Google account to access the notebook.


Step 2: Get a Detoxio AI Key

If you don’t have an OpenAI API key, you can request a Detoxio AI key instead:

  1. Visit the Detoxio AI website.

  2. Navigate to the Contact Us section - https://detoxio.ai/contact_us

  3. Provide your details, and we’ll send you a key.

Once you receive your Detoxio AI key, follow these steps:

  1. Open the notebook in Colab.

  2. Go to the Secrets section.

  3. Enable secrets and add a new one called OPENAI_API_KEY.

  4. Paste your Detoxio AI key there.


Step 3: Start Executing

Now you’re ready to go!

  • Click Connect in Colab and start executing the cells in the notebook.

Here’s how it works:

  • Instead of the OpenAI API key, you’re now using the Detoxio AI key.

  • The requests are routed through a specific base URL, which forwards them to the appropriate OpenAI endpoint.

With this small change, you can start building and experimenting with Gen AI applications without needing direct access to an OpenAI key.


Troubleshooting

If you encounter an authorization error, it’s likely due to an issue with the key. To resolve this:

  1. Update the key in the Secrets section.

  2. Save the new key and try running the notebook again.


Step 4: Explore Tutorials

Once your setup is running, you can explore OpenAI tutorials. I recommend starting with the basics:

  • Chat models using OpenAI.

  • Hands-on tutorials with LangChain: https://python.langchain.com/docs/tutorials/

You can then dive deeper into advanced tutorials available on the OpenAI and LangChain websites to enhance your skills and extend your applications.


That’s it! You’re all set to begin your journey into Gen AI development.

All the best! Thank you.

Share

Leave a comment

Discussion about this video