GoodMem
ReferenceClient SDKsGoConfiguration

ChunkingConfigurationOneOf2 Configuration

ChunkingConfigurationOneOf2 Configuration documentation for Go SDK

Properties

NameTypeDescriptionNotes
SentenceSentenceChunkingConfigurationSentence-based chunking with language detection

Methods

NewChunkingConfigurationOneOf2

func NewChunkingConfigurationOneOf2(sentence interface{}, ) *ChunkingConfigurationOneOf2

NewChunkingConfigurationOneOf2 instantiates a new ChunkingConfigurationOneOf2 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewChunkingConfigurationOneOf2WithDefaults

func NewChunkingConfigurationOneOf2WithDefaults() *ChunkingConfigurationOneOf2

NewChunkingConfigurationOneOf2WithDefaults instantiates a new ChunkingConfigurationOneOf2 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetSentence

func (o *ChunkingConfigurationOneOf2) GetSentence() interface{}

GetSentence returns the Sentence field if non-nil, zero value otherwise.

GetSentenceOk

func (o *ChunkingConfigurationOneOf2) GetSentenceOk() (*interface{}, bool)

GetSentenceOk returns a tuple with the Sentence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSentence

func (o *ChunkingConfigurationOneOf2) SetSentence(v interface{})

SetSentence sets Sentence field to given value.

SetSentenceNil

func (o *ChunkingConfigurationOneOf2) SetSentenceNil(b bool)

SetSentenceNil sets the value for Sentence to be an explicit nil

UnsetSentence

func (o *ChunkingConfigurationOneOf2) UnsetSentence()

UnsetSentence ensures that no value is present for Sentence, not even an explicit nil