Constructor
new SmartChatModelRequestAdapter(adapter, req)
Parameters:
Name | Type | Description |
---|---|---|
adapter |
SmartChatModelAdapter | The SmartChatModelAdapter instance. |
req |
Object | The incoming request object. |
Classes
Members
max_tokens
messages
model
stream
temperature
tools
Methods
get_headers() → {Object}
Get the headers for the request.
Returns:
Headers object.
- Type
- Object
to_openai() → {Object}
Convert the request to OpenAI schema and include full request parameters.
Returns:
Request parameters object in OpenAI schema.
- Type
- Object