mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 01:16:22 +02:00
Implement system in text completion API (#137)
* Add system prompt to LLM invocation * Added system parameter to LLMs * Added to Bedrock and VertexAI
This commit is contained in:
parent
53c958aaff
commit
65cda7b276
13 changed files with 24 additions and 13 deletions
|
|
@ -95,7 +95,7 @@ class Processor(ConsumerProducer):
|
|||
model=self.model,
|
||||
max_tokens=self.max_output,
|
||||
temperature=self.temperature,
|
||||
system = "You are a helpful chatbot.",
|
||||
system = v.system,
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue