Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: basic boilerplate for 4-turbo #33

Merged
merged 2 commits into from
Jan 3, 2024
Merged
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
4 changes: 2 additions & 2 deletions actors/extended-gpt-scraper/.actor/input_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"editor": "select",
"default": "gpt-3.5-turbo",
"prefill": "gpt-3.5-turbo",
"enum": ["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4", "gpt-4-32k", "text-davinci-003"],
"enumTitles": ["GPT-3.5 Turbo", "GPT-3.5 Turbo 16k", "GPT-4", "GPT-4 32k", "GTP-3 (davinci)"]
"enum": ["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4", "gpt-4-32k", "text-davinci-003", "gpt-4-turbo"],
"enumTitles": ["GPT-3.5 Turbo", "GPT-3.5 Turbo 16k", "GPT-4", "GPT-4 32k", "GTP-3 (davinci)", "GPT-4 Turbo (Preview)"]
},
"targetSelector": {
"title": "Content selector",
Expand Down
3 changes: 2 additions & 1 deletion actors/extended-gpt-scraper/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Actor } from 'apify';
import { log } from 'crawlee';
import { createCrawler } from '@packages/gpt-scraper-core';
import { Input, updateDeprecatedInput } from './input.js';
import type { Input } from './input.js';
import { updateDeprecatedInput } from './input.js';

// Initialize the Apify SDK
await Actor.init();
Expand Down
Loading
Loading