Skip to content

Commit

Permalink
Html page redesign (#242)
Browse files Browse the repository at this point in the history
* HTML sample page redesign v1

* v1

* added endpoint descriptions

* improved streaming scenario detection

* adapted request and response handling to new backend

* Makes sample app work with new endpoint

* Minor improvements

* minor change to descriptions

Co-authored-by: Roshin Rajan Panackal <36329474+rpanackal@users.noreply.github.com>

* minor change to descriptions

Co-authored-by: Roshin Rajan Panackal <36329474+rpanackal@users.noreply.github.com>

* minor change to endpoint description

Co-authored-by: Roshin Rajan Panackal <36329474+rpanackal@users.noreply.github.com>

* minor change to descriptions

Co-authored-by: Roshin Rajan Panackal <36329474+rpanackal@users.noreply.github.com>

* update of orchestration endpoint description to "LLM" instead of "OpenAI"

* update of orchestration controller JavaDocs to "LLM" instead of "OpenAI"

---------

Co-authored-by: I750911 <till.kurek@sap.com>
Co-authored-by: Alexander Dümont <alexander_duemont@web.de>
Co-authored-by: Jonas Israel <jonas.israel@sap.com>
Co-authored-by: Roshin Rajan Panackal <36329474+rpanackal@users.noreply.github.com>
  • Loading branch information
5 people authored Dec 30, 2024
1 parent a800436 commit 8113936
Show file tree
Hide file tree
Showing 2 changed files with 615 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class OrchestrationController {
new ObjectMapper().setVisibility(PropertyAccessor.FIELD, Visibility.ANY);

/**
* Chat request to OpenAI through the Orchestration service with a simple prompt.
* Chat request to an LLM through the Orchestration service with a simple prompt.
*
* @return a ResponseEntity with the response content
*/
Expand All @@ -52,7 +52,7 @@ ResponseEntity<String> completion(
}

/**
* Asynchronous stream of an OpenAI chat request
* Asynchronous stream of an LLM chat request
*
* @return the emitter that streams the assistant message response
*/
Expand Down Expand Up @@ -81,7 +81,7 @@ ResponseEntity<ResponseBodyEmitter> streamChatCompletion() {
}

/**
* Chat request to OpenAI through the Orchestration service with a template.
* Chat request to an LLM through the Orchestration service with a template.
*
* @link <a href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/templating">SAP
* AI Core: Orchestration - Templating</a>
Expand All @@ -102,7 +102,7 @@ ResponseEntity<Object> template(
}

/**
* Chat request to OpenAI through the Orchestration service using message history.
* Chat request to an LLM through the Orchestration service using message history.
*
* @return a ResponseEntity with the response content
*/
Expand Down Expand Up @@ -172,7 +172,7 @@ ResponseEntity<String> maskingAnonymization(
}

/**
* Chat request to OpenAI through the Orchestration deployment under a specific resource group.
* Chat request to an LLM through the Orchestration deployment under a specific resource group.
*
* @return a ResponseEntity with the response content
*/
Expand Down
Loading

0 comments on commit 8113936

Please sign in to comment.