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

Add ts-node for local dev #10

Merged
merged 1 commit into from
Feb 15, 2023
Merged

Add ts-node for local dev #10

merged 1 commit into from
Feb 15, 2023

Conversation

nfcampos
Copy link
Collaborator

No description provided.

@nfcampos
Copy link
Collaborator Author

nuno@Nunos-MacBook-Pro langchainjs % cd langchain    
nuno@Nunos-MacBook-Pro langchain % yarn run ts-node
> import { OpenAI } from "./llms";
undefined
> const openai = new OpenAI({maxTokens: 24})
undefined
> await openai.call('hello')
Uncaught Error: Request failed with status code 401
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

@sullivan-sean sullivan-sean merged commit df58091 into main Feb 15, 2023
@sullivan-sean sullivan-sean deleted the nc/repl branch February 15, 2023 18:40
@Santy1422 Santy1422 mentioned this pull request Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants