generative-ai-for-beginners icon indicating copy to clipboard operation
generative-ai-for-beginners copied to clipboard

Updating examples to new AI APIs and LLM versions

Open bmerkle opened this issue 3 months ago • 3 comments

the AI train runs at a high speed and meanwhile LLMs and APIs have changed. Some of the examples are already a bit outdated and we should decided if we update them

Observation e.g. from chapter 06 python examples:

  • LLM gpt-3.5-turbo

    • this LLM is outdated and we should update to some gpt-5.x version
    • the performance and costs are even better for newer LLMs that for the old ones
    • some environment (e.g. my university OpenAI proxy) does not even offer gpt-3.5 anymore
  • OpenAPI calls

    • some samples uses deprecated APIs, e.g. the client.chat.completions is considered legacy by OpenAI
    • https://platform.openai.com/docs/api-reference/completions
    • we should update to openai.ChatCompletion.create
  • Approach

    • we should decide if we update
    • I can help with python and the js code examples
    • I can also review the docs and update them
    • I do not know if the videos have references to specific model names/version or api calls and this would be probably more work

please advise or lets discuss 😃

bmerkle avatar Nov 23 '25 20:11 bmerkle

👋 Thanks for contributing @bmerkle! We will review the issue and get back to you soon.

github-actions[bot] avatar Nov 23 '25 20:11 github-actions[bot]

maybe we could use GitHub (Next) Agentic Workflow https://github.com/githubnext/gh-aw and let the agents do the work for us 😺

bmerkle avatar Nov 23 '25 20:11 bmerkle

@bmerkle yes, willing to see what the agentic workflow can bring us. I have in mind to do a major refresh in the new year!

koreyspace avatar Dec 03 '25 13:12 koreyspace