check gemini
This commit is contained in:
parent
9e21417e02
commit
acfc990b87
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class GeminiModel(AIModel):
|
|||
HarmCategory.HARM_CATEGORY_HATE_SPEECH: HarmBlockThreshold.BLOCK_NONE,
|
||||
HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT: HarmBlockThreshold.BLOCK_NONE,
|
||||
HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE
|
||||
},max_output_tokens=3000)
|
||||
})
|
||||
|
||||
def invoke(self, prompt: str) -> BaseMessage:
|
||||
response = self.model.invoke(prompt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue