Remove person_app, open_source app, llama2_app with their configs (#829)

This commit is contained in:
Sidharth Mohanty
2023-10-19 13:43:52 +05:30
committed by GitHub
parent b7870fbd9b
commit b5d80be037
13 changed files with 3 additions and 480 deletions

View File

@@ -40,7 +40,7 @@ class Llama2Llm(BaseLlm):
def get_llm_model_answer(self, prompt):
# TODO: Move the model and other inputs into config
if self.config.system_prompt:
raise ValueError("Llama2App does not support `system_prompt`")
raise ValueError("Llama2 does not support `system_prompt`")
llm = Replicate(
model=self.config.model,
input={