Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

CivicsGPT is a GPT-based chatbot for practicing the US naturalization Civics test.

License

NotificationsYou must be signed in to change notification settings

JamesWillLewis/CivicsGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

CivicsGPT is a GPT-based chatbot for practicing the US naturalization Civics test.

At some point I'll make a website for this.

Requirements

This requiresPython 3.7.1 or above.

Installation

To check out the code, run

gh repo clone JamesWillLewis/CivicsGPT

Or

git clone https://github.com/JamesWillLewis/CivicsGPT.git

Install dependencies

pip3 install -r requirements.txt

Set your OpenAI API key with

export OPENAI_API_KEY="YOUR_API_KEY"

Or alternatively, create an.env file.

echo 'export OPENAI_API_KEY="YOUR_API_KEY"' >> .env

Usage

To run without any options

./cli.sh

You can optionally specifytemperature andmax_tokens as arguments

./cli.sh 0.8 16

Development

After adding or changing dependencies, run

pip3 freeze > requirements.txt

[8]ページ先頭

©2009-2025 Movatter.jp