We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Extend the current PromptTemplate class to match TS capabilities and mainly the interface.
PromptTemplate
TS version has the following features:
TS implementation: https://github.com/i-am-bee/bee-agent-framework/blob/main/src/template.ts TS test file: https://github.com/i-am-bee/bee-agent-framework/blob/main/src/template.test.ts
Checklist
template.py
classDiagram class PromptTemplate~T~ { #config: Required<PromptTemplateInput<T>> +validateInput(input: unknown): void +fork(customizer: Customizer<T, SchemaObject>): PromptTemplate<T> +fork(customizer: Customizer<T, R>): PromptTemplate<R> +fork(customizer: Inline): PromptTemplate<T | R> +render(input: PromptTemplateRenderInput<T, z.input<T>>): string +loadSnapshot(data: Inline): void +createSnapshot(): Inline +functions$: Inline }
The text was updated successfully, but these errors were encountered:
This is done except for the ability to fork
Sorry, something went wrong.
Forking is needed for customization and for Agent Workflow that @xjacka is working on (PR: i-am-bee/bee-py#142)
xjacka
Successfully merging a pull request may close this issue.
Extend the current
PromptTemplate
class to match TS capabilities and mainly the interface.TS version has the following features:
TS implementation: https://github.com/i-am-bee/bee-agent-framework/blob/main/src/template.ts
TS test file: https://github.com/i-am-bee/bee-agent-framework/blob/main/src/template.test.ts
Checklist
template.py
andPromptTemplate
classThe text was updated successfully, but these errors were encountered: