Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
creator/chat.py
creator/chat.py
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ echo """
git clone https://huggingface.co/datasets/karan4d/machiavellian_synthetic_textbooks
python main.py machiavellian_synthetic_textbooks/machiavellian_books.json

"""
"""
2 changes: 1 addition & 1 deletion creator/creative_brainstorm.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ data = [
{"x": "markdown_file_2.md", "y": "completion_2", "z": "combined_completion_2"}
]
save_to_csv('dataset.csv', data)
```
```
2 changes: 1 addition & 1 deletion creator/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ def save_to_csv(file_name, data):
{"x": "How do I bake a cake?", "y": "completion_1", "z": "combined_completion_1"},
{"x": "How do I cook pasta?", "y": "completion_2", "z": "combined_completion_2"}
]
save_to_csv('dataset.csv', data)
save_to_csv('dataset.csv', data)
1 change: 1 addition & 0 deletions creator/prompts/voiceovers/insert_prompt_here.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ def main():
print(e)

if __name__ == "__main__":
main()
main()
2 changes: 1 addition & 1 deletion openai_config/api_key_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ def get_api_key():
def set_api_key(api_key):
if not api_key:
raise ValueError("Invalid API key provided.")
os.environ['OPENAI_API_KEY'] = api_key
os.environ['OPENAI_API_KEY'] = api_key
1 change: 1 addition & 0 deletions openai_config/cost_est.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions openai_config/data_valid.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions openai_config/time.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ ignore = ['W291', 'W292', 'W293']

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion replit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
deps = [
pkgs.splat
];
}
}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ httpx
tqdm
google-generativeai
# dotenv
# pip install -q -U google-generativeai
# pip install -q -U google-generativeai