Structs
- Builder for
ChatCompletionRequest. - Builder for
CreateImageRequest. - Builder for
EmbeddingRequest. - Builder for
SpeechRequest. - Builder for
WhisperRequest.
Enums
- Error type for ChatCompletionRequestBuilder
- Error type for CreateImageRequestBuilder
- Error type for EmbeddingRequestBuilder
- Error type for SpeechRequestBuilder
- Error type for WhisperRequestBuilder
Traits
- For tool function. If you have a function that you want ChatGPT to call, you shall put all params into a struct and derive schemars::JsonSchema for it. Then you can use
YourStruct::to_schema()to generate json schema for tools.