-
Notifications
You must be signed in to change notification settings - Fork 56
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
npm run example:scrape
Not working as intended (Or is it?)
#4
Comments
To fix the model not found error try to use one of the models returned by the GET https://api.openai.com/v1/models endpoint in the openai api. Also try to change your prompt to this const result = await runner.runWithDirective(
`
Your purpose is to extract featured funding rounds from a website
Follow the instructions below. Think step by step.
1. Navigate to https://www.crunchbase.com
2. Extract the text of the page and find the Featured Funding
rounds table data.
3. Call WorkGptControl.onFinish with the parsed Featured Funding Rounds.
`
) |
You're using the wrong model - you need to use |
Perhaps your OpenAI account doesn't have access to the function calling? |
Hi there,
just wanted to try out the scraping example by doing the following:
git clone https://github.com/team-openpm/workgpt.git
npm install
gpt-3.5-turbo
and addapiKey: "my-key"
below.npm run example:calculate
I get the result
As I understood the point was to enrich the request to ChatGPT with prevously scraped data which seems not to be the case. Or am I missing something?
Note: For some reason I get the following error messages with some models, even though the model name does seem to be available according to the OpenAI documentation: https://platform.openai.com/docs/models/model-endpoint-compatibility
The text was updated successfully, but these errors were encountered: