teganmosi commited on
Commit
f4a1201
·
1 Parent(s): 509e8ac

Delete constant.py

Browse files
Files changed (1) hide show
  1. constant.py +0 -50
constant.py DELETED
@@ -1,50 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- """constants.ipynb
3
-
4
- Automatically generated by Colaboratory.
5
-
6
- Original file is located at
7
- https://colab.research.google.com/drive/1zqZymtzYfIMahHI7_dWIcB7GmKD7VVxM
8
- """
9
-
10
- from pathlib import Path
11
-
12
- APP_NAME = "Fred"
13
- MODEL = "gpt-3.5-turbo"
14
- PAGE_ICON = "🌬"
15
-
16
- K = 10
17
- FETCH_K = 20
18
- CHUNK_SIZE = 1000
19
- TEMPERATURE = 0.7
20
- MAX_TOKENS = 3357
21
- ENABLE_ADVANCED_OPTIONS = True
22
-
23
- DATA_PATH = Path.cwd() / "data"
24
- DEFAULT_DATA_SOURCE = "git@github.com:gustavz/DataChad.git"
25
-
26
- REPO_URL = "https://github.com/gustavz/DataChad"
27
-
28
- AUTHENTICATION_HELP = f"""
29
- Your credentials are only stored in your session state.\n
30
- The keys are neither exposed nor made visible or stored permanently in any way.\n
31
- Feel free to check out [the code base]({REPO_URL}) to validate how things work.
32
- """
33
-
34
- USAGE_HELP = f"""
35
- These are the accumulated OpenAI API usage metrics.\n
36
- The app uses '{MODEL}' for chat and 'text-embedding-ada-002' for embeddings.\n
37
- Learn more about OpenAI's pricing [here](https://openai.com/pricing#language-models)
38
- """
39
-
40
- OPENAI_HELP = """
41
- You can sign up for OpenAI's API [here](https://openai.com/blog/openai-api).\n
42
- Once you are logged in, you can find the API keys [here](https://platform.openai.com/account/api-keys)
43
- """
44
-
45
- ACTIVELOOP_HELP = """
46
- You can create an Activeloop account (including 200GB of free database storage) [here](https://www.activeloop.ai/).\n
47
- Once you are logged in, you can find the API token [here](https://app.activeloop.ai/profile/gustavz/apitoken).\n
48
- The organization name is your username, or you can create new organizations [here](https://app.activeloop.ai/organization/new/create)
49
- """
50
-