Spaces:
Running
on
T4
Running
on
T4
oceansweep
commited on
Commit
•
bcbb6ed
1
Parent(s):
d9426fb
Update config.txt
Browse files- config.txt +28 -1
config.txt
CHANGED
@@ -13,6 +13,8 @@ openrouter_api_key = <openrouter_api_key>
|
|
13 |
openrouter_model = mistralai/mistral-7b-instruct:free
|
14 |
deepseek_api_key = <deepseek_api_key>
|
15 |
deepseek_model = deepseek-coder
|
|
|
|
|
16 |
|
17 |
[Local-API]
|
18 |
kobold_api_key = <kobold api key>
|
@@ -38,4 +40,29 @@ max_tokens = 1000
|
|
38 |
|
39 |
[Prompts]
|
40 |
prompt_sample = "What is the meaning of life?"
|
41 |
-
video_summarize_prompt = "Above is the transcript of a video. Please read through the transcript carefully. Identify the main topics that are discussed over the course of the transcript. Then, summarize the key points about each main topic in bullet points. The bullet points should cover the key information conveyed about each topic in the video, but should be much shorter than the full transcript. Please output your bullet point summary inside <bulletpoints> tags. Do not repeat yourself while writing the summary."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
openrouter_model = mistralai/mistral-7b-instruct:free
|
14 |
deepseek_api_key = <deepseek_api_key>
|
15 |
deepseek_model = deepseek-coder
|
16 |
+
mistral_model = mistral-large-latest
|
17 |
+
mistral_api_key = <mistral_api_key>
|
18 |
|
19 |
[Local-API]
|
20 |
kobold_api_key = <kobold api key>
|
|
|
40 |
|
41 |
[Prompts]
|
42 |
prompt_sample = "What is the meaning of life?"
|
43 |
+
video_summarize_prompt = "Above is the transcript of a video. Please read through the transcript carefully. Identify the main topics that are discussed over the course of the transcript. Then, summarize the key points about each main topic in bullet points. The bullet points should cover the key information conveyed about each topic in the video, but should be much shorter than the full transcript. Please output your bullet point summary inside <bulletpoints> tags. Do not repeat yourself while writing the summary."
|
44 |
+
|
45 |
+
[Database]
|
46 |
+
type = sqlite
|
47 |
+
sqlite_path = media_summary.db
|
48 |
+
elasticsearch_host = localhost
|
49 |
+
elasticsearch_port = 9200
|
50 |
+
# Additionally you can use elasticsearch as the database type, just replace `sqlite` with `elasticsearch` for `type` and provide the `elasticsearch_host` and `elasticsearch_port` of your configured ES instance.
|
51 |
+
chroma_db_path = chroma_db
|
52 |
+
|
53 |
+
[Embeddings]
|
54 |
+
provider = openai
|
55 |
+
# Can be 'openai', 'local', or 'huggingface'
|
56 |
+
model = text-embedding-3-small
|
57 |
+
# Model name or path
|
58 |
+
api_key = your_api_key_here
|
59 |
+
api_url = http://localhost:8080/v1/embeddings
|
60 |
+
# Only needed for 'local' provider
|
61 |
+
|
62 |
+
[Chunking]
|
63 |
+
method = words
|
64 |
+
max_size = 400
|
65 |
+
overlap = 200
|
66 |
+
adaptive = false
|
67 |
+
multi_level = false
|
68 |
+
language = english
|