[Feature] Add support for Google Gemini (#1009)

This commit is contained in:
Deven Patel
2023-12-15 06:10:55 +05:30
committed by GitHub
parent c0ee680546
commit 151746beec
9 changed files with 211 additions and 14 deletions

View File

@@ -217,7 +217,6 @@ class BaseLlm(JSONSerializable):
return prompt
answer = self.get_answer_from_llm(prompt)
if isinstance(answer, str):
logging.info(f"Answer: {answer}")
return answer