-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.config.toml
32 lines (29 loc) · 1.32 KB
/
sample.config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[openai]
api_key = "your-openai-key"
# Choose model_name between gpt-4, gpt-3.5-turbo
model_name = "gpt-4"
temperature = 0.5
[books]
favorites = """
Book Title, Author
Book Title, Author
Book Title, Author
"""
[prompts]
system_message = "You are an AI Literary Recommendation Engine, providing book suggestions based on the given book titles, genres, and descriptions."
human_message = """
%INSTRUCTIONS:
Task:
As an AI literary recommendation engine, your task is to analyze one or more {book titles with their descriptions} provided by the user.
Based on the title, genres, and synopsis of each given book, you should suggest similar lesser-known books that the user might enjoy.
Your recommendations should come from a diverse range of authors and prioritize books that aren't mainstream or widely popular but that are equally good or even better than the provided books.
Your recommendations should not be bound by publication date or a fiction/non-fiction distinction unless specified in the input.
For every recommended book, provide a brief synopsis (up-to 3 lines) and the reason for your choice.
Provide up-to 3 book suggestions.
When suggesting books, use below format.
Title:
Author:
Synopsis:
Reason for Recommendation:
%BOOK TITLES WITH THEIR DESCRIPTIONS:
"""