afanjul/jev-llm on GitHub
- Stars
- 1
- Forks
- 0
- Language
- Python
- Last push
- 18 Sep 2026
Read from GitHub on . Counts change daily.
How it uses Jev
self.function_threshold = function_threshold
def _ask(self, state: Any, questions: dict) -> Any:
return self.client.system_one(state=state, questions=questions)
def _state(self, prompt: str, completion: str, extra: dict | None = None) -> dict:
state = {
"language": "American English only. Never output another language.",
"role": "You are choosing the next piece of an English text.",
"prompt": prompt,
"completion": completion,
"written_so_far": f"{prompt}{completion}",
}
if extra:
state.update(extra)


