-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong function name in the compilation error messages. (#1488)
* Fix #1486: object alias type case in LLM. * Fix JSON schema problem * Fix wrong function name in the compilation error messages. * Spell check only in PR
- Loading branch information
Showing
7 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
name: spell-check | ||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,48 @@ | ||
import typia from "typia"; | ||
|
||
interface Application { | ||
type FinishEvaluateMessageType = { | ||
/** | ||
* Something interesting. | ||
* @title type | ||
* @description tool names | ||
*/ | ||
something(): void; | ||
} | ||
type: "finish_evaluation"; | ||
/** | ||
* @title reasoning | ||
* @description the reason why you evaluate the agent's performance | ||
*/ | ||
reasoning: string; | ||
/** | ||
* @title evaluations | ||
* @description the evaluations of the agent's performance | ||
*/ | ||
evaluations: { | ||
/** | ||
* @title criteria | ||
* @description the criteria to be evaluated | ||
*/ | ||
criteria: string; | ||
/** | ||
* @title evaluation | ||
* @description the evaluation of the criteria | ||
* @enum yes, no | ||
*/ | ||
evaluation: "yes" | "no"; | ||
}[]; | ||
/** | ||
* @title final_decision | ||
* @description the final decision of the evaluation | ||
*/ | ||
final_decision: string; | ||
/** | ||
* @title score | ||
* @description the score of the evaluation | ||
*/ | ||
score: number; | ||
}; | ||
|
||
typia.llm.applicationOfValidate<Application, "chatgpt">(); | ||
typia.llm.applicationOfValidate< | ||
{ | ||
call(input: FinishEvaluateMessageType): void; | ||
}, | ||
"chatgpt" | ||
>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters