You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
Describe the bug
When using a previously defined variable (with semstrings) with by llm as a function call argument, the semstring of the variable is not being used for the generated prompt. Instead any semstring defined for the argument will be used.
To Reproduce
import:py from jaclang.core.llms, Anthropic;
glob llm = Anthropic(model_name="claude-3-sonnet-20240229");
glob pet_name: 'name of a pet dog' : str = 'Jim';
can 'What species it belongs to'
find( pet_name: 'name of a pet' : str) -> species by llm();
with entry {
print(find(pet_name));
}
Jaclang/Python Version
Python = 3.12.2
Jaclang = 0.5.18
The text was updated successfully, but these errors were encountered:
This is interesting, I think really both semstrings should be used with the llm and the aott prompt gen should somehow frame it in the context properly. This needs discussion for sure.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
When using a previously defined variable (with semstrings) with by llm as a function call argument, the semstring of the variable is not being used for the generated prompt. Instead any semstring defined for the argument will be used.
To Reproduce
Jaclang/Python Version
Python = 3.12.2
Jaclang = 0.5.18
The text was updated successfully, but these errors were encountered: