# CompletionRequest

Request schema for running an unsaved agentic prompt

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**messages** | [**List[OpenAIMessageInput]**](OpenAIMessageInput.md) | List of chat messages in OpenAI format (e.g., [{'role': 'user', 'content': 'Hello'}]) | 
**model_name** | **str** | Name of the LLM model (e.g., 'gpt-4o', 'claude-3-sonnet') | 
**model_provider** | [**ModelProvider**](ModelProvider.md) | Provider of the LLM model (e.g., 'openai', 'anthropic', 'azure') | 
**tools** | [**List[LLMToolInput]**](LLMToolInput.md) |  | [optional] 
**config** | [**LLMPromptRequestConfigSettings**](LLMPromptRequestConfigSettings.md) |  | [optional] 
**completion_request** | [**PromptCompletionRequest**](PromptCompletionRequest.md) | Run configuration for the unsaved prompt | [optional] 

## Example

```python
from _generated.models.completion_request import CompletionRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CompletionRequest from a JSON string
completion_request_instance = CompletionRequest.from_json(json)
# print the JSON string representation of the object
print(CompletionRequest.to_json())

# convert the object into a dict
completion_request_dict = completion_request_instance.to_dict()
# create an instance of CompletionRequest from a dict
completion_request_from_dict = CompletionRequest.from_dict(completion_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


