-
Notifications
You must be signed in to change notification settings - Fork 814
Open
Description
Tutorials: https://developers.sap.com/tutorials/ai-core-orchestration-consumption.html
I think the JS Sample in step 4 last code block is wrong.
Currently it writes:
const orchestrationClient = new OrchestrationClient(
{
llm: {
model_name: model,
model_params: {
max_tokens: 1000,
temperature: 0.6,
},
},
template: templatingConfig
},
{ resourceGroup: RESOURCE_GROUP }
);
but according to https://sap.github.io/ai-sdk/docs/js/orchestration/chat-completion it should be:
const orchestrationClient = new OrchestrationClient(
{
llm: {
model_name: model,
model_params: {
max_tokens: 1000,
temperature: 0.6,
},
},
templating: templatingConfig
},
{ resourceGroup: RESOURCE_GROUP }
);
Thanks for fixing & BR,
Marten
Metadata
Metadata
Assignees
Labels
No labels