sjasthi / learnandhelp

Learn and Help: Learn programming and help different causes.
MIT License
0 stars 10 forks source link

(Enhancement) (Scott) (FP5 and FP6) Support for chat through Open AI #96

Open sjasthi opened 4 months ago

sjasthi commented 4 months ago

Limit the chat to questions related to books, libraries, and reading.

Create API key with openai.

Send the tokens / questions to OpenAI chat API.

Get the response and show the response on the main page of Learn and Help.

Configure the tokens you sent so that the questions are in the context of "schools, books, libraries, reading" (make sure that such list is configurable somewhere / somehow. (only admin can set these tokens -one time job/ infrequent task).

For example, take a look at www.projectabcd.com