Skip to content

Commit

Permalink
update gpt_response
Browse files Browse the repository at this point in the history
  • Loading branch information
wjn1996 committed May 5, 2023
1 parent 2375967 commit 8282254
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tools/model_utils/gpt_response.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# -*- coding: utf-8 -*-
# @Time    : 2023/3/23 1:02 p.m.
# @Author  : Jianing Wang
# @File    : gpt_response.py

import os
import sys
import torch
import openai
import time

"""
调用或转换输出结果为OpenAI GPT模式
Call for GPT-style LLM.
The output format is the same as OpenAI (e.g., GPT-3.5 text-davinci-003)
"""
class GPTResponse:

Expand Down

0 comments on commit 8282254

Please sign in to comment.