Spaces:
Running
Running
Download app/Http/Requests/ChemistryChatRequest.php from Ailixir-AI-Team/ailixir-api: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/06e8928c07068b151bcea9d64ac2b8b28c9090ff/app/Http/Requests/ChemistryChatRequest.php
- Command line
-
hf download hf://spaces/Ailixir-AI-Team/ailixir-api@06e8928c07068b151bcea9d64ac2b8b28c9090ff/app/Http/Requests/ChemistryChatRequest.php
-
curl -L -o ChemistryChatRequest.php https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/06e8928c07068b151bcea9d64ac2b8b28c9090ff/app/Http/Requests/ChemistryChatRequest.php
387 Bytes
| namespace App\Http\Requests; | |
| use Illuminate\Foundation\Http\FormRequest; | |
| class ChemistryChatRequest extends FormRequest | |
| { | |
| public function authorize(): bool | |
| { | |
| return true; | |
| } | |
| public function rules(): array | |
| { | |
| return [ | |
| 'message' => 'required|string|max:5000', | |
| 'thread_id' => 'nullable|string|max:255', | |
| ]; | |
| } | |
| } | |