Skip to content

Commit

Permalink
TASK: Scribble fe api
Browse files Browse the repository at this point in the history
  • Loading branch information
mficzel committed Jan 22, 2024
1 parent 80c3f00 commit f855d32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Classes/Controller/ChatController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@ class ChatController extends ActionController
{
public function startAction(string $assistantId): void
{
// HTTP: POST
// Antwort: {threadId:string}
}

public function historyAction(string $threadId): void
{
// HTTP: POST
// Antwort: {'messages' : [{bot: bool, 'message': string, ...}] }
}

public function postAction(string $threadId, string $message): void
{
// HTTP: POST
// Antwort: {bot: bool, 'message': string, ...}
}
}
1 change: 0 additions & 1 deletion Classes/Domain/AssistantRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#[Flow\Proxy(false)]
final class AssistantRecord
{

/**
* @param string[] $selectedTools
* @param string[] $selectedFiles
Expand Down

0 comments on commit f855d32

Please sign in to comment.