课程: Generative AI: Working with Large Language Models

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Accessing Large Language Models using an API

Accessing Large Language Models using an API

- [Instructor] Now in the previous video, we looked at comparing large language models using GitHub models. Now in this one, we look to see how we can access the large language models via an API using a programming language like Python. Now I prefer GitHub Codespaces for prototyping any apps. It's a cloud-based coding environment and you can access it from any device. And what I like about it is I don't waste any time with setting things up. I'm going to demonstrate the step-by-step process for setting up a GitHub repo and using Codespaces to work with GitHub models. You can also go directly to the course GitHub repo to see the configuration already in place. I've also included the coding files in the repo for you. So let's kick things off with creating a GitHub repo. So I'm going to head over to github.com, and this is my GitHub repo. And I'm going to head over to the top and select Create a New Repository. And I'm going to call this repository Joke. I'm going to leave it as public…

内容