Spaces:
Build error
Build error
docs: be neutral on brand
Browse files- src/dto/crawler-options.ts +1 -1
- src/services/lm.ts +2 -2
src/dto/crawler-options.ts
CHANGED
|
@@ -128,7 +128,7 @@ class Viewport extends AutoCastable {
|
|
| 128 |
schema: { type: 'string' }
|
| 129 |
},
|
| 130 |
'X-Proxy': {
|
| 131 |
-
description: `Use a proxy server provided by
|
| 132 |
in: 'header',
|
| 133 |
schema: { type: 'string' }
|
| 134 |
},
|
|
|
|
| 128 |
schema: { type: 'string' }
|
| 129 |
},
|
| 130 |
'X-Proxy': {
|
| 131 |
+
description: `Use a proxy server provided by us.\n\nOptionally specify two-letter country code.`,
|
| 132 |
in: 'header',
|
| 133 |
schema: { type: 'string' }
|
| 134 |
},
|
src/services/lm.ts
CHANGED
|
@@ -80,7 +80,7 @@ export class LmControl extends AsyncService {
|
|
| 80 |
prompt: `Extract the main content from the given HTML and convert it to Markdown format.\n\n${tripleBackTick}html\n${html}\n${tripleBackTick}\n`,
|
| 81 |
|
| 82 |
options: {
|
| 83 |
-
// system: 'You are an AI assistant developed by
|
| 84 |
stream: true,
|
| 85 |
modelSpecific: {
|
| 86 |
top_k: 1,
|
|
@@ -119,7 +119,7 @@ export class LmControl extends AsyncService {
|
|
| 119 |
const it = this.commonLLM.iterRun('readerlm-v2', {
|
| 120 |
prompt: `${instruction}\n\n${tripleBackTick}html\n${html}\n${tripleBackTick}\n${schema ? `The JSON schema:\n${tripleBackTick}json\n${schema}\n${tripleBackTick}\n` : ''}`,
|
| 121 |
options: {
|
| 122 |
-
// system: 'You are an AI assistant developed by
|
| 123 |
stream: true,
|
| 124 |
modelSpecific: {
|
| 125 |
top_k: 1,
|
|
|
|
| 80 |
prompt: `Extract the main content from the given HTML and convert it to Markdown format.\n\n${tripleBackTick}html\n${html}\n${tripleBackTick}\n`,
|
| 81 |
|
| 82 |
options: {
|
| 83 |
+
// system: 'You are an AI assistant developed by VENDOR_NAME',
|
| 84 |
stream: true,
|
| 85 |
modelSpecific: {
|
| 86 |
top_k: 1,
|
|
|
|
| 119 |
const it = this.commonLLM.iterRun('readerlm-v2', {
|
| 120 |
prompt: `${instruction}\n\n${tripleBackTick}html\n${html}\n${tripleBackTick}\n${schema ? `The JSON schema:\n${tripleBackTick}json\n${schema}\n${tripleBackTick}\n` : ''}`,
|
| 121 |
options: {
|
| 122 |
+
// system: 'You are an AI assistant developed by VENDOR_NAME',
|
| 123 |
stream: true,
|
| 124 |
modelSpecific: {
|
| 125 |
top_k: 1,
|