Initial commit: KidsAI Explorer with complete functionality
- Complete KidsAI Explorer application - Multi-language support (English/German) - AI-powered educational guidance using OpenAI - Interactive chat interface for children - Proper placeholder translation fixes - Mobile-responsive design - Educational framework for critical thinking
This commit is contained in:
24
node_modules/openai/resources/chat/completions/messages.mjs
generated
vendored
Normal file
24
node_modules/openai/resources/chat/completions/messages.mjs
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
||||
import { APIResource } from "../../../core/resource.mjs";
|
||||
import { CursorPage } from "../../../core/pagination.mjs";
|
||||
import { path } from "../../../internal/utils/path.mjs";
|
||||
export class Messages extends APIResource {
|
||||
/**
|
||||
* Get the messages in a stored chat completion. Only Chat Completions that have
|
||||
* been created with the `store` parameter set to `true` will be returned.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* // Automatically fetches more pages as needed.
|
||||
* for await (const chatCompletionStoreMessage of client.chat.completions.messages.list(
|
||||
* 'completion_id',
|
||||
* )) {
|
||||
* // ...
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
list(completionID, query = {}, options) {
|
||||
return this._client.getAPIList(path `/chat/completions/${completionID}/messages`, (CursorPage), { query, ...options });
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=messages.mjs.map
|
||||
Reference in New Issue
Block a user