-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
865 additions
and
1,289 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,7 +1,4 @@ | ||
from .promptlib import PromptNode, append, begin, begin_chat, end | ||
from .promptlib import PromptNode, append, begin, end | ||
from .promptlib import PromptProgram | ||
from .promptlib import gen, choose, wait | ||
from .promptlib import set_model | ||
from .promptlib import constrain | ||
from .promptlib import LLM, TransformersLLM | ||
from .promptlib import AICI |
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,22 +1,13 @@ | ||
|
||
from .prompt import PromptNode, append, begin, begin_chat, end, PromptProgram | ||
from .prompt import PromptNode, append, begin, end, PromptProgram | ||
from .gen import gen, choose, wait | ||
from .model import set_model, begin_assistant, begin_user, begin_system | ||
from .constrain import constrain | ||
|
||
from .models import LLM, TransformersLLM | ||
|
||
from .aici import AICI | ||
|
||
setattr(PromptNode, "append", append) | ||
setattr(PromptNode, "begin", begin) | ||
setattr(PromptNode, "begin_chat", begin_chat) | ||
setattr(PromptNode, "begin_system", begin_system) | ||
setattr(PromptNode, "begin_assistant", begin_assistant) | ||
setattr(PromptNode, "begin_user", begin_user) | ||
setattr(PromptNode, "end", end) | ||
setattr(PromptNode, "gen", gen) | ||
setattr(PromptNode, "choose", choose) | ||
setattr(PromptNode, "wait", wait) | ||
setattr(PromptNode, "constrain", constrain) | ||
setattr(PromptNode, "set_model", set_model) | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.