Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 965 Bytes

File metadata and controls

34 lines (21 loc) · 965 Bytes

DeepSeek Master

A multi-step reasoning workflow for philosophical Q&A based on DeepSeek.
Now support Traditional Chinese.

DeekSeep

Usage

Set up the required dependencies:

python3 -m pip install openai  

Configure the DeepSeek official API key by setting the API_KEY variable in llm_client.py.

In the main program main.py, populate the topics variable with one or more questions in list format, then run the following command:

python3 main.py  

Output Location

The final results and intermediate reasoning steps will be stored in the output folder. The final output for each question will be saved in the stage3/self_expression.txt file within a folder named after the question.

Tests

python3 -m pip install pytest pytest-mock openai
python3 -m pytest