-
Notifications
You must be signed in to change notification settings - Fork 3
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
[WIP] Typescript Migration #24
base: main
Are you sure you want to change the base?
Conversation
@@ -2,12 +2,14 @@ | |||
"name": "promptifyjs", | |||
"version": "0.0.1", | |||
"description": "Prompt Engineering, Solve NLP Problems with LLM's & Easily generate different NLP Task prompts for popular generative models like GPT, PaLM, and more with Promptify", | |||
"main": "index.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no dist/index.js
file in the build output. We should create an index.ts
file inside src
first.
@@ -3,6 +3,11 @@ export const binaryClassification = ({ | |||
description = "", | |||
labels = "", | |||
examples = [], | |||
}: { | |||
text_input?: string; | |||
description?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description
is not optional. There are a few keys that are required at all times.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are duplicating the same prompt section. Please conditionally generate the prompt based on whether domain
is available or not
There are a few places where we are using |
PR for Migrating to Typescript (#7).
Features:
Lackings: