Skip to content

[BUG/Help] How to config api_key 如何配置api_key #523

@rong-xiaoli

Description

@rong-xiaoli

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I want to set up a web service, but I found nothing about it. I want to ask how can I config api key:
我想设置一个网络服务,但是我没找到任何东西。我想问我如何配置api key:
image

Expected Behavior

No response

Steps To Reproduce

Nothing,just set up and run openai_api.py
部署并启动openai_api.py

Environment

- OS: Linux 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux
- Python: Python 3.11.2
- Transformers: 4.30.2
- PyTorch: 2.0.1
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) : False

Anything else?

nope
并没有

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions