MrRongCodeLife / ChatGPT_Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT_Tutorial

Outline

1 概述

2 初级基础入门 Introduce (GET STARTED)

2.1 帮助工具 Tools

Documentation

https://platform.openai.com/docs/introduction

API reference

https://platform.openai.com/docs/api-reference

Examples

https://platform.openai.com/examples

Playground

https://platform.openai.com/playground

chatgpt itself

community

https://community.openai.com/

cookbook

https://github.com/openai/openai-cookbook

2.2 什么是ChatGPT

2.3 提示词prompts

2.4 分词Tokens

one token is approximately 4 characters or 0.75 words for English text
https://platform.openai.com/tokenizer
按token收费
https://openai.com/pricing

2.5 模型Models

        https://platform.openai.com/docs/models/overview
    温度Temperature
        https://platform.openai.com/docs/quickstart/adjust-your-settings
1.3 demo
    Chat
    Text Completion
    Embeddings
    Speech to text
    Image generation
    Fine-tuning
1.4 web crawler (基于openai.com网站信息生成上下文,进行问答)
    https://platform.openai.com/docs/tutorials/web-qa-embeddings
1.5 使用规范 Terms & policies

3. 中级编程开发 Base Knowledge(GUIDS)

3.1 API key & Curl

3.2 Dev Env Setup - python

安装python

   https://www.python.org/downloads/
   这里使用3.9.6
   安装多个版本python, pyenv

安装pip

    https://pip.pypa.io/en/stable/installation/

VSCode

Jupyter Jupyter Keymap Jupyter Slide Show Jupyter Cell Tags

创建环境

运行示例

https://platform.openai.com/docs/libraries/python-bindings

3.3 Dev Env Setup - node.js

https://platform.openai.com/docs/libraries/node-js-library
安装多个版本,nvm

3.4 Dev Env Setup - java

https://platform.openai.com/docs/libraries/community-libraries

3.5 Text completion

3.6 Chat completions

3.7 Image generation

3.8 Speech to text

4. 高级项目实战 Project

About