Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type AIStudioChatThreadsAPIService
- func (a *AIStudioChatThreadsAPIService) CreateChatThread(ctx context.Context) ApiCreateChatThreadRequest
- func (a *AIStudioChatThreadsAPIService) CreateChatThreadExecute(r ApiCreateChatThreadRequest) (*ResponseChatThread, *http.Response, error)
- func (a *AIStudioChatThreadsAPIService) DestroyAChatThread(ctx context.Context, threadId int64) ApiDestroyAChatThreadRequest
- func (a *AIStudioChatThreadsAPIService) DestroyAChatThreadExecute(r ApiDestroyAChatThreadRequest) (*ResponseDeleteChatThread, *http.Response, error)
- func (a *AIStudioChatThreadsAPIService) ListChatThreads(ctx context.Context) ApiListChatThreadsRequest
- func (a *AIStudioChatThreadsAPIService) ListChatThreadsExecute(r ApiListChatThreadsRequest) (*PaginatedChatThreadList, *http.Response, error)
- func (a *AIStudioChatThreadsAPIService) PartialUpdateChatThread(ctx context.Context, threadId int64) ApiPartialUpdateChatThreadRequest
- func (a *AIStudioChatThreadsAPIService) PartialUpdateChatThreadExecute(r ApiPartialUpdateChatThreadRequest) (*ResponseChatThread, *http.Response, error)
- func (a *AIStudioChatThreadsAPIService) RetriveChatThread(ctx context.Context, threadId int64) ApiRetriveChatThreadRequest
- func (a *AIStudioChatThreadsAPIService) RetriveChatThreadExecute(r ApiRetriveChatThreadRequest) (*ResponseRetrieveChatThread, *http.Response, error)
- func (a *AIStudioChatThreadsAPIService) UpdateChatThread(ctx context.Context, threadId int64) ApiUpdateChatThreadRequest
- func (a *AIStudioChatThreadsAPIService) UpdateChatThreadExecute(r ApiUpdateChatThreadRequest) (*ResponseChatThread, *http.Response, error)
- type AIStudioChunksAPIService
- type AIStudioDocumentsAPIService
- func (a *AIStudioDocumentsAPIService) CreateDocument(ctx context.Context, kbId int64) ApiCreateDocumentRequest
- func (a *AIStudioDocumentsAPIService) CreateDocumentExecute(r ApiCreateDocumentRequest) (*ResponseDocument, *http.Response, error)
- func (a *AIStudioDocumentsAPIService) DestroyADocument(ctx context.Context, documentId int64, kbId int64) ApiDestroyADocumentRequest
- func (a *AIStudioDocumentsAPIService) DestroyADocumentExecute(r ApiDestroyADocumentRequest) (*ResponseDeleteDocument, *http.Response, error)
- func (a *AIStudioDocumentsAPIService) ListDocuments(ctx context.Context, kbId int64) ApiListDocumentsRequest
- func (a *AIStudioDocumentsAPIService) ListDocumentsExecute(r ApiListDocumentsRequest) (*PaginatedDocumentList, *http.Response, error)
- func (a *AIStudioDocumentsAPIService) RetriveDocument(ctx context.Context, documentId int64, kbId int64) ApiRetriveDocumentRequest
- func (a *AIStudioDocumentsAPIService) RetriveDocumentExecute(r ApiRetriveDocumentRequest) (*ResponseRetrieveDocument, *http.Response, error)
- func (a *AIStudioDocumentsAPIService) UpdateDocument(ctx context.Context, documentId int64, kbId int64) ApiUpdateDocumentRequest
- func (a *AIStudioDocumentsAPIService) UpdateDocumentExecute(r ApiUpdateDocumentRequest) (*ResponseDocument, *http.Response, error)
- type AIStudioKnowledgeBasesAPIService
- func (a *AIStudioKnowledgeBasesAPIService) AskKnowledgeBase(ctx context.Context, kbId int64) ApiAskKnowledgeBaseRequest
- func (a *AIStudioKnowledgeBasesAPIService) AskKnowledgeBaseExecute(r ApiAskKnowledgeBaseRequest) (*KBAskResponse, *http.Response, error)
- func (a *AIStudioKnowledgeBasesAPIService) CreateKnowledgeBase(ctx context.Context) ApiCreateKnowledgeBaseRequest
- func (a *AIStudioKnowledgeBasesAPIService) CreateKnowledgeBaseExecute(r ApiCreateKnowledgeBaseRequest) (*ResponseKnowledgeBase, *http.Response, error)
- func (a *AIStudioKnowledgeBasesAPIService) DestroyAKnowledgeBase(ctx context.Context, kbId string) ApiDestroyAKnowledgeBaseRequest
- func (a *AIStudioKnowledgeBasesAPIService) DestroyAKnowledgeBaseExecute(r ApiDestroyAKnowledgeBaseRequest) (*ResponseDeleteKnowledgeBase, *http.Response, error)
- func (a *AIStudioKnowledgeBasesAPIService) ListKnowledgeBases(ctx context.Context) ApiListKnowledgeBasesRequest
- func (a *AIStudioKnowledgeBasesAPIService) ListKnowledgeBasesExecute(r ApiListKnowledgeBasesRequest) (*PaginatedKnowledgeBaseList, *http.Response, error)
- func (a *AIStudioKnowledgeBasesAPIService) PartialUpdateKnowledgeBase(ctx context.Context, kbId string) ApiPartialUpdateKnowledgeBaseRequest
- func (a *AIStudioKnowledgeBasesAPIService) PartialUpdateKnowledgeBaseExecute(r ApiPartialUpdateKnowledgeBaseRequest) (*ResponseKnowledgeBase, *http.Response, error)
- func (a *AIStudioKnowledgeBasesAPIService) QueryChunkFromKnowledgeBase(ctx context.Context, kbId int64) ApiQueryChunkFromKnowledgeBaseRequest
- func (a *AIStudioKnowledgeBasesAPIService) QueryChunkFromKnowledgeBaseExecute(r ApiQueryChunkFromKnowledgeBaseRequest) (*KBQueryResponse, *http.Response, error)
- func (a *AIStudioKnowledgeBasesAPIService) RetriveKnowledgeBase(ctx context.Context, kbId string) ApiRetriveKnowledgeBaseRequest
- func (a *AIStudioKnowledgeBasesAPIService) RetriveKnowledgeBaseExecute(r ApiRetriveKnowledgeBaseRequest) (*ResponseRetrieveKnowledgeBase, *http.Response, error)
- func (a *AIStudioKnowledgeBasesAPIService) UpdateKnowledgeBase(ctx context.Context, kbId string) ApiUpdateKnowledgeBaseRequest
- func (a *AIStudioKnowledgeBasesAPIService) UpdateKnowledgeBaseExecute(r ApiUpdateKnowledgeBaseRequest) (*ResponseKnowledgeBase, *http.Response, error)
- type AIStudioMessagesAPIService
- func (a *AIStudioMessagesAPIService) CreateMessage(ctx context.Context, threadId int64) ApiCreateMessageRequest
- func (a *AIStudioMessagesAPIService) CreateMessageExecute(r ApiCreateMessageRequest) (*ResponseMessage, *http.Response, error)
- func (a *AIStudioMessagesAPIService) DestroyAMessage(ctx context.Context, messageId int64, threadId int64) ApiDestroyAMessageRequest
- func (a *AIStudioMessagesAPIService) DestroyAMessageExecute(r ApiDestroyAMessageRequest) (*ResponseDeleteMessage, *http.Response, error)
- func (a *AIStudioMessagesAPIService) ListMessages(ctx context.Context, threadId int64) ApiListMessagesRequest
- func (a *AIStudioMessagesAPIService) ListMessagesExecute(r ApiListMessagesRequest) (*PaginatedMessageList, *http.Response, error)
- func (a *AIStudioMessagesAPIService) RetriveMessage(ctx context.Context, messageId int64, threadId int64) ApiRetriveMessageRequest
- func (a *AIStudioMessagesAPIService) RetriveMessageExecute(r ApiRetriveMessageRequest) (*ResponseRetrieveMessage, *http.Response, error)
- func (a *AIStudioMessagesAPIService) UpdateMessage(ctx context.Context, messageId int64, threadId int64) ApiUpdateMessageRequest
- func (a *AIStudioMessagesAPIService) UpdateMessageExecute(r ApiUpdateMessageRequest) (*ResponseMessage, *http.Response, error)
- type AIStudioToolsAPIService
- func (a *AIStudioToolsAPIService) AddKnowledgeBaseToATool(ctx context.Context, toolId int64) ApiAddKnowledgeBaseToAToolRequest
- func (a *AIStudioToolsAPIService) AddKnowledgeBaseToAToolExecute(r ApiAddKnowledgeBaseToAToolRequest) (*ToolKBLink, *http.Response, error)
- func (a *AIStudioToolsAPIService) CreateTool(ctx context.Context) ApiCreateToolRequest
- func (a *AIStudioToolsAPIService) CreateToolExecute(r ApiCreateToolRequest) (*ResponseTool, *http.Response, error)
- func (a *AIStudioToolsAPIService) DestroyATool(ctx context.Context, toolId int64) ApiDestroyAToolRequest
- func (a *AIStudioToolsAPIService) DestroyAToolExecute(r ApiDestroyAToolRequest) (*ResponseDeleteTool, *http.Response, error)
- func (a *AIStudioToolsAPIService) ListKnowledgeBasesLinkedToATool(ctx context.Context, toolId int64) ApiListKnowledgeBasesLinkedToAToolRequest
- func (a *AIStudioToolsAPIService) ListKnowledgeBasesLinkedToAToolExecute(r ApiListKnowledgeBasesLinkedToAToolRequest) (*PaginatedKnowledgeBaseList, *http.Response, error)
- func (a *AIStudioToolsAPIService) ListTools(ctx context.Context) ApiListToolsRequest
- func (a *AIStudioToolsAPIService) ListToolsExecute(r ApiListToolsRequest) (*PaginatedToolList, *http.Response, error)
- func (a *AIStudioToolsAPIService) PartialUpdateTool(ctx context.Context, toolId int64) ApiPartialUpdateToolRequest
- func (a *AIStudioToolsAPIService) PartialUpdateToolExecute(r ApiPartialUpdateToolRequest) (*ResponseTool, *http.Response, error)
- func (a *AIStudioToolsAPIService) RemoveKnowledgeBaseFromATool(ctx context.Context, kbId int64, toolId int64) ApiRemoveKnowledgeBaseFromAToolRequest
- func (a *AIStudioToolsAPIService) RemoveKnowledgeBaseFromAToolExecute(r ApiRemoveKnowledgeBaseFromAToolRequest) (*http.Response, error)
- func (a *AIStudioToolsAPIService) RetriveTool(ctx context.Context, toolId int64) ApiRetriveToolRequest
- func (a *AIStudioToolsAPIService) RetriveToolExecute(r ApiRetriveToolRequest) (*ResponseRetrieveTool, *http.Response, error)
- func (a *AIStudioToolsAPIService) UpdateTool(ctx context.Context, toolId int64) ApiUpdateToolRequest
- func (a *AIStudioToolsAPIService) UpdateToolExecute(r ApiUpdateToolRequest) (*ResponseTool, *http.Response, error)
- type APIClient
- type APIKey
- type APIResponse
- type ApiAddKnowledgeBaseToAToolRequest
- type ApiAskKnowledgeBaseRequest
- type ApiCreateChatThreadRequest
- type ApiCreateDocumentRequest
- func (r ApiCreateDocumentRequest) ChunkStrategy(chunkStrategy map[string]interface{}) ApiCreateDocumentRequest
- func (r ApiCreateDocumentRequest) Description(description string) ApiCreateDocumentRequest
- func (r ApiCreateDocumentRequest) Execute() (*ResponseDocument, *http.Response, error)
- func (r ApiCreateDocumentRequest) Name(name string) ApiCreateDocumentRequest
- func (r ApiCreateDocumentRequest) SourceUri(sourceUri string) ApiCreateDocumentRequest
- func (r ApiCreateDocumentRequest) Type_(type_ string) ApiCreateDocumentRequest
- type ApiCreateKnowledgeBaseRequest
- type ApiCreateMessageRequest
- type ApiCreateToolRequest
- type ApiDestroyAChatThreadRequest
- type ApiDestroyADocumentRequest
- type ApiDestroyAKnowledgeBaseRequest
- type ApiDestroyAMessageRequest
- type ApiDestroyAToolRequest
- type ApiKbCreateRequest
- type ApiKbDestroyRequest
- type ApiKbDocumentsChunksListRequest
- func (r ApiKbDocumentsChunksListRequest) Execute() (*PaginatedChunkList, *http.Response, error)
- func (r ApiKbDocumentsChunksListRequest) Ordering(ordering string) ApiKbDocumentsChunksListRequest
- func (r ApiKbDocumentsChunksListRequest) Page(page int64) ApiKbDocumentsChunksListRequest
- func (r ApiKbDocumentsChunksListRequest) PageSize(pageSize int64) ApiKbDocumentsChunksListRequest
- func (r ApiKbDocumentsChunksListRequest) Search(search string) ApiKbDocumentsChunksListRequest
- type ApiKbDocumentsCreateRequest
- func (r ApiKbDocumentsCreateRequest) ChunkStrategy(chunkStrategy map[string]interface{}) ApiKbDocumentsCreateRequest
- func (r ApiKbDocumentsCreateRequest) Description(description string) ApiKbDocumentsCreateRequest
- func (r ApiKbDocumentsCreateRequest) Execute() (*ResponseDocument, *http.Response, error)
- func (r ApiKbDocumentsCreateRequest) Name(name string) ApiKbDocumentsCreateRequest
- func (r ApiKbDocumentsCreateRequest) SourceUri(sourceUri string) ApiKbDocumentsCreateRequest
- func (r ApiKbDocumentsCreateRequest) Type_(type_ string) ApiKbDocumentsCreateRequest
- type ApiKbDocumentsDestroyRequest
- type ApiKbDocumentsListRequest
- func (r ApiKbDocumentsListRequest) Execute() (*PaginatedDocumentList, *http.Response, error)
- func (r ApiKbDocumentsListRequest) Ordering(ordering string) ApiKbDocumentsListRequest
- func (r ApiKbDocumentsListRequest) Page(page int64) ApiKbDocumentsListRequest
- func (r ApiKbDocumentsListRequest) PageSize(pageSize int64) ApiKbDocumentsListRequest
- func (r ApiKbDocumentsListRequest) Search(search string) ApiKbDocumentsListRequest
- type ApiKbDocumentsRetrieveRequest
- type ApiKbDocumentsUpdateRequest
- func (r ApiKbDocumentsUpdateRequest) ChunkStrategy(chunkStrategy map[string]interface{}) ApiKbDocumentsUpdateRequest
- func (r ApiKbDocumentsUpdateRequest) Description(description string) ApiKbDocumentsUpdateRequest
- func (r ApiKbDocumentsUpdateRequest) Execute() (*ResponseDocument, *http.Response, error)
- func (r ApiKbDocumentsUpdateRequest) Name(name string) ApiKbDocumentsUpdateRequest
- func (r ApiKbDocumentsUpdateRequest) SourceUri(sourceUri string) ApiKbDocumentsUpdateRequest
- func (r ApiKbDocumentsUpdateRequest) Type_(type_ string) ApiKbDocumentsUpdateRequest
- type ApiKbListRequest
- func (r ApiKbListRequest) Execute() (*PaginatedKnowledgeBaseList, *http.Response, error)
- func (r ApiKbListRequest) Ordering(ordering string) ApiKbListRequest
- func (r ApiKbListRequest) Page(page int64) ApiKbListRequest
- func (r ApiKbListRequest) PageSize(pageSize int64) ApiKbListRequest
- func (r ApiKbListRequest) Search(search string) ApiKbListRequest
- type ApiKbPartialUpdateRequest
- type ApiKbRetrieveRequest
- type ApiKbUpdateRequest
- type ApiListChatThreadsRequest
- func (r ApiListChatThreadsRequest) Execute() (*PaginatedChatThreadList, *http.Response, error)
- func (r ApiListChatThreadsRequest) Fields(fields string) ApiListChatThreadsRequest
- func (r ApiListChatThreadsRequest) Ordering(ordering string) ApiListChatThreadsRequest
- func (r ApiListChatThreadsRequest) Page(page int64) ApiListChatThreadsRequest
- func (r ApiListChatThreadsRequest) PageSize(pageSize int64) ApiListChatThreadsRequest
- func (r ApiListChatThreadsRequest) Search(search string) ApiListChatThreadsRequest
- type ApiListChunksRequest
- func (r ApiListChunksRequest) Execute() (*PaginatedChunkList, *http.Response, error)
- func (r ApiListChunksRequest) Fields(fields string) ApiListChunksRequest
- func (r ApiListChunksRequest) Ordering(ordering string) ApiListChunksRequest
- func (r ApiListChunksRequest) Page(page int64) ApiListChunksRequest
- func (r ApiListChunksRequest) PageSize(pageSize int64) ApiListChunksRequest
- func (r ApiListChunksRequest) Search(search string) ApiListChunksRequest
- type ApiListDocumentsRequest
- func (r ApiListDocumentsRequest) Execute() (*PaginatedDocumentList, *http.Response, error)
- func (r ApiListDocumentsRequest) Fields(fields string) ApiListDocumentsRequest
- func (r ApiListDocumentsRequest) Ordering(ordering string) ApiListDocumentsRequest
- func (r ApiListDocumentsRequest) Page(page int64) ApiListDocumentsRequest
- func (r ApiListDocumentsRequest) PageSize(pageSize int64) ApiListDocumentsRequest
- func (r ApiListDocumentsRequest) Search(search string) ApiListDocumentsRequest
- type ApiListKnowledgeBasesLinkedToAToolRequest
- func (r ApiListKnowledgeBasesLinkedToAToolRequest) Execute() (*PaginatedKnowledgeBaseList, *http.Response, error)
- func (r ApiListKnowledgeBasesLinkedToAToolRequest) Fields(fields string) ApiListKnowledgeBasesLinkedToAToolRequest
- func (r ApiListKnowledgeBasesLinkedToAToolRequest) Ordering(ordering string) ApiListKnowledgeBasesLinkedToAToolRequest
- func (r ApiListKnowledgeBasesLinkedToAToolRequest) Page(page int64) ApiListKnowledgeBasesLinkedToAToolRequest
- func (r ApiListKnowledgeBasesLinkedToAToolRequest) PageSize(pageSize int64) ApiListKnowledgeBasesLinkedToAToolRequest
- func (r ApiListKnowledgeBasesLinkedToAToolRequest) Search(search string) ApiListKnowledgeBasesLinkedToAToolRequest
- type ApiListKnowledgeBasesRequest
- func (r ApiListKnowledgeBasesRequest) Execute() (*PaginatedKnowledgeBaseList, *http.Response, error)
- func (r ApiListKnowledgeBasesRequest) Fields(fields string) ApiListKnowledgeBasesRequest
- func (r ApiListKnowledgeBasesRequest) Ordering(ordering string) ApiListKnowledgeBasesRequest
- func (r ApiListKnowledgeBasesRequest) Page(page int64) ApiListKnowledgeBasesRequest
- func (r ApiListKnowledgeBasesRequest) PageSize(pageSize int64) ApiListKnowledgeBasesRequest
- func (r ApiListKnowledgeBasesRequest) Search(search string) ApiListKnowledgeBasesRequest
- type ApiListMessagesRequest
- func (r ApiListMessagesRequest) Execute() (*PaginatedMessageList, *http.Response, error)
- func (r ApiListMessagesRequest) Fields(fields string) ApiListMessagesRequest
- func (r ApiListMessagesRequest) Ordering(ordering string) ApiListMessagesRequest
- func (r ApiListMessagesRequest) Page(page int64) ApiListMessagesRequest
- func (r ApiListMessagesRequest) PageSize(pageSize int64) ApiListMessagesRequest
- func (r ApiListMessagesRequest) Search(search string) ApiListMessagesRequest
- type ApiListToolsRequest
- func (r ApiListToolsRequest) Execute() (*PaginatedToolList, *http.Response, error)
- func (r ApiListToolsRequest) Fields(fields string) ApiListToolsRequest
- func (r ApiListToolsRequest) Ordering(ordering string) ApiListToolsRequest
- func (r ApiListToolsRequest) Page(page int64) ApiListToolsRequest
- func (r ApiListToolsRequest) PageSize(pageSize int64) ApiListToolsRequest
- func (r ApiListToolsRequest) Search(search string) ApiListToolsRequest
- type ApiPartialUpdateChatThreadRequest
- type ApiPartialUpdateKnowledgeBaseRequest
- type ApiPartialUpdateToolRequest
- type ApiQueryChunkFromKnowledgeBaseRequest
- type ApiRemoveKnowledgeBaseFromAToolRequest
- type ApiRetriveChatThreadRequest
- type ApiRetriveDocumentRequest
- type ApiRetriveKnowledgeBaseRequest
- type ApiRetriveMessageRequest
- type ApiRetriveToolRequest
- type ApiThreadsCreateRequest
- type ApiThreadsDestroyRequest
- type ApiThreadsListRequest
- func (r ApiThreadsListRequest) Execute() (*PaginatedChatThreadList, *http.Response, error)
- func (r ApiThreadsListRequest) Ordering(ordering string) ApiThreadsListRequest
- func (r ApiThreadsListRequest) Page(page int64) ApiThreadsListRequest
- func (r ApiThreadsListRequest) PageSize(pageSize int64) ApiThreadsListRequest
- func (r ApiThreadsListRequest) Search(search string) ApiThreadsListRequest
- type ApiThreadsMessagesCreateRequest
- type ApiThreadsMessagesDestroyRequest
- type ApiThreadsMessagesListRequest
- func (r ApiThreadsMessagesListRequest) Execute() (*PaginatedMessageList, *http.Response, error)
- func (r ApiThreadsMessagesListRequest) Ordering(ordering string) ApiThreadsMessagesListRequest
- func (r ApiThreadsMessagesListRequest) Page(page int64) ApiThreadsMessagesListRequest
- func (r ApiThreadsMessagesListRequest) PageSize(pageSize int64) ApiThreadsMessagesListRequest
- func (r ApiThreadsMessagesListRequest) Search(search string) ApiThreadsMessagesListRequest
- type ApiThreadsMessagesRetrieveRequest
- type ApiThreadsMessagesUpdateRequest
- type ApiThreadsPartialUpdateRequest
- type ApiThreadsRetrieveRequest
- type ApiThreadsUpdateRequest
- type ApiToolsCreateRequest
- type ApiToolsDestroyRequest
- type ApiToolsKbCreateRequest
- type ApiToolsKbDestroyRequest
- type ApiToolsKbListRequest
- func (r ApiToolsKbListRequest) Execute() (*PaginatedKnowledgeBaseList, *http.Response, error)
- func (r ApiToolsKbListRequest) Ordering(ordering string) ApiToolsKbListRequest
- func (r ApiToolsKbListRequest) Page(page int64) ApiToolsKbListRequest
- func (r ApiToolsKbListRequest) PageSize(pageSize int64) ApiToolsKbListRequest
- func (r ApiToolsKbListRequest) Search(search string) ApiToolsKbListRequest
- type ApiToolsListRequest
- func (r ApiToolsListRequest) Execute() (*PaginatedToolList, *http.Response, error)
- func (r ApiToolsListRequest) Ordering(ordering string) ApiToolsListRequest
- func (r ApiToolsListRequest) Page(page int64) ApiToolsListRequest
- func (r ApiToolsListRequest) PageSize(pageSize int64) ApiToolsListRequest
- func (r ApiToolsListRequest) Search(search string) ApiToolsListRequest
- type ApiToolsPartialUpdateRequest
- type ApiToolsRetrieveRequest
- type ApiToolsUpdateRequest
- type ApiUpdateChatThreadRequest
- type ApiUpdateDocumentRequest
- func (r ApiUpdateDocumentRequest) ChunkStrategy(chunkStrategy map[string]interface{}) ApiUpdateDocumentRequest
- func (r ApiUpdateDocumentRequest) Description(description string) ApiUpdateDocumentRequest
- func (r ApiUpdateDocumentRequest) Execute() (*ResponseDocument, *http.Response, error)
- func (r ApiUpdateDocumentRequest) Name(name string) ApiUpdateDocumentRequest
- func (r ApiUpdateDocumentRequest) SourceUri(sourceUri string) ApiUpdateDocumentRequest
- func (r ApiUpdateDocumentRequest) Type_(type_ string) ApiUpdateDocumentRequest
- type ApiUpdateKnowledgeBaseRequest
- type ApiUpdateMessageRequest
- type ApiUpdateToolRequest
- type BasicAuth
- type ChatThread
- func (o *ChatThread) GetAccountId() int64
- func (o *ChatThread) GetAccountIdOk() (*int64, bool)
- func (o *ChatThread) GetDescription() string
- func (o *ChatThread) GetDescriptionOk() (*string, bool)
- func (o *ChatThread) GetLastEditor() string
- func (o *ChatThread) GetLastEditorOk() (*string, bool)
- func (o *ChatThread) GetLastModified() time.Time
- func (o *ChatThread) GetLastModifiedOk() (*time.Time, bool)
- func (o *ChatThread) GetName() string
- func (o *ChatThread) GetNameOk() (*string, bool)
- func (o *ChatThread) GetThreadId() int64
- func (o *ChatThread) GetThreadIdOk() (*int64, bool)
- func (o *ChatThread) HasDescription() bool
- func (o *ChatThread) HasName() bool
- func (o ChatThread) MarshalJSON() ([]byte, error)
- func (o *ChatThread) SetAccountId(v int64)
- func (o *ChatThread) SetDescription(v string)
- func (o *ChatThread) SetLastEditor(v string)
- func (o *ChatThread) SetLastModified(v time.Time)
- func (o *ChatThread) SetName(v string)
- func (o *ChatThread) SetThreadId(v int64)
- func (o ChatThread) ToMap() (map[string]interface{}, error)
- func (o *ChatThread) UnmarshalJSON(data []byte) (err error)
- type ChatThreadRequest
- func (o *ChatThreadRequest) GetDescription() string
- func (o *ChatThreadRequest) GetDescriptionOk() (*string, bool)
- func (o *ChatThreadRequest) GetName() string
- func (o *ChatThreadRequest) GetNameOk() (*string, bool)
- func (o *ChatThreadRequest) HasDescription() bool
- func (o *ChatThreadRequest) HasName() bool
- func (o ChatThreadRequest) MarshalJSON() ([]byte, error)
- func (o *ChatThreadRequest) SetDescription(v string)
- func (o *ChatThreadRequest) SetName(v string)
- func (o ChatThreadRequest) ToMap() (map[string]interface{}, error)
- type Chunk
- func (o *Chunk) GetChunkId() int64
- func (o *Chunk) GetChunkIdOk() (*int64, bool)
- func (o *Chunk) GetContent() string
- func (o *Chunk) GetContentOk() (*string, bool)
- func (o *Chunk) GetDescription() string
- func (o *Chunk) GetDescriptionOk() (*string, bool)
- func (o *Chunk) GetDocumentId() int64
- func (o *Chunk) GetDocumentIdOk() (*int64, bool)
- func (o *Chunk) GetEmbedding() map[string]interface{}
- func (o *Chunk) GetEmbeddingOk() (map[string]interface{}, bool)
- func (o *Chunk) GetMetadata() map[string]interface{}
- func (o *Chunk) GetMetadataOk() (map[string]interface{}, bool)
- func (o *Chunk) GetName() string
- func (o *Chunk) GetNameOk() (*string, bool)
- func (o *Chunk) HasDescription() bool
- func (o *Chunk) HasEmbedding() bool
- func (o *Chunk) HasMetadata() bool
- func (o *Chunk) HasName() bool
- func (o Chunk) MarshalJSON() ([]byte, error)
- func (o *Chunk) SetChunkId(v int64)
- func (o *Chunk) SetContent(v string)
- func (o *Chunk) SetDescription(v string)
- func (o *Chunk) SetDocumentId(v int64)
- func (o *Chunk) SetEmbedding(v map[string]interface{})
- func (o *Chunk) SetMetadata(v map[string]interface{})
- func (o *Chunk) SetName(v string)
- func (o Chunk) ToMap() (map[string]interface{}, error)
- func (o *Chunk) UnmarshalJSON(data []byte) (err error)
- type Configuration
- type Document
- func (o *Document) GetChunkStrategy() map[string]interface{}
- func (o *Document) GetChunkStrategyOk() (map[string]interface{}, bool)
- func (o *Document) GetDescription() string
- func (o *Document) GetDescriptionOk() (*string, bool)
- func (o *Document) GetDocumentId() int64
- func (o *Document) GetDocumentIdOk() (*int64, bool)
- func (o *Document) GetKbId() int64
- func (o *Document) GetKbIdOk() (*int64, bool)
- func (o *Document) GetLastEditor() string
- func (o *Document) GetLastEditorOk() (*string, bool)
- func (o *Document) GetLastModified() time.Time
- func (o *Document) GetLastModifiedOk() (*time.Time, bool)
- func (o *Document) GetName() string
- func (o *Document) GetNameOk() (*string, bool)
- func (o *Document) GetSourceUri() string
- func (o *Document) GetSourceUriOk() (*string, bool)
- func (o *Document) GetStatus() string
- func (o *Document) GetStatusOk() (*string, bool)
- func (o *Document) GetType() string
- func (o *Document) GetTypeOk() (*string, bool)
- func (o *Document) HasChunkStrategy() bool
- func (o *Document) HasDescription() bool
- func (o *Document) HasName() bool
- func (o *Document) HasSourceUri() bool
- func (o *Document) HasType() bool
- func (o Document) MarshalJSON() ([]byte, error)
- func (o *Document) SetChunkStrategy(v map[string]interface{})
- func (o *Document) SetDescription(v string)
- func (o *Document) SetDocumentId(v int64)
- func (o *Document) SetKbId(v int64)
- func (o *Document) SetLastEditor(v string)
- func (o *Document) SetLastModified(v time.Time)
- func (o *Document) SetName(v string)
- func (o *Document) SetSourceUri(v string)
- func (o *Document) SetStatus(v string)
- func (o *Document) SetType(v string)
- func (o Document) ToMap() (map[string]interface{}, error)
- func (o *Document) UnmarshalJSON(data []byte) (err error)
- type DocumentRequest
- func (o *DocumentRequest) GetChunkStrategy() map[string]interface{}
- func (o *DocumentRequest) GetChunkStrategyOk() (map[string]interface{}, bool)
- func (o *DocumentRequest) GetDescription() string
- func (o *DocumentRequest) GetDescriptionOk() (*string, bool)
- func (o *DocumentRequest) GetName() string
- func (o *DocumentRequest) GetNameOk() (*string, bool)
- func (o *DocumentRequest) GetSourceUri() string
- func (o *DocumentRequest) GetSourceUriOk() (*string, bool)
- func (o *DocumentRequest) GetType() string
- func (o *DocumentRequest) GetTypeOk() (*string, bool)
- func (o *DocumentRequest) HasChunkStrategy() bool
- func (o *DocumentRequest) HasDescription() bool
- func (o *DocumentRequest) HasName() bool
- func (o *DocumentRequest) HasSourceUri() bool
- func (o *DocumentRequest) HasType() bool
- func (o DocumentRequest) MarshalJSON() ([]byte, error)
- func (o *DocumentRequest) SetChunkStrategy(v map[string]interface{})
- func (o *DocumentRequest) SetDescription(v string)
- func (o *DocumentRequest) SetName(v string)
- func (o *DocumentRequest) SetSourceUri(v string)
- func (o *DocumentRequest) SetType(v string)
- func (o DocumentRequest) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type JSONAPIErrorObject
- func (o *JSONAPIErrorObject) GetCode() string
- func (o *JSONAPIErrorObject) GetCodeOk() (*string, bool)
- func (o *JSONAPIErrorObject) GetDetail() string
- func (o *JSONAPIErrorObject) GetDetailOk() (*string, bool)
- func (o *JSONAPIErrorObject) GetMeta() map[string]interface{}
- func (o *JSONAPIErrorObject) GetMetaOk() (map[string]interface{}, bool)
- func (o *JSONAPIErrorObject) GetSource() JSONAPIErrorSource
- func (o *JSONAPIErrorObject) GetSourceOk() (*JSONAPIErrorSource, bool)
- func (o *JSONAPIErrorObject) GetStatus() string
- func (o *JSONAPIErrorObject) GetStatusOk() (*string, bool)
- func (o *JSONAPIErrorObject) GetTitle() string
- func (o *JSONAPIErrorObject) GetTitleOk() (*string, bool)
- func (o *JSONAPIErrorObject) HasCode() bool
- func (o *JSONAPIErrorObject) HasDetail() bool
- func (o *JSONAPIErrorObject) HasMeta() bool
- func (o *JSONAPIErrorObject) HasSource() bool
- func (o *JSONAPIErrorObject) HasStatus() bool
- func (o *JSONAPIErrorObject) HasTitle() bool
- func (o JSONAPIErrorObject) MarshalJSON() ([]byte, error)
- func (o *JSONAPIErrorObject) SetCode(v string)
- func (o *JSONAPIErrorObject) SetDetail(v string)
- func (o *JSONAPIErrorObject) SetMeta(v map[string]interface{})
- func (o *JSONAPIErrorObject) SetSource(v JSONAPIErrorSource)
- func (o *JSONAPIErrorObject) SetStatus(v string)
- func (o *JSONAPIErrorObject) SetTitle(v string)
- func (o JSONAPIErrorObject) ToMap() (map[string]interface{}, error)
- type JSONAPIErrorResponse
- func (o *JSONAPIErrorResponse) GetErrors() []JSONAPIErrorObject
- func (o *JSONAPIErrorResponse) GetErrorsOk() ([]JSONAPIErrorObject, bool)
- func (o JSONAPIErrorResponse) MarshalJSON() ([]byte, error)
- func (o *JSONAPIErrorResponse) SetErrors(v []JSONAPIErrorObject)
- func (o JSONAPIErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *JSONAPIErrorResponse) UnmarshalJSON(data []byte) (err error)
- type JSONAPIErrorSource
- func (o *JSONAPIErrorSource) GetHeader() string
- func (o *JSONAPIErrorSource) GetHeaderOk() (*string, bool)
- func (o *JSONAPIErrorSource) GetParameter() string
- func (o *JSONAPIErrorSource) GetParameterOk() (*string, bool)
- func (o *JSONAPIErrorSource) GetPointer() string
- func (o *JSONAPIErrorSource) GetPointerOk() (*string, bool)
- func (o *JSONAPIErrorSource) HasHeader() bool
- func (o *JSONAPIErrorSource) HasParameter() bool
- func (o *JSONAPIErrorSource) HasPointer() bool
- func (o JSONAPIErrorSource) MarshalJSON() ([]byte, error)
- func (o *JSONAPIErrorSource) SetHeader(v string)
- func (o *JSONAPIErrorSource) SetParameter(v string)
- func (o *JSONAPIErrorSource) SetPointer(v string)
- func (o JSONAPIErrorSource) ToMap() (map[string]interface{}, error)
- type KBAskRequestRequest
- func (o *KBAskRequestRequest) GetModel() string
- func (o *KBAskRequestRequest) GetModelOk() (*string, bool)
- func (o *KBAskRequestRequest) GetQuestion() string
- func (o *KBAskRequestRequest) GetQuestionOk() (*string, bool)
- func (o *KBAskRequestRequest) GetTopK() int64
- func (o *KBAskRequestRequest) GetTopKOk() (*int64, bool)
- func (o *KBAskRequestRequest) HasModel() bool
- func (o *KBAskRequestRequest) HasTopK() bool
- func (o KBAskRequestRequest) MarshalJSON() ([]byte, error)
- func (o *KBAskRequestRequest) SetModel(v string)
- func (o *KBAskRequestRequest) SetModelNil()
- func (o *KBAskRequestRequest) SetQuestion(v string)
- func (o *KBAskRequestRequest) SetTopK(v int64)
- func (o KBAskRequestRequest) ToMap() (map[string]interface{}, error)
- func (o *KBAskRequestRequest) UnmarshalJSON(data []byte) (err error)
- func (o *KBAskRequestRequest) UnsetModel()
- type KBAskResponse
- func (o *KBAskResponse) GetAnswer() string
- func (o *KBAskResponse) GetAnswerOk() (*string, bool)
- func (o *KBAskResponse) GetContext() []KBQueryResult
- func (o *KBAskResponse) GetContextOk() ([]KBQueryResult, bool)
- func (o KBAskResponse) MarshalJSON() ([]byte, error)
- func (o *KBAskResponse) SetAnswer(v string)
- func (o *KBAskResponse) SetContext(v []KBQueryResult)
- func (o KBAskResponse) ToMap() (map[string]interface{}, error)
- func (o *KBAskResponse) UnmarshalJSON(data []byte) (err error)
- type KBQueryRequestRequest
- func (o *KBQueryRequestRequest) GetQuery() string
- func (o *KBQueryRequestRequest) GetQueryOk() (*string, bool)
- func (o *KBQueryRequestRequest) GetTopK() int64
- func (o *KBQueryRequestRequest) GetTopKOk() (*int64, bool)
- func (o *KBQueryRequestRequest) HasTopK() bool
- func (o KBQueryRequestRequest) MarshalJSON() ([]byte, error)
- func (o *KBQueryRequestRequest) SetQuery(v string)
- func (o *KBQueryRequestRequest) SetTopK(v int64)
- func (o KBQueryRequestRequest) ToMap() (map[string]interface{}, error)
- func (o *KBQueryRequestRequest) UnmarshalJSON(data []byte) (err error)
- type KBQueryResponse
- func (o *KBQueryResponse) GetResults() []KBQueryResult
- func (o *KBQueryResponse) GetResultsOk() ([]KBQueryResult, bool)
- func (o KBQueryResponse) MarshalJSON() ([]byte, error)
- func (o *KBQueryResponse) SetResults(v []KBQueryResult)
- func (o KBQueryResponse) ToMap() (map[string]interface{}, error)
- func (o *KBQueryResponse) UnmarshalJSON(data []byte) (err error)
- type KBQueryResult
- func (o *KBQueryResult) GetChunkId() string
- func (o *KBQueryResult) GetChunkIdOk() (*string, bool)
- func (o *KBQueryResult) GetContent() string
- func (o *KBQueryResult) GetContentOk() (*string, bool)
- func (o *KBQueryResult) GetSearchType() string
- func (o *KBQueryResult) GetSearchTypeOk() (*string, bool)
- func (o *KBQueryResult) GetSimilarity() float64
- func (o *KBQueryResult) GetSimilarityOk() (*float64, bool)
- func (o *KBQueryResult) GetSource() string
- func (o *KBQueryResult) GetSourceOk() (*string, bool)
- func (o *KBQueryResult) GetTitle() string
- func (o *KBQueryResult) GetTitleOk() (*string, bool)
- func (o *KBQueryResult) HasSimilarity() bool
- func (o KBQueryResult) MarshalJSON() ([]byte, error)
- func (o *KBQueryResult) SetChunkId(v string)
- func (o *KBQueryResult) SetContent(v string)
- func (o *KBQueryResult) SetSearchType(v string)
- func (o *KBQueryResult) SetSimilarity(v float64)
- func (o *KBQueryResult) SetSimilarityNil()
- func (o *KBQueryResult) SetSource(v string)
- func (o *KBQueryResult) SetTitle(v string)
- func (o KBQueryResult) ToMap() (map[string]interface{}, error)
- func (o *KBQueryResult) UnmarshalJSON(data []byte) (err error)
- func (o *KBQueryResult) UnsetSimilarity()
- type KbAPIService
- func (a *KbAPIService) KbCreate(ctx context.Context) ApiKbCreateRequest
- func (a *KbAPIService) KbCreateExecute(r ApiKbCreateRequest) (*ResponseKnowledgeBase, *http.Response, error)
- func (a *KbAPIService) KbDestroy(ctx context.Context, kbId string) ApiKbDestroyRequest
- func (a *KbAPIService) KbDestroyExecute(r ApiKbDestroyRequest) (*ResponseDeleteKnowledgeBase, *http.Response, error)
- func (a *KbAPIService) KbDocumentsChunksList(ctx context.Context, documentId string, kbId string) ApiKbDocumentsChunksListRequest
- func (a *KbAPIService) KbDocumentsChunksListExecute(r ApiKbDocumentsChunksListRequest) (*PaginatedChunkList, *http.Response, error)
- func (a *KbAPIService) KbDocumentsCreate(ctx context.Context, kbId string) ApiKbDocumentsCreateRequest
- func (a *KbAPIService) KbDocumentsCreateExecute(r ApiKbDocumentsCreateRequest) (*ResponseDocument, *http.Response, error)
- func (a *KbAPIService) KbDocumentsDestroy(ctx context.Context, documentId string, kbId string) ApiKbDocumentsDestroyRequest
- func (a *KbAPIService) KbDocumentsDestroyExecute(r ApiKbDocumentsDestroyRequest) (*ResponseDeleteDocument, *http.Response, error)
- func (a *KbAPIService) KbDocumentsList(ctx context.Context, kbId string) ApiKbDocumentsListRequest
- func (a *KbAPIService) KbDocumentsListExecute(r ApiKbDocumentsListRequest) (*PaginatedDocumentList, *http.Response, error)
- func (a *KbAPIService) KbDocumentsRetrieve(ctx context.Context, documentId string, kbId string) ApiKbDocumentsRetrieveRequest
- func (a *KbAPIService) KbDocumentsRetrieveExecute(r ApiKbDocumentsRetrieveRequest) (*ResponseRetrieveDocument, *http.Response, error)
- func (a *KbAPIService) KbDocumentsUpdate(ctx context.Context, documentId string, kbId string) ApiKbDocumentsUpdateRequest
- func (a *KbAPIService) KbDocumentsUpdateExecute(r ApiKbDocumentsUpdateRequest) (*ResponseDocument, *http.Response, error)
- func (a *KbAPIService) KbList(ctx context.Context) ApiKbListRequest
- func (a *KbAPIService) KbListExecute(r ApiKbListRequest) (*PaginatedKnowledgeBaseList, *http.Response, error)
- func (a *KbAPIService) KbPartialUpdate(ctx context.Context, kbId string) ApiKbPartialUpdateRequest
- func (a *KbAPIService) KbPartialUpdateExecute(r ApiKbPartialUpdateRequest) (*ResponseKnowledgeBase, *http.Response, error)
- func (a *KbAPIService) KbRetrieve(ctx context.Context, kbId string) ApiKbRetrieveRequest
- func (a *KbAPIService) KbRetrieveExecute(r ApiKbRetrieveRequest) (*ResponseRetrieveKnowledgeBase, *http.Response, error)
- func (a *KbAPIService) KbUpdate(ctx context.Context, kbId string) ApiKbUpdateRequest
- func (a *KbAPIService) KbUpdateExecute(r ApiKbUpdateRequest) (*ResponseKnowledgeBase, *http.Response, error)
- type KnowledgeBase
- func (o *KnowledgeBase) GetAccountId() int64
- func (o *KnowledgeBase) GetAccountIdOk() (*int64, bool)
- func (o *KnowledgeBase) GetDescription() string
- func (o *KnowledgeBase) GetDescriptionOk() (*string, bool)
- func (o *KnowledgeBase) GetEmbeddingModel() string
- func (o *KnowledgeBase) GetEmbeddingModelOk() (*string, bool)
- func (o *KnowledgeBase) GetKbId() int64
- func (o *KnowledgeBase) GetKbIdOk() (*int64, bool)
- func (o *KnowledgeBase) GetLastEditor() string
- func (o *KnowledgeBase) GetLastEditorOk() (*string, bool)
- func (o *KnowledgeBase) GetLastModified() time.Time
- func (o *KnowledgeBase) GetLastModifiedOk() (*time.Time, bool)
- func (o *KnowledgeBase) GetName() string
- func (o *KnowledgeBase) GetNameOk() (*string, bool)
- func (o *KnowledgeBase) GetSqlDbName() string
- func (o *KnowledgeBase) GetSqlDbNameOk() (*string, bool)
- func (o *KnowledgeBase) GetSqlId() string
- func (o *KnowledgeBase) GetSqlIdOk() (*string, bool)
- func (o *KnowledgeBase) GetStorageName() string
- func (o *KnowledgeBase) GetStorageNameOk() (*string, bool)
- func (o *KnowledgeBase) HasDescription() bool
- func (o *KnowledgeBase) HasEmbeddingModel() bool
- func (o KnowledgeBase) MarshalJSON() ([]byte, error)
- func (o *KnowledgeBase) SetAccountId(v int64)
- func (o *KnowledgeBase) SetDescription(v string)
- func (o *KnowledgeBase) SetEmbeddingModel(v string)
- func (o *KnowledgeBase) SetKbId(v int64)
- func (o *KnowledgeBase) SetLastEditor(v string)
- func (o *KnowledgeBase) SetLastModified(v time.Time)
- func (o *KnowledgeBase) SetName(v string)
- func (o *KnowledgeBase) SetSqlDbName(v string)
- func (o *KnowledgeBase) SetSqlId(v string)
- func (o *KnowledgeBase) SetStorageName(v string)
- func (o KnowledgeBase) ToMap() (map[string]interface{}, error)
- func (o *KnowledgeBase) UnmarshalJSON(data []byte) (err error)
- type KnowledgeBaseRequest
- func (o *KnowledgeBaseRequest) GetDescription() string
- func (o *KnowledgeBaseRequest) GetDescriptionOk() (*string, bool)
- func (o *KnowledgeBaseRequest) GetEmbeddingModel() string
- func (o *KnowledgeBaseRequest) GetEmbeddingModelOk() (*string, bool)
- func (o *KnowledgeBaseRequest) GetName() string
- func (o *KnowledgeBaseRequest) GetNameOk() (*string, bool)
- func (o *KnowledgeBaseRequest) HasDescription() bool
- func (o *KnowledgeBaseRequest) HasEmbeddingModel() bool
- func (o KnowledgeBaseRequest) MarshalJSON() ([]byte, error)
- func (o *KnowledgeBaseRequest) SetDescription(v string)
- func (o *KnowledgeBaseRequest) SetEmbeddingModel(v string)
- func (o *KnowledgeBaseRequest) SetName(v string)
- func (o KnowledgeBaseRequest) ToMap() (map[string]interface{}, error)
- func (o *KnowledgeBaseRequest) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type Message
- func (o *Message) GetDescription() string
- func (o *Message) GetDescriptionOk() (*string, bool)
- func (o *Message) GetLastEditor() string
- func (o *Message) GetLastEditorOk() (*string, bool)
- func (o *Message) GetLastModified() time.Time
- func (o *Message) GetLastModifiedOk() (*time.Time, bool)
- func (o *Message) GetMessage() map[string]interface{}
- func (o *Message) GetMessageId() int64
- func (o *Message) GetMessageIdOk() (*int64, bool)
- func (o *Message) GetMessageOk() (map[string]interface{}, bool)
- func (o *Message) GetMetadata() map[string]interface{}
- func (o *Message) GetMetadataOk() (map[string]interface{}, bool)
- func (o *Message) GetName() string
- func (o *Message) GetNameOk() (*string, bool)
- func (o *Message) GetThreadId() int64
- func (o *Message) GetThreadIdOk() (*int64, bool)
- func (o *Message) HasDescription() bool
- func (o *Message) HasMetadata() bool
- func (o *Message) HasName() bool
- func (o Message) MarshalJSON() ([]byte, error)
- func (o *Message) SetDescription(v string)
- func (o *Message) SetLastEditor(v string)
- func (o *Message) SetLastModified(v time.Time)
- func (o *Message) SetMessage(v map[string]interface{})
- func (o *Message) SetMessageId(v int64)
- func (o *Message) SetMetadata(v map[string]interface{})
- func (o *Message) SetName(v string)
- func (o *Message) SetThreadId(v int64)
- func (o Message) ToMap() (map[string]interface{}, error)
- func (o *Message) UnmarshalJSON(data []byte) (err error)
- type MessageRequest
- func (o *MessageRequest) GetDescription() string
- func (o *MessageRequest) GetDescriptionOk() (*string, bool)
- func (o *MessageRequest) GetMessage() map[string]interface{}
- func (o *MessageRequest) GetMessageOk() (map[string]interface{}, bool)
- func (o *MessageRequest) GetMetadata() map[string]interface{}
- func (o *MessageRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *MessageRequest) GetName() string
- func (o *MessageRequest) GetNameOk() (*string, bool)
- func (o *MessageRequest) HasDescription() bool
- func (o *MessageRequest) HasMetadata() bool
- func (o *MessageRequest) HasName() bool
- func (o MessageRequest) MarshalJSON() ([]byte, error)
- func (o *MessageRequest) SetDescription(v string)
- func (o *MessageRequest) SetMessage(v map[string]interface{})
- func (o *MessageRequest) SetMetadata(v map[string]interface{})
- func (o *MessageRequest) SetName(v string)
- func (o MessageRequest) ToMap() (map[string]interface{}, error)
- func (o *MessageRequest) UnmarshalJSON(data []byte) (err error)
- type NullableBool
- type NullableChatThread
- type NullableChatThreadRequest
- func (v NullableChatThreadRequest) Get() *ChatThreadRequest
- func (v NullableChatThreadRequest) IsSet() bool
- func (v NullableChatThreadRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChatThreadRequest) Set(val *ChatThreadRequest)
- func (v *NullableChatThreadRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChatThreadRequest) Unset()
- type NullableChunk
- type NullableDocument
- type NullableDocumentRequest
- func (v NullableDocumentRequest) Get() *DocumentRequest
- func (v NullableDocumentRequest) IsSet() bool
- func (v NullableDocumentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDocumentRequest) Set(val *DocumentRequest)
- func (v *NullableDocumentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDocumentRequest) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJSONAPIErrorObject
- func (v NullableJSONAPIErrorObject) Get() *JSONAPIErrorObject
- func (v NullableJSONAPIErrorObject) IsSet() bool
- func (v NullableJSONAPIErrorObject) MarshalJSON() ([]byte, error)
- func (v *NullableJSONAPIErrorObject) Set(val *JSONAPIErrorObject)
- func (v *NullableJSONAPIErrorObject) UnmarshalJSON(src []byte) error
- func (v *NullableJSONAPIErrorObject) Unset()
- type NullableJSONAPIErrorResponse
- func (v NullableJSONAPIErrorResponse) Get() *JSONAPIErrorResponse
- func (v NullableJSONAPIErrorResponse) IsSet() bool
- func (v NullableJSONAPIErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJSONAPIErrorResponse) Set(val *JSONAPIErrorResponse)
- func (v *NullableJSONAPIErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJSONAPIErrorResponse) Unset()
- type NullableJSONAPIErrorSource
- func (v NullableJSONAPIErrorSource) Get() *JSONAPIErrorSource
- func (v NullableJSONAPIErrorSource) IsSet() bool
- func (v NullableJSONAPIErrorSource) MarshalJSON() ([]byte, error)
- func (v *NullableJSONAPIErrorSource) Set(val *JSONAPIErrorSource)
- func (v *NullableJSONAPIErrorSource) UnmarshalJSON(src []byte) error
- func (v *NullableJSONAPIErrorSource) Unset()
- type NullableKBAskRequestRequest
- func (v NullableKBAskRequestRequest) Get() *KBAskRequestRequest
- func (v NullableKBAskRequestRequest) IsSet() bool
- func (v NullableKBAskRequestRequest) MarshalJSON() ([]byte, error)
- func (v *NullableKBAskRequestRequest) Set(val *KBAskRequestRequest)
- func (v *NullableKBAskRequestRequest) UnmarshalJSON(src []byte) error
- func (v *NullableKBAskRequestRequest) Unset()
- type NullableKBAskResponse
- func (v NullableKBAskResponse) Get() *KBAskResponse
- func (v NullableKBAskResponse) IsSet() bool
- func (v NullableKBAskResponse) MarshalJSON() ([]byte, error)
- func (v *NullableKBAskResponse) Set(val *KBAskResponse)
- func (v *NullableKBAskResponse) UnmarshalJSON(src []byte) error
- func (v *NullableKBAskResponse) Unset()
- type NullableKBQueryRequestRequest
- func (v NullableKBQueryRequestRequest) Get() *KBQueryRequestRequest
- func (v NullableKBQueryRequestRequest) IsSet() bool
- func (v NullableKBQueryRequestRequest) MarshalJSON() ([]byte, error)
- func (v *NullableKBQueryRequestRequest) Set(val *KBQueryRequestRequest)
- func (v *NullableKBQueryRequestRequest) UnmarshalJSON(src []byte) error
- func (v *NullableKBQueryRequestRequest) Unset()
- type NullableKBQueryResponse
- func (v NullableKBQueryResponse) Get() *KBQueryResponse
- func (v NullableKBQueryResponse) IsSet() bool
- func (v NullableKBQueryResponse) MarshalJSON() ([]byte, error)
- func (v *NullableKBQueryResponse) Set(val *KBQueryResponse)
- func (v *NullableKBQueryResponse) UnmarshalJSON(src []byte) error
- func (v *NullableKBQueryResponse) Unset()
- type NullableKBQueryResult
- func (v NullableKBQueryResult) Get() *KBQueryResult
- func (v NullableKBQueryResult) IsSet() bool
- func (v NullableKBQueryResult) MarshalJSON() ([]byte, error)
- func (v *NullableKBQueryResult) Set(val *KBQueryResult)
- func (v *NullableKBQueryResult) UnmarshalJSON(src []byte) error
- func (v *NullableKBQueryResult) Unset()
- type NullableKnowledgeBase
- func (v NullableKnowledgeBase) Get() *KnowledgeBase
- func (v NullableKnowledgeBase) IsSet() bool
- func (v NullableKnowledgeBase) MarshalJSON() ([]byte, error)
- func (v *NullableKnowledgeBase) Set(val *KnowledgeBase)
- func (v *NullableKnowledgeBase) UnmarshalJSON(src []byte) error
- func (v *NullableKnowledgeBase) Unset()
- type NullableKnowledgeBaseRequest
- func (v NullableKnowledgeBaseRequest) Get() *KnowledgeBaseRequest
- func (v NullableKnowledgeBaseRequest) IsSet() bool
- func (v NullableKnowledgeBaseRequest) MarshalJSON() ([]byte, error)
- func (v *NullableKnowledgeBaseRequest) Set(val *KnowledgeBaseRequest)
- func (v *NullableKnowledgeBaseRequest) UnmarshalJSON(src []byte) error
- func (v *NullableKnowledgeBaseRequest) Unset()
- type NullableMessage
- type NullableMessageRequest
- func (v NullableMessageRequest) Get() *MessageRequest
- func (v NullableMessageRequest) IsSet() bool
- func (v NullableMessageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableMessageRequest) Set(val *MessageRequest)
- func (v *NullableMessageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableMessageRequest) Unset()
- type NullablePaginatedChatThreadList
- func (v NullablePaginatedChatThreadList) Get() *PaginatedChatThreadList
- func (v NullablePaginatedChatThreadList) IsSet() bool
- func (v NullablePaginatedChatThreadList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedChatThreadList) Set(val *PaginatedChatThreadList)
- func (v *NullablePaginatedChatThreadList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedChatThreadList) Unset()
- type NullablePaginatedChunkList
- func (v NullablePaginatedChunkList) Get() *PaginatedChunkList
- func (v NullablePaginatedChunkList) IsSet() bool
- func (v NullablePaginatedChunkList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedChunkList) Set(val *PaginatedChunkList)
- func (v *NullablePaginatedChunkList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedChunkList) Unset()
- type NullablePaginatedDocumentList
- func (v NullablePaginatedDocumentList) Get() *PaginatedDocumentList
- func (v NullablePaginatedDocumentList) IsSet() bool
- func (v NullablePaginatedDocumentList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedDocumentList) Set(val *PaginatedDocumentList)
- func (v *NullablePaginatedDocumentList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedDocumentList) Unset()
- type NullablePaginatedKnowledgeBaseList
- func (v NullablePaginatedKnowledgeBaseList) Get() *PaginatedKnowledgeBaseList
- func (v NullablePaginatedKnowledgeBaseList) IsSet() bool
- func (v NullablePaginatedKnowledgeBaseList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedKnowledgeBaseList) Set(val *PaginatedKnowledgeBaseList)
- func (v *NullablePaginatedKnowledgeBaseList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedKnowledgeBaseList) Unset()
- type NullablePaginatedMessageList
- func (v NullablePaginatedMessageList) Get() *PaginatedMessageList
- func (v NullablePaginatedMessageList) IsSet() bool
- func (v NullablePaginatedMessageList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedMessageList) Set(val *PaginatedMessageList)
- func (v *NullablePaginatedMessageList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedMessageList) Unset()
- type NullablePaginatedToolList
- func (v NullablePaginatedToolList) Get() *PaginatedToolList
- func (v NullablePaginatedToolList) IsSet() bool
- func (v NullablePaginatedToolList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedToolList) Set(val *PaginatedToolList)
- func (v *NullablePaginatedToolList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedToolList) Unset()
- type NullablePatchedChatThreadRequest
- func (v NullablePatchedChatThreadRequest) Get() *PatchedChatThreadRequest
- func (v NullablePatchedChatThreadRequest) IsSet() bool
- func (v NullablePatchedChatThreadRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchedChatThreadRequest) Set(val *PatchedChatThreadRequest)
- func (v *NullablePatchedChatThreadRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchedChatThreadRequest) Unset()
- type NullablePatchedKnowledgeBaseRequest
- func (v NullablePatchedKnowledgeBaseRequest) Get() *PatchedKnowledgeBaseRequest
- func (v NullablePatchedKnowledgeBaseRequest) IsSet() bool
- func (v NullablePatchedKnowledgeBaseRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchedKnowledgeBaseRequest) Set(val *PatchedKnowledgeBaseRequest)
- func (v *NullablePatchedKnowledgeBaseRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchedKnowledgeBaseRequest) Unset()
- type NullablePatchedToolRequest
- func (v NullablePatchedToolRequest) Get() *PatchedToolRequest
- func (v NullablePatchedToolRequest) IsSet() bool
- func (v NullablePatchedToolRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchedToolRequest) Set(val *PatchedToolRequest)
- func (v *NullablePatchedToolRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchedToolRequest) Unset()
- type NullableResponseAsyncChatThread
- func (v NullableResponseAsyncChatThread) Get() *ResponseAsyncChatThread
- func (v NullableResponseAsyncChatThread) IsSet() bool
- func (v NullableResponseAsyncChatThread) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncChatThread) Set(val *ResponseAsyncChatThread)
- func (v *NullableResponseAsyncChatThread) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncChatThread) Unset()
- type NullableResponseAsyncDeleteChatThread
- func (v NullableResponseAsyncDeleteChatThread) Get() *ResponseAsyncDeleteChatThread
- func (v NullableResponseAsyncDeleteChatThread) IsSet() bool
- func (v NullableResponseAsyncDeleteChatThread) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncDeleteChatThread) Set(val *ResponseAsyncDeleteChatThread)
- func (v *NullableResponseAsyncDeleteChatThread) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncDeleteChatThread) Unset()
- type NullableResponseAsyncDeleteDocument
- func (v NullableResponseAsyncDeleteDocument) Get() *ResponseAsyncDeleteDocument
- func (v NullableResponseAsyncDeleteDocument) IsSet() bool
- func (v NullableResponseAsyncDeleteDocument) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncDeleteDocument) Set(val *ResponseAsyncDeleteDocument)
- func (v *NullableResponseAsyncDeleteDocument) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncDeleteDocument) Unset()
- type NullableResponseAsyncDeleteKnowledgeBase
- func (v NullableResponseAsyncDeleteKnowledgeBase) Get() *ResponseAsyncDeleteKnowledgeBase
- func (v NullableResponseAsyncDeleteKnowledgeBase) IsSet() bool
- func (v NullableResponseAsyncDeleteKnowledgeBase) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncDeleteKnowledgeBase) Set(val *ResponseAsyncDeleteKnowledgeBase)
- func (v *NullableResponseAsyncDeleteKnowledgeBase) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncDeleteKnowledgeBase) Unset()
- type NullableResponseAsyncDeleteMessage
- func (v NullableResponseAsyncDeleteMessage) Get() *ResponseAsyncDeleteMessage
- func (v NullableResponseAsyncDeleteMessage) IsSet() bool
- func (v NullableResponseAsyncDeleteMessage) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncDeleteMessage) Set(val *ResponseAsyncDeleteMessage)
- func (v *NullableResponseAsyncDeleteMessage) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncDeleteMessage) Unset()
- type NullableResponseAsyncDeleteTool
- func (v NullableResponseAsyncDeleteTool) Get() *ResponseAsyncDeleteTool
- func (v NullableResponseAsyncDeleteTool) IsSet() bool
- func (v NullableResponseAsyncDeleteTool) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncDeleteTool) Set(val *ResponseAsyncDeleteTool)
- func (v *NullableResponseAsyncDeleteTool) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncDeleteTool) Unset()
- type NullableResponseAsyncDocument
- func (v NullableResponseAsyncDocument) Get() *ResponseAsyncDocument
- func (v NullableResponseAsyncDocument) IsSet() bool
- func (v NullableResponseAsyncDocument) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncDocument) Set(val *ResponseAsyncDocument)
- func (v *NullableResponseAsyncDocument) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncDocument) Unset()
- type NullableResponseAsyncKnowledgeBase
- func (v NullableResponseAsyncKnowledgeBase) Get() *ResponseAsyncKnowledgeBase
- func (v NullableResponseAsyncKnowledgeBase) IsSet() bool
- func (v NullableResponseAsyncKnowledgeBase) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncKnowledgeBase) Set(val *ResponseAsyncKnowledgeBase)
- func (v *NullableResponseAsyncKnowledgeBase) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncKnowledgeBase) Unset()
- type NullableResponseAsyncMessage
- func (v NullableResponseAsyncMessage) Get() *ResponseAsyncMessage
- func (v NullableResponseAsyncMessage) IsSet() bool
- func (v NullableResponseAsyncMessage) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncMessage) Set(val *ResponseAsyncMessage)
- func (v *NullableResponseAsyncMessage) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncMessage) Unset()
- type NullableResponseAsyncTool
- func (v NullableResponseAsyncTool) Get() *ResponseAsyncTool
- func (v NullableResponseAsyncTool) IsSet() bool
- func (v NullableResponseAsyncTool) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAsyncTool) Set(val *ResponseAsyncTool)
- func (v *NullableResponseAsyncTool) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAsyncTool) Unset()
- type NullableResponseChatThread
- func (v NullableResponseChatThread) Get() *ResponseChatThread
- func (v NullableResponseChatThread) IsSet() bool
- func (v NullableResponseChatThread) MarshalJSON() ([]byte, error)
- func (v *NullableResponseChatThread) Set(val *ResponseChatThread)
- func (v *NullableResponseChatThread) UnmarshalJSON(src []byte) error
- func (v *NullableResponseChatThread) Unset()
- type NullableResponseDeleteChatThread
- func (v NullableResponseDeleteChatThread) Get() *ResponseDeleteChatThread
- func (v NullableResponseDeleteChatThread) IsSet() bool
- func (v NullableResponseDeleteChatThread) MarshalJSON() ([]byte, error)
- func (v *NullableResponseDeleteChatThread) Set(val *ResponseDeleteChatThread)
- func (v *NullableResponseDeleteChatThread) UnmarshalJSON(src []byte) error
- func (v *NullableResponseDeleteChatThread) Unset()
- type NullableResponseDeleteDocument
- func (v NullableResponseDeleteDocument) Get() *ResponseDeleteDocument
- func (v NullableResponseDeleteDocument) IsSet() bool
- func (v NullableResponseDeleteDocument) MarshalJSON() ([]byte, error)
- func (v *NullableResponseDeleteDocument) Set(val *ResponseDeleteDocument)
- func (v *NullableResponseDeleteDocument) UnmarshalJSON(src []byte) error
- func (v *NullableResponseDeleteDocument) Unset()
- type NullableResponseDeleteKnowledgeBase
- func (v NullableResponseDeleteKnowledgeBase) Get() *ResponseDeleteKnowledgeBase
- func (v NullableResponseDeleteKnowledgeBase) IsSet() bool
- func (v NullableResponseDeleteKnowledgeBase) MarshalJSON() ([]byte, error)
- func (v *NullableResponseDeleteKnowledgeBase) Set(val *ResponseDeleteKnowledgeBase)
- func (v *NullableResponseDeleteKnowledgeBase) UnmarshalJSON(src []byte) error
- func (v *NullableResponseDeleteKnowledgeBase) Unset()
- type NullableResponseDeleteMessage
- func (v NullableResponseDeleteMessage) Get() *ResponseDeleteMessage
- func (v NullableResponseDeleteMessage) IsSet() bool
- func (v NullableResponseDeleteMessage) MarshalJSON() ([]byte, error)
- func (v *NullableResponseDeleteMessage) Set(val *ResponseDeleteMessage)
- func (v *NullableResponseDeleteMessage) UnmarshalJSON(src []byte) error
- func (v *NullableResponseDeleteMessage) Unset()
- type NullableResponseDeleteTool
- func (v NullableResponseDeleteTool) Get() *ResponseDeleteTool
- func (v NullableResponseDeleteTool) IsSet() bool
- func (v NullableResponseDeleteTool) MarshalJSON() ([]byte, error)
- func (v *NullableResponseDeleteTool) Set(val *ResponseDeleteTool)
- func (v *NullableResponseDeleteTool) UnmarshalJSON(src []byte) error
- func (v *NullableResponseDeleteTool) Unset()
- type NullableResponseDocument
- func (v NullableResponseDocument) Get() *ResponseDocument
- func (v NullableResponseDocument) IsSet() bool
- func (v NullableResponseDocument) MarshalJSON() ([]byte, error)
- func (v *NullableResponseDocument) Set(val *ResponseDocument)
- func (v *NullableResponseDocument) UnmarshalJSON(src []byte) error
- func (v *NullableResponseDocument) Unset()
- type NullableResponseKnowledgeBase
- func (v NullableResponseKnowledgeBase) Get() *ResponseKnowledgeBase
- func (v NullableResponseKnowledgeBase) IsSet() bool
- func (v NullableResponseKnowledgeBase) MarshalJSON() ([]byte, error)
- func (v *NullableResponseKnowledgeBase) Set(val *ResponseKnowledgeBase)
- func (v *NullableResponseKnowledgeBase) UnmarshalJSON(src []byte) error
- func (v *NullableResponseKnowledgeBase) Unset()
- type NullableResponseMessage
- func (v NullableResponseMessage) Get() *ResponseMessage
- func (v NullableResponseMessage) IsSet() bool
- func (v NullableResponseMessage) MarshalJSON() ([]byte, error)
- func (v *NullableResponseMessage) Set(val *ResponseMessage)
- func (v *NullableResponseMessage) UnmarshalJSON(src []byte) error
- func (v *NullableResponseMessage) Unset()
- type NullableResponseRetrieveChatThread
- func (v NullableResponseRetrieveChatThread) Get() *ResponseRetrieveChatThread
- func (v NullableResponseRetrieveChatThread) IsSet() bool
- func (v NullableResponseRetrieveChatThread) MarshalJSON() ([]byte, error)
- func (v *NullableResponseRetrieveChatThread) Set(val *ResponseRetrieveChatThread)
- func (v *NullableResponseRetrieveChatThread) UnmarshalJSON(src []byte) error
- func (v *NullableResponseRetrieveChatThread) Unset()
- type NullableResponseRetrieveDocument
- func (v NullableResponseRetrieveDocument) Get() *ResponseRetrieveDocument
- func (v NullableResponseRetrieveDocument) IsSet() bool
- func (v NullableResponseRetrieveDocument) MarshalJSON() ([]byte, error)
- func (v *NullableResponseRetrieveDocument) Set(val *ResponseRetrieveDocument)
- func (v *NullableResponseRetrieveDocument) UnmarshalJSON(src []byte) error
- func (v *NullableResponseRetrieveDocument) Unset()
- type NullableResponseRetrieveKnowledgeBase
- func (v NullableResponseRetrieveKnowledgeBase) Get() *ResponseRetrieveKnowledgeBase
- func (v NullableResponseRetrieveKnowledgeBase) IsSet() bool
- func (v NullableResponseRetrieveKnowledgeBase) MarshalJSON() ([]byte, error)
- func (v *NullableResponseRetrieveKnowledgeBase) Set(val *ResponseRetrieveKnowledgeBase)
- func (v *NullableResponseRetrieveKnowledgeBase) UnmarshalJSON(src []byte) error
- func (v *NullableResponseRetrieveKnowledgeBase) Unset()
- type NullableResponseRetrieveMessage
- func (v NullableResponseRetrieveMessage) Get() *ResponseRetrieveMessage
- func (v NullableResponseRetrieveMessage) IsSet() bool
- func (v NullableResponseRetrieveMessage) MarshalJSON() ([]byte, error)
- func (v *NullableResponseRetrieveMessage) Set(val *ResponseRetrieveMessage)
- func (v *NullableResponseRetrieveMessage) UnmarshalJSON(src []byte) error
- func (v *NullableResponseRetrieveMessage) Unset()
- type NullableResponseRetrieveTool
- func (v NullableResponseRetrieveTool) Get() *ResponseRetrieveTool
- func (v NullableResponseRetrieveTool) IsSet() bool
- func (v NullableResponseRetrieveTool) MarshalJSON() ([]byte, error)
- func (v *NullableResponseRetrieveTool) Set(val *ResponseRetrieveTool)
- func (v *NullableResponseRetrieveTool) UnmarshalJSON(src []byte) error
- func (v *NullableResponseRetrieveTool) Unset()
- type NullableResponseTool
- func (v NullableResponseTool) Get() *ResponseTool
- func (v NullableResponseTool) IsSet() bool
- func (v NullableResponseTool) MarshalJSON() ([]byte, error)
- func (v *NullableResponseTool) Set(val *ResponseTool)
- func (v *NullableResponseTool) UnmarshalJSON(src []byte) error
- func (v *NullableResponseTool) Unset()
- type NullableString
- type NullableTime
- type NullableTool
- type NullableToolKBLink
- type NullableToolRequest
- func (v NullableToolRequest) Get() *ToolRequest
- func (v NullableToolRequest) IsSet() bool
- func (v NullableToolRequest) MarshalJSON() ([]byte, error)
- func (v *NullableToolRequest) Set(val *ToolRequest)
- func (v *NullableToolRequest) UnmarshalJSON(src []byte) error
- func (v *NullableToolRequest) Unset()
- type PaginatedChatThreadList
- func (o *PaginatedChatThreadList) GetCount() int64
- func (o *PaginatedChatThreadList) GetCountOk() (*int64, bool)
- func (o *PaginatedChatThreadList) GetResults() []ChatThread
- func (o *PaginatedChatThreadList) GetResultsOk() ([]ChatThread, bool)
- func (o *PaginatedChatThreadList) HasCount() bool
- func (o *PaginatedChatThreadList) HasResults() bool
- func (o PaginatedChatThreadList) MarshalJSON() ([]byte, error)
- func (o *PaginatedChatThreadList) SetCount(v int64)
- func (o *PaginatedChatThreadList) SetResults(v []ChatThread)
- func (o PaginatedChatThreadList) ToMap() (map[string]interface{}, error)
- type PaginatedChunkList
- func (o *PaginatedChunkList) GetCount() int64
- func (o *PaginatedChunkList) GetCountOk() (*int64, bool)
- func (o *PaginatedChunkList) GetResults() []Chunk
- func (o *PaginatedChunkList) GetResultsOk() ([]Chunk, bool)
- func (o *PaginatedChunkList) HasCount() bool
- func (o *PaginatedChunkList) HasResults() bool
- func (o PaginatedChunkList) MarshalJSON() ([]byte, error)
- func (o *PaginatedChunkList) SetCount(v int64)
- func (o *PaginatedChunkList) SetResults(v []Chunk)
- func (o PaginatedChunkList) ToMap() (map[string]interface{}, error)
- type PaginatedDocumentList
- func (o *PaginatedDocumentList) GetCount() int64
- func (o *PaginatedDocumentList) GetCountOk() (*int64, bool)
- func (o *PaginatedDocumentList) GetResults() []Document
- func (o *PaginatedDocumentList) GetResultsOk() ([]Document, bool)
- func (o *PaginatedDocumentList) HasCount() bool
- func (o *PaginatedDocumentList) HasResults() bool
- func (o PaginatedDocumentList) MarshalJSON() ([]byte, error)
- func (o *PaginatedDocumentList) SetCount(v int64)
- func (o *PaginatedDocumentList) SetResults(v []Document)
- func (o PaginatedDocumentList) ToMap() (map[string]interface{}, error)
- type PaginatedKnowledgeBaseList
- func (o *PaginatedKnowledgeBaseList) GetCount() int64
- func (o *PaginatedKnowledgeBaseList) GetCountOk() (*int64, bool)
- func (o *PaginatedKnowledgeBaseList) GetResults() []KnowledgeBase
- func (o *PaginatedKnowledgeBaseList) GetResultsOk() ([]KnowledgeBase, bool)
- func (o *PaginatedKnowledgeBaseList) HasCount() bool
- func (o *PaginatedKnowledgeBaseList) HasResults() bool
- func (o PaginatedKnowledgeBaseList) MarshalJSON() ([]byte, error)
- func (o *PaginatedKnowledgeBaseList) SetCount(v int64)
- func (o *PaginatedKnowledgeBaseList) SetResults(v []KnowledgeBase)
- func (o PaginatedKnowledgeBaseList) ToMap() (map[string]interface{}, error)
- type PaginatedMessageList
- func (o *PaginatedMessageList) GetCount() int64
- func (o *PaginatedMessageList) GetCountOk() (*int64, bool)
- func (o *PaginatedMessageList) GetResults() []Message
- func (o *PaginatedMessageList) GetResultsOk() ([]Message, bool)
- func (o *PaginatedMessageList) HasCount() bool
- func (o *PaginatedMessageList) HasResults() bool
- func (o PaginatedMessageList) MarshalJSON() ([]byte, error)
- func (o *PaginatedMessageList) SetCount(v int64)
- func (o *PaginatedMessageList) SetResults(v []Message)
- func (o PaginatedMessageList) ToMap() (map[string]interface{}, error)
- type PaginatedToolList
- func (o *PaginatedToolList) GetCount() int64
- func (o *PaginatedToolList) GetCountOk() (*int64, bool)
- func (o *PaginatedToolList) GetResults() []Tool
- func (o *PaginatedToolList) GetResultsOk() ([]Tool, bool)
- func (o *PaginatedToolList) HasCount() bool
- func (o *PaginatedToolList) HasResults() bool
- func (o PaginatedToolList) MarshalJSON() ([]byte, error)
- func (o *PaginatedToolList) SetCount(v int64)
- func (o *PaginatedToolList) SetResults(v []Tool)
- func (o PaginatedToolList) ToMap() (map[string]interface{}, error)
- type PatchedChatThreadRequest
- func (o *PatchedChatThreadRequest) GetDescription() string
- func (o *PatchedChatThreadRequest) GetDescriptionOk() (*string, bool)
- func (o *PatchedChatThreadRequest) GetName() string
- func (o *PatchedChatThreadRequest) GetNameOk() (*string, bool)
- func (o *PatchedChatThreadRequest) HasDescription() bool
- func (o *PatchedChatThreadRequest) HasName() bool
- func (o PatchedChatThreadRequest) MarshalJSON() ([]byte, error)
- func (o *PatchedChatThreadRequest) SetDescription(v string)
- func (o *PatchedChatThreadRequest) SetName(v string)
- func (o PatchedChatThreadRequest) ToMap() (map[string]interface{}, error)
- type PatchedKnowledgeBaseRequest
- func (o *PatchedKnowledgeBaseRequest) GetDescription() string
- func (o *PatchedKnowledgeBaseRequest) GetDescriptionOk() (*string, bool)
- func (o *PatchedKnowledgeBaseRequest) GetEmbeddingModel() string
- func (o *PatchedKnowledgeBaseRequest) GetEmbeddingModelOk() (*string, bool)
- func (o *PatchedKnowledgeBaseRequest) GetName() string
- func (o *PatchedKnowledgeBaseRequest) GetNameOk() (*string, bool)
- func (o *PatchedKnowledgeBaseRequest) HasDescription() bool
- func (o *PatchedKnowledgeBaseRequest) HasEmbeddingModel() bool
- func (o *PatchedKnowledgeBaseRequest) HasName() bool
- func (o PatchedKnowledgeBaseRequest) MarshalJSON() ([]byte, error)
- func (o *PatchedKnowledgeBaseRequest) SetDescription(v string)
- func (o *PatchedKnowledgeBaseRequest) SetEmbeddingModel(v string)
- func (o *PatchedKnowledgeBaseRequest) SetName(v string)
- func (o PatchedKnowledgeBaseRequest) ToMap() (map[string]interface{}, error)
- type PatchedToolRequest
- func (o *PatchedToolRequest) GetActive() bool
- func (o *PatchedToolRequest) GetActiveOk() (*bool, bool)
- func (o *PatchedToolRequest) GetDescription() string
- func (o *PatchedToolRequest) GetDescriptionOk() (*string, bool)
- func (o *PatchedToolRequest) GetJsonSchema() map[string]interface{}
- func (o *PatchedToolRequest) GetJsonSchemaOk() (map[string]interface{}, bool)
- func (o *PatchedToolRequest) GetName() string
- func (o *PatchedToolRequest) GetNameOk() (*string, bool)
- func (o *PatchedToolRequest) GetType() string
- func (o *PatchedToolRequest) GetTypeOk() (*string, bool)
- func (o *PatchedToolRequest) HasActive() bool
- func (o *PatchedToolRequest) HasDescription() bool
- func (o *PatchedToolRequest) HasJsonSchema() bool
- func (o *PatchedToolRequest) HasName() bool
- func (o *PatchedToolRequest) HasType() bool
- func (o PatchedToolRequest) MarshalJSON() ([]byte, error)
- func (o *PatchedToolRequest) SetActive(v bool)
- func (o *PatchedToolRequest) SetDescription(v string)
- func (o *PatchedToolRequest) SetJsonSchema(v map[string]interface{})
- func (o *PatchedToolRequest) SetName(v string)
- func (o *PatchedToolRequest) SetType(v string)
- func (o PatchedToolRequest) ToMap() (map[string]interface{}, error)
- type ResponseAsyncChatThread
- func (o *ResponseAsyncChatThread) GetData() ChatThread
- func (o *ResponseAsyncChatThread) GetDataOk() (*ChatThread, bool)
- func (o *ResponseAsyncChatThread) GetState() string
- func (o *ResponseAsyncChatThread) GetStateOk() (*string, bool)
- func (o *ResponseAsyncChatThread) HasState() bool
- func (o ResponseAsyncChatThread) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncChatThread) SetData(v ChatThread)
- func (o *ResponseAsyncChatThread) SetState(v string)
- func (o ResponseAsyncChatThread) ToMap() (map[string]interface{}, error)
- func (o *ResponseAsyncChatThread) UnmarshalJSON(data []byte) (err error)
- type ResponseAsyncDeleteChatThread
- func (o *ResponseAsyncDeleteChatThread) GetState() string
- func (o *ResponseAsyncDeleteChatThread) GetStateOk() (*string, bool)
- func (o *ResponseAsyncDeleteChatThread) HasState() bool
- func (o ResponseAsyncDeleteChatThread) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncDeleteChatThread) SetState(v string)
- func (o ResponseAsyncDeleteChatThread) ToMap() (map[string]interface{}, error)
- type ResponseAsyncDeleteDocument
- func (o *ResponseAsyncDeleteDocument) GetState() string
- func (o *ResponseAsyncDeleteDocument) GetStateOk() (*string, bool)
- func (o *ResponseAsyncDeleteDocument) HasState() bool
- func (o ResponseAsyncDeleteDocument) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncDeleteDocument) SetState(v string)
- func (o ResponseAsyncDeleteDocument) ToMap() (map[string]interface{}, error)
- type ResponseAsyncDeleteKnowledgeBase
- func (o *ResponseAsyncDeleteKnowledgeBase) GetState() string
- func (o *ResponseAsyncDeleteKnowledgeBase) GetStateOk() (*string, bool)
- func (o *ResponseAsyncDeleteKnowledgeBase) HasState() bool
- func (o ResponseAsyncDeleteKnowledgeBase) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncDeleteKnowledgeBase) SetState(v string)
- func (o ResponseAsyncDeleteKnowledgeBase) ToMap() (map[string]interface{}, error)
- type ResponseAsyncDeleteMessage
- func (o *ResponseAsyncDeleteMessage) GetState() string
- func (o *ResponseAsyncDeleteMessage) GetStateOk() (*string, bool)
- func (o *ResponseAsyncDeleteMessage) HasState() bool
- func (o ResponseAsyncDeleteMessage) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncDeleteMessage) SetState(v string)
- func (o ResponseAsyncDeleteMessage) ToMap() (map[string]interface{}, error)
- type ResponseAsyncDeleteTool
- func (o *ResponseAsyncDeleteTool) GetState() string
- func (o *ResponseAsyncDeleteTool) GetStateOk() (*string, bool)
- func (o *ResponseAsyncDeleteTool) HasState() bool
- func (o ResponseAsyncDeleteTool) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncDeleteTool) SetState(v string)
- func (o ResponseAsyncDeleteTool) ToMap() (map[string]interface{}, error)
- type ResponseAsyncDocument
- func (o *ResponseAsyncDocument) GetData() Document
- func (o *ResponseAsyncDocument) GetDataOk() (*Document, bool)
- func (o *ResponseAsyncDocument) GetState() string
- func (o *ResponseAsyncDocument) GetStateOk() (*string, bool)
- func (o *ResponseAsyncDocument) HasState() bool
- func (o ResponseAsyncDocument) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncDocument) SetData(v Document)
- func (o *ResponseAsyncDocument) SetState(v string)
- func (o ResponseAsyncDocument) ToMap() (map[string]interface{}, error)
- func (o *ResponseAsyncDocument) UnmarshalJSON(data []byte) (err error)
- type ResponseAsyncKnowledgeBase
- func (o *ResponseAsyncKnowledgeBase) GetData() KnowledgeBase
- func (o *ResponseAsyncKnowledgeBase) GetDataOk() (*KnowledgeBase, bool)
- func (o *ResponseAsyncKnowledgeBase) GetState() string
- func (o *ResponseAsyncKnowledgeBase) GetStateOk() (*string, bool)
- func (o *ResponseAsyncKnowledgeBase) HasState() bool
- func (o ResponseAsyncKnowledgeBase) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncKnowledgeBase) SetData(v KnowledgeBase)
- func (o *ResponseAsyncKnowledgeBase) SetState(v string)
- func (o ResponseAsyncKnowledgeBase) ToMap() (map[string]interface{}, error)
- func (o *ResponseAsyncKnowledgeBase) UnmarshalJSON(data []byte) (err error)
- type ResponseAsyncMessage
- func (o *ResponseAsyncMessage) GetData() Message
- func (o *ResponseAsyncMessage) GetDataOk() (*Message, bool)
- func (o *ResponseAsyncMessage) GetState() string
- func (o *ResponseAsyncMessage) GetStateOk() (*string, bool)
- func (o *ResponseAsyncMessage) HasState() bool
- func (o ResponseAsyncMessage) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncMessage) SetData(v Message)
- func (o *ResponseAsyncMessage) SetState(v string)
- func (o ResponseAsyncMessage) ToMap() (map[string]interface{}, error)
- func (o *ResponseAsyncMessage) UnmarshalJSON(data []byte) (err error)
- type ResponseAsyncTool
- func (o *ResponseAsyncTool) GetData() Tool
- func (o *ResponseAsyncTool) GetDataOk() (*Tool, bool)
- func (o *ResponseAsyncTool) GetState() string
- func (o *ResponseAsyncTool) GetStateOk() (*string, bool)
- func (o *ResponseAsyncTool) HasState() bool
- func (o ResponseAsyncTool) MarshalJSON() ([]byte, error)
- func (o *ResponseAsyncTool) SetData(v Tool)
- func (o *ResponseAsyncTool) SetState(v string)
- func (o ResponseAsyncTool) ToMap() (map[string]interface{}, error)
- func (o *ResponseAsyncTool) UnmarshalJSON(data []byte) (err error)
- type ResponseChatThread
- func (o *ResponseChatThread) GetData() ChatThread
- func (o *ResponseChatThread) GetDataOk() (*ChatThread, bool)
- func (o *ResponseChatThread) GetState() string
- func (o *ResponseChatThread) GetStateOk() (*string, bool)
- func (o *ResponseChatThread) HasState() bool
- func (o ResponseChatThread) MarshalJSON() ([]byte, error)
- func (o *ResponseChatThread) SetData(v ChatThread)
- func (o *ResponseChatThread) SetState(v string)
- func (o ResponseChatThread) ToMap() (map[string]interface{}, error)
- func (o *ResponseChatThread) UnmarshalJSON(data []byte) (err error)
- type ResponseDeleteChatThread
- func (o *ResponseDeleteChatThread) GetState() string
- func (o *ResponseDeleteChatThread) GetStateOk() (*string, bool)
- func (o *ResponseDeleteChatThread) HasState() bool
- func (o ResponseDeleteChatThread) MarshalJSON() ([]byte, error)
- func (o *ResponseDeleteChatThread) SetState(v string)
- func (o ResponseDeleteChatThread) ToMap() (map[string]interface{}, error)
- type ResponseDeleteDocument
- func (o *ResponseDeleteDocument) GetState() string
- func (o *ResponseDeleteDocument) GetStateOk() (*string, bool)
- func (o *ResponseDeleteDocument) HasState() bool
- func (o ResponseDeleteDocument) MarshalJSON() ([]byte, error)
- func (o *ResponseDeleteDocument) SetState(v string)
- func (o ResponseDeleteDocument) ToMap() (map[string]interface{}, error)
- type ResponseDeleteKnowledgeBase
- func (o *ResponseDeleteKnowledgeBase) GetState() string
- func (o *ResponseDeleteKnowledgeBase) GetStateOk() (*string, bool)
- func (o *ResponseDeleteKnowledgeBase) HasState() bool
- func (o ResponseDeleteKnowledgeBase) MarshalJSON() ([]byte, error)
- func (o *ResponseDeleteKnowledgeBase) SetState(v string)
- func (o ResponseDeleteKnowledgeBase) ToMap() (map[string]interface{}, error)
- type ResponseDeleteMessage
- func (o *ResponseDeleteMessage) GetState() string
- func (o *ResponseDeleteMessage) GetStateOk() (*string, bool)
- func (o *ResponseDeleteMessage) HasState() bool
- func (o ResponseDeleteMessage) MarshalJSON() ([]byte, error)
- func (o *ResponseDeleteMessage) SetState(v string)
- func (o ResponseDeleteMessage) ToMap() (map[string]interface{}, error)
- type ResponseDeleteTool
- func (o *ResponseDeleteTool) GetState() string
- func (o *ResponseDeleteTool) GetStateOk() (*string, bool)
- func (o *ResponseDeleteTool) HasState() bool
- func (o ResponseDeleteTool) MarshalJSON() ([]byte, error)
- func (o *ResponseDeleteTool) SetState(v string)
- func (o ResponseDeleteTool) ToMap() (map[string]interface{}, error)
- type ResponseDocument
- func (o *ResponseDocument) GetData() Document
- func (o *ResponseDocument) GetDataOk() (*Document, bool)
- func (o *ResponseDocument) GetState() string
- func (o *ResponseDocument) GetStateOk() (*string, bool)
- func (o *ResponseDocument) HasState() bool
- func (o ResponseDocument) MarshalJSON() ([]byte, error)
- func (o *ResponseDocument) SetData(v Document)
- func (o *ResponseDocument) SetState(v string)
- func (o ResponseDocument) ToMap() (map[string]interface{}, error)
- func (o *ResponseDocument) UnmarshalJSON(data []byte) (err error)
- type ResponseKnowledgeBase
- func (o *ResponseKnowledgeBase) GetData() KnowledgeBase
- func (o *ResponseKnowledgeBase) GetDataOk() (*KnowledgeBase, bool)
- func (o *ResponseKnowledgeBase) GetState() string
- func (o *ResponseKnowledgeBase) GetStateOk() (*string, bool)
- func (o *ResponseKnowledgeBase) HasState() bool
- func (o ResponseKnowledgeBase) MarshalJSON() ([]byte, error)
- func (o *ResponseKnowledgeBase) SetData(v KnowledgeBase)
- func (o *ResponseKnowledgeBase) SetState(v string)
- func (o ResponseKnowledgeBase) ToMap() (map[string]interface{}, error)
- func (o *ResponseKnowledgeBase) UnmarshalJSON(data []byte) (err error)
- type ResponseMessage
- func (o *ResponseMessage) GetData() Message
- func (o *ResponseMessage) GetDataOk() (*Message, bool)
- func (o *ResponseMessage) GetState() string
- func (o *ResponseMessage) GetStateOk() (*string, bool)
- func (o *ResponseMessage) HasState() bool
- func (o ResponseMessage) MarshalJSON() ([]byte, error)
- func (o *ResponseMessage) SetData(v Message)
- func (o *ResponseMessage) SetState(v string)
- func (o ResponseMessage) ToMap() (map[string]interface{}, error)
- func (o *ResponseMessage) UnmarshalJSON(data []byte) (err error)
- type ResponseRetrieveChatThread
- func (o *ResponseRetrieveChatThread) GetData() ChatThread
- func (o *ResponseRetrieveChatThread) GetDataOk() (*ChatThread, bool)
- func (o ResponseRetrieveChatThread) MarshalJSON() ([]byte, error)
- func (o *ResponseRetrieveChatThread) SetData(v ChatThread)
- func (o ResponseRetrieveChatThread) ToMap() (map[string]interface{}, error)
- func (o *ResponseRetrieveChatThread) UnmarshalJSON(data []byte) (err error)
- type ResponseRetrieveDocument
- func (o *ResponseRetrieveDocument) GetData() Document
- func (o *ResponseRetrieveDocument) GetDataOk() (*Document, bool)
- func (o ResponseRetrieveDocument) MarshalJSON() ([]byte, error)
- func (o *ResponseRetrieveDocument) SetData(v Document)
- func (o ResponseRetrieveDocument) ToMap() (map[string]interface{}, error)
- func (o *ResponseRetrieveDocument) UnmarshalJSON(data []byte) (err error)
- type ResponseRetrieveKnowledgeBase
- func (o *ResponseRetrieveKnowledgeBase) GetData() KnowledgeBase
- func (o *ResponseRetrieveKnowledgeBase) GetDataOk() (*KnowledgeBase, bool)
- func (o ResponseRetrieveKnowledgeBase) MarshalJSON() ([]byte, error)
- func (o *ResponseRetrieveKnowledgeBase) SetData(v KnowledgeBase)
- func (o ResponseRetrieveKnowledgeBase) ToMap() (map[string]interface{}, error)
- func (o *ResponseRetrieveKnowledgeBase) UnmarshalJSON(data []byte) (err error)
- type ResponseRetrieveMessage
- func (o *ResponseRetrieveMessage) GetData() Message
- func (o *ResponseRetrieveMessage) GetDataOk() (*Message, bool)
- func (o ResponseRetrieveMessage) MarshalJSON() ([]byte, error)
- func (o *ResponseRetrieveMessage) SetData(v Message)
- func (o ResponseRetrieveMessage) ToMap() (map[string]interface{}, error)
- func (o *ResponseRetrieveMessage) UnmarshalJSON(data []byte) (err error)
- type ResponseRetrieveTool
- func (o *ResponseRetrieveTool) GetData() Tool
- func (o *ResponseRetrieveTool) GetDataOk() (*Tool, bool)
- func (o ResponseRetrieveTool) MarshalJSON() ([]byte, error)
- func (o *ResponseRetrieveTool) SetData(v Tool)
- func (o ResponseRetrieveTool) ToMap() (map[string]interface{}, error)
- func (o *ResponseRetrieveTool) UnmarshalJSON(data []byte) (err error)
- type ResponseTool
- func (o *ResponseTool) GetData() Tool
- func (o *ResponseTool) GetDataOk() (*Tool, bool)
- func (o *ResponseTool) GetState() string
- func (o *ResponseTool) GetStateOk() (*string, bool)
- func (o *ResponseTool) HasState() bool
- func (o ResponseTool) MarshalJSON() ([]byte, error)
- func (o *ResponseTool) SetData(v Tool)
- func (o *ResponseTool) SetState(v string)
- func (o ResponseTool) ToMap() (map[string]interface{}, error)
- func (o *ResponseTool) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ThreadsAPIService
- func (a *ThreadsAPIService) ThreadsCreate(ctx context.Context) ApiThreadsCreateRequest
- func (a *ThreadsAPIService) ThreadsCreateExecute(r ApiThreadsCreateRequest) (*ResponseChatThread, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsDestroy(ctx context.Context, threadId string) ApiThreadsDestroyRequest
- func (a *ThreadsAPIService) ThreadsDestroyExecute(r ApiThreadsDestroyRequest) (*ResponseDeleteChatThread, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsList(ctx context.Context) ApiThreadsListRequest
- func (a *ThreadsAPIService) ThreadsListExecute(r ApiThreadsListRequest) (*PaginatedChatThreadList, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsMessagesCreate(ctx context.Context, threadId string) ApiThreadsMessagesCreateRequest
- func (a *ThreadsAPIService) ThreadsMessagesCreateExecute(r ApiThreadsMessagesCreateRequest) (*ResponseMessage, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsMessagesDestroy(ctx context.Context, messageId string, threadId string) ApiThreadsMessagesDestroyRequest
- func (a *ThreadsAPIService) ThreadsMessagesDestroyExecute(r ApiThreadsMessagesDestroyRequest) (*ResponseDeleteMessage, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsMessagesList(ctx context.Context, threadId string) ApiThreadsMessagesListRequest
- func (a *ThreadsAPIService) ThreadsMessagesListExecute(r ApiThreadsMessagesListRequest) (*PaginatedMessageList, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsMessagesRetrieve(ctx context.Context, messageId string, threadId string) ApiThreadsMessagesRetrieveRequest
- func (a *ThreadsAPIService) ThreadsMessagesRetrieveExecute(r ApiThreadsMessagesRetrieveRequest) (*ResponseRetrieveMessage, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsMessagesUpdate(ctx context.Context, messageId string, threadId string) ApiThreadsMessagesUpdateRequest
- func (a *ThreadsAPIService) ThreadsMessagesUpdateExecute(r ApiThreadsMessagesUpdateRequest) (*ResponseMessage, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsPartialUpdate(ctx context.Context, threadId string) ApiThreadsPartialUpdateRequest
- func (a *ThreadsAPIService) ThreadsPartialUpdateExecute(r ApiThreadsPartialUpdateRequest) (*ResponseChatThread, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsRetrieve(ctx context.Context, threadId string) ApiThreadsRetrieveRequest
- func (a *ThreadsAPIService) ThreadsRetrieveExecute(r ApiThreadsRetrieveRequest) (*ResponseRetrieveChatThread, *http.Response, error)
- func (a *ThreadsAPIService) ThreadsUpdate(ctx context.Context, threadId string) ApiThreadsUpdateRequest
- func (a *ThreadsAPIService) ThreadsUpdateExecute(r ApiThreadsUpdateRequest) (*ResponseChatThread, *http.Response, error)
- type Tool
- func (o *Tool) GetActive() bool
- func (o *Tool) GetActiveOk() (*bool, bool)
- func (o *Tool) GetDescription() string
- func (o *Tool) GetDescriptionOk() (*string, bool)
- func (o *Tool) GetJsonSchema() map[string]interface{}
- func (o *Tool) GetJsonSchemaOk() (map[string]interface{}, bool)
- func (o *Tool) GetKbs() string
- func (o *Tool) GetKbsOk() (*string, bool)
- func (o *Tool) GetLastEditor() string
- func (o *Tool) GetLastEditorOk() (*string, bool)
- func (o *Tool) GetLastModified() time.Time
- func (o *Tool) GetLastModifiedOk() (*time.Time, bool)
- func (o *Tool) GetName() string
- func (o *Tool) GetNameOk() (*string, bool)
- func (o *Tool) GetToolId() int64
- func (o *Tool) GetToolIdOk() (*int64, bool)
- func (o *Tool) GetType() string
- func (o *Tool) GetTypeOk() (*string, bool)
- func (o *Tool) HasActive() bool
- func (o *Tool) HasDescription() bool
- func (o *Tool) HasJsonSchema() bool
- func (o Tool) MarshalJSON() ([]byte, error)
- func (o *Tool) SetActive(v bool)
- func (o *Tool) SetDescription(v string)
- func (o *Tool) SetJsonSchema(v map[string]interface{})
- func (o *Tool) SetKbs(v string)
- func (o *Tool) SetLastEditor(v string)
- func (o *Tool) SetLastModified(v time.Time)
- func (o *Tool) SetName(v string)
- func (o *Tool) SetToolId(v int64)
- func (o *Tool) SetType(v string)
- func (o Tool) ToMap() (map[string]interface{}, error)
- func (o *Tool) UnmarshalJSON(data []byte) (err error)
- type ToolKBLink
- func (o *ToolKBLink) GetKbId() int64
- func (o *ToolKBLink) GetKbIdOk() (*int64, bool)
- func (o *ToolKBLink) GetToolKbId() int64
- func (o *ToolKBLink) GetToolKbIdOk() (*int64, bool)
- func (o ToolKBLink) MarshalJSON() ([]byte, error)
- func (o *ToolKBLink) SetKbId(v int64)
- func (o *ToolKBLink) SetToolKbId(v int64)
- func (o ToolKBLink) ToMap() (map[string]interface{}, error)
- func (o *ToolKBLink) UnmarshalJSON(data []byte) (err error)
- type ToolRequest
- func (o *ToolRequest) GetActive() bool
- func (o *ToolRequest) GetActiveOk() (*bool, bool)
- func (o *ToolRequest) GetDescription() string
- func (o *ToolRequest) GetDescriptionOk() (*string, bool)
- func (o *ToolRequest) GetJsonSchema() map[string]interface{}
- func (o *ToolRequest) GetJsonSchemaOk() (map[string]interface{}, bool)
- func (o *ToolRequest) GetName() string
- func (o *ToolRequest) GetNameOk() (*string, bool)
- func (o *ToolRequest) GetType() string
- func (o *ToolRequest) GetTypeOk() (*string, bool)
- func (o *ToolRequest) HasActive() bool
- func (o *ToolRequest) HasDescription() bool
- func (o *ToolRequest) HasJsonSchema() bool
- func (o ToolRequest) MarshalJSON() ([]byte, error)
- func (o *ToolRequest) SetActive(v bool)
- func (o *ToolRequest) SetDescription(v string)
- func (o *ToolRequest) SetJsonSchema(v map[string]interface{})
- func (o *ToolRequest) SetName(v string)
- func (o *ToolRequest) SetType(v string)
- func (o ToolRequest) ToMap() (map[string]interface{}, error)
- func (o *ToolRequest) UnmarshalJSON(data []byte) (err error)
- type ToolsAPIService
- func (a *ToolsAPIService) ToolsCreate(ctx context.Context) ApiToolsCreateRequest
- func (a *ToolsAPIService) ToolsCreateExecute(r ApiToolsCreateRequest) (*ResponseTool, *http.Response, error)
- func (a *ToolsAPIService) ToolsDestroy(ctx context.Context, toolId string) ApiToolsDestroyRequest
- func (a *ToolsAPIService) ToolsDestroyExecute(r ApiToolsDestroyRequest) (*ResponseDeleteTool, *http.Response, error)
- func (a *ToolsAPIService) ToolsKbCreate(ctx context.Context, toolId string) ApiToolsKbCreateRequest
- func (a *ToolsAPIService) ToolsKbCreateExecute(r ApiToolsKbCreateRequest) (*ToolKBLink, *http.Response, error)
- func (a *ToolsAPIService) ToolsKbDestroy(ctx context.Context, kbId string, toolId string) ApiToolsKbDestroyRequest
- func (a *ToolsAPIService) ToolsKbDestroyExecute(r ApiToolsKbDestroyRequest) (*http.Response, error)
- func (a *ToolsAPIService) ToolsKbList(ctx context.Context, toolId string) ApiToolsKbListRequest
- func (a *ToolsAPIService) ToolsKbListExecute(r ApiToolsKbListRequest) (*PaginatedKnowledgeBaseList, *http.Response, error)
- func (a *ToolsAPIService) ToolsList(ctx context.Context) ApiToolsListRequest
- func (a *ToolsAPIService) ToolsListExecute(r ApiToolsListRequest) (*PaginatedToolList, *http.Response, error)
- func (a *ToolsAPIService) ToolsPartialUpdate(ctx context.Context, toolId string) ApiToolsPartialUpdateRequest
- func (a *ToolsAPIService) ToolsPartialUpdateExecute(r ApiToolsPartialUpdateRequest) (*ResponseTool, *http.Response, error)
- func (a *ToolsAPIService) ToolsRetrieve(ctx context.Context, toolId string) ApiToolsRetrieveRequest
- func (a *ToolsAPIService) ToolsRetrieveExecute(r ApiToolsRetrieveRequest) (*ResponseRetrieveTool, *http.Response, error)
- func (a *ToolsAPIService) ToolsUpdate(ctx context.Context, toolId string) ApiToolsUpdateRequest
- func (a *ToolsAPIService) ToolsUpdateExecute(r ApiToolsUpdateRequest) (*ResponseTool, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type AIStudioChatThreadsAPIService ¶
type AIStudioChatThreadsAPIService service
AIStudioChatThreadsAPIService AIStudioChatThreadsAPI service
func (*AIStudioChatThreadsAPIService) CreateChatThread ¶
func (a *AIStudioChatThreadsAPIService) CreateChatThread(ctx context.Context) ApiCreateChatThreadRequest
CreateChatThread Create a chat thread
Create a new chat thread for your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateChatThreadRequest
func (*AIStudioChatThreadsAPIService) CreateChatThreadExecute ¶
func (a *AIStudioChatThreadsAPIService) CreateChatThreadExecute(r ApiCreateChatThreadRequest) (*ResponseChatThread, *http.Response, error)
Execute executes the request
@return ResponseChatThread
func (*AIStudioChatThreadsAPIService) DestroyAChatThread ¶
func (a *AIStudioChatThreadsAPIService) DestroyAChatThread(ctx context.Context, threadId int64) ApiDestroyAChatThreadRequest
DestroyAChatThread Destroy a chat thread
Destruction of a specific chat thread in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiDestroyAChatThreadRequest
func (*AIStudioChatThreadsAPIService) DestroyAChatThreadExecute ¶
func (a *AIStudioChatThreadsAPIService) DestroyAChatThreadExecute(r ApiDestroyAChatThreadRequest) (*ResponseDeleteChatThread, *http.Response, error)
Execute executes the request
@return ResponseDeleteChatThread
func (*AIStudioChatThreadsAPIService) ListChatThreads ¶
func (a *AIStudioChatThreadsAPIService) ListChatThreads(ctx context.Context) ApiListChatThreadsRequest
ListChatThreads List chat threads
List all chat threads owned by your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListChatThreadsRequest
func (*AIStudioChatThreadsAPIService) ListChatThreadsExecute ¶
func (a *AIStudioChatThreadsAPIService) ListChatThreadsExecute(r ApiListChatThreadsRequest) (*PaginatedChatThreadList, *http.Response, error)
Execute executes the request
@return PaginatedChatThreadList
func (*AIStudioChatThreadsAPIService) PartialUpdateChatThread ¶
func (a *AIStudioChatThreadsAPIService) PartialUpdateChatThread(ctx context.Context, threadId int64) ApiPartialUpdateChatThreadRequest
PartialUpdateChatThread Partially update a chat thread
Update one or more fields of an existing chat thread without affecting other fields.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiPartialUpdateChatThreadRequest
func (*AIStudioChatThreadsAPIService) PartialUpdateChatThreadExecute ¶
func (a *AIStudioChatThreadsAPIService) PartialUpdateChatThreadExecute(r ApiPartialUpdateChatThreadRequest) (*ResponseChatThread, *http.Response, error)
Execute executes the request
@return ResponseChatThread
func (*AIStudioChatThreadsAPIService) RetriveChatThread ¶
func (a *AIStudioChatThreadsAPIService) RetriveChatThread(ctx context.Context, threadId int64) ApiRetriveChatThreadRequest
RetriveChatThread Retrieve details from a chat thread
Retrieve details from a specific chat thread in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiRetriveChatThreadRequest
func (*AIStudioChatThreadsAPIService) RetriveChatThreadExecute ¶
func (a *AIStudioChatThreadsAPIService) RetriveChatThreadExecute(r ApiRetriveChatThreadRequest) (*ResponseRetrieveChatThread, *http.Response, error)
Execute executes the request
@return ResponseRetrieveChatThread
func (*AIStudioChatThreadsAPIService) UpdateChatThread ¶
func (a *AIStudioChatThreadsAPIService) UpdateChatThread(ctx context.Context, threadId int64) ApiUpdateChatThreadRequest
UpdateChatThread Update a chat thread
Update an existing chat thread. This replaces the entire chat thread with the new data provided.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiUpdateChatThreadRequest
func (*AIStudioChatThreadsAPIService) UpdateChatThreadExecute ¶
func (a *AIStudioChatThreadsAPIService) UpdateChatThreadExecute(r ApiUpdateChatThreadRequest) (*ResponseChatThread, *http.Response, error)
Execute executes the request
@return ResponseChatThread
type AIStudioChunksAPIService ¶
type AIStudioChunksAPIService service
AIStudioChunksAPIService AIStudioChunksAPI service
func (*AIStudioChunksAPIService) ListChunks ¶
func (a *AIStudioChunksAPIService) ListChunks(ctx context.Context, documentId int64, kbId int64) ApiListChunksRequest
ListChunks List chunks
List all chunks owned by your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param documentId @param kbId @return ApiListChunksRequest
func (*AIStudioChunksAPIService) ListChunksExecute ¶
func (a *AIStudioChunksAPIService) ListChunksExecute(r ApiListChunksRequest) (*PaginatedChunkList, *http.Response, error)
Execute executes the request
@return PaginatedChunkList
type AIStudioDocumentsAPIService ¶
type AIStudioDocumentsAPIService service
AIStudioDocumentsAPIService AIStudioDocumentsAPI service
func (*AIStudioDocumentsAPIService) CreateDocument ¶
func (a *AIStudioDocumentsAPIService) CreateDocument(ctx context.Context, kbId int64) ApiCreateDocumentRequest
CreateDocument Create a document
Create a new document for your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiCreateDocumentRequest
func (*AIStudioDocumentsAPIService) CreateDocumentExecute ¶
func (a *AIStudioDocumentsAPIService) CreateDocumentExecute(r ApiCreateDocumentRequest) (*ResponseDocument, *http.Response, error)
Execute executes the request
@return ResponseDocument
func (*AIStudioDocumentsAPIService) DestroyADocument ¶
func (a *AIStudioDocumentsAPIService) DestroyADocument(ctx context.Context, documentId int64, kbId int64) ApiDestroyADocumentRequest
DestroyADocument Destroy a document
Destruction of a specific document in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param documentId @param kbId @return ApiDestroyADocumentRequest
func (*AIStudioDocumentsAPIService) DestroyADocumentExecute ¶
func (a *AIStudioDocumentsAPIService) DestroyADocumentExecute(r ApiDestroyADocumentRequest) (*ResponseDeleteDocument, *http.Response, error)
Execute executes the request
@return ResponseDeleteDocument
func (*AIStudioDocumentsAPIService) ListDocuments ¶
func (a *AIStudioDocumentsAPIService) ListDocuments(ctx context.Context, kbId int64) ApiListDocumentsRequest
ListDocuments List documents
List all documents owned by your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiListDocumentsRequest
func (*AIStudioDocumentsAPIService) ListDocumentsExecute ¶
func (a *AIStudioDocumentsAPIService) ListDocumentsExecute(r ApiListDocumentsRequest) (*PaginatedDocumentList, *http.Response, error)
Execute executes the request
@return PaginatedDocumentList
func (*AIStudioDocumentsAPIService) RetriveDocument ¶
func (a *AIStudioDocumentsAPIService) RetriveDocument(ctx context.Context, documentId int64, kbId int64) ApiRetriveDocumentRequest
RetriveDocument Retrieve details from a document
Retrieve details from a specific document in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param documentId @param kbId @return ApiRetriveDocumentRequest
func (*AIStudioDocumentsAPIService) RetriveDocumentExecute ¶
func (a *AIStudioDocumentsAPIService) RetriveDocumentExecute(r ApiRetriveDocumentRequest) (*ResponseRetrieveDocument, *http.Response, error)
Execute executes the request
@return ResponseRetrieveDocument
func (*AIStudioDocumentsAPIService) UpdateDocument ¶
func (a *AIStudioDocumentsAPIService) UpdateDocument(ctx context.Context, documentId int64, kbId int64) ApiUpdateDocumentRequest
UpdateDocument Update a document
Update an existing document. This replaces the entire document with the new data provided.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param documentId @param kbId @return ApiUpdateDocumentRequest
func (*AIStudioDocumentsAPIService) UpdateDocumentExecute ¶
func (a *AIStudioDocumentsAPIService) UpdateDocumentExecute(r ApiUpdateDocumentRequest) (*ResponseDocument, *http.Response, error)
Execute executes the request
@return ResponseDocument
type AIStudioKnowledgeBasesAPIService ¶
type AIStudioKnowledgeBasesAPIService service
AIStudioKnowledgeBasesAPIService AIStudioKnowledgeBasesAPI service
func (*AIStudioKnowledgeBasesAPIService) AskKnowledgeBase ¶
func (a *AIStudioKnowledgeBasesAPIService) AskKnowledgeBase(ctx context.Context, kbId int64) ApiAskKnowledgeBaseRequest
AskKnowledgeBase Ask the knowledge base
Ask a question. The agent will use RAG over this knowledge base and answer with context.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiAskKnowledgeBaseRequest
func (*AIStudioKnowledgeBasesAPIService) AskKnowledgeBaseExecute ¶
func (a *AIStudioKnowledgeBasesAPIService) AskKnowledgeBaseExecute(r ApiAskKnowledgeBaseRequest) (*KBAskResponse, *http.Response, error)
Execute executes the request
@return KBAskResponse
func (*AIStudioKnowledgeBasesAPIService) CreateKnowledgeBase ¶
func (a *AIStudioKnowledgeBasesAPIService) CreateKnowledgeBase(ctx context.Context) ApiCreateKnowledgeBaseRequest
CreateKnowledgeBase Create a knowledge base
Create a new knowledge base for your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateKnowledgeBaseRequest
func (*AIStudioKnowledgeBasesAPIService) CreateKnowledgeBaseExecute ¶
func (a *AIStudioKnowledgeBasesAPIService) CreateKnowledgeBaseExecute(r ApiCreateKnowledgeBaseRequest) (*ResponseKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseKnowledgeBase
func (*AIStudioKnowledgeBasesAPIService) DestroyAKnowledgeBase ¶
func (a *AIStudioKnowledgeBasesAPIService) DestroyAKnowledgeBase(ctx context.Context, kbId string) ApiDestroyAKnowledgeBaseRequest
DestroyAKnowledgeBase Destroy a knowledge base
Destruction of a specific knowledge base in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiDestroyAKnowledgeBaseRequest
func (*AIStudioKnowledgeBasesAPIService) DestroyAKnowledgeBaseExecute ¶
func (a *AIStudioKnowledgeBasesAPIService) DestroyAKnowledgeBaseExecute(r ApiDestroyAKnowledgeBaseRequest) (*ResponseDeleteKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseDeleteKnowledgeBase
func (*AIStudioKnowledgeBasesAPIService) ListKnowledgeBases ¶
func (a *AIStudioKnowledgeBasesAPIService) ListKnowledgeBases(ctx context.Context) ApiListKnowledgeBasesRequest
ListKnowledgeBases List knowledge bases
List all knowledge bases owned by your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListKnowledgeBasesRequest
func (*AIStudioKnowledgeBasesAPIService) ListKnowledgeBasesExecute ¶
func (a *AIStudioKnowledgeBasesAPIService) ListKnowledgeBasesExecute(r ApiListKnowledgeBasesRequest) (*PaginatedKnowledgeBaseList, *http.Response, error)
Execute executes the request
@return PaginatedKnowledgeBaseList
func (*AIStudioKnowledgeBasesAPIService) PartialUpdateKnowledgeBase ¶
func (a *AIStudioKnowledgeBasesAPIService) PartialUpdateKnowledgeBase(ctx context.Context, kbId string) ApiPartialUpdateKnowledgeBaseRequest
PartialUpdateKnowledgeBase Partially update a knowledge base
Update one or more fields of an existing knowledge base without affecting other fields.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiPartialUpdateKnowledgeBaseRequest
func (*AIStudioKnowledgeBasesAPIService) PartialUpdateKnowledgeBaseExecute ¶
func (a *AIStudioKnowledgeBasesAPIService) PartialUpdateKnowledgeBaseExecute(r ApiPartialUpdateKnowledgeBaseRequest) (*ResponseKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseKnowledgeBase
func (*AIStudioKnowledgeBasesAPIService) QueryChunkFromKnowledgeBase ¶
func (a *AIStudioKnowledgeBasesAPIService) QueryChunkFromKnowledgeBase(ctx context.Context, kbId int64) ApiQueryChunkFromKnowledgeBaseRequest
QueryChunkFromKnowledgeBase Query a chunk from a knowledge base
Query a specific chunk from a knowledge base in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiQueryChunkFromKnowledgeBaseRequest
func (*AIStudioKnowledgeBasesAPIService) QueryChunkFromKnowledgeBaseExecute ¶
func (a *AIStudioKnowledgeBasesAPIService) QueryChunkFromKnowledgeBaseExecute(r ApiQueryChunkFromKnowledgeBaseRequest) (*KBQueryResponse, *http.Response, error)
Execute executes the request
@return KBQueryResponse
func (*AIStudioKnowledgeBasesAPIService) RetriveKnowledgeBase ¶
func (a *AIStudioKnowledgeBasesAPIService) RetriveKnowledgeBase(ctx context.Context, kbId string) ApiRetriveKnowledgeBaseRequest
RetriveKnowledgeBase Retrieve details from a knowledge base
Retrieve details from a specific knowledge base in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiRetriveKnowledgeBaseRequest
func (*AIStudioKnowledgeBasesAPIService) RetriveKnowledgeBaseExecute ¶
func (a *AIStudioKnowledgeBasesAPIService) RetriveKnowledgeBaseExecute(r ApiRetriveKnowledgeBaseRequest) (*ResponseRetrieveKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseRetrieveKnowledgeBase
func (*AIStudioKnowledgeBasesAPIService) UpdateKnowledgeBase ¶
func (a *AIStudioKnowledgeBasesAPIService) UpdateKnowledgeBase(ctx context.Context, kbId string) ApiUpdateKnowledgeBaseRequest
UpdateKnowledgeBase Update a knowledge base
Update an existing knowledge base. This replaces the entire knowledge base with the new data provided.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiUpdateKnowledgeBaseRequest
func (*AIStudioKnowledgeBasesAPIService) UpdateKnowledgeBaseExecute ¶
func (a *AIStudioKnowledgeBasesAPIService) UpdateKnowledgeBaseExecute(r ApiUpdateKnowledgeBaseRequest) (*ResponseKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseKnowledgeBase
type AIStudioMessagesAPIService ¶
type AIStudioMessagesAPIService service
AIStudioMessagesAPIService AIStudioMessagesAPI service
func (*AIStudioMessagesAPIService) CreateMessage ¶
func (a *AIStudioMessagesAPIService) CreateMessage(ctx context.Context, threadId int64) ApiCreateMessageRequest
CreateMessage Create a message
Create a new message for your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiCreateMessageRequest
func (*AIStudioMessagesAPIService) CreateMessageExecute ¶
func (a *AIStudioMessagesAPIService) CreateMessageExecute(r ApiCreateMessageRequest) (*ResponseMessage, *http.Response, error)
Execute executes the request
@return ResponseMessage
func (*AIStudioMessagesAPIService) DestroyAMessage ¶
func (a *AIStudioMessagesAPIService) DestroyAMessage(ctx context.Context, messageId int64, threadId int64) ApiDestroyAMessageRequest
DestroyAMessage Destroy a message
Destruction of a specific message in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param messageId @param threadId @return ApiDestroyAMessageRequest
func (*AIStudioMessagesAPIService) DestroyAMessageExecute ¶
func (a *AIStudioMessagesAPIService) DestroyAMessageExecute(r ApiDestroyAMessageRequest) (*ResponseDeleteMessage, *http.Response, error)
Execute executes the request
@return ResponseDeleteMessage
func (*AIStudioMessagesAPIService) ListMessages ¶
func (a *AIStudioMessagesAPIService) ListMessages(ctx context.Context, threadId int64) ApiListMessagesRequest
ListMessages List messages
List all messages owned by your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiListMessagesRequest
func (*AIStudioMessagesAPIService) ListMessagesExecute ¶
func (a *AIStudioMessagesAPIService) ListMessagesExecute(r ApiListMessagesRequest) (*PaginatedMessageList, *http.Response, error)
Execute executes the request
@return PaginatedMessageList
func (*AIStudioMessagesAPIService) RetriveMessage ¶
func (a *AIStudioMessagesAPIService) RetriveMessage(ctx context.Context, messageId int64, threadId int64) ApiRetriveMessageRequest
RetriveMessage Retrieve details from a message
Retrieve details from a specific message in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param messageId @param threadId @return ApiRetriveMessageRequest
func (*AIStudioMessagesAPIService) RetriveMessageExecute ¶
func (a *AIStudioMessagesAPIService) RetriveMessageExecute(r ApiRetriveMessageRequest) (*ResponseRetrieveMessage, *http.Response, error)
Execute executes the request
@return ResponseRetrieveMessage
func (*AIStudioMessagesAPIService) UpdateMessage ¶
func (a *AIStudioMessagesAPIService) UpdateMessage(ctx context.Context, messageId int64, threadId int64) ApiUpdateMessageRequest
UpdateMessage Update a message
Update an existing message. This replaces the entire message with the new data provided.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param messageId @param threadId @return ApiUpdateMessageRequest
func (*AIStudioMessagesAPIService) UpdateMessageExecute ¶
func (a *AIStudioMessagesAPIService) UpdateMessageExecute(r ApiUpdateMessageRequest) (*ResponseMessage, *http.Response, error)
Execute executes the request
@return ResponseMessage
type AIStudioToolsAPIService ¶
type AIStudioToolsAPIService service
AIStudioToolsAPIService AIStudioToolsAPI service
func (*AIStudioToolsAPIService) AddKnowledgeBaseToATool ¶
func (a *AIStudioToolsAPIService) AddKnowledgeBaseToATool(ctx context.Context, toolId int64) ApiAddKnowledgeBaseToAToolRequest
AddKnowledgeBaseToATool Add a knowledge base to a tool
Add a new knowledge base to a specific tool for your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId @return ApiAddKnowledgeBaseToAToolRequest
func (*AIStudioToolsAPIService) AddKnowledgeBaseToAToolExecute ¶
func (a *AIStudioToolsAPIService) AddKnowledgeBaseToAToolExecute(r ApiAddKnowledgeBaseToAToolRequest) (*ToolKBLink, *http.Response, error)
Execute executes the request
@return ToolKBLink
func (*AIStudioToolsAPIService) CreateTool ¶
func (a *AIStudioToolsAPIService) CreateTool(ctx context.Context) ApiCreateToolRequest
CreateTool Create a tool
Create a new tool for your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateToolRequest
func (*AIStudioToolsAPIService) CreateToolExecute ¶
func (a *AIStudioToolsAPIService) CreateToolExecute(r ApiCreateToolRequest) (*ResponseTool, *http.Response, error)
Execute executes the request
@return ResponseTool
func (*AIStudioToolsAPIService) DestroyATool ¶
func (a *AIStudioToolsAPIService) DestroyATool(ctx context.Context, toolId int64) ApiDestroyAToolRequest
DestroyATool Destroy a tool
Destruction of a specific tool in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId @return ApiDestroyAToolRequest
func (*AIStudioToolsAPIService) DestroyAToolExecute ¶
func (a *AIStudioToolsAPIService) DestroyAToolExecute(r ApiDestroyAToolRequest) (*ResponseDeleteTool, *http.Response, error)
Execute executes the request
@return ResponseDeleteTool
func (*AIStudioToolsAPIService) ListKnowledgeBasesLinkedToATool ¶
func (a *AIStudioToolsAPIService) ListKnowledgeBasesLinkedToATool(ctx context.Context, toolId int64) ApiListKnowledgeBasesLinkedToAToolRequest
ListKnowledgeBasesLinkedToATool List knowledge bases linked to a tool
List all knowledge bases linked to a specific tool in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId @return ApiListKnowledgeBasesLinkedToAToolRequest
func (*AIStudioToolsAPIService) ListKnowledgeBasesLinkedToAToolExecute ¶
func (a *AIStudioToolsAPIService) ListKnowledgeBasesLinkedToAToolExecute(r ApiListKnowledgeBasesLinkedToAToolRequest) (*PaginatedKnowledgeBaseList, *http.Response, error)
Execute executes the request
@return PaginatedKnowledgeBaseList
func (*AIStudioToolsAPIService) ListTools ¶
func (a *AIStudioToolsAPIService) ListTools(ctx context.Context) ApiListToolsRequest
ListTools List tools
List all tools owned by your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListToolsRequest
func (*AIStudioToolsAPIService) ListToolsExecute ¶
func (a *AIStudioToolsAPIService) ListToolsExecute(r ApiListToolsRequest) (*PaginatedToolList, *http.Response, error)
Execute executes the request
@return PaginatedToolList
func (*AIStudioToolsAPIService) PartialUpdateTool ¶
func (a *AIStudioToolsAPIService) PartialUpdateTool(ctx context.Context, toolId int64) ApiPartialUpdateToolRequest
PartialUpdateTool Partially update a tool
Update one or more fields of an existing tool without affecting other fields.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId @return ApiPartialUpdateToolRequest
func (*AIStudioToolsAPIService) PartialUpdateToolExecute ¶
func (a *AIStudioToolsAPIService) PartialUpdateToolExecute(r ApiPartialUpdateToolRequest) (*ResponseTool, *http.Response, error)
Execute executes the request
@return ResponseTool
func (*AIStudioToolsAPIService) RemoveKnowledgeBaseFromATool ¶
func (a *AIStudioToolsAPIService) RemoveKnowledgeBaseFromATool(ctx context.Context, kbId int64, toolId int64) ApiRemoveKnowledgeBaseFromAToolRequest
RemoveKnowledgeBaseFromATool Remove a knowledge base from a tool
Remove a specific knowledge base from a tool in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @param toolId @return ApiRemoveKnowledgeBaseFromAToolRequest
func (*AIStudioToolsAPIService) RemoveKnowledgeBaseFromAToolExecute ¶
func (a *AIStudioToolsAPIService) RemoveKnowledgeBaseFromAToolExecute(r ApiRemoveKnowledgeBaseFromAToolRequest) (*http.Response, error)
Execute executes the request
func (*AIStudioToolsAPIService) RetriveTool ¶
func (a *AIStudioToolsAPIService) RetriveTool(ctx context.Context, toolId int64) ApiRetriveToolRequest
RetriveTool Retrieve details from a tool
Retrieve details from a specific tool in your account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId @return ApiRetriveToolRequest
func (*AIStudioToolsAPIService) RetriveToolExecute ¶
func (a *AIStudioToolsAPIService) RetriveToolExecute(r ApiRetriveToolRequest) (*ResponseRetrieveTool, *http.Response, error)
Execute executes the request
@return ResponseRetrieveTool
func (*AIStudioToolsAPIService) UpdateTool ¶
func (a *AIStudioToolsAPIService) UpdateTool(ctx context.Context, toolId int64) ApiUpdateToolRequest
UpdateTool Update a tool
Update an existing tool. This replaces the entire tool with the new data provided.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId @return ApiUpdateToolRequest
func (*AIStudioToolsAPIService) UpdateToolExecute ¶
func (a *AIStudioToolsAPIService) UpdateToolExecute(r ApiUpdateToolRequest) (*ResponseTool, *http.Response, error)
Execute executes the request
@return ResponseTool
type APIClient ¶
type APIClient struct {
AIStudioChatThreadsAPI *AIStudioChatThreadsAPIService
AIStudioChunksAPI *AIStudioChunksAPIService
AIStudioDocumentsAPI *AIStudioDocumentsAPIService
AIStudioKnowledgeBasesAPI *AIStudioKnowledgeBasesAPIService
AIStudioMessagesAPI *AIStudioMessagesAPIService
AIStudioToolsAPI *AIStudioToolsAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the ai-studio-api API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiAddKnowledgeBaseToAToolRequest ¶
type ApiAddKnowledgeBaseToAToolRequest struct {
ApiService *AIStudioToolsAPIService
// contains filtered or unexported fields
}
func (ApiAddKnowledgeBaseToAToolRequest) Execute ¶
func (r ApiAddKnowledgeBaseToAToolRequest) Execute() (*ToolKBLink, *http.Response, error)
func (ApiAddKnowledgeBaseToAToolRequest) ToolRequest ¶
func (r ApiAddKnowledgeBaseToAToolRequest) ToolRequest(toolRequest ToolRequest) ApiAddKnowledgeBaseToAToolRequest
type ApiAskKnowledgeBaseRequest ¶
type ApiAskKnowledgeBaseRequest struct {
ApiService *AIStudioKnowledgeBasesAPIService
// contains filtered or unexported fields
}
func (ApiAskKnowledgeBaseRequest) Execute ¶
func (r ApiAskKnowledgeBaseRequest) Execute() (*KBAskResponse, *http.Response, error)
func (ApiAskKnowledgeBaseRequest) KBAskRequestRequest ¶
func (r ApiAskKnowledgeBaseRequest) KBAskRequestRequest(kBAskRequestRequest KBAskRequestRequest) ApiAskKnowledgeBaseRequest
type ApiCreateChatThreadRequest ¶
type ApiCreateChatThreadRequest struct {
ApiService *AIStudioChatThreadsAPIService
// contains filtered or unexported fields
}
func (ApiCreateChatThreadRequest) ChatThreadRequest ¶
func (r ApiCreateChatThreadRequest) ChatThreadRequest(chatThreadRequest ChatThreadRequest) ApiCreateChatThreadRequest
func (ApiCreateChatThreadRequest) Execute ¶
func (r ApiCreateChatThreadRequest) Execute() (*ResponseChatThread, *http.Response, error)
type ApiCreateDocumentRequest ¶
type ApiCreateDocumentRequest struct {
ApiService *AIStudioDocumentsAPIService
// contains filtered or unexported fields
}
func (ApiCreateDocumentRequest) ChunkStrategy ¶
func (r ApiCreateDocumentRequest) ChunkStrategy(chunkStrategy map[string]interface{}) ApiCreateDocumentRequest
func (ApiCreateDocumentRequest) Description ¶
func (r ApiCreateDocumentRequest) Description(description string) ApiCreateDocumentRequest
func (ApiCreateDocumentRequest) Execute ¶
func (r ApiCreateDocumentRequest) Execute() (*ResponseDocument, *http.Response, error)
func (ApiCreateDocumentRequest) Name ¶
func (r ApiCreateDocumentRequest) Name(name string) ApiCreateDocumentRequest
func (ApiCreateDocumentRequest) SourceUri ¶
func (r ApiCreateDocumentRequest) SourceUri(sourceUri string) ApiCreateDocumentRequest
func (ApiCreateDocumentRequest) Type_ ¶
func (r ApiCreateDocumentRequest) Type_(type_ string) ApiCreateDocumentRequest
type ApiCreateKnowledgeBaseRequest ¶
type ApiCreateKnowledgeBaseRequest struct {
ApiService *AIStudioKnowledgeBasesAPIService
// contains filtered or unexported fields
}
func (ApiCreateKnowledgeBaseRequest) Execute ¶
func (r ApiCreateKnowledgeBaseRequest) Execute() (*ResponseKnowledgeBase, *http.Response, error)
func (ApiCreateKnowledgeBaseRequest) KnowledgeBaseRequest ¶
func (r ApiCreateKnowledgeBaseRequest) KnowledgeBaseRequest(knowledgeBaseRequest KnowledgeBaseRequest) ApiCreateKnowledgeBaseRequest
type ApiCreateMessageRequest ¶
type ApiCreateMessageRequest struct {
ApiService *AIStudioMessagesAPIService
// contains filtered or unexported fields
}
func (ApiCreateMessageRequest) Execute ¶
func (r ApiCreateMessageRequest) Execute() (*ResponseMessage, *http.Response, error)
func (ApiCreateMessageRequest) MessageRequest ¶
func (r ApiCreateMessageRequest) MessageRequest(messageRequest MessageRequest) ApiCreateMessageRequest
type ApiCreateToolRequest ¶
type ApiCreateToolRequest struct {
ApiService *AIStudioToolsAPIService
// contains filtered or unexported fields
}
func (ApiCreateToolRequest) Execute ¶
func (r ApiCreateToolRequest) Execute() (*ResponseTool, *http.Response, error)
func (ApiCreateToolRequest) ToolRequest ¶
func (r ApiCreateToolRequest) ToolRequest(toolRequest ToolRequest) ApiCreateToolRequest
type ApiDestroyAChatThreadRequest ¶
type ApiDestroyAChatThreadRequest struct {
ApiService *AIStudioChatThreadsAPIService
// contains filtered or unexported fields
}
func (ApiDestroyAChatThreadRequest) Execute ¶
func (r ApiDestroyAChatThreadRequest) Execute() (*ResponseDeleteChatThread, *http.Response, error)
type ApiDestroyADocumentRequest ¶
type ApiDestroyADocumentRequest struct {
ApiService *AIStudioDocumentsAPIService
// contains filtered or unexported fields
}
func (ApiDestroyADocumentRequest) Execute ¶
func (r ApiDestroyADocumentRequest) Execute() (*ResponseDeleteDocument, *http.Response, error)
type ApiDestroyAKnowledgeBaseRequest ¶
type ApiDestroyAKnowledgeBaseRequest struct {
ApiService *AIStudioKnowledgeBasesAPIService
// contains filtered or unexported fields
}
func (ApiDestroyAKnowledgeBaseRequest) Execute ¶
func (r ApiDestroyAKnowledgeBaseRequest) Execute() (*ResponseDeleteKnowledgeBase, *http.Response, error)
type ApiDestroyAMessageRequest ¶
type ApiDestroyAMessageRequest struct {
ApiService *AIStudioMessagesAPIService
// contains filtered or unexported fields
}
func (ApiDestroyAMessageRequest) Execute ¶
func (r ApiDestroyAMessageRequest) Execute() (*ResponseDeleteMessage, *http.Response, error)
type ApiDestroyAToolRequest ¶
type ApiDestroyAToolRequest struct {
ApiService *AIStudioToolsAPIService
// contains filtered or unexported fields
}
func (ApiDestroyAToolRequest) Execute ¶
func (r ApiDestroyAToolRequest) Execute() (*ResponseDeleteTool, *http.Response, error)
type ApiKbCreateRequest ¶
type ApiKbCreateRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbCreateRequest) Execute ¶
func (r ApiKbCreateRequest) Execute() (*ResponseKnowledgeBase, *http.Response, error)
func (ApiKbCreateRequest) KnowledgeBaseRequest ¶
func (r ApiKbCreateRequest) KnowledgeBaseRequest(knowledgeBaseRequest KnowledgeBaseRequest) ApiKbCreateRequest
type ApiKbDestroyRequest ¶
type ApiKbDestroyRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbDestroyRequest) Execute ¶
func (r ApiKbDestroyRequest) Execute() (*ResponseDeleteKnowledgeBase, *http.Response, error)
type ApiKbDocumentsChunksListRequest ¶
type ApiKbDocumentsChunksListRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbDocumentsChunksListRequest) Execute ¶
func (r ApiKbDocumentsChunksListRequest) Execute() (*PaginatedChunkList, *http.Response, error)
func (ApiKbDocumentsChunksListRequest) Ordering ¶
func (r ApiKbDocumentsChunksListRequest) Ordering(ordering string) ApiKbDocumentsChunksListRequest
Which field to use when ordering the results.
func (ApiKbDocumentsChunksListRequest) Page ¶
func (r ApiKbDocumentsChunksListRequest) Page(page int64) ApiKbDocumentsChunksListRequest
A page number within the paginated result set.
func (ApiKbDocumentsChunksListRequest) PageSize ¶
func (r ApiKbDocumentsChunksListRequest) PageSize(pageSize int64) ApiKbDocumentsChunksListRequest
A numeric value that indicates the number of items per page.
func (ApiKbDocumentsChunksListRequest) Search ¶
func (r ApiKbDocumentsChunksListRequest) Search(search string) ApiKbDocumentsChunksListRequest
A search term.
type ApiKbDocumentsCreateRequest ¶
type ApiKbDocumentsCreateRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbDocumentsCreateRequest) ChunkStrategy ¶
func (r ApiKbDocumentsCreateRequest) ChunkStrategy(chunkStrategy map[string]interface{}) ApiKbDocumentsCreateRequest
func (ApiKbDocumentsCreateRequest) Description ¶
func (r ApiKbDocumentsCreateRequest) Description(description string) ApiKbDocumentsCreateRequest
func (ApiKbDocumentsCreateRequest) Execute ¶
func (r ApiKbDocumentsCreateRequest) Execute() (*ResponseDocument, *http.Response, error)
func (ApiKbDocumentsCreateRequest) Name ¶
func (r ApiKbDocumentsCreateRequest) Name(name string) ApiKbDocumentsCreateRequest
func (ApiKbDocumentsCreateRequest) SourceUri ¶
func (r ApiKbDocumentsCreateRequest) SourceUri(sourceUri string) ApiKbDocumentsCreateRequest
func (ApiKbDocumentsCreateRequest) Type_ ¶
func (r ApiKbDocumentsCreateRequest) Type_(type_ string) ApiKbDocumentsCreateRequest
type ApiKbDocumentsDestroyRequest ¶
type ApiKbDocumentsDestroyRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbDocumentsDestroyRequest) Execute ¶
func (r ApiKbDocumentsDestroyRequest) Execute() (*ResponseDeleteDocument, *http.Response, error)
type ApiKbDocumentsListRequest ¶
type ApiKbDocumentsListRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbDocumentsListRequest) Execute ¶
func (r ApiKbDocumentsListRequest) Execute() (*PaginatedDocumentList, *http.Response, error)
func (ApiKbDocumentsListRequest) Ordering ¶
func (r ApiKbDocumentsListRequest) Ordering(ordering string) ApiKbDocumentsListRequest
Which field to use when ordering the results.
func (ApiKbDocumentsListRequest) Page ¶
func (r ApiKbDocumentsListRequest) Page(page int64) ApiKbDocumentsListRequest
A page number within the paginated result set.
func (ApiKbDocumentsListRequest) PageSize ¶
func (r ApiKbDocumentsListRequest) PageSize(pageSize int64) ApiKbDocumentsListRequest
A numeric value that indicates the number of items per page.
func (ApiKbDocumentsListRequest) Search ¶
func (r ApiKbDocumentsListRequest) Search(search string) ApiKbDocumentsListRequest
A search term.
type ApiKbDocumentsRetrieveRequest ¶
type ApiKbDocumentsRetrieveRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbDocumentsRetrieveRequest) Execute ¶
func (r ApiKbDocumentsRetrieveRequest) Execute() (*ResponseRetrieveDocument, *http.Response, error)
type ApiKbDocumentsUpdateRequest ¶
type ApiKbDocumentsUpdateRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbDocumentsUpdateRequest) ChunkStrategy ¶
func (r ApiKbDocumentsUpdateRequest) ChunkStrategy(chunkStrategy map[string]interface{}) ApiKbDocumentsUpdateRequest
func (ApiKbDocumentsUpdateRequest) Description ¶
func (r ApiKbDocumentsUpdateRequest) Description(description string) ApiKbDocumentsUpdateRequest
func (ApiKbDocumentsUpdateRequest) Execute ¶
func (r ApiKbDocumentsUpdateRequest) Execute() (*ResponseDocument, *http.Response, error)
func (ApiKbDocumentsUpdateRequest) Name ¶
func (r ApiKbDocumentsUpdateRequest) Name(name string) ApiKbDocumentsUpdateRequest
func (ApiKbDocumentsUpdateRequest) SourceUri ¶
func (r ApiKbDocumentsUpdateRequest) SourceUri(sourceUri string) ApiKbDocumentsUpdateRequest
func (ApiKbDocumentsUpdateRequest) Type_ ¶
func (r ApiKbDocumentsUpdateRequest) Type_(type_ string) ApiKbDocumentsUpdateRequest
type ApiKbListRequest ¶
type ApiKbListRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbListRequest) Execute ¶
func (r ApiKbListRequest) Execute() (*PaginatedKnowledgeBaseList, *http.Response, error)
func (ApiKbListRequest) Ordering ¶
func (r ApiKbListRequest) Ordering(ordering string) ApiKbListRequest
Which field to use when ordering the results.
func (ApiKbListRequest) Page ¶
func (r ApiKbListRequest) Page(page int64) ApiKbListRequest
A page number within the paginated result set.
func (ApiKbListRequest) PageSize ¶
func (r ApiKbListRequest) PageSize(pageSize int64) ApiKbListRequest
A numeric value that indicates the number of items per page.
func (ApiKbListRequest) Search ¶
func (r ApiKbListRequest) Search(search string) ApiKbListRequest
A search term.
type ApiKbPartialUpdateRequest ¶
type ApiKbPartialUpdateRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbPartialUpdateRequest) Execute ¶
func (r ApiKbPartialUpdateRequest) Execute() (*ResponseKnowledgeBase, *http.Response, error)
func (ApiKbPartialUpdateRequest) PatchedKnowledgeBaseRequest ¶
func (r ApiKbPartialUpdateRequest) PatchedKnowledgeBaseRequest(patchedKnowledgeBaseRequest PatchedKnowledgeBaseRequest) ApiKbPartialUpdateRequest
type ApiKbRetrieveRequest ¶
type ApiKbRetrieveRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbRetrieveRequest) Execute ¶
func (r ApiKbRetrieveRequest) Execute() (*ResponseRetrieveKnowledgeBase, *http.Response, error)
type ApiKbUpdateRequest ¶
type ApiKbUpdateRequest struct {
ApiService *KbAPIService
// contains filtered or unexported fields
}
func (ApiKbUpdateRequest) Execute ¶
func (r ApiKbUpdateRequest) Execute() (*ResponseKnowledgeBase, *http.Response, error)
func (ApiKbUpdateRequest) KnowledgeBaseRequest ¶
func (r ApiKbUpdateRequest) KnowledgeBaseRequest(knowledgeBaseRequest KnowledgeBaseRequest) ApiKbUpdateRequest
type ApiListChatThreadsRequest ¶
type ApiListChatThreadsRequest struct {
ApiService *AIStudioChatThreadsAPIService
// contains filtered or unexported fields
}
func (ApiListChatThreadsRequest) Execute ¶
func (r ApiListChatThreadsRequest) Execute() (*PaginatedChatThreadList, *http.Response, error)
func (ApiListChatThreadsRequest) Fields ¶
func (r ApiListChatThreadsRequest) Fields(fields string) ApiListChatThreadsRequest
Comma-separated list of field names to include in the response.
func (ApiListChatThreadsRequest) Ordering ¶
func (r ApiListChatThreadsRequest) Ordering(ordering string) ApiListChatThreadsRequest
Which field to use when ordering the results.
func (ApiListChatThreadsRequest) Page ¶
func (r ApiListChatThreadsRequest) Page(page int64) ApiListChatThreadsRequest
A page number within the paginated result set.
func (ApiListChatThreadsRequest) PageSize ¶
func (r ApiListChatThreadsRequest) PageSize(pageSize int64) ApiListChatThreadsRequest
A numeric value that indicates the number of items per page.
func (ApiListChatThreadsRequest) Search ¶
func (r ApiListChatThreadsRequest) Search(search string) ApiListChatThreadsRequest
A search term.
type ApiListChunksRequest ¶
type ApiListChunksRequest struct {
ApiService *AIStudioChunksAPIService
// contains filtered or unexported fields
}
func (ApiListChunksRequest) Execute ¶
func (r ApiListChunksRequest) Execute() (*PaginatedChunkList, *http.Response, error)
func (ApiListChunksRequest) Fields ¶
func (r ApiListChunksRequest) Fields(fields string) ApiListChunksRequest
Comma-separated list of field names to include in the response.
func (ApiListChunksRequest) Ordering ¶
func (r ApiListChunksRequest) Ordering(ordering string) ApiListChunksRequest
Which field to use when ordering the results.
func (ApiListChunksRequest) Page ¶
func (r ApiListChunksRequest) Page(page int64) ApiListChunksRequest
A page number within the paginated result set.
func (ApiListChunksRequest) PageSize ¶
func (r ApiListChunksRequest) PageSize(pageSize int64) ApiListChunksRequest
A numeric value that indicates the number of items per page.
func (ApiListChunksRequest) Search ¶
func (r ApiListChunksRequest) Search(search string) ApiListChunksRequest
A search term.
type ApiListDocumentsRequest ¶
type ApiListDocumentsRequest struct {
ApiService *AIStudioDocumentsAPIService
// contains filtered or unexported fields
}
func (ApiListDocumentsRequest) Execute ¶
func (r ApiListDocumentsRequest) Execute() (*PaginatedDocumentList, *http.Response, error)
func (ApiListDocumentsRequest) Fields ¶
func (r ApiListDocumentsRequest) Fields(fields string) ApiListDocumentsRequest
Comma-separated list of field names to include in the response.
func (ApiListDocumentsRequest) Ordering ¶
func (r ApiListDocumentsRequest) Ordering(ordering string) ApiListDocumentsRequest
Which field to use when ordering the results.
func (ApiListDocumentsRequest) Page ¶
func (r ApiListDocumentsRequest) Page(page int64) ApiListDocumentsRequest
A page number within the paginated result set.
func (ApiListDocumentsRequest) PageSize ¶
func (r ApiListDocumentsRequest) PageSize(pageSize int64) ApiListDocumentsRequest
A numeric value that indicates the number of items per page.
func (ApiListDocumentsRequest) Search ¶
func (r ApiListDocumentsRequest) Search(search string) ApiListDocumentsRequest
A search term.
type ApiListKnowledgeBasesLinkedToAToolRequest ¶
type ApiListKnowledgeBasesLinkedToAToolRequest struct {
ApiService *AIStudioToolsAPIService
// contains filtered or unexported fields
}
func (ApiListKnowledgeBasesLinkedToAToolRequest) Execute ¶
func (r ApiListKnowledgeBasesLinkedToAToolRequest) Execute() (*PaginatedKnowledgeBaseList, *http.Response, error)
func (ApiListKnowledgeBasesLinkedToAToolRequest) Fields ¶
func (r ApiListKnowledgeBasesLinkedToAToolRequest) Fields(fields string) ApiListKnowledgeBasesLinkedToAToolRequest
Comma-separated list of field names to include in the response.
func (ApiListKnowledgeBasesLinkedToAToolRequest) Ordering ¶
func (r ApiListKnowledgeBasesLinkedToAToolRequest) Ordering(ordering string) ApiListKnowledgeBasesLinkedToAToolRequest
Which field to use when ordering the results.
func (ApiListKnowledgeBasesLinkedToAToolRequest) Page ¶
func (r ApiListKnowledgeBasesLinkedToAToolRequest) Page(page int64) ApiListKnowledgeBasesLinkedToAToolRequest
A page number within the paginated result set.
func (ApiListKnowledgeBasesLinkedToAToolRequest) PageSize ¶
func (r ApiListKnowledgeBasesLinkedToAToolRequest) PageSize(pageSize int64) ApiListKnowledgeBasesLinkedToAToolRequest
Number of results to return per page.
func (ApiListKnowledgeBasesLinkedToAToolRequest) Search ¶
func (r ApiListKnowledgeBasesLinkedToAToolRequest) Search(search string) ApiListKnowledgeBasesLinkedToAToolRequest
A search term.
type ApiListKnowledgeBasesRequest ¶
type ApiListKnowledgeBasesRequest struct {
ApiService *AIStudioKnowledgeBasesAPIService
// contains filtered or unexported fields
}
func (ApiListKnowledgeBasesRequest) Execute ¶
func (r ApiListKnowledgeBasesRequest) Execute() (*PaginatedKnowledgeBaseList, *http.Response, error)
func (ApiListKnowledgeBasesRequest) Fields ¶
func (r ApiListKnowledgeBasesRequest) Fields(fields string) ApiListKnowledgeBasesRequest
Comma-separated list of field names to include in the response.
func (ApiListKnowledgeBasesRequest) Ordering ¶
func (r ApiListKnowledgeBasesRequest) Ordering(ordering string) ApiListKnowledgeBasesRequest
Which field to use when ordering the results.
func (ApiListKnowledgeBasesRequest) Page ¶
func (r ApiListKnowledgeBasesRequest) Page(page int64) ApiListKnowledgeBasesRequest
A page number within the paginated result set.
func (ApiListKnowledgeBasesRequest) PageSize ¶
func (r ApiListKnowledgeBasesRequest) PageSize(pageSize int64) ApiListKnowledgeBasesRequest
A numeric value that indicates the number of items per page.
func (ApiListKnowledgeBasesRequest) Search ¶
func (r ApiListKnowledgeBasesRequest) Search(search string) ApiListKnowledgeBasesRequest
A search term.
type ApiListMessagesRequest ¶
type ApiListMessagesRequest struct {
ApiService *AIStudioMessagesAPIService
// contains filtered or unexported fields
}
func (ApiListMessagesRequest) Execute ¶
func (r ApiListMessagesRequest) Execute() (*PaginatedMessageList, *http.Response, error)
func (ApiListMessagesRequest) Fields ¶
func (r ApiListMessagesRequest) Fields(fields string) ApiListMessagesRequest
Comma-separated list of field names to include in the response.
func (ApiListMessagesRequest) Ordering ¶
func (r ApiListMessagesRequest) Ordering(ordering string) ApiListMessagesRequest
Which field to use when ordering the results.
func (ApiListMessagesRequest) Page ¶
func (r ApiListMessagesRequest) Page(page int64) ApiListMessagesRequest
A page number within the paginated result set.
func (ApiListMessagesRequest) PageSize ¶
func (r ApiListMessagesRequest) PageSize(pageSize int64) ApiListMessagesRequest
A numeric value that indicates the number of items per page.
func (ApiListMessagesRequest) Search ¶
func (r ApiListMessagesRequest) Search(search string) ApiListMessagesRequest
A search term.
type ApiListToolsRequest ¶
type ApiListToolsRequest struct {
ApiService *AIStudioToolsAPIService
// contains filtered or unexported fields
}
func (ApiListToolsRequest) Execute ¶
func (r ApiListToolsRequest) Execute() (*PaginatedToolList, *http.Response, error)
func (ApiListToolsRequest) Fields ¶
func (r ApiListToolsRequest) Fields(fields string) ApiListToolsRequest
Comma-separated list of field names to include in the response.
func (ApiListToolsRequest) Ordering ¶
func (r ApiListToolsRequest) Ordering(ordering string) ApiListToolsRequest
Which field to use when ordering the results.
func (ApiListToolsRequest) Page ¶
func (r ApiListToolsRequest) Page(page int64) ApiListToolsRequest
A page number within the paginated result set.
func (ApiListToolsRequest) PageSize ¶
func (r ApiListToolsRequest) PageSize(pageSize int64) ApiListToolsRequest
A numeric value that indicates the number of items per page.
func (ApiListToolsRequest) Search ¶
func (r ApiListToolsRequest) Search(search string) ApiListToolsRequest
A search term.
type ApiPartialUpdateChatThreadRequest ¶
type ApiPartialUpdateChatThreadRequest struct {
ApiService *AIStudioChatThreadsAPIService
// contains filtered or unexported fields
}
func (ApiPartialUpdateChatThreadRequest) Execute ¶
func (r ApiPartialUpdateChatThreadRequest) Execute() (*ResponseChatThread, *http.Response, error)
func (ApiPartialUpdateChatThreadRequest) PatchedChatThreadRequest ¶
func (r ApiPartialUpdateChatThreadRequest) PatchedChatThreadRequest(patchedChatThreadRequest PatchedChatThreadRequest) ApiPartialUpdateChatThreadRequest
type ApiPartialUpdateKnowledgeBaseRequest ¶
type ApiPartialUpdateKnowledgeBaseRequest struct {
ApiService *AIStudioKnowledgeBasesAPIService
// contains filtered or unexported fields
}
func (ApiPartialUpdateKnowledgeBaseRequest) Execute ¶
func (r ApiPartialUpdateKnowledgeBaseRequest) Execute() (*ResponseKnowledgeBase, *http.Response, error)
func (ApiPartialUpdateKnowledgeBaseRequest) PatchedKnowledgeBaseRequest ¶
func (r ApiPartialUpdateKnowledgeBaseRequest) PatchedKnowledgeBaseRequest(patchedKnowledgeBaseRequest PatchedKnowledgeBaseRequest) ApiPartialUpdateKnowledgeBaseRequest
type ApiPartialUpdateToolRequest ¶
type ApiPartialUpdateToolRequest struct {
ApiService *AIStudioToolsAPIService
// contains filtered or unexported fields
}
func (ApiPartialUpdateToolRequest) Execute ¶
func (r ApiPartialUpdateToolRequest) Execute() (*ResponseTool, *http.Response, error)
func (ApiPartialUpdateToolRequest) PatchedToolRequest ¶
func (r ApiPartialUpdateToolRequest) PatchedToolRequest(patchedToolRequest PatchedToolRequest) ApiPartialUpdateToolRequest
type ApiQueryChunkFromKnowledgeBaseRequest ¶
type ApiQueryChunkFromKnowledgeBaseRequest struct {
ApiService *AIStudioKnowledgeBasesAPIService
// contains filtered or unexported fields
}
func (ApiQueryChunkFromKnowledgeBaseRequest) Execute ¶
func (r ApiQueryChunkFromKnowledgeBaseRequest) Execute() (*KBQueryResponse, *http.Response, error)
func (ApiQueryChunkFromKnowledgeBaseRequest) KBQueryRequestRequest ¶
func (r ApiQueryChunkFromKnowledgeBaseRequest) KBQueryRequestRequest(kBQueryRequestRequest KBQueryRequestRequest) ApiQueryChunkFromKnowledgeBaseRequest
type ApiRemoveKnowledgeBaseFromAToolRequest ¶
type ApiRemoveKnowledgeBaseFromAToolRequest struct {
ApiService *AIStudioToolsAPIService
// contains filtered or unexported fields
}
type ApiRetriveChatThreadRequest ¶
type ApiRetriveChatThreadRequest struct {
ApiService *AIStudioChatThreadsAPIService
// contains filtered or unexported fields
}
func (ApiRetriveChatThreadRequest) Execute ¶
func (r ApiRetriveChatThreadRequest) Execute() (*ResponseRetrieveChatThread, *http.Response, error)
func (ApiRetriveChatThreadRequest) Fields ¶
func (r ApiRetriveChatThreadRequest) Fields(fields string) ApiRetriveChatThreadRequest
Comma-separated list of field names to include in the response.
type ApiRetriveDocumentRequest ¶
type ApiRetriveDocumentRequest struct {
ApiService *AIStudioDocumentsAPIService
// contains filtered or unexported fields
}
func (ApiRetriveDocumentRequest) Execute ¶
func (r ApiRetriveDocumentRequest) Execute() (*ResponseRetrieveDocument, *http.Response, error)
func (ApiRetriveDocumentRequest) Fields ¶
func (r ApiRetriveDocumentRequest) Fields(fields string) ApiRetriveDocumentRequest
Comma-separated list of field names to include in the response.
type ApiRetriveKnowledgeBaseRequest ¶
type ApiRetriveKnowledgeBaseRequest struct {
ApiService *AIStudioKnowledgeBasesAPIService
// contains filtered or unexported fields
}
func (ApiRetriveKnowledgeBaseRequest) Execute ¶
func (r ApiRetriveKnowledgeBaseRequest) Execute() (*ResponseRetrieveKnowledgeBase, *http.Response, error)
func (ApiRetriveKnowledgeBaseRequest) Fields ¶
func (r ApiRetriveKnowledgeBaseRequest) Fields(fields string) ApiRetriveKnowledgeBaseRequest
Comma-separated list of field names to include in the response.
type ApiRetriveMessageRequest ¶
type ApiRetriveMessageRequest struct {
ApiService *AIStudioMessagesAPIService
// contains filtered or unexported fields
}
func (ApiRetriveMessageRequest) Execute ¶
func (r ApiRetriveMessageRequest) Execute() (*ResponseRetrieveMessage, *http.Response, error)
func (ApiRetriveMessageRequest) Fields ¶
func (r ApiRetriveMessageRequest) Fields(fields string) ApiRetriveMessageRequest
Comma-separated list of field names to include in the response.
type ApiRetriveToolRequest ¶
type ApiRetriveToolRequest struct {
ApiService *AIStudioToolsAPIService
// contains filtered or unexported fields
}
func (ApiRetriveToolRequest) Execute ¶
func (r ApiRetriveToolRequest) Execute() (*ResponseRetrieveTool, *http.Response, error)
func (ApiRetriveToolRequest) Fields ¶
func (r ApiRetriveToolRequest) Fields(fields string) ApiRetriveToolRequest
Comma-separated list of field names to include in the response.
type ApiThreadsCreateRequest ¶
type ApiThreadsCreateRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsCreateRequest) ChatThreadRequest ¶
func (r ApiThreadsCreateRequest) ChatThreadRequest(chatThreadRequest ChatThreadRequest) ApiThreadsCreateRequest
func (ApiThreadsCreateRequest) Execute ¶
func (r ApiThreadsCreateRequest) Execute() (*ResponseChatThread, *http.Response, error)
type ApiThreadsDestroyRequest ¶
type ApiThreadsDestroyRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsDestroyRequest) Execute ¶
func (r ApiThreadsDestroyRequest) Execute() (*ResponseDeleteChatThread, *http.Response, error)
type ApiThreadsListRequest ¶
type ApiThreadsListRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsListRequest) Execute ¶
func (r ApiThreadsListRequest) Execute() (*PaginatedChatThreadList, *http.Response, error)
func (ApiThreadsListRequest) Ordering ¶
func (r ApiThreadsListRequest) Ordering(ordering string) ApiThreadsListRequest
Which field to use when ordering the results.
func (ApiThreadsListRequest) Page ¶
func (r ApiThreadsListRequest) Page(page int64) ApiThreadsListRequest
A page number within the paginated result set.
func (ApiThreadsListRequest) PageSize ¶
func (r ApiThreadsListRequest) PageSize(pageSize int64) ApiThreadsListRequest
A numeric value that indicates the number of items per page.
func (ApiThreadsListRequest) Search ¶
func (r ApiThreadsListRequest) Search(search string) ApiThreadsListRequest
A search term.
type ApiThreadsMessagesCreateRequest ¶
type ApiThreadsMessagesCreateRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsMessagesCreateRequest) Execute ¶
func (r ApiThreadsMessagesCreateRequest) Execute() (*ResponseMessage, *http.Response, error)
func (ApiThreadsMessagesCreateRequest) MessageRequest ¶
func (r ApiThreadsMessagesCreateRequest) MessageRequest(messageRequest MessageRequest) ApiThreadsMessagesCreateRequest
type ApiThreadsMessagesDestroyRequest ¶
type ApiThreadsMessagesDestroyRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsMessagesDestroyRequest) Execute ¶
func (r ApiThreadsMessagesDestroyRequest) Execute() (*ResponseDeleteMessage, *http.Response, error)
type ApiThreadsMessagesListRequest ¶
type ApiThreadsMessagesListRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsMessagesListRequest) Execute ¶
func (r ApiThreadsMessagesListRequest) Execute() (*PaginatedMessageList, *http.Response, error)
func (ApiThreadsMessagesListRequest) Ordering ¶
func (r ApiThreadsMessagesListRequest) Ordering(ordering string) ApiThreadsMessagesListRequest
Which field to use when ordering the results.
func (ApiThreadsMessagesListRequest) Page ¶
func (r ApiThreadsMessagesListRequest) Page(page int64) ApiThreadsMessagesListRequest
A page number within the paginated result set.
func (ApiThreadsMessagesListRequest) PageSize ¶
func (r ApiThreadsMessagesListRequest) PageSize(pageSize int64) ApiThreadsMessagesListRequest
A numeric value that indicates the number of items per page.
func (ApiThreadsMessagesListRequest) Search ¶
func (r ApiThreadsMessagesListRequest) Search(search string) ApiThreadsMessagesListRequest
A search term.
type ApiThreadsMessagesRetrieveRequest ¶
type ApiThreadsMessagesRetrieveRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsMessagesRetrieveRequest) Execute ¶
func (r ApiThreadsMessagesRetrieveRequest) Execute() (*ResponseRetrieveMessage, *http.Response, error)
type ApiThreadsMessagesUpdateRequest ¶
type ApiThreadsMessagesUpdateRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsMessagesUpdateRequest) Execute ¶
func (r ApiThreadsMessagesUpdateRequest) Execute() (*ResponseMessage, *http.Response, error)
func (ApiThreadsMessagesUpdateRequest) MessageRequest ¶
func (r ApiThreadsMessagesUpdateRequest) MessageRequest(messageRequest MessageRequest) ApiThreadsMessagesUpdateRequest
type ApiThreadsPartialUpdateRequest ¶
type ApiThreadsPartialUpdateRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsPartialUpdateRequest) Execute ¶
func (r ApiThreadsPartialUpdateRequest) Execute() (*ResponseChatThread, *http.Response, error)
func (ApiThreadsPartialUpdateRequest) PatchedChatThreadRequest ¶
func (r ApiThreadsPartialUpdateRequest) PatchedChatThreadRequest(patchedChatThreadRequest PatchedChatThreadRequest) ApiThreadsPartialUpdateRequest
type ApiThreadsRetrieveRequest ¶
type ApiThreadsRetrieveRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsRetrieveRequest) Execute ¶
func (r ApiThreadsRetrieveRequest) Execute() (*ResponseRetrieveChatThread, *http.Response, error)
type ApiThreadsUpdateRequest ¶
type ApiThreadsUpdateRequest struct {
ApiService *ThreadsAPIService
// contains filtered or unexported fields
}
func (ApiThreadsUpdateRequest) ChatThreadRequest ¶
func (r ApiThreadsUpdateRequest) ChatThreadRequest(chatThreadRequest ChatThreadRequest) ApiThreadsUpdateRequest
func (ApiThreadsUpdateRequest) Execute ¶
func (r ApiThreadsUpdateRequest) Execute() (*ResponseChatThread, *http.Response, error)
type ApiToolsCreateRequest ¶
type ApiToolsCreateRequest struct {
ApiService *ToolsAPIService
// contains filtered or unexported fields
}
func (ApiToolsCreateRequest) Execute ¶
func (r ApiToolsCreateRequest) Execute() (*ResponseTool, *http.Response, error)
func (ApiToolsCreateRequest) ToolRequest ¶
func (r ApiToolsCreateRequest) ToolRequest(toolRequest ToolRequest) ApiToolsCreateRequest
type ApiToolsDestroyRequest ¶
type ApiToolsDestroyRequest struct {
ApiService *ToolsAPIService
// contains filtered or unexported fields
}
func (ApiToolsDestroyRequest) Execute ¶
func (r ApiToolsDestroyRequest) Execute() (*ResponseDeleteTool, *http.Response, error)
type ApiToolsKbCreateRequest ¶
type ApiToolsKbCreateRequest struct {
ApiService *ToolsAPIService
// contains filtered or unexported fields
}
func (ApiToolsKbCreateRequest) Execute ¶
func (r ApiToolsKbCreateRequest) Execute() (*ToolKBLink, *http.Response, error)
func (ApiToolsKbCreateRequest) ToolRequest ¶
func (r ApiToolsKbCreateRequest) ToolRequest(toolRequest ToolRequest) ApiToolsKbCreateRequest
type ApiToolsKbDestroyRequest ¶
type ApiToolsKbDestroyRequest struct {
ApiService *ToolsAPIService
// contains filtered or unexported fields
}
type ApiToolsKbListRequest ¶
type ApiToolsKbListRequest struct {
ApiService *ToolsAPIService
// contains filtered or unexported fields
}
func (ApiToolsKbListRequest) Execute ¶
func (r ApiToolsKbListRequest) Execute() (*PaginatedKnowledgeBaseList, *http.Response, error)
func (ApiToolsKbListRequest) Ordering ¶
func (r ApiToolsKbListRequest) Ordering(ordering string) ApiToolsKbListRequest
Which field to use when ordering the results.
func (ApiToolsKbListRequest) Page ¶
func (r ApiToolsKbListRequest) Page(page int64) ApiToolsKbListRequest
A page number within the paginated result set.
func (ApiToolsKbListRequest) PageSize ¶
func (r ApiToolsKbListRequest) PageSize(pageSize int64) ApiToolsKbListRequest
Number of results to return per page.
func (ApiToolsKbListRequest) Search ¶
func (r ApiToolsKbListRequest) Search(search string) ApiToolsKbListRequest
A search term.
type ApiToolsListRequest ¶
type ApiToolsListRequest struct {
ApiService *ToolsAPIService
// contains filtered or unexported fields
}
func (ApiToolsListRequest) Execute ¶
func (r ApiToolsListRequest) Execute() (*PaginatedToolList, *http.Response, error)
func (ApiToolsListRequest) Ordering ¶
func (r ApiToolsListRequest) Ordering(ordering string) ApiToolsListRequest
Which field to use when ordering the results.
func (ApiToolsListRequest) Page ¶
func (r ApiToolsListRequest) Page(page int64) ApiToolsListRequest
A page number within the paginated result set.
func (ApiToolsListRequest) PageSize ¶
func (r ApiToolsListRequest) PageSize(pageSize int64) ApiToolsListRequest
A numeric value that indicates the number of items per page.
func (ApiToolsListRequest) Search ¶
func (r ApiToolsListRequest) Search(search string) ApiToolsListRequest
A search term.
type ApiToolsPartialUpdateRequest ¶
type ApiToolsPartialUpdateRequest struct {
ApiService *ToolsAPIService
// contains filtered or unexported fields
}
func (ApiToolsPartialUpdateRequest) Execute ¶
func (r ApiToolsPartialUpdateRequest) Execute() (*ResponseTool, *http.Response, error)
func (ApiToolsPartialUpdateRequest) PatchedToolRequest ¶
func (r ApiToolsPartialUpdateRequest) PatchedToolRequest(patchedToolRequest PatchedToolRequest) ApiToolsPartialUpdateRequest
type ApiToolsRetrieveRequest ¶
type ApiToolsRetrieveRequest struct {
ApiService *ToolsAPIService
// contains filtered or unexported fields
}
func (ApiToolsRetrieveRequest) Execute ¶
func (r ApiToolsRetrieveRequest) Execute() (*ResponseRetrieveTool, *http.Response, error)
type ApiToolsUpdateRequest ¶
type ApiToolsUpdateRequest struct {
ApiService *ToolsAPIService
// contains filtered or unexported fields
}
func (ApiToolsUpdateRequest) Execute ¶
func (r ApiToolsUpdateRequest) Execute() (*ResponseTool, *http.Response, error)
func (ApiToolsUpdateRequest) ToolRequest ¶
func (r ApiToolsUpdateRequest) ToolRequest(toolRequest ToolRequest) ApiToolsUpdateRequest
type ApiUpdateChatThreadRequest ¶
type ApiUpdateChatThreadRequest struct {
ApiService *AIStudioChatThreadsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateChatThreadRequest) ChatThreadRequest ¶
func (r ApiUpdateChatThreadRequest) ChatThreadRequest(chatThreadRequest ChatThreadRequest) ApiUpdateChatThreadRequest
func (ApiUpdateChatThreadRequest) Execute ¶
func (r ApiUpdateChatThreadRequest) Execute() (*ResponseChatThread, *http.Response, error)
type ApiUpdateDocumentRequest ¶
type ApiUpdateDocumentRequest struct {
ApiService *AIStudioDocumentsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateDocumentRequest) ChunkStrategy ¶
func (r ApiUpdateDocumentRequest) ChunkStrategy(chunkStrategy map[string]interface{}) ApiUpdateDocumentRequest
func (ApiUpdateDocumentRequest) Description ¶
func (r ApiUpdateDocumentRequest) Description(description string) ApiUpdateDocumentRequest
func (ApiUpdateDocumentRequest) Execute ¶
func (r ApiUpdateDocumentRequest) Execute() (*ResponseDocument, *http.Response, error)
func (ApiUpdateDocumentRequest) Name ¶
func (r ApiUpdateDocumentRequest) Name(name string) ApiUpdateDocumentRequest
func (ApiUpdateDocumentRequest) SourceUri ¶
func (r ApiUpdateDocumentRequest) SourceUri(sourceUri string) ApiUpdateDocumentRequest
func (ApiUpdateDocumentRequest) Type_ ¶
func (r ApiUpdateDocumentRequest) Type_(type_ string) ApiUpdateDocumentRequest
type ApiUpdateKnowledgeBaseRequest ¶
type ApiUpdateKnowledgeBaseRequest struct {
ApiService *AIStudioKnowledgeBasesAPIService
// contains filtered or unexported fields
}
func (ApiUpdateKnowledgeBaseRequest) Execute ¶
func (r ApiUpdateKnowledgeBaseRequest) Execute() (*ResponseKnowledgeBase, *http.Response, error)
func (ApiUpdateKnowledgeBaseRequest) KnowledgeBaseRequest ¶
func (r ApiUpdateKnowledgeBaseRequest) KnowledgeBaseRequest(knowledgeBaseRequest KnowledgeBaseRequest) ApiUpdateKnowledgeBaseRequest
type ApiUpdateMessageRequest ¶
type ApiUpdateMessageRequest struct {
ApiService *AIStudioMessagesAPIService
// contains filtered or unexported fields
}
func (ApiUpdateMessageRequest) Execute ¶
func (r ApiUpdateMessageRequest) Execute() (*ResponseMessage, *http.Response, error)
func (ApiUpdateMessageRequest) MessageRequest ¶
func (r ApiUpdateMessageRequest) MessageRequest(messageRequest MessageRequest) ApiUpdateMessageRequest
type ApiUpdateToolRequest ¶
type ApiUpdateToolRequest struct {
ApiService *AIStudioToolsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateToolRequest) Execute ¶
func (r ApiUpdateToolRequest) Execute() (*ResponseTool, *http.Response, error)
func (ApiUpdateToolRequest) ToolRequest ¶
func (r ApiUpdateToolRequest) ToolRequest(toolRequest ToolRequest) ApiUpdateToolRequest
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type ChatThread ¶
type ChatThread struct {
ThreadId int64 `json:"thread_id"`
AccountId NullableInt64 `json:"account_id"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
LastModified time.Time `json:"last_modified"`
LastEditor string `json:"last_editor"`
}
ChatThread struct for ChatThread
func NewChatThread ¶
func NewChatThread(threadId int64, accountId NullableInt64, lastModified time.Time, lastEditor string) *ChatThread
NewChatThread instantiates a new ChatThread 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
func NewChatThreadWithDefaults ¶
func NewChatThreadWithDefaults() *ChatThread
NewChatThreadWithDefaults instantiates a new ChatThread 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
func (*ChatThread) GetAccountId ¶
func (o *ChatThread) GetAccountId() int64
GetAccountId returns the AccountId field value If the value is explicit nil, the zero value for int64 will be returned
func (*ChatThread) GetAccountIdOk ¶
func (o *ChatThread) GetAccountIdOk() (*int64, bool)
GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChatThread) GetDescription ¶
func (o *ChatThread) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ChatThread) GetDescriptionOk ¶
func (o *ChatThread) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatThread) GetLastEditor ¶
func (o *ChatThread) GetLastEditor() string
GetLastEditor returns the LastEditor field value
func (*ChatThread) GetLastEditorOk ¶
func (o *ChatThread) GetLastEditorOk() (*string, bool)
GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.
func (*ChatThread) GetLastModified ¶
func (o *ChatThread) GetLastModified() time.Time
GetLastModified returns the LastModified field value
func (*ChatThread) GetLastModifiedOk ¶
func (o *ChatThread) GetLastModifiedOk() (*time.Time, bool)
GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set.
func (*ChatThread) GetName ¶
func (o *ChatThread) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ChatThread) GetNameOk ¶
func (o *ChatThread) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatThread) GetThreadId ¶
func (o *ChatThread) GetThreadId() int64
GetThreadId returns the ThreadId field value
func (*ChatThread) GetThreadIdOk ¶
func (o *ChatThread) GetThreadIdOk() (*int64, bool)
GetThreadIdOk returns a tuple with the ThreadId field value and a boolean to check if the value has been set.
func (*ChatThread) HasDescription ¶
func (o *ChatThread) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ChatThread) HasName ¶
func (o *ChatThread) HasName() bool
HasName returns a boolean if a field has been set.
func (ChatThread) MarshalJSON ¶
func (o ChatThread) MarshalJSON() ([]byte, error)
func (*ChatThread) SetAccountId ¶
func (o *ChatThread) SetAccountId(v int64)
SetAccountId sets field value
func (*ChatThread) SetDescription ¶
func (o *ChatThread) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ChatThread) SetLastEditor ¶
func (o *ChatThread) SetLastEditor(v string)
SetLastEditor sets field value
func (*ChatThread) SetLastModified ¶
func (o *ChatThread) SetLastModified(v time.Time)
SetLastModified sets field value
func (*ChatThread) SetName ¶
func (o *ChatThread) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ChatThread) SetThreadId ¶
func (o *ChatThread) SetThreadId(v int64)
SetThreadId sets field value
func (ChatThread) ToMap ¶
func (o ChatThread) ToMap() (map[string]interface{}, error)
func (*ChatThread) UnmarshalJSON ¶
func (o *ChatThread) UnmarshalJSON(data []byte) (err error)
type ChatThreadRequest ¶
type ChatThreadRequest struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
}
ChatThreadRequest struct for ChatThreadRequest
func NewChatThreadRequest ¶
func NewChatThreadRequest() *ChatThreadRequest
NewChatThreadRequest instantiates a new ChatThreadRequest 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
func NewChatThreadRequestWithDefaults ¶
func NewChatThreadRequestWithDefaults() *ChatThreadRequest
NewChatThreadRequestWithDefaults instantiates a new ChatThreadRequest 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
func (*ChatThreadRequest) GetDescription ¶
func (o *ChatThreadRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ChatThreadRequest) GetDescriptionOk ¶
func (o *ChatThreadRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatThreadRequest) GetName ¶
func (o *ChatThreadRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ChatThreadRequest) GetNameOk ¶
func (o *ChatThreadRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatThreadRequest) HasDescription ¶
func (o *ChatThreadRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ChatThreadRequest) HasName ¶
func (o *ChatThreadRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (ChatThreadRequest) MarshalJSON ¶
func (o ChatThreadRequest) MarshalJSON() ([]byte, error)
func (*ChatThreadRequest) SetDescription ¶
func (o *ChatThreadRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ChatThreadRequest) SetName ¶
func (o *ChatThreadRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (ChatThreadRequest) ToMap ¶
func (o ChatThreadRequest) ToMap() (map[string]interface{}, error)
type Chunk ¶
type Chunk struct {
ChunkId int64 `json:"chunk_id"`
DocumentId int64 `json:"document_id"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Embedding map[string]interface{} `json:"embedding,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Content string `json:"content"`
}
Chunk struct for Chunk
func NewChunk ¶
NewChunk instantiates a new Chunk 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
func NewChunkWithDefaults ¶
func NewChunkWithDefaults() *Chunk
NewChunkWithDefaults instantiates a new Chunk 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
func (*Chunk) GetChunkId ¶
GetChunkId returns the ChunkId field value
func (*Chunk) GetChunkIdOk ¶
GetChunkIdOk returns a tuple with the ChunkId field value and a boolean to check if the value has been set.
func (*Chunk) GetContent ¶
GetContent returns the Content field value
func (*Chunk) GetContentOk ¶
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*Chunk) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Chunk) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chunk) GetDocumentId ¶
GetDocumentId returns the DocumentId field value
func (*Chunk) GetDocumentIdOk ¶
GetDocumentIdOk returns a tuple with the DocumentId field value and a boolean to check if the value has been set.
func (*Chunk) GetEmbedding ¶
GetEmbedding returns the Embedding field value if set, zero value otherwise.
func (*Chunk) GetEmbeddingOk ¶
GetEmbeddingOk returns a tuple with the Embedding field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chunk) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Chunk) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chunk) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chunk) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Chunk) HasEmbedding ¶
HasEmbedding returns a boolean if a field has been set.
func (*Chunk) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (Chunk) MarshalJSON ¶
func (*Chunk) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Chunk) SetEmbedding ¶
SetEmbedding gets a reference to the given map[string]interface{} and assigns it to the Embedding field.
func (*Chunk) SetMetadata ¶
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*Chunk) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Chunk) UnmarshalJSON ¶
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Document ¶
type Document struct {
DocumentId int64 `json:"document_id"`
KbId int64 `json:"kb_id"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Type *string `json:"type,omitempty"`
SourceUri *string `json:"source_uri,omitempty"`
ChunkStrategy map[string]interface{} `json:"chunk_strategy,omitempty"`
// * `queued` - queued * `processing` - processing * `indexed` - indexed
Status string `json:"status"`
LastModified time.Time `json:"last_modified"`
LastEditor string `json:"last_editor"`
}
Document struct for Document
func NewDocument ¶
func NewDocument(documentId int64, kbId int64, status string, lastModified time.Time, lastEditor string) *Document
NewDocument instantiates a new Document 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
func NewDocumentWithDefaults ¶
func NewDocumentWithDefaults() *Document
NewDocumentWithDefaults instantiates a new Document 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
func (*Document) GetChunkStrategy ¶
GetChunkStrategy returns the ChunkStrategy field value if set, zero value otherwise.
func (*Document) GetChunkStrategyOk ¶
GetChunkStrategyOk returns a tuple with the ChunkStrategy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Document) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Document) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Document) GetDocumentId ¶
GetDocumentId returns the DocumentId field value
func (*Document) GetDocumentIdOk ¶
GetDocumentIdOk returns a tuple with the DocumentId field value and a boolean to check if the value has been set.
func (*Document) GetKbIdOk ¶
GetKbIdOk returns a tuple with the KbId field value and a boolean to check if the value has been set.
func (*Document) GetLastEditor ¶
GetLastEditor returns the LastEditor field value
func (*Document) GetLastEditorOk ¶
GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.
func (*Document) GetLastModified ¶
GetLastModified returns the LastModified field value
func (*Document) GetLastModifiedOk ¶
GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set.
func (*Document) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Document) GetSourceUri ¶
GetSourceUri returns the SourceUri field value if set, zero value otherwise.
func (*Document) GetSourceUriOk ¶
GetSourceUriOk returns a tuple with the SourceUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Document) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Document) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Document) HasChunkStrategy ¶
HasChunkStrategy returns a boolean if a field has been set.
func (*Document) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Document) HasSourceUri ¶
HasSourceUri returns a boolean if a field has been set.
func (Document) MarshalJSON ¶
func (*Document) SetChunkStrategy ¶
SetChunkStrategy gets a reference to the given map[string]interface{} and assigns it to the ChunkStrategy field.
func (*Document) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Document) SetDocumentId ¶
SetDocumentId sets field value
func (*Document) SetLastEditor ¶
SetLastEditor sets field value
func (*Document) SetLastModified ¶
SetLastModified sets field value
func (*Document) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Document) SetSourceUri ¶
SetSourceUri gets a reference to the given string and assigns it to the SourceUri field.
func (*Document) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Document) UnmarshalJSON ¶
type DocumentRequest ¶
type DocumentRequest struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Type *string `json:"type,omitempty"`
SourceUri *string `json:"source_uri,omitempty"`
ChunkStrategy map[string]interface{} `json:"chunk_strategy,omitempty"`
}
DocumentRequest struct for DocumentRequest
func NewDocumentRequest ¶
func NewDocumentRequest() *DocumentRequest
NewDocumentRequest instantiates a new DocumentRequest 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
func NewDocumentRequestWithDefaults ¶
func NewDocumentRequestWithDefaults() *DocumentRequest
NewDocumentRequestWithDefaults instantiates a new DocumentRequest 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
func (*DocumentRequest) GetChunkStrategy ¶
func (o *DocumentRequest) GetChunkStrategy() map[string]interface{}
GetChunkStrategy returns the ChunkStrategy field value if set, zero value otherwise.
func (*DocumentRequest) GetChunkStrategyOk ¶
func (o *DocumentRequest) GetChunkStrategyOk() (map[string]interface{}, bool)
GetChunkStrategyOk returns a tuple with the ChunkStrategy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocumentRequest) GetDescription ¶
func (o *DocumentRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DocumentRequest) GetDescriptionOk ¶
func (o *DocumentRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocumentRequest) GetName ¶
func (o *DocumentRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*DocumentRequest) GetNameOk ¶
func (o *DocumentRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocumentRequest) GetSourceUri ¶
func (o *DocumentRequest) GetSourceUri() string
GetSourceUri returns the SourceUri field value if set, zero value otherwise.
func (*DocumentRequest) GetSourceUriOk ¶
func (o *DocumentRequest) GetSourceUriOk() (*string, bool)
GetSourceUriOk returns a tuple with the SourceUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocumentRequest) GetType ¶
func (o *DocumentRequest) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*DocumentRequest) GetTypeOk ¶
func (o *DocumentRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocumentRequest) HasChunkStrategy ¶
func (o *DocumentRequest) HasChunkStrategy() bool
HasChunkStrategy returns a boolean if a field has been set.
func (*DocumentRequest) HasDescription ¶
func (o *DocumentRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*DocumentRequest) HasName ¶
func (o *DocumentRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*DocumentRequest) HasSourceUri ¶
func (o *DocumentRequest) HasSourceUri() bool
HasSourceUri returns a boolean if a field has been set.
func (*DocumentRequest) HasType ¶
func (o *DocumentRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (DocumentRequest) MarshalJSON ¶
func (o DocumentRequest) MarshalJSON() ([]byte, error)
func (*DocumentRequest) SetChunkStrategy ¶
func (o *DocumentRequest) SetChunkStrategy(v map[string]interface{})
SetChunkStrategy gets a reference to the given map[string]interface{} and assigns it to the ChunkStrategy field.
func (*DocumentRequest) SetDescription ¶
func (o *DocumentRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DocumentRequest) SetName ¶
func (o *DocumentRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*DocumentRequest) SetSourceUri ¶
func (o *DocumentRequest) SetSourceUri(v string)
SetSourceUri gets a reference to the given string and assigns it to the SourceUri field.
func (*DocumentRequest) SetType ¶
func (o *DocumentRequest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (DocumentRequest) ToMap ¶
func (o DocumentRequest) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type JSONAPIErrorObject ¶
type JSONAPIErrorObject struct {
// The HTTP status code applicable to this problem
Status *string `json:"status,omitempty"`
// An application-specific error code
Code *string `json:"code,omitempty"`
// A short, human-readable summary of the problem
Title *string `json:"title,omitempty"`
// A human-readable explanation specific to this occurrence of the problem
Detail *string `json:"detail,omitempty"`
// References to the primary source of the error
Source *JSONAPIErrorSource `json:"source,omitempty"`
// Non-standard meta-information about the error
Meta map[string]interface{} `json:"meta,omitempty"`
}
JSONAPIErrorObject Serializer for a single JSON:API error object.
func NewJSONAPIErrorObject ¶
func NewJSONAPIErrorObject() *JSONAPIErrorObject
NewJSONAPIErrorObject instantiates a new JSONAPIErrorObject 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
func NewJSONAPIErrorObjectWithDefaults ¶
func NewJSONAPIErrorObjectWithDefaults() *JSONAPIErrorObject
NewJSONAPIErrorObjectWithDefaults instantiates a new JSONAPIErrorObject 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
func (*JSONAPIErrorObject) GetCode ¶
func (o *JSONAPIErrorObject) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetCodeOk ¶
func (o *JSONAPIErrorObject) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetDetail ¶
func (o *JSONAPIErrorObject) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetDetailOk ¶
func (o *JSONAPIErrorObject) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetMeta ¶
func (o *JSONAPIErrorObject) GetMeta() map[string]interface{}
GetMeta returns the Meta field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetMetaOk ¶
func (o *JSONAPIErrorObject) GetMetaOk() (map[string]interface{}, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetSource ¶
func (o *JSONAPIErrorObject) GetSource() JSONAPIErrorSource
GetSource returns the Source field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetSourceOk ¶
func (o *JSONAPIErrorObject) GetSourceOk() (*JSONAPIErrorSource, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetStatus ¶
func (o *JSONAPIErrorObject) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetStatusOk ¶
func (o *JSONAPIErrorObject) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) GetTitle ¶
func (o *JSONAPIErrorObject) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*JSONAPIErrorObject) GetTitleOk ¶
func (o *JSONAPIErrorObject) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorObject) HasCode ¶
func (o *JSONAPIErrorObject) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasDetail ¶
func (o *JSONAPIErrorObject) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasMeta ¶
func (o *JSONAPIErrorObject) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasSource ¶
func (o *JSONAPIErrorObject) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasStatus ¶
func (o *JSONAPIErrorObject) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*JSONAPIErrorObject) HasTitle ¶
func (o *JSONAPIErrorObject) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (JSONAPIErrorObject) MarshalJSON ¶
func (o JSONAPIErrorObject) MarshalJSON() ([]byte, error)
func (*JSONAPIErrorObject) SetCode ¶
func (o *JSONAPIErrorObject) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*JSONAPIErrorObject) SetDetail ¶
func (o *JSONAPIErrorObject) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*JSONAPIErrorObject) SetMeta ¶
func (o *JSONAPIErrorObject) SetMeta(v map[string]interface{})
SetMeta gets a reference to the given map[string]interface{} and assigns it to the Meta field.
func (*JSONAPIErrorObject) SetSource ¶
func (o *JSONAPIErrorObject) SetSource(v JSONAPIErrorSource)
SetSource gets a reference to the given JSONAPIErrorSource and assigns it to the Source field.
func (*JSONAPIErrorObject) SetStatus ¶
func (o *JSONAPIErrorObject) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*JSONAPIErrorObject) SetTitle ¶
func (o *JSONAPIErrorObject) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (JSONAPIErrorObject) ToMap ¶
func (o JSONAPIErrorObject) ToMap() (map[string]interface{}, error)
type JSONAPIErrorResponse ¶
type JSONAPIErrorResponse struct {
// Array of error objects
Errors []JSONAPIErrorObject `json:"errors"`
}
JSONAPIErrorResponse Serializer for a JSON:API error response.
func NewJSONAPIErrorResponse ¶
func NewJSONAPIErrorResponse(errors []JSONAPIErrorObject) *JSONAPIErrorResponse
NewJSONAPIErrorResponse instantiates a new JSONAPIErrorResponse 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
func NewJSONAPIErrorResponseWithDefaults ¶
func NewJSONAPIErrorResponseWithDefaults() *JSONAPIErrorResponse
NewJSONAPIErrorResponseWithDefaults instantiates a new JSONAPIErrorResponse 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
func (*JSONAPIErrorResponse) GetErrors ¶
func (o *JSONAPIErrorResponse) GetErrors() []JSONAPIErrorObject
GetErrors returns the Errors field value
func (*JSONAPIErrorResponse) GetErrorsOk ¶
func (o *JSONAPIErrorResponse) GetErrorsOk() ([]JSONAPIErrorObject, bool)
GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.
func (JSONAPIErrorResponse) MarshalJSON ¶
func (o JSONAPIErrorResponse) MarshalJSON() ([]byte, error)
func (*JSONAPIErrorResponse) SetErrors ¶
func (o *JSONAPIErrorResponse) SetErrors(v []JSONAPIErrorObject)
SetErrors sets field value
func (JSONAPIErrorResponse) ToMap ¶
func (o JSONAPIErrorResponse) ToMap() (map[string]interface{}, error)
func (*JSONAPIErrorResponse) UnmarshalJSON ¶
func (o *JSONAPIErrorResponse) UnmarshalJSON(data []byte) (err error)
type JSONAPIErrorSource ¶
type JSONAPIErrorSource struct {
// JSON Pointer to the value in the request document that caused the error
Pointer *string `json:"pointer,omitempty"`
// URI query parameter that caused the error
Parameter *string `json:"parameter,omitempty"`
// Request header name that caused the error
Header *string `json:"header,omitempty"`
}
JSONAPIErrorSource Serializer for the 'source' object in a JSON:API error.
func NewJSONAPIErrorSource ¶
func NewJSONAPIErrorSource() *JSONAPIErrorSource
NewJSONAPIErrorSource instantiates a new JSONAPIErrorSource 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
func NewJSONAPIErrorSourceWithDefaults ¶
func NewJSONAPIErrorSourceWithDefaults() *JSONAPIErrorSource
NewJSONAPIErrorSourceWithDefaults instantiates a new JSONAPIErrorSource 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
func (*JSONAPIErrorSource) GetHeader ¶
func (o *JSONAPIErrorSource) GetHeader() string
GetHeader returns the Header field value if set, zero value otherwise.
func (*JSONAPIErrorSource) GetHeaderOk ¶
func (o *JSONAPIErrorSource) GetHeaderOk() (*string, bool)
GetHeaderOk returns a tuple with the Header field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorSource) GetParameter ¶
func (o *JSONAPIErrorSource) GetParameter() string
GetParameter returns the Parameter field value if set, zero value otherwise.
func (*JSONAPIErrorSource) GetParameterOk ¶
func (o *JSONAPIErrorSource) GetParameterOk() (*string, bool)
GetParameterOk returns a tuple with the Parameter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorSource) GetPointer ¶
func (o *JSONAPIErrorSource) GetPointer() string
GetPointer returns the Pointer field value if set, zero value otherwise.
func (*JSONAPIErrorSource) GetPointerOk ¶
func (o *JSONAPIErrorSource) GetPointerOk() (*string, bool)
GetPointerOk returns a tuple with the Pointer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JSONAPIErrorSource) HasHeader ¶
func (o *JSONAPIErrorSource) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (*JSONAPIErrorSource) HasParameter ¶
func (o *JSONAPIErrorSource) HasParameter() bool
HasParameter returns a boolean if a field has been set.
func (*JSONAPIErrorSource) HasPointer ¶
func (o *JSONAPIErrorSource) HasPointer() bool
HasPointer returns a boolean if a field has been set.
func (JSONAPIErrorSource) MarshalJSON ¶
func (o JSONAPIErrorSource) MarshalJSON() ([]byte, error)
func (*JSONAPIErrorSource) SetHeader ¶
func (o *JSONAPIErrorSource) SetHeader(v string)
SetHeader gets a reference to the given string and assigns it to the Header field.
func (*JSONAPIErrorSource) SetParameter ¶
func (o *JSONAPIErrorSource) SetParameter(v string)
SetParameter gets a reference to the given string and assigns it to the Parameter field.
func (*JSONAPIErrorSource) SetPointer ¶
func (o *JSONAPIErrorSource) SetPointer(v string)
SetPointer gets a reference to the given string and assigns it to the Pointer field.
func (JSONAPIErrorSource) ToMap ¶
func (o JSONAPIErrorSource) ToMap() (map[string]interface{}, error)
type KBAskRequestRequest ¶
type KBAskRequestRequest struct {
Question string `json:"question"`
TopK *int64 `json:"top_k,omitempty"`
Model NullableString `json:"model,omitempty"`
}
KBAskRequestRequest struct for KBAskRequestRequest
func NewKBAskRequestRequest ¶
func NewKBAskRequestRequest(question string) *KBAskRequestRequest
NewKBAskRequestRequest instantiates a new KBAskRequestRequest 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
func NewKBAskRequestRequestWithDefaults ¶
func NewKBAskRequestRequestWithDefaults() *KBAskRequestRequest
NewKBAskRequestRequestWithDefaults instantiates a new KBAskRequestRequest 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
func (*KBAskRequestRequest) GetModel ¶
func (o *KBAskRequestRequest) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*KBAskRequestRequest) GetModelOk ¶
func (o *KBAskRequestRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*KBAskRequestRequest) GetQuestion ¶
func (o *KBAskRequestRequest) GetQuestion() string
GetQuestion returns the Question field value
func (*KBAskRequestRequest) GetQuestionOk ¶
func (o *KBAskRequestRequest) GetQuestionOk() (*string, bool)
GetQuestionOk returns a tuple with the Question field value and a boolean to check if the value has been set.
func (*KBAskRequestRequest) GetTopK ¶
func (o *KBAskRequestRequest) GetTopK() int64
GetTopK returns the TopK field value if set, zero value otherwise.
func (*KBAskRequestRequest) GetTopKOk ¶
func (o *KBAskRequestRequest) GetTopKOk() (*int64, bool)
GetTopKOk returns a tuple with the TopK field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KBAskRequestRequest) HasModel ¶
func (o *KBAskRequestRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*KBAskRequestRequest) HasTopK ¶
func (o *KBAskRequestRequest) HasTopK() bool
HasTopK returns a boolean if a field has been set.
func (KBAskRequestRequest) MarshalJSON ¶
func (o KBAskRequestRequest) MarshalJSON() ([]byte, error)
func (*KBAskRequestRequest) SetModel ¶
func (o *KBAskRequestRequest) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*KBAskRequestRequest) SetModelNil ¶
func (o *KBAskRequestRequest) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*KBAskRequestRequest) SetQuestion ¶
func (o *KBAskRequestRequest) SetQuestion(v string)
SetQuestion sets field value
func (*KBAskRequestRequest) SetTopK ¶
func (o *KBAskRequestRequest) SetTopK(v int64)
SetTopK gets a reference to the given int64 and assigns it to the TopK field.
func (KBAskRequestRequest) ToMap ¶
func (o KBAskRequestRequest) ToMap() (map[string]interface{}, error)
func (*KBAskRequestRequest) UnmarshalJSON ¶
func (o *KBAskRequestRequest) UnmarshalJSON(data []byte) (err error)
func (*KBAskRequestRequest) UnsetModel ¶
func (o *KBAskRequestRequest) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
type KBAskResponse ¶
type KBAskResponse struct {
Answer string `json:"answer"`
Context []KBQueryResult `json:"context"`
}
KBAskResponse struct for KBAskResponse
func NewKBAskResponse ¶
func NewKBAskResponse(answer string, context []KBQueryResult) *KBAskResponse
NewKBAskResponse instantiates a new KBAskResponse 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
func NewKBAskResponseWithDefaults ¶
func NewKBAskResponseWithDefaults() *KBAskResponse
NewKBAskResponseWithDefaults instantiates a new KBAskResponse 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
func (*KBAskResponse) GetAnswer ¶
func (o *KBAskResponse) GetAnswer() string
GetAnswer returns the Answer field value
func (*KBAskResponse) GetAnswerOk ¶
func (o *KBAskResponse) GetAnswerOk() (*string, bool)
GetAnswerOk returns a tuple with the Answer field value and a boolean to check if the value has been set.
func (*KBAskResponse) GetContext ¶
func (o *KBAskResponse) GetContext() []KBQueryResult
GetContext returns the Context field value
func (*KBAskResponse) GetContextOk ¶
func (o *KBAskResponse) GetContextOk() ([]KBQueryResult, bool)
GetContextOk returns a tuple with the Context field value and a boolean to check if the value has been set.
func (KBAskResponse) MarshalJSON ¶
func (o KBAskResponse) MarshalJSON() ([]byte, error)
func (*KBAskResponse) SetAnswer ¶
func (o *KBAskResponse) SetAnswer(v string)
SetAnswer sets field value
func (*KBAskResponse) SetContext ¶
func (o *KBAskResponse) SetContext(v []KBQueryResult)
SetContext sets field value
func (KBAskResponse) ToMap ¶
func (o KBAskResponse) ToMap() (map[string]interface{}, error)
func (*KBAskResponse) UnmarshalJSON ¶
func (o *KBAskResponse) UnmarshalJSON(data []byte) (err error)
type KBQueryRequestRequest ¶
type KBQueryRequestRequest struct {
Query string `json:"query"`
TopK *int64 `json:"top_k,omitempty"`
}
KBQueryRequestRequest struct for KBQueryRequestRequest
func NewKBQueryRequestRequest ¶
func NewKBQueryRequestRequest(query string) *KBQueryRequestRequest
NewKBQueryRequestRequest instantiates a new KBQueryRequestRequest 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
func NewKBQueryRequestRequestWithDefaults ¶
func NewKBQueryRequestRequestWithDefaults() *KBQueryRequestRequest
NewKBQueryRequestRequestWithDefaults instantiates a new KBQueryRequestRequest 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
func (*KBQueryRequestRequest) GetQuery ¶
func (o *KBQueryRequestRequest) GetQuery() string
GetQuery returns the Query field value
func (*KBQueryRequestRequest) GetQueryOk ¶
func (o *KBQueryRequestRequest) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (*KBQueryRequestRequest) GetTopK ¶
func (o *KBQueryRequestRequest) GetTopK() int64
GetTopK returns the TopK field value if set, zero value otherwise.
func (*KBQueryRequestRequest) GetTopKOk ¶
func (o *KBQueryRequestRequest) GetTopKOk() (*int64, bool)
GetTopKOk returns a tuple with the TopK field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KBQueryRequestRequest) HasTopK ¶
func (o *KBQueryRequestRequest) HasTopK() bool
HasTopK returns a boolean if a field has been set.
func (KBQueryRequestRequest) MarshalJSON ¶
func (o KBQueryRequestRequest) MarshalJSON() ([]byte, error)
func (*KBQueryRequestRequest) SetQuery ¶
func (o *KBQueryRequestRequest) SetQuery(v string)
SetQuery sets field value
func (*KBQueryRequestRequest) SetTopK ¶
func (o *KBQueryRequestRequest) SetTopK(v int64)
SetTopK gets a reference to the given int64 and assigns it to the TopK field.
func (KBQueryRequestRequest) ToMap ¶
func (o KBQueryRequestRequest) ToMap() (map[string]interface{}, error)
func (*KBQueryRequestRequest) UnmarshalJSON ¶
func (o *KBQueryRequestRequest) UnmarshalJSON(data []byte) (err error)
type KBQueryResponse ¶
type KBQueryResponse struct {
Results []KBQueryResult `json:"results"`
}
KBQueryResponse struct for KBQueryResponse
func NewKBQueryResponse ¶
func NewKBQueryResponse(results []KBQueryResult) *KBQueryResponse
NewKBQueryResponse instantiates a new KBQueryResponse 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
func NewKBQueryResponseWithDefaults ¶
func NewKBQueryResponseWithDefaults() *KBQueryResponse
NewKBQueryResponseWithDefaults instantiates a new KBQueryResponse 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
func (*KBQueryResponse) GetResults ¶
func (o *KBQueryResponse) GetResults() []KBQueryResult
GetResults returns the Results field value
func (*KBQueryResponse) GetResultsOk ¶
func (o *KBQueryResponse) GetResultsOk() ([]KBQueryResult, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (KBQueryResponse) MarshalJSON ¶
func (o KBQueryResponse) MarshalJSON() ([]byte, error)
func (*KBQueryResponse) SetResults ¶
func (o *KBQueryResponse) SetResults(v []KBQueryResult)
SetResults sets field value
func (KBQueryResponse) ToMap ¶
func (o KBQueryResponse) ToMap() (map[string]interface{}, error)
func (*KBQueryResponse) UnmarshalJSON ¶
func (o *KBQueryResponse) UnmarshalJSON(data []byte) (err error)
type KBQueryResult ¶
type KBQueryResult struct {
ChunkId string `json:"chunk_id"`
Title string `json:"title"`
Content string `json:"content"`
Source string `json:"source"`
Similarity NullableFloat64 `json:"similarity,omitempty"`
SearchType string `json:"search_type"`
}
KBQueryResult struct for KBQueryResult
func NewKBQueryResult ¶
func NewKBQueryResult(chunkId string, title string, content string, source string, searchType string) *KBQueryResult
NewKBQueryResult instantiates a new KBQueryResult 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
func NewKBQueryResultWithDefaults ¶
func NewKBQueryResultWithDefaults() *KBQueryResult
NewKBQueryResultWithDefaults instantiates a new KBQueryResult 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
func (*KBQueryResult) GetChunkId ¶
func (o *KBQueryResult) GetChunkId() string
GetChunkId returns the ChunkId field value
func (*KBQueryResult) GetChunkIdOk ¶
func (o *KBQueryResult) GetChunkIdOk() (*string, bool)
GetChunkIdOk returns a tuple with the ChunkId field value and a boolean to check if the value has been set.
func (*KBQueryResult) GetContent ¶
func (o *KBQueryResult) GetContent() string
GetContent returns the Content field value
func (*KBQueryResult) GetContentOk ¶
func (o *KBQueryResult) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*KBQueryResult) GetSearchType ¶
func (o *KBQueryResult) GetSearchType() string
GetSearchType returns the SearchType field value
func (*KBQueryResult) GetSearchTypeOk ¶
func (o *KBQueryResult) GetSearchTypeOk() (*string, bool)
GetSearchTypeOk returns a tuple with the SearchType field value and a boolean to check if the value has been set.
func (*KBQueryResult) GetSimilarity ¶
func (o *KBQueryResult) GetSimilarity() float64
GetSimilarity returns the Similarity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*KBQueryResult) GetSimilarityOk ¶
func (o *KBQueryResult) GetSimilarityOk() (*float64, bool)
GetSimilarityOk returns a tuple with the Similarity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*KBQueryResult) GetSource ¶
func (o *KBQueryResult) GetSource() string
GetSource returns the Source field value
func (*KBQueryResult) GetSourceOk ¶
func (o *KBQueryResult) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (*KBQueryResult) GetTitle ¶
func (o *KBQueryResult) GetTitle() string
GetTitle returns the Title field value
func (*KBQueryResult) GetTitleOk ¶
func (o *KBQueryResult) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*KBQueryResult) HasSimilarity ¶
func (o *KBQueryResult) HasSimilarity() bool
HasSimilarity returns a boolean if a field has been set.
func (KBQueryResult) MarshalJSON ¶
func (o KBQueryResult) MarshalJSON() ([]byte, error)
func (*KBQueryResult) SetChunkId ¶
func (o *KBQueryResult) SetChunkId(v string)
SetChunkId sets field value
func (*KBQueryResult) SetContent ¶
func (o *KBQueryResult) SetContent(v string)
SetContent sets field value
func (*KBQueryResult) SetSearchType ¶
func (o *KBQueryResult) SetSearchType(v string)
SetSearchType sets field value
func (*KBQueryResult) SetSimilarity ¶
func (o *KBQueryResult) SetSimilarity(v float64)
SetSimilarity gets a reference to the given NullableFloat64 and assigns it to the Similarity field.
func (*KBQueryResult) SetSimilarityNil ¶
func (o *KBQueryResult) SetSimilarityNil()
SetSimilarityNil sets the value for Similarity to be an explicit nil
func (*KBQueryResult) SetSource ¶
func (o *KBQueryResult) SetSource(v string)
SetSource sets field value
func (*KBQueryResult) SetTitle ¶
func (o *KBQueryResult) SetTitle(v string)
SetTitle sets field value
func (KBQueryResult) ToMap ¶
func (o KBQueryResult) ToMap() (map[string]interface{}, error)
func (*KBQueryResult) UnmarshalJSON ¶
func (o *KBQueryResult) UnmarshalJSON(data []byte) (err error)
func (*KBQueryResult) UnsetSimilarity ¶
func (o *KBQueryResult) UnsetSimilarity()
UnsetSimilarity ensures that no value is present for Similarity, not even an explicit nil
type KbAPIService ¶
type KbAPIService service
KbAPIService KbAPI service
func (*KbAPIService) KbCreate ¶
func (a *KbAPIService) KbCreate(ctx context.Context) ApiKbCreateRequest
KbCreate Method for KbCreate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiKbCreateRequest
func (*KbAPIService) KbCreateExecute ¶
func (a *KbAPIService) KbCreateExecute(r ApiKbCreateRequest) (*ResponseKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseKnowledgeBase
func (*KbAPIService) KbDestroy ¶
func (a *KbAPIService) KbDestroy(ctx context.Context, kbId string) ApiKbDestroyRequest
KbDestroy Method for KbDestroy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId A UUID string identifying this knowledge base. @return ApiKbDestroyRequest
func (*KbAPIService) KbDestroyExecute ¶
func (a *KbAPIService) KbDestroyExecute(r ApiKbDestroyRequest) (*ResponseDeleteKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseDeleteKnowledgeBase
func (*KbAPIService) KbDocumentsChunksList ¶
func (a *KbAPIService) KbDocumentsChunksList(ctx context.Context, documentId string, kbId string) ApiKbDocumentsChunksListRequest
KbDocumentsChunksList Method for KbDocumentsChunksList
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param documentId @param kbId @return ApiKbDocumentsChunksListRequest
func (*KbAPIService) KbDocumentsChunksListExecute ¶
func (a *KbAPIService) KbDocumentsChunksListExecute(r ApiKbDocumentsChunksListRequest) (*PaginatedChunkList, *http.Response, error)
Execute executes the request
@return PaginatedChunkList
func (*KbAPIService) KbDocumentsCreate ¶
func (a *KbAPIService) KbDocumentsCreate(ctx context.Context, kbId string) ApiKbDocumentsCreateRequest
KbDocumentsCreate Method for KbDocumentsCreate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiKbDocumentsCreateRequest
func (*KbAPIService) KbDocumentsCreateExecute ¶
func (a *KbAPIService) KbDocumentsCreateExecute(r ApiKbDocumentsCreateRequest) (*ResponseDocument, *http.Response, error)
Execute executes the request
@return ResponseDocument
func (*KbAPIService) KbDocumentsDestroy ¶
func (a *KbAPIService) KbDocumentsDestroy(ctx context.Context, documentId string, kbId string) ApiKbDocumentsDestroyRequest
KbDocumentsDestroy Method for KbDocumentsDestroy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param documentId @param kbId @return ApiKbDocumentsDestroyRequest
func (*KbAPIService) KbDocumentsDestroyExecute ¶
func (a *KbAPIService) KbDocumentsDestroyExecute(r ApiKbDocumentsDestroyRequest) (*ResponseDeleteDocument, *http.Response, error)
Execute executes the request
@return ResponseDeleteDocument
func (*KbAPIService) KbDocumentsList ¶
func (a *KbAPIService) KbDocumentsList(ctx context.Context, kbId string) ApiKbDocumentsListRequest
KbDocumentsList Method for KbDocumentsList
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @return ApiKbDocumentsListRequest
func (*KbAPIService) KbDocumentsListExecute ¶
func (a *KbAPIService) KbDocumentsListExecute(r ApiKbDocumentsListRequest) (*PaginatedDocumentList, *http.Response, error)
Execute executes the request
@return PaginatedDocumentList
func (*KbAPIService) KbDocumentsRetrieve ¶
func (a *KbAPIService) KbDocumentsRetrieve(ctx context.Context, documentId string, kbId string) ApiKbDocumentsRetrieveRequest
KbDocumentsRetrieve Method for KbDocumentsRetrieve
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param documentId @param kbId @return ApiKbDocumentsRetrieveRequest
func (*KbAPIService) KbDocumentsRetrieveExecute ¶
func (a *KbAPIService) KbDocumentsRetrieveExecute(r ApiKbDocumentsRetrieveRequest) (*ResponseRetrieveDocument, *http.Response, error)
Execute executes the request
@return ResponseRetrieveDocument
func (*KbAPIService) KbDocumentsUpdate ¶
func (a *KbAPIService) KbDocumentsUpdate(ctx context.Context, documentId string, kbId string) ApiKbDocumentsUpdateRequest
KbDocumentsUpdate Method for KbDocumentsUpdate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param documentId @param kbId @return ApiKbDocumentsUpdateRequest
func (*KbAPIService) KbDocumentsUpdateExecute ¶
func (a *KbAPIService) KbDocumentsUpdateExecute(r ApiKbDocumentsUpdateRequest) (*ResponseDocument, *http.Response, error)
Execute executes the request
@return ResponseDocument
func (*KbAPIService) KbList ¶
func (a *KbAPIService) KbList(ctx context.Context) ApiKbListRequest
KbList Method for KbList
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiKbListRequest
func (*KbAPIService) KbListExecute ¶
func (a *KbAPIService) KbListExecute(r ApiKbListRequest) (*PaginatedKnowledgeBaseList, *http.Response, error)
Execute executes the request
@return PaginatedKnowledgeBaseList
func (*KbAPIService) KbPartialUpdate ¶
func (a *KbAPIService) KbPartialUpdate(ctx context.Context, kbId string) ApiKbPartialUpdateRequest
KbPartialUpdate Method for KbPartialUpdate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId A UUID string identifying this knowledge base. @return ApiKbPartialUpdateRequest
func (*KbAPIService) KbPartialUpdateExecute ¶
func (a *KbAPIService) KbPartialUpdateExecute(r ApiKbPartialUpdateRequest) (*ResponseKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseKnowledgeBase
func (*KbAPIService) KbRetrieve ¶
func (a *KbAPIService) KbRetrieve(ctx context.Context, kbId string) ApiKbRetrieveRequest
KbRetrieve Method for KbRetrieve
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId A UUID string identifying this knowledge base. @return ApiKbRetrieveRequest
func (*KbAPIService) KbRetrieveExecute ¶
func (a *KbAPIService) KbRetrieveExecute(r ApiKbRetrieveRequest) (*ResponseRetrieveKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseRetrieveKnowledgeBase
func (*KbAPIService) KbUpdate ¶
func (a *KbAPIService) KbUpdate(ctx context.Context, kbId string) ApiKbUpdateRequest
KbUpdate Method for KbUpdate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId A UUID string identifying this knowledge base. @return ApiKbUpdateRequest
func (*KbAPIService) KbUpdateExecute ¶
func (a *KbAPIService) KbUpdateExecute(r ApiKbUpdateRequest) (*ResponseKnowledgeBase, *http.Response, error)
Execute executes the request
@return ResponseKnowledgeBase
type KnowledgeBase ¶
type KnowledgeBase struct {
KbId int64 `json:"kb_id"`
AccountId NullableInt64 `json:"account_id"`
Name string `json:"name"`
Description *string `json:"description,omitempty"`
// * `text-embedding-3-small` - text-embedding-3-small
EmbeddingModel *string `json:"embedding_model,omitempty"`
SqlId string `json:"sql_id"`
SqlDbName string `json:"sql_db_name"`
StorageName string `json:"storage_name"`
LastModified time.Time `json:"last_modified"`
LastEditor string `json:"last_editor"`
}
KnowledgeBase struct for KnowledgeBase
func NewKnowledgeBase ¶
func NewKnowledgeBase(kbId int64, accountId NullableInt64, name string, sqlId string, sqlDbName string, storageName string, lastModified time.Time, lastEditor string) *KnowledgeBase
NewKnowledgeBase instantiates a new KnowledgeBase 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
func NewKnowledgeBaseWithDefaults ¶
func NewKnowledgeBaseWithDefaults() *KnowledgeBase
NewKnowledgeBaseWithDefaults instantiates a new KnowledgeBase 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
func (*KnowledgeBase) GetAccountId ¶
func (o *KnowledgeBase) GetAccountId() int64
GetAccountId returns the AccountId field value If the value is explicit nil, the zero value for int64 will be returned
func (*KnowledgeBase) GetAccountIdOk ¶
func (o *KnowledgeBase) GetAccountIdOk() (*int64, bool)
GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*KnowledgeBase) GetDescription ¶
func (o *KnowledgeBase) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*KnowledgeBase) GetDescriptionOk ¶
func (o *KnowledgeBase) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnowledgeBase) GetEmbeddingModel ¶
func (o *KnowledgeBase) GetEmbeddingModel() string
GetEmbeddingModel returns the EmbeddingModel field value if set, zero value otherwise.
func (*KnowledgeBase) GetEmbeddingModelOk ¶
func (o *KnowledgeBase) GetEmbeddingModelOk() (*string, bool)
GetEmbeddingModelOk returns a tuple with the EmbeddingModel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnowledgeBase) GetKbId ¶
func (o *KnowledgeBase) GetKbId() int64
GetKbId returns the KbId field value
func (*KnowledgeBase) GetKbIdOk ¶
func (o *KnowledgeBase) GetKbIdOk() (*int64, bool)
GetKbIdOk returns a tuple with the KbId field value and a boolean to check if the value has been set.
func (*KnowledgeBase) GetLastEditor ¶
func (o *KnowledgeBase) GetLastEditor() string
GetLastEditor returns the LastEditor field value
func (*KnowledgeBase) GetLastEditorOk ¶
func (o *KnowledgeBase) GetLastEditorOk() (*string, bool)
GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.
func (*KnowledgeBase) GetLastModified ¶
func (o *KnowledgeBase) GetLastModified() time.Time
GetLastModified returns the LastModified field value
func (*KnowledgeBase) GetLastModifiedOk ¶
func (o *KnowledgeBase) GetLastModifiedOk() (*time.Time, bool)
GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set.
func (*KnowledgeBase) GetName ¶
func (o *KnowledgeBase) GetName() string
GetName returns the Name field value
func (*KnowledgeBase) GetNameOk ¶
func (o *KnowledgeBase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*KnowledgeBase) GetSqlDbName ¶
func (o *KnowledgeBase) GetSqlDbName() string
GetSqlDbName returns the SqlDbName field value
func (*KnowledgeBase) GetSqlDbNameOk ¶
func (o *KnowledgeBase) GetSqlDbNameOk() (*string, bool)
GetSqlDbNameOk returns a tuple with the SqlDbName field value and a boolean to check if the value has been set.
func (*KnowledgeBase) GetSqlId ¶
func (o *KnowledgeBase) GetSqlId() string
GetSqlId returns the SqlId field value
func (*KnowledgeBase) GetSqlIdOk ¶
func (o *KnowledgeBase) GetSqlIdOk() (*string, bool)
GetSqlIdOk returns a tuple with the SqlId field value and a boolean to check if the value has been set.
func (*KnowledgeBase) GetStorageName ¶
func (o *KnowledgeBase) GetStorageName() string
GetStorageName returns the StorageName field value
func (*KnowledgeBase) GetStorageNameOk ¶
func (o *KnowledgeBase) GetStorageNameOk() (*string, bool)
GetStorageNameOk returns a tuple with the StorageName field value and a boolean to check if the value has been set.
func (*KnowledgeBase) HasDescription ¶
func (o *KnowledgeBase) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*KnowledgeBase) HasEmbeddingModel ¶
func (o *KnowledgeBase) HasEmbeddingModel() bool
HasEmbeddingModel returns a boolean if a field has been set.
func (KnowledgeBase) MarshalJSON ¶
func (o KnowledgeBase) MarshalJSON() ([]byte, error)
func (*KnowledgeBase) SetAccountId ¶
func (o *KnowledgeBase) SetAccountId(v int64)
SetAccountId sets field value
func (*KnowledgeBase) SetDescription ¶
func (o *KnowledgeBase) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*KnowledgeBase) SetEmbeddingModel ¶
func (o *KnowledgeBase) SetEmbeddingModel(v string)
SetEmbeddingModel gets a reference to the given string and assigns it to the EmbeddingModel field.
func (*KnowledgeBase) SetLastEditor ¶
func (o *KnowledgeBase) SetLastEditor(v string)
SetLastEditor sets field value
func (*KnowledgeBase) SetLastModified ¶
func (o *KnowledgeBase) SetLastModified(v time.Time)
SetLastModified sets field value
func (*KnowledgeBase) SetSqlDbName ¶
func (o *KnowledgeBase) SetSqlDbName(v string)
SetSqlDbName sets field value
func (*KnowledgeBase) SetSqlId ¶
func (o *KnowledgeBase) SetSqlId(v string)
SetSqlId sets field value
func (*KnowledgeBase) SetStorageName ¶
func (o *KnowledgeBase) SetStorageName(v string)
SetStorageName sets field value
func (KnowledgeBase) ToMap ¶
func (o KnowledgeBase) ToMap() (map[string]interface{}, error)
func (*KnowledgeBase) UnmarshalJSON ¶
func (o *KnowledgeBase) UnmarshalJSON(data []byte) (err error)
type KnowledgeBaseRequest ¶
type KnowledgeBaseRequest struct {
Name string `json:"name"`
Description *string `json:"description,omitempty"`
// * `text-embedding-3-small` - text-embedding-3-small
EmbeddingModel *string `json:"embedding_model,omitempty"`
}
KnowledgeBaseRequest struct for KnowledgeBaseRequest
func NewKnowledgeBaseRequest ¶
func NewKnowledgeBaseRequest(name string) *KnowledgeBaseRequest
NewKnowledgeBaseRequest instantiates a new KnowledgeBaseRequest 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
func NewKnowledgeBaseRequestWithDefaults ¶
func NewKnowledgeBaseRequestWithDefaults() *KnowledgeBaseRequest
NewKnowledgeBaseRequestWithDefaults instantiates a new KnowledgeBaseRequest 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
func (*KnowledgeBaseRequest) GetDescription ¶
func (o *KnowledgeBaseRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*KnowledgeBaseRequest) GetDescriptionOk ¶
func (o *KnowledgeBaseRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnowledgeBaseRequest) GetEmbeddingModel ¶
func (o *KnowledgeBaseRequest) GetEmbeddingModel() string
GetEmbeddingModel returns the EmbeddingModel field value if set, zero value otherwise.
func (*KnowledgeBaseRequest) GetEmbeddingModelOk ¶
func (o *KnowledgeBaseRequest) GetEmbeddingModelOk() (*string, bool)
GetEmbeddingModelOk returns a tuple with the EmbeddingModel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KnowledgeBaseRequest) GetName ¶
func (o *KnowledgeBaseRequest) GetName() string
GetName returns the Name field value
func (*KnowledgeBaseRequest) GetNameOk ¶
func (o *KnowledgeBaseRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*KnowledgeBaseRequest) HasDescription ¶
func (o *KnowledgeBaseRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*KnowledgeBaseRequest) HasEmbeddingModel ¶
func (o *KnowledgeBaseRequest) HasEmbeddingModel() bool
HasEmbeddingModel returns a boolean if a field has been set.
func (KnowledgeBaseRequest) MarshalJSON ¶
func (o KnowledgeBaseRequest) MarshalJSON() ([]byte, error)
func (*KnowledgeBaseRequest) SetDescription ¶
func (o *KnowledgeBaseRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*KnowledgeBaseRequest) SetEmbeddingModel ¶
func (o *KnowledgeBaseRequest) SetEmbeddingModel(v string)
SetEmbeddingModel gets a reference to the given string and assigns it to the EmbeddingModel field.
func (*KnowledgeBaseRequest) SetName ¶
func (o *KnowledgeBaseRequest) SetName(v string)
SetName sets field value
func (KnowledgeBaseRequest) ToMap ¶
func (o KnowledgeBaseRequest) ToMap() (map[string]interface{}, error)
func (*KnowledgeBaseRequest) UnmarshalJSON ¶
func (o *KnowledgeBaseRequest) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type Message ¶
type Message struct {
MessageId int64 `json:"message_id"`
ThreadId int64 `json:"thread_id"`
LastEditor string `json:"last_editor"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Message map[string]interface{} `json:"message"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
LastModified time.Time `json:"last_modified"`
}
Message struct for Message
func NewMessage ¶
func NewMessage(messageId int64, threadId int64, lastEditor string, message map[string]interface{}, lastModified time.Time) *Message
NewMessage instantiates a new Message 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
func NewMessageWithDefaults ¶
func NewMessageWithDefaults() *Message
NewMessageWithDefaults instantiates a new Message 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
func (*Message) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Message) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Message) GetLastEditor ¶
GetLastEditor returns the LastEditor field value
func (*Message) GetLastEditorOk ¶
GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.
func (*Message) GetLastModified ¶
GetLastModified returns the LastModified field value
func (*Message) GetLastModifiedOk ¶
GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set.
func (*Message) GetMessage ¶
GetMessage returns the Message field value
func (*Message) GetMessageId ¶
GetMessageId returns the MessageId field value
func (*Message) GetMessageIdOk ¶
GetMessageIdOk returns a tuple with the MessageId field value and a boolean to check if the value has been set.
func (*Message) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Message) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Message) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Message) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Message) GetThreadId ¶
GetThreadId returns the ThreadId field value
func (*Message) GetThreadIdOk ¶
GetThreadIdOk returns a tuple with the ThreadId field value and a boolean to check if the value has been set.
func (*Message) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Message) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (Message) MarshalJSON ¶
func (*Message) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Message) SetLastEditor ¶
SetLastEditor sets field value
func (*Message) SetLastModified ¶
SetLastModified sets field value
func (*Message) SetMessage ¶
SetMessage sets field value
func (*Message) SetMessageId ¶
SetMessageId sets field value
func (*Message) SetMetadata ¶
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*Message) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Message) UnmarshalJSON ¶
type MessageRequest ¶
type MessageRequest struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Message map[string]interface{} `json:"message"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
}
MessageRequest struct for MessageRequest
func NewMessageRequest ¶
func NewMessageRequest(message map[string]interface{}) *MessageRequest
NewMessageRequest instantiates a new MessageRequest 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
func NewMessageRequestWithDefaults ¶
func NewMessageRequestWithDefaults() *MessageRequest
NewMessageRequestWithDefaults instantiates a new MessageRequest 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
func (*MessageRequest) GetDescription ¶
func (o *MessageRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MessageRequest) GetDescriptionOk ¶
func (o *MessageRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageRequest) GetMessage ¶
func (o *MessageRequest) GetMessage() map[string]interface{}
GetMessage returns the Message field value
func (*MessageRequest) GetMessageOk ¶
func (o *MessageRequest) GetMessageOk() (map[string]interface{}, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*MessageRequest) GetMetadata ¶
func (o *MessageRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*MessageRequest) GetMetadataOk ¶
func (o *MessageRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageRequest) GetName ¶
func (o *MessageRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*MessageRequest) GetNameOk ¶
func (o *MessageRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageRequest) HasDescription ¶
func (o *MessageRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*MessageRequest) HasMetadata ¶
func (o *MessageRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*MessageRequest) HasName ¶
func (o *MessageRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (MessageRequest) MarshalJSON ¶
func (o MessageRequest) MarshalJSON() ([]byte, error)
func (*MessageRequest) SetDescription ¶
func (o *MessageRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MessageRequest) SetMessage ¶
func (o *MessageRequest) SetMessage(v map[string]interface{})
SetMessage sets field value
func (*MessageRequest) SetMetadata ¶
func (o *MessageRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*MessageRequest) SetName ¶
func (o *MessageRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (MessageRequest) ToMap ¶
func (o MessageRequest) ToMap() (map[string]interface{}, error)
func (*MessageRequest) UnmarshalJSON ¶
func (o *MessageRequest) UnmarshalJSON(data []byte) (err error)
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableChatThread ¶
type NullableChatThread struct {
// contains filtered or unexported fields
}
func NewNullableChatThread ¶
func NewNullableChatThread(val *ChatThread) *NullableChatThread
func (NullableChatThread) Get ¶
func (v NullableChatThread) Get() *ChatThread
func (NullableChatThread) IsSet ¶
func (v NullableChatThread) IsSet() bool
func (NullableChatThread) MarshalJSON ¶
func (v NullableChatThread) MarshalJSON() ([]byte, error)
func (*NullableChatThread) Set ¶
func (v *NullableChatThread) Set(val *ChatThread)
func (*NullableChatThread) UnmarshalJSON ¶
func (v *NullableChatThread) UnmarshalJSON(src []byte) error
func (*NullableChatThread) Unset ¶
func (v *NullableChatThread) Unset()
type NullableChatThreadRequest ¶
type NullableChatThreadRequest struct {
// contains filtered or unexported fields
}
func NewNullableChatThreadRequest ¶
func NewNullableChatThreadRequest(val *ChatThreadRequest) *NullableChatThreadRequest
func (NullableChatThreadRequest) Get ¶
func (v NullableChatThreadRequest) Get() *ChatThreadRequest
func (NullableChatThreadRequest) IsSet ¶
func (v NullableChatThreadRequest) IsSet() bool
func (NullableChatThreadRequest) MarshalJSON ¶
func (v NullableChatThreadRequest) MarshalJSON() ([]byte, error)
func (*NullableChatThreadRequest) Set ¶
func (v *NullableChatThreadRequest) Set(val *ChatThreadRequest)
func (*NullableChatThreadRequest) UnmarshalJSON ¶
func (v *NullableChatThreadRequest) UnmarshalJSON(src []byte) error
func (*NullableChatThreadRequest) Unset ¶
func (v *NullableChatThreadRequest) Unset()
type NullableChunk ¶
type NullableChunk struct {
// contains filtered or unexported fields
}
func NewNullableChunk ¶
func NewNullableChunk(val *Chunk) *NullableChunk
func (NullableChunk) Get ¶
func (v NullableChunk) Get() *Chunk
func (NullableChunk) IsSet ¶
func (v NullableChunk) IsSet() bool
func (NullableChunk) MarshalJSON ¶
func (v NullableChunk) MarshalJSON() ([]byte, error)
func (*NullableChunk) Set ¶
func (v *NullableChunk) Set(val *Chunk)
func (*NullableChunk) UnmarshalJSON ¶
func (v *NullableChunk) UnmarshalJSON(src []byte) error
func (*NullableChunk) Unset ¶
func (v *NullableChunk) Unset()
type NullableDocument ¶
type NullableDocument struct {
// contains filtered or unexported fields
}
func NewNullableDocument ¶
func NewNullableDocument(val *Document) *NullableDocument
func (NullableDocument) Get ¶
func (v NullableDocument) Get() *Document
func (NullableDocument) IsSet ¶
func (v NullableDocument) IsSet() bool
func (NullableDocument) MarshalJSON ¶
func (v NullableDocument) MarshalJSON() ([]byte, error)
func (*NullableDocument) Set ¶
func (v *NullableDocument) Set(val *Document)
func (*NullableDocument) UnmarshalJSON ¶
func (v *NullableDocument) UnmarshalJSON(src []byte) error
func (*NullableDocument) Unset ¶
func (v *NullableDocument) Unset()
type NullableDocumentRequest ¶
type NullableDocumentRequest struct {
// contains filtered or unexported fields
}
func NewNullableDocumentRequest ¶
func NewNullableDocumentRequest(val *DocumentRequest) *NullableDocumentRequest
func (NullableDocumentRequest) Get ¶
func (v NullableDocumentRequest) Get() *DocumentRequest
func (NullableDocumentRequest) IsSet ¶
func (v NullableDocumentRequest) IsSet() bool
func (NullableDocumentRequest) MarshalJSON ¶
func (v NullableDocumentRequest) MarshalJSON() ([]byte, error)
func (*NullableDocumentRequest) Set ¶
func (v *NullableDocumentRequest) Set(val *DocumentRequest)
func (*NullableDocumentRequest) UnmarshalJSON ¶
func (v *NullableDocumentRequest) UnmarshalJSON(src []byte) error
func (*NullableDocumentRequest) Unset ¶
func (v *NullableDocumentRequest) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableJSONAPIErrorObject ¶
type NullableJSONAPIErrorObject struct {
// contains filtered or unexported fields
}
func NewNullableJSONAPIErrorObject ¶
func NewNullableJSONAPIErrorObject(val *JSONAPIErrorObject) *NullableJSONAPIErrorObject
func (NullableJSONAPIErrorObject) Get ¶
func (v NullableJSONAPIErrorObject) Get() *JSONAPIErrorObject
func (NullableJSONAPIErrorObject) IsSet ¶
func (v NullableJSONAPIErrorObject) IsSet() bool
func (NullableJSONAPIErrorObject) MarshalJSON ¶
func (v NullableJSONAPIErrorObject) MarshalJSON() ([]byte, error)
func (*NullableJSONAPIErrorObject) Set ¶
func (v *NullableJSONAPIErrorObject) Set(val *JSONAPIErrorObject)
func (*NullableJSONAPIErrorObject) UnmarshalJSON ¶
func (v *NullableJSONAPIErrorObject) UnmarshalJSON(src []byte) error
func (*NullableJSONAPIErrorObject) Unset ¶
func (v *NullableJSONAPIErrorObject) Unset()
type NullableJSONAPIErrorResponse ¶
type NullableJSONAPIErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableJSONAPIErrorResponse ¶
func NewNullableJSONAPIErrorResponse(val *JSONAPIErrorResponse) *NullableJSONAPIErrorResponse
func (NullableJSONAPIErrorResponse) Get ¶
func (v NullableJSONAPIErrorResponse) Get() *JSONAPIErrorResponse
func (NullableJSONAPIErrorResponse) IsSet ¶
func (v NullableJSONAPIErrorResponse) IsSet() bool
func (NullableJSONAPIErrorResponse) MarshalJSON ¶
func (v NullableJSONAPIErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableJSONAPIErrorResponse) Set ¶
func (v *NullableJSONAPIErrorResponse) Set(val *JSONAPIErrorResponse)
func (*NullableJSONAPIErrorResponse) UnmarshalJSON ¶
func (v *NullableJSONAPIErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableJSONAPIErrorResponse) Unset ¶
func (v *NullableJSONAPIErrorResponse) Unset()
type NullableJSONAPIErrorSource ¶
type NullableJSONAPIErrorSource struct {
// contains filtered or unexported fields
}
func NewNullableJSONAPIErrorSource ¶
func NewNullableJSONAPIErrorSource(val *JSONAPIErrorSource) *NullableJSONAPIErrorSource
func (NullableJSONAPIErrorSource) Get ¶
func (v NullableJSONAPIErrorSource) Get() *JSONAPIErrorSource
func (NullableJSONAPIErrorSource) IsSet ¶
func (v NullableJSONAPIErrorSource) IsSet() bool
func (NullableJSONAPIErrorSource) MarshalJSON ¶
func (v NullableJSONAPIErrorSource) MarshalJSON() ([]byte, error)
func (*NullableJSONAPIErrorSource) Set ¶
func (v *NullableJSONAPIErrorSource) Set(val *JSONAPIErrorSource)
func (*NullableJSONAPIErrorSource) UnmarshalJSON ¶
func (v *NullableJSONAPIErrorSource) UnmarshalJSON(src []byte) error
func (*NullableJSONAPIErrorSource) Unset ¶
func (v *NullableJSONAPIErrorSource) Unset()
type NullableKBAskRequestRequest ¶
type NullableKBAskRequestRequest struct {
// contains filtered or unexported fields
}
func NewNullableKBAskRequestRequest ¶
func NewNullableKBAskRequestRequest(val *KBAskRequestRequest) *NullableKBAskRequestRequest
func (NullableKBAskRequestRequest) Get ¶
func (v NullableKBAskRequestRequest) Get() *KBAskRequestRequest
func (NullableKBAskRequestRequest) IsSet ¶
func (v NullableKBAskRequestRequest) IsSet() bool
func (NullableKBAskRequestRequest) MarshalJSON ¶
func (v NullableKBAskRequestRequest) MarshalJSON() ([]byte, error)
func (*NullableKBAskRequestRequest) Set ¶
func (v *NullableKBAskRequestRequest) Set(val *KBAskRequestRequest)
func (*NullableKBAskRequestRequest) UnmarshalJSON ¶
func (v *NullableKBAskRequestRequest) UnmarshalJSON(src []byte) error
func (*NullableKBAskRequestRequest) Unset ¶
func (v *NullableKBAskRequestRequest) Unset()
type NullableKBAskResponse ¶
type NullableKBAskResponse struct {
// contains filtered or unexported fields
}
func NewNullableKBAskResponse ¶
func NewNullableKBAskResponse(val *KBAskResponse) *NullableKBAskResponse
func (NullableKBAskResponse) Get ¶
func (v NullableKBAskResponse) Get() *KBAskResponse
func (NullableKBAskResponse) IsSet ¶
func (v NullableKBAskResponse) IsSet() bool
func (NullableKBAskResponse) MarshalJSON ¶
func (v NullableKBAskResponse) MarshalJSON() ([]byte, error)
func (*NullableKBAskResponse) Set ¶
func (v *NullableKBAskResponse) Set(val *KBAskResponse)
func (*NullableKBAskResponse) UnmarshalJSON ¶
func (v *NullableKBAskResponse) UnmarshalJSON(src []byte) error
func (*NullableKBAskResponse) Unset ¶
func (v *NullableKBAskResponse) Unset()
type NullableKBQueryRequestRequest ¶
type NullableKBQueryRequestRequest struct {
// contains filtered or unexported fields
}
func NewNullableKBQueryRequestRequest ¶
func NewNullableKBQueryRequestRequest(val *KBQueryRequestRequest) *NullableKBQueryRequestRequest
func (NullableKBQueryRequestRequest) Get ¶
func (v NullableKBQueryRequestRequest) Get() *KBQueryRequestRequest
func (NullableKBQueryRequestRequest) IsSet ¶
func (v NullableKBQueryRequestRequest) IsSet() bool
func (NullableKBQueryRequestRequest) MarshalJSON ¶
func (v NullableKBQueryRequestRequest) MarshalJSON() ([]byte, error)
func (*NullableKBQueryRequestRequest) Set ¶
func (v *NullableKBQueryRequestRequest) Set(val *KBQueryRequestRequest)
func (*NullableKBQueryRequestRequest) UnmarshalJSON ¶
func (v *NullableKBQueryRequestRequest) UnmarshalJSON(src []byte) error
func (*NullableKBQueryRequestRequest) Unset ¶
func (v *NullableKBQueryRequestRequest) Unset()
type NullableKBQueryResponse ¶
type NullableKBQueryResponse struct {
// contains filtered or unexported fields
}
func NewNullableKBQueryResponse ¶
func NewNullableKBQueryResponse(val *KBQueryResponse) *NullableKBQueryResponse
func (NullableKBQueryResponse) Get ¶
func (v NullableKBQueryResponse) Get() *KBQueryResponse
func (NullableKBQueryResponse) IsSet ¶
func (v NullableKBQueryResponse) IsSet() bool
func (NullableKBQueryResponse) MarshalJSON ¶
func (v NullableKBQueryResponse) MarshalJSON() ([]byte, error)
func (*NullableKBQueryResponse) Set ¶
func (v *NullableKBQueryResponse) Set(val *KBQueryResponse)
func (*NullableKBQueryResponse) UnmarshalJSON ¶
func (v *NullableKBQueryResponse) UnmarshalJSON(src []byte) error
func (*NullableKBQueryResponse) Unset ¶
func (v *NullableKBQueryResponse) Unset()
type NullableKBQueryResult ¶
type NullableKBQueryResult struct {
// contains filtered or unexported fields
}
func NewNullableKBQueryResult ¶
func NewNullableKBQueryResult(val *KBQueryResult) *NullableKBQueryResult
func (NullableKBQueryResult) Get ¶
func (v NullableKBQueryResult) Get() *KBQueryResult
func (NullableKBQueryResult) IsSet ¶
func (v NullableKBQueryResult) IsSet() bool
func (NullableKBQueryResult) MarshalJSON ¶
func (v NullableKBQueryResult) MarshalJSON() ([]byte, error)
func (*NullableKBQueryResult) Set ¶
func (v *NullableKBQueryResult) Set(val *KBQueryResult)
func (*NullableKBQueryResult) UnmarshalJSON ¶
func (v *NullableKBQueryResult) UnmarshalJSON(src []byte) error
func (*NullableKBQueryResult) Unset ¶
func (v *NullableKBQueryResult) Unset()
type NullableKnowledgeBase ¶
type NullableKnowledgeBase struct {
// contains filtered or unexported fields
}
func NewNullableKnowledgeBase ¶
func NewNullableKnowledgeBase(val *KnowledgeBase) *NullableKnowledgeBase
func (NullableKnowledgeBase) Get ¶
func (v NullableKnowledgeBase) Get() *KnowledgeBase
func (NullableKnowledgeBase) IsSet ¶
func (v NullableKnowledgeBase) IsSet() bool
func (NullableKnowledgeBase) MarshalJSON ¶
func (v NullableKnowledgeBase) MarshalJSON() ([]byte, error)
func (*NullableKnowledgeBase) Set ¶
func (v *NullableKnowledgeBase) Set(val *KnowledgeBase)
func (*NullableKnowledgeBase) UnmarshalJSON ¶
func (v *NullableKnowledgeBase) UnmarshalJSON(src []byte) error
func (*NullableKnowledgeBase) Unset ¶
func (v *NullableKnowledgeBase) Unset()
type NullableKnowledgeBaseRequest ¶
type NullableKnowledgeBaseRequest struct {
// contains filtered or unexported fields
}
func NewNullableKnowledgeBaseRequest ¶
func NewNullableKnowledgeBaseRequest(val *KnowledgeBaseRequest) *NullableKnowledgeBaseRequest
func (NullableKnowledgeBaseRequest) Get ¶
func (v NullableKnowledgeBaseRequest) Get() *KnowledgeBaseRequest
func (NullableKnowledgeBaseRequest) IsSet ¶
func (v NullableKnowledgeBaseRequest) IsSet() bool
func (NullableKnowledgeBaseRequest) MarshalJSON ¶
func (v NullableKnowledgeBaseRequest) MarshalJSON() ([]byte, error)
func (*NullableKnowledgeBaseRequest) Set ¶
func (v *NullableKnowledgeBaseRequest) Set(val *KnowledgeBaseRequest)
func (*NullableKnowledgeBaseRequest) UnmarshalJSON ¶
func (v *NullableKnowledgeBaseRequest) UnmarshalJSON(src []byte) error
func (*NullableKnowledgeBaseRequest) Unset ¶
func (v *NullableKnowledgeBaseRequest) Unset()
type NullableMessage ¶
type NullableMessage struct {
// contains filtered or unexported fields
}
func NewNullableMessage ¶
func NewNullableMessage(val *Message) *NullableMessage
func (NullableMessage) Get ¶
func (v NullableMessage) Get() *Message
func (NullableMessage) IsSet ¶
func (v NullableMessage) IsSet() bool
func (NullableMessage) MarshalJSON ¶
func (v NullableMessage) MarshalJSON() ([]byte, error)
func (*NullableMessage) Set ¶
func (v *NullableMessage) Set(val *Message)
func (*NullableMessage) UnmarshalJSON ¶
func (v *NullableMessage) UnmarshalJSON(src []byte) error
func (*NullableMessage) Unset ¶
func (v *NullableMessage) Unset()
type NullableMessageRequest ¶
type NullableMessageRequest struct {
// contains filtered or unexported fields
}
func NewNullableMessageRequest ¶
func NewNullableMessageRequest(val *MessageRequest) *NullableMessageRequest
func (NullableMessageRequest) Get ¶
func (v NullableMessageRequest) Get() *MessageRequest
func (NullableMessageRequest) IsSet ¶
func (v NullableMessageRequest) IsSet() bool
func (NullableMessageRequest) MarshalJSON ¶
func (v NullableMessageRequest) MarshalJSON() ([]byte, error)
func (*NullableMessageRequest) Set ¶
func (v *NullableMessageRequest) Set(val *MessageRequest)
func (*NullableMessageRequest) UnmarshalJSON ¶
func (v *NullableMessageRequest) UnmarshalJSON(src []byte) error
func (*NullableMessageRequest) Unset ¶
func (v *NullableMessageRequest) Unset()
type NullablePaginatedChatThreadList ¶
type NullablePaginatedChatThreadList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedChatThreadList ¶
func NewNullablePaginatedChatThreadList(val *PaginatedChatThreadList) *NullablePaginatedChatThreadList
func (NullablePaginatedChatThreadList) Get ¶
func (v NullablePaginatedChatThreadList) Get() *PaginatedChatThreadList
func (NullablePaginatedChatThreadList) IsSet ¶
func (v NullablePaginatedChatThreadList) IsSet() bool
func (NullablePaginatedChatThreadList) MarshalJSON ¶
func (v NullablePaginatedChatThreadList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedChatThreadList) Set ¶
func (v *NullablePaginatedChatThreadList) Set(val *PaginatedChatThreadList)
func (*NullablePaginatedChatThreadList) UnmarshalJSON ¶
func (v *NullablePaginatedChatThreadList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedChatThreadList) Unset ¶
func (v *NullablePaginatedChatThreadList) Unset()
type NullablePaginatedChunkList ¶
type NullablePaginatedChunkList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedChunkList ¶
func NewNullablePaginatedChunkList(val *PaginatedChunkList) *NullablePaginatedChunkList
func (NullablePaginatedChunkList) Get ¶
func (v NullablePaginatedChunkList) Get() *PaginatedChunkList
func (NullablePaginatedChunkList) IsSet ¶
func (v NullablePaginatedChunkList) IsSet() bool
func (NullablePaginatedChunkList) MarshalJSON ¶
func (v NullablePaginatedChunkList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedChunkList) Set ¶
func (v *NullablePaginatedChunkList) Set(val *PaginatedChunkList)
func (*NullablePaginatedChunkList) UnmarshalJSON ¶
func (v *NullablePaginatedChunkList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedChunkList) Unset ¶
func (v *NullablePaginatedChunkList) Unset()
type NullablePaginatedDocumentList ¶
type NullablePaginatedDocumentList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedDocumentList ¶
func NewNullablePaginatedDocumentList(val *PaginatedDocumentList) *NullablePaginatedDocumentList
func (NullablePaginatedDocumentList) Get ¶
func (v NullablePaginatedDocumentList) Get() *PaginatedDocumentList
func (NullablePaginatedDocumentList) IsSet ¶
func (v NullablePaginatedDocumentList) IsSet() bool
func (NullablePaginatedDocumentList) MarshalJSON ¶
func (v NullablePaginatedDocumentList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedDocumentList) Set ¶
func (v *NullablePaginatedDocumentList) Set(val *PaginatedDocumentList)
func (*NullablePaginatedDocumentList) UnmarshalJSON ¶
func (v *NullablePaginatedDocumentList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedDocumentList) Unset ¶
func (v *NullablePaginatedDocumentList) Unset()
type NullablePaginatedKnowledgeBaseList ¶
type NullablePaginatedKnowledgeBaseList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedKnowledgeBaseList ¶
func NewNullablePaginatedKnowledgeBaseList(val *PaginatedKnowledgeBaseList) *NullablePaginatedKnowledgeBaseList
func (NullablePaginatedKnowledgeBaseList) Get ¶
func (v NullablePaginatedKnowledgeBaseList) Get() *PaginatedKnowledgeBaseList
func (NullablePaginatedKnowledgeBaseList) IsSet ¶
func (v NullablePaginatedKnowledgeBaseList) IsSet() bool
func (NullablePaginatedKnowledgeBaseList) MarshalJSON ¶
func (v NullablePaginatedKnowledgeBaseList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedKnowledgeBaseList) Set ¶
func (v *NullablePaginatedKnowledgeBaseList) Set(val *PaginatedKnowledgeBaseList)
func (*NullablePaginatedKnowledgeBaseList) UnmarshalJSON ¶
func (v *NullablePaginatedKnowledgeBaseList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedKnowledgeBaseList) Unset ¶
func (v *NullablePaginatedKnowledgeBaseList) Unset()
type NullablePaginatedMessageList ¶
type NullablePaginatedMessageList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedMessageList ¶
func NewNullablePaginatedMessageList(val *PaginatedMessageList) *NullablePaginatedMessageList
func (NullablePaginatedMessageList) Get ¶
func (v NullablePaginatedMessageList) Get() *PaginatedMessageList
func (NullablePaginatedMessageList) IsSet ¶
func (v NullablePaginatedMessageList) IsSet() bool
func (NullablePaginatedMessageList) MarshalJSON ¶
func (v NullablePaginatedMessageList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedMessageList) Set ¶
func (v *NullablePaginatedMessageList) Set(val *PaginatedMessageList)
func (*NullablePaginatedMessageList) UnmarshalJSON ¶
func (v *NullablePaginatedMessageList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedMessageList) Unset ¶
func (v *NullablePaginatedMessageList) Unset()
type NullablePaginatedToolList ¶
type NullablePaginatedToolList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedToolList ¶
func NewNullablePaginatedToolList(val *PaginatedToolList) *NullablePaginatedToolList
func (NullablePaginatedToolList) Get ¶
func (v NullablePaginatedToolList) Get() *PaginatedToolList
func (NullablePaginatedToolList) IsSet ¶
func (v NullablePaginatedToolList) IsSet() bool
func (NullablePaginatedToolList) MarshalJSON ¶
func (v NullablePaginatedToolList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedToolList) Set ¶
func (v *NullablePaginatedToolList) Set(val *PaginatedToolList)
func (*NullablePaginatedToolList) UnmarshalJSON ¶
func (v *NullablePaginatedToolList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedToolList) Unset ¶
func (v *NullablePaginatedToolList) Unset()
type NullablePatchedChatThreadRequest ¶
type NullablePatchedChatThreadRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchedChatThreadRequest ¶
func NewNullablePatchedChatThreadRequest(val *PatchedChatThreadRequest) *NullablePatchedChatThreadRequest
func (NullablePatchedChatThreadRequest) Get ¶
func (v NullablePatchedChatThreadRequest) Get() *PatchedChatThreadRequest
func (NullablePatchedChatThreadRequest) IsSet ¶
func (v NullablePatchedChatThreadRequest) IsSet() bool
func (NullablePatchedChatThreadRequest) MarshalJSON ¶
func (v NullablePatchedChatThreadRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchedChatThreadRequest) Set ¶
func (v *NullablePatchedChatThreadRequest) Set(val *PatchedChatThreadRequest)
func (*NullablePatchedChatThreadRequest) UnmarshalJSON ¶
func (v *NullablePatchedChatThreadRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchedChatThreadRequest) Unset ¶
func (v *NullablePatchedChatThreadRequest) Unset()
type NullablePatchedKnowledgeBaseRequest ¶
type NullablePatchedKnowledgeBaseRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchedKnowledgeBaseRequest ¶
func NewNullablePatchedKnowledgeBaseRequest(val *PatchedKnowledgeBaseRequest) *NullablePatchedKnowledgeBaseRequest
func (NullablePatchedKnowledgeBaseRequest) Get ¶
func (v NullablePatchedKnowledgeBaseRequest) Get() *PatchedKnowledgeBaseRequest
func (NullablePatchedKnowledgeBaseRequest) IsSet ¶
func (v NullablePatchedKnowledgeBaseRequest) IsSet() bool
func (NullablePatchedKnowledgeBaseRequest) MarshalJSON ¶
func (v NullablePatchedKnowledgeBaseRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchedKnowledgeBaseRequest) Set ¶
func (v *NullablePatchedKnowledgeBaseRequest) Set(val *PatchedKnowledgeBaseRequest)
func (*NullablePatchedKnowledgeBaseRequest) UnmarshalJSON ¶
func (v *NullablePatchedKnowledgeBaseRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchedKnowledgeBaseRequest) Unset ¶
func (v *NullablePatchedKnowledgeBaseRequest) Unset()
type NullablePatchedToolRequest ¶
type NullablePatchedToolRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchedToolRequest ¶
func NewNullablePatchedToolRequest(val *PatchedToolRequest) *NullablePatchedToolRequest
func (NullablePatchedToolRequest) Get ¶
func (v NullablePatchedToolRequest) Get() *PatchedToolRequest
func (NullablePatchedToolRequest) IsSet ¶
func (v NullablePatchedToolRequest) IsSet() bool
func (NullablePatchedToolRequest) MarshalJSON ¶
func (v NullablePatchedToolRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchedToolRequest) Set ¶
func (v *NullablePatchedToolRequest) Set(val *PatchedToolRequest)
func (*NullablePatchedToolRequest) UnmarshalJSON ¶
func (v *NullablePatchedToolRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchedToolRequest) Unset ¶
func (v *NullablePatchedToolRequest) Unset()
type NullableResponseAsyncChatThread ¶
type NullableResponseAsyncChatThread struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncChatThread ¶
func NewNullableResponseAsyncChatThread(val *ResponseAsyncChatThread) *NullableResponseAsyncChatThread
func (NullableResponseAsyncChatThread) Get ¶
func (v NullableResponseAsyncChatThread) Get() *ResponseAsyncChatThread
func (NullableResponseAsyncChatThread) IsSet ¶
func (v NullableResponseAsyncChatThread) IsSet() bool
func (NullableResponseAsyncChatThread) MarshalJSON ¶
func (v NullableResponseAsyncChatThread) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncChatThread) Set ¶
func (v *NullableResponseAsyncChatThread) Set(val *ResponseAsyncChatThread)
func (*NullableResponseAsyncChatThread) UnmarshalJSON ¶
func (v *NullableResponseAsyncChatThread) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncChatThread) Unset ¶
func (v *NullableResponseAsyncChatThread) Unset()
type NullableResponseAsyncDeleteChatThread ¶
type NullableResponseAsyncDeleteChatThread struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncDeleteChatThread ¶
func NewNullableResponseAsyncDeleteChatThread(val *ResponseAsyncDeleteChatThread) *NullableResponseAsyncDeleteChatThread
func (NullableResponseAsyncDeleteChatThread) Get ¶
func (v NullableResponseAsyncDeleteChatThread) Get() *ResponseAsyncDeleteChatThread
func (NullableResponseAsyncDeleteChatThread) IsSet ¶
func (v NullableResponseAsyncDeleteChatThread) IsSet() bool
func (NullableResponseAsyncDeleteChatThread) MarshalJSON ¶
func (v NullableResponseAsyncDeleteChatThread) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncDeleteChatThread) Set ¶
func (v *NullableResponseAsyncDeleteChatThread) Set(val *ResponseAsyncDeleteChatThread)
func (*NullableResponseAsyncDeleteChatThread) UnmarshalJSON ¶
func (v *NullableResponseAsyncDeleteChatThread) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncDeleteChatThread) Unset ¶
func (v *NullableResponseAsyncDeleteChatThread) Unset()
type NullableResponseAsyncDeleteDocument ¶
type NullableResponseAsyncDeleteDocument struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncDeleteDocument ¶
func NewNullableResponseAsyncDeleteDocument(val *ResponseAsyncDeleteDocument) *NullableResponseAsyncDeleteDocument
func (NullableResponseAsyncDeleteDocument) Get ¶
func (v NullableResponseAsyncDeleteDocument) Get() *ResponseAsyncDeleteDocument
func (NullableResponseAsyncDeleteDocument) IsSet ¶
func (v NullableResponseAsyncDeleteDocument) IsSet() bool
func (NullableResponseAsyncDeleteDocument) MarshalJSON ¶
func (v NullableResponseAsyncDeleteDocument) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncDeleteDocument) Set ¶
func (v *NullableResponseAsyncDeleteDocument) Set(val *ResponseAsyncDeleteDocument)
func (*NullableResponseAsyncDeleteDocument) UnmarshalJSON ¶
func (v *NullableResponseAsyncDeleteDocument) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncDeleteDocument) Unset ¶
func (v *NullableResponseAsyncDeleteDocument) Unset()
type NullableResponseAsyncDeleteKnowledgeBase ¶
type NullableResponseAsyncDeleteKnowledgeBase struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncDeleteKnowledgeBase ¶
func NewNullableResponseAsyncDeleteKnowledgeBase(val *ResponseAsyncDeleteKnowledgeBase) *NullableResponseAsyncDeleteKnowledgeBase
func (NullableResponseAsyncDeleteKnowledgeBase) IsSet ¶
func (v NullableResponseAsyncDeleteKnowledgeBase) IsSet() bool
func (NullableResponseAsyncDeleteKnowledgeBase) MarshalJSON ¶
func (v NullableResponseAsyncDeleteKnowledgeBase) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncDeleteKnowledgeBase) Set ¶
func (v *NullableResponseAsyncDeleteKnowledgeBase) Set(val *ResponseAsyncDeleteKnowledgeBase)
func (*NullableResponseAsyncDeleteKnowledgeBase) UnmarshalJSON ¶
func (v *NullableResponseAsyncDeleteKnowledgeBase) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncDeleteKnowledgeBase) Unset ¶
func (v *NullableResponseAsyncDeleteKnowledgeBase) Unset()
type NullableResponseAsyncDeleteMessage ¶
type NullableResponseAsyncDeleteMessage struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncDeleteMessage ¶
func NewNullableResponseAsyncDeleteMessage(val *ResponseAsyncDeleteMessage) *NullableResponseAsyncDeleteMessage
func (NullableResponseAsyncDeleteMessage) Get ¶
func (v NullableResponseAsyncDeleteMessage) Get() *ResponseAsyncDeleteMessage
func (NullableResponseAsyncDeleteMessage) IsSet ¶
func (v NullableResponseAsyncDeleteMessage) IsSet() bool
func (NullableResponseAsyncDeleteMessage) MarshalJSON ¶
func (v NullableResponseAsyncDeleteMessage) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncDeleteMessage) Set ¶
func (v *NullableResponseAsyncDeleteMessage) Set(val *ResponseAsyncDeleteMessage)
func (*NullableResponseAsyncDeleteMessage) UnmarshalJSON ¶
func (v *NullableResponseAsyncDeleteMessage) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncDeleteMessage) Unset ¶
func (v *NullableResponseAsyncDeleteMessage) Unset()
type NullableResponseAsyncDeleteTool ¶
type NullableResponseAsyncDeleteTool struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncDeleteTool ¶
func NewNullableResponseAsyncDeleteTool(val *ResponseAsyncDeleteTool) *NullableResponseAsyncDeleteTool
func (NullableResponseAsyncDeleteTool) Get ¶
func (v NullableResponseAsyncDeleteTool) Get() *ResponseAsyncDeleteTool
func (NullableResponseAsyncDeleteTool) IsSet ¶
func (v NullableResponseAsyncDeleteTool) IsSet() bool
func (NullableResponseAsyncDeleteTool) MarshalJSON ¶
func (v NullableResponseAsyncDeleteTool) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncDeleteTool) Set ¶
func (v *NullableResponseAsyncDeleteTool) Set(val *ResponseAsyncDeleteTool)
func (*NullableResponseAsyncDeleteTool) UnmarshalJSON ¶
func (v *NullableResponseAsyncDeleteTool) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncDeleteTool) Unset ¶
func (v *NullableResponseAsyncDeleteTool) Unset()
type NullableResponseAsyncDocument ¶
type NullableResponseAsyncDocument struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncDocument ¶
func NewNullableResponseAsyncDocument(val *ResponseAsyncDocument) *NullableResponseAsyncDocument
func (NullableResponseAsyncDocument) Get ¶
func (v NullableResponseAsyncDocument) Get() *ResponseAsyncDocument
func (NullableResponseAsyncDocument) IsSet ¶
func (v NullableResponseAsyncDocument) IsSet() bool
func (NullableResponseAsyncDocument) MarshalJSON ¶
func (v NullableResponseAsyncDocument) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncDocument) Set ¶
func (v *NullableResponseAsyncDocument) Set(val *ResponseAsyncDocument)
func (*NullableResponseAsyncDocument) UnmarshalJSON ¶
func (v *NullableResponseAsyncDocument) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncDocument) Unset ¶
func (v *NullableResponseAsyncDocument) Unset()
type NullableResponseAsyncKnowledgeBase ¶
type NullableResponseAsyncKnowledgeBase struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncKnowledgeBase ¶
func NewNullableResponseAsyncKnowledgeBase(val *ResponseAsyncKnowledgeBase) *NullableResponseAsyncKnowledgeBase
func (NullableResponseAsyncKnowledgeBase) Get ¶
func (v NullableResponseAsyncKnowledgeBase) Get() *ResponseAsyncKnowledgeBase
func (NullableResponseAsyncKnowledgeBase) IsSet ¶
func (v NullableResponseAsyncKnowledgeBase) IsSet() bool
func (NullableResponseAsyncKnowledgeBase) MarshalJSON ¶
func (v NullableResponseAsyncKnowledgeBase) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncKnowledgeBase) Set ¶
func (v *NullableResponseAsyncKnowledgeBase) Set(val *ResponseAsyncKnowledgeBase)
func (*NullableResponseAsyncKnowledgeBase) UnmarshalJSON ¶
func (v *NullableResponseAsyncKnowledgeBase) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncKnowledgeBase) Unset ¶
func (v *NullableResponseAsyncKnowledgeBase) Unset()
type NullableResponseAsyncMessage ¶
type NullableResponseAsyncMessage struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncMessage ¶
func NewNullableResponseAsyncMessage(val *ResponseAsyncMessage) *NullableResponseAsyncMessage
func (NullableResponseAsyncMessage) Get ¶
func (v NullableResponseAsyncMessage) Get() *ResponseAsyncMessage
func (NullableResponseAsyncMessage) IsSet ¶
func (v NullableResponseAsyncMessage) IsSet() bool
func (NullableResponseAsyncMessage) MarshalJSON ¶
func (v NullableResponseAsyncMessage) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncMessage) Set ¶
func (v *NullableResponseAsyncMessage) Set(val *ResponseAsyncMessage)
func (*NullableResponseAsyncMessage) UnmarshalJSON ¶
func (v *NullableResponseAsyncMessage) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncMessage) Unset ¶
func (v *NullableResponseAsyncMessage) Unset()
type NullableResponseAsyncTool ¶
type NullableResponseAsyncTool struct {
// contains filtered or unexported fields
}
func NewNullableResponseAsyncTool ¶
func NewNullableResponseAsyncTool(val *ResponseAsyncTool) *NullableResponseAsyncTool
func (NullableResponseAsyncTool) Get ¶
func (v NullableResponseAsyncTool) Get() *ResponseAsyncTool
func (NullableResponseAsyncTool) IsSet ¶
func (v NullableResponseAsyncTool) IsSet() bool
func (NullableResponseAsyncTool) MarshalJSON ¶
func (v NullableResponseAsyncTool) MarshalJSON() ([]byte, error)
func (*NullableResponseAsyncTool) Set ¶
func (v *NullableResponseAsyncTool) Set(val *ResponseAsyncTool)
func (*NullableResponseAsyncTool) UnmarshalJSON ¶
func (v *NullableResponseAsyncTool) UnmarshalJSON(src []byte) error
func (*NullableResponseAsyncTool) Unset ¶
func (v *NullableResponseAsyncTool) Unset()
type NullableResponseChatThread ¶
type NullableResponseChatThread struct {
// contains filtered or unexported fields
}
func NewNullableResponseChatThread ¶
func NewNullableResponseChatThread(val *ResponseChatThread) *NullableResponseChatThread
func (NullableResponseChatThread) Get ¶
func (v NullableResponseChatThread) Get() *ResponseChatThread
func (NullableResponseChatThread) IsSet ¶
func (v NullableResponseChatThread) IsSet() bool
func (NullableResponseChatThread) MarshalJSON ¶
func (v NullableResponseChatThread) MarshalJSON() ([]byte, error)
func (*NullableResponseChatThread) Set ¶
func (v *NullableResponseChatThread) Set(val *ResponseChatThread)
func (*NullableResponseChatThread) UnmarshalJSON ¶
func (v *NullableResponseChatThread) UnmarshalJSON(src []byte) error
func (*NullableResponseChatThread) Unset ¶
func (v *NullableResponseChatThread) Unset()
type NullableResponseDeleteChatThread ¶
type NullableResponseDeleteChatThread struct {
// contains filtered or unexported fields
}
func NewNullableResponseDeleteChatThread ¶
func NewNullableResponseDeleteChatThread(val *ResponseDeleteChatThread) *NullableResponseDeleteChatThread
func (NullableResponseDeleteChatThread) Get ¶
func (v NullableResponseDeleteChatThread) Get() *ResponseDeleteChatThread
func (NullableResponseDeleteChatThread) IsSet ¶
func (v NullableResponseDeleteChatThread) IsSet() bool
func (NullableResponseDeleteChatThread) MarshalJSON ¶
func (v NullableResponseDeleteChatThread) MarshalJSON() ([]byte, error)
func (*NullableResponseDeleteChatThread) Set ¶
func (v *NullableResponseDeleteChatThread) Set(val *ResponseDeleteChatThread)
func (*NullableResponseDeleteChatThread) UnmarshalJSON ¶
func (v *NullableResponseDeleteChatThread) UnmarshalJSON(src []byte) error
func (*NullableResponseDeleteChatThread) Unset ¶
func (v *NullableResponseDeleteChatThread) Unset()
type NullableResponseDeleteDocument ¶
type NullableResponseDeleteDocument struct {
// contains filtered or unexported fields
}
func NewNullableResponseDeleteDocument ¶
func NewNullableResponseDeleteDocument(val *ResponseDeleteDocument) *NullableResponseDeleteDocument
func (NullableResponseDeleteDocument) Get ¶
func (v NullableResponseDeleteDocument) Get() *ResponseDeleteDocument
func (NullableResponseDeleteDocument) IsSet ¶
func (v NullableResponseDeleteDocument) IsSet() bool
func (NullableResponseDeleteDocument) MarshalJSON ¶
func (v NullableResponseDeleteDocument) MarshalJSON() ([]byte, error)
func (*NullableResponseDeleteDocument) Set ¶
func (v *NullableResponseDeleteDocument) Set(val *ResponseDeleteDocument)
func (*NullableResponseDeleteDocument) UnmarshalJSON ¶
func (v *NullableResponseDeleteDocument) UnmarshalJSON(src []byte) error
func (*NullableResponseDeleteDocument) Unset ¶
func (v *NullableResponseDeleteDocument) Unset()
type NullableResponseDeleteKnowledgeBase ¶
type NullableResponseDeleteKnowledgeBase struct {
// contains filtered or unexported fields
}
func NewNullableResponseDeleteKnowledgeBase ¶
func NewNullableResponseDeleteKnowledgeBase(val *ResponseDeleteKnowledgeBase) *NullableResponseDeleteKnowledgeBase
func (NullableResponseDeleteKnowledgeBase) Get ¶
func (v NullableResponseDeleteKnowledgeBase) Get() *ResponseDeleteKnowledgeBase
func (NullableResponseDeleteKnowledgeBase) IsSet ¶
func (v NullableResponseDeleteKnowledgeBase) IsSet() bool
func (NullableResponseDeleteKnowledgeBase) MarshalJSON ¶
func (v NullableResponseDeleteKnowledgeBase) MarshalJSON() ([]byte, error)
func (*NullableResponseDeleteKnowledgeBase) Set ¶
func (v *NullableResponseDeleteKnowledgeBase) Set(val *ResponseDeleteKnowledgeBase)
func (*NullableResponseDeleteKnowledgeBase) UnmarshalJSON ¶
func (v *NullableResponseDeleteKnowledgeBase) UnmarshalJSON(src []byte) error
func (*NullableResponseDeleteKnowledgeBase) Unset ¶
func (v *NullableResponseDeleteKnowledgeBase) Unset()
type NullableResponseDeleteMessage ¶
type NullableResponseDeleteMessage struct {
// contains filtered or unexported fields
}
func NewNullableResponseDeleteMessage ¶
func NewNullableResponseDeleteMessage(val *ResponseDeleteMessage) *NullableResponseDeleteMessage
func (NullableResponseDeleteMessage) Get ¶
func (v NullableResponseDeleteMessage) Get() *ResponseDeleteMessage
func (NullableResponseDeleteMessage) IsSet ¶
func (v NullableResponseDeleteMessage) IsSet() bool
func (NullableResponseDeleteMessage) MarshalJSON ¶
func (v NullableResponseDeleteMessage) MarshalJSON() ([]byte, error)
func (*NullableResponseDeleteMessage) Set ¶
func (v *NullableResponseDeleteMessage) Set(val *ResponseDeleteMessage)
func (*NullableResponseDeleteMessage) UnmarshalJSON ¶
func (v *NullableResponseDeleteMessage) UnmarshalJSON(src []byte) error
func (*NullableResponseDeleteMessage) Unset ¶
func (v *NullableResponseDeleteMessage) Unset()
type NullableResponseDeleteTool ¶
type NullableResponseDeleteTool struct {
// contains filtered or unexported fields
}
func NewNullableResponseDeleteTool ¶
func NewNullableResponseDeleteTool(val *ResponseDeleteTool) *NullableResponseDeleteTool
func (NullableResponseDeleteTool) Get ¶
func (v NullableResponseDeleteTool) Get() *ResponseDeleteTool
func (NullableResponseDeleteTool) IsSet ¶
func (v NullableResponseDeleteTool) IsSet() bool
func (NullableResponseDeleteTool) MarshalJSON ¶
func (v NullableResponseDeleteTool) MarshalJSON() ([]byte, error)
func (*NullableResponseDeleteTool) Set ¶
func (v *NullableResponseDeleteTool) Set(val *ResponseDeleteTool)
func (*NullableResponseDeleteTool) UnmarshalJSON ¶
func (v *NullableResponseDeleteTool) UnmarshalJSON(src []byte) error
func (*NullableResponseDeleteTool) Unset ¶
func (v *NullableResponseDeleteTool) Unset()
type NullableResponseDocument ¶
type NullableResponseDocument struct {
// contains filtered or unexported fields
}
func NewNullableResponseDocument ¶
func NewNullableResponseDocument(val *ResponseDocument) *NullableResponseDocument
func (NullableResponseDocument) Get ¶
func (v NullableResponseDocument) Get() *ResponseDocument
func (NullableResponseDocument) IsSet ¶
func (v NullableResponseDocument) IsSet() bool
func (NullableResponseDocument) MarshalJSON ¶
func (v NullableResponseDocument) MarshalJSON() ([]byte, error)
func (*NullableResponseDocument) Set ¶
func (v *NullableResponseDocument) Set(val *ResponseDocument)
func (*NullableResponseDocument) UnmarshalJSON ¶
func (v *NullableResponseDocument) UnmarshalJSON(src []byte) error
func (*NullableResponseDocument) Unset ¶
func (v *NullableResponseDocument) Unset()
type NullableResponseKnowledgeBase ¶
type NullableResponseKnowledgeBase struct {
// contains filtered or unexported fields
}
func NewNullableResponseKnowledgeBase ¶
func NewNullableResponseKnowledgeBase(val *ResponseKnowledgeBase) *NullableResponseKnowledgeBase
func (NullableResponseKnowledgeBase) Get ¶
func (v NullableResponseKnowledgeBase) Get() *ResponseKnowledgeBase
func (NullableResponseKnowledgeBase) IsSet ¶
func (v NullableResponseKnowledgeBase) IsSet() bool
func (NullableResponseKnowledgeBase) MarshalJSON ¶
func (v NullableResponseKnowledgeBase) MarshalJSON() ([]byte, error)
func (*NullableResponseKnowledgeBase) Set ¶
func (v *NullableResponseKnowledgeBase) Set(val *ResponseKnowledgeBase)
func (*NullableResponseKnowledgeBase) UnmarshalJSON ¶
func (v *NullableResponseKnowledgeBase) UnmarshalJSON(src []byte) error
func (*NullableResponseKnowledgeBase) Unset ¶
func (v *NullableResponseKnowledgeBase) Unset()
type NullableResponseMessage ¶
type NullableResponseMessage struct {
// contains filtered or unexported fields
}
func NewNullableResponseMessage ¶
func NewNullableResponseMessage(val *ResponseMessage) *NullableResponseMessage
func (NullableResponseMessage) Get ¶
func (v NullableResponseMessage) Get() *ResponseMessage
func (NullableResponseMessage) IsSet ¶
func (v NullableResponseMessage) IsSet() bool
func (NullableResponseMessage) MarshalJSON ¶
func (v NullableResponseMessage) MarshalJSON() ([]byte, error)
func (*NullableResponseMessage) Set ¶
func (v *NullableResponseMessage) Set(val *ResponseMessage)
func (*NullableResponseMessage) UnmarshalJSON ¶
func (v *NullableResponseMessage) UnmarshalJSON(src []byte) error
func (*NullableResponseMessage) Unset ¶
func (v *NullableResponseMessage) Unset()
type NullableResponseRetrieveChatThread ¶
type NullableResponseRetrieveChatThread struct {
// contains filtered or unexported fields
}
func NewNullableResponseRetrieveChatThread ¶
func NewNullableResponseRetrieveChatThread(val *ResponseRetrieveChatThread) *NullableResponseRetrieveChatThread
func (NullableResponseRetrieveChatThread) Get ¶
func (v NullableResponseRetrieveChatThread) Get() *ResponseRetrieveChatThread
func (NullableResponseRetrieveChatThread) IsSet ¶
func (v NullableResponseRetrieveChatThread) IsSet() bool
func (NullableResponseRetrieveChatThread) MarshalJSON ¶
func (v NullableResponseRetrieveChatThread) MarshalJSON() ([]byte, error)
func (*NullableResponseRetrieveChatThread) Set ¶
func (v *NullableResponseRetrieveChatThread) Set(val *ResponseRetrieveChatThread)
func (*NullableResponseRetrieveChatThread) UnmarshalJSON ¶
func (v *NullableResponseRetrieveChatThread) UnmarshalJSON(src []byte) error
func (*NullableResponseRetrieveChatThread) Unset ¶
func (v *NullableResponseRetrieveChatThread) Unset()
type NullableResponseRetrieveDocument ¶
type NullableResponseRetrieveDocument struct {
// contains filtered or unexported fields
}
func NewNullableResponseRetrieveDocument ¶
func NewNullableResponseRetrieveDocument(val *ResponseRetrieveDocument) *NullableResponseRetrieveDocument
func (NullableResponseRetrieveDocument) Get ¶
func (v NullableResponseRetrieveDocument) Get() *ResponseRetrieveDocument
func (NullableResponseRetrieveDocument) IsSet ¶
func (v NullableResponseRetrieveDocument) IsSet() bool
func (NullableResponseRetrieveDocument) MarshalJSON ¶
func (v NullableResponseRetrieveDocument) MarshalJSON() ([]byte, error)
func (*NullableResponseRetrieveDocument) Set ¶
func (v *NullableResponseRetrieveDocument) Set(val *ResponseRetrieveDocument)
func (*NullableResponseRetrieveDocument) UnmarshalJSON ¶
func (v *NullableResponseRetrieveDocument) UnmarshalJSON(src []byte) error
func (*NullableResponseRetrieveDocument) Unset ¶
func (v *NullableResponseRetrieveDocument) Unset()
type NullableResponseRetrieveKnowledgeBase ¶
type NullableResponseRetrieveKnowledgeBase struct {
// contains filtered or unexported fields
}
func NewNullableResponseRetrieveKnowledgeBase ¶
func NewNullableResponseRetrieveKnowledgeBase(val *ResponseRetrieveKnowledgeBase) *NullableResponseRetrieveKnowledgeBase
func (NullableResponseRetrieveKnowledgeBase) Get ¶
func (v NullableResponseRetrieveKnowledgeBase) Get() *ResponseRetrieveKnowledgeBase
func (NullableResponseRetrieveKnowledgeBase) IsSet ¶
func (v NullableResponseRetrieveKnowledgeBase) IsSet() bool
func (NullableResponseRetrieveKnowledgeBase) MarshalJSON ¶
func (v NullableResponseRetrieveKnowledgeBase) MarshalJSON() ([]byte, error)
func (*NullableResponseRetrieveKnowledgeBase) Set ¶
func (v *NullableResponseRetrieveKnowledgeBase) Set(val *ResponseRetrieveKnowledgeBase)
func (*NullableResponseRetrieveKnowledgeBase) UnmarshalJSON ¶
func (v *NullableResponseRetrieveKnowledgeBase) UnmarshalJSON(src []byte) error
func (*NullableResponseRetrieveKnowledgeBase) Unset ¶
func (v *NullableResponseRetrieveKnowledgeBase) Unset()
type NullableResponseRetrieveMessage ¶
type NullableResponseRetrieveMessage struct {
// contains filtered or unexported fields
}
func NewNullableResponseRetrieveMessage ¶
func NewNullableResponseRetrieveMessage(val *ResponseRetrieveMessage) *NullableResponseRetrieveMessage
func (NullableResponseRetrieveMessage) Get ¶
func (v NullableResponseRetrieveMessage) Get() *ResponseRetrieveMessage
func (NullableResponseRetrieveMessage) IsSet ¶
func (v NullableResponseRetrieveMessage) IsSet() bool
func (NullableResponseRetrieveMessage) MarshalJSON ¶
func (v NullableResponseRetrieveMessage) MarshalJSON() ([]byte, error)
func (*NullableResponseRetrieveMessage) Set ¶
func (v *NullableResponseRetrieveMessage) Set(val *ResponseRetrieveMessage)
func (*NullableResponseRetrieveMessage) UnmarshalJSON ¶
func (v *NullableResponseRetrieveMessage) UnmarshalJSON(src []byte) error
func (*NullableResponseRetrieveMessage) Unset ¶
func (v *NullableResponseRetrieveMessage) Unset()
type NullableResponseRetrieveTool ¶
type NullableResponseRetrieveTool struct {
// contains filtered or unexported fields
}
func NewNullableResponseRetrieveTool ¶
func NewNullableResponseRetrieveTool(val *ResponseRetrieveTool) *NullableResponseRetrieveTool
func (NullableResponseRetrieveTool) Get ¶
func (v NullableResponseRetrieveTool) Get() *ResponseRetrieveTool
func (NullableResponseRetrieveTool) IsSet ¶
func (v NullableResponseRetrieveTool) IsSet() bool
func (NullableResponseRetrieveTool) MarshalJSON ¶
func (v NullableResponseRetrieveTool) MarshalJSON() ([]byte, error)
func (*NullableResponseRetrieveTool) Set ¶
func (v *NullableResponseRetrieveTool) Set(val *ResponseRetrieveTool)
func (*NullableResponseRetrieveTool) UnmarshalJSON ¶
func (v *NullableResponseRetrieveTool) UnmarshalJSON(src []byte) error
func (*NullableResponseRetrieveTool) Unset ¶
func (v *NullableResponseRetrieveTool) Unset()
type NullableResponseTool ¶
type NullableResponseTool struct {
// contains filtered or unexported fields
}
func NewNullableResponseTool ¶
func NewNullableResponseTool(val *ResponseTool) *NullableResponseTool
func (NullableResponseTool) Get ¶
func (v NullableResponseTool) Get() *ResponseTool
func (NullableResponseTool) IsSet ¶
func (v NullableResponseTool) IsSet() bool
func (NullableResponseTool) MarshalJSON ¶
func (v NullableResponseTool) MarshalJSON() ([]byte, error)
func (*NullableResponseTool) Set ¶
func (v *NullableResponseTool) Set(val *ResponseTool)
func (*NullableResponseTool) UnmarshalJSON ¶
func (v *NullableResponseTool) UnmarshalJSON(src []byte) error
func (*NullableResponseTool) Unset ¶
func (v *NullableResponseTool) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTool ¶
type NullableTool struct {
// contains filtered or unexported fields
}
func NewNullableTool ¶
func NewNullableTool(val *Tool) *NullableTool
func (NullableTool) Get ¶
func (v NullableTool) Get() *Tool
func (NullableTool) IsSet ¶
func (v NullableTool) IsSet() bool
func (NullableTool) MarshalJSON ¶
func (v NullableTool) MarshalJSON() ([]byte, error)
func (*NullableTool) Set ¶
func (v *NullableTool) Set(val *Tool)
func (*NullableTool) UnmarshalJSON ¶
func (v *NullableTool) UnmarshalJSON(src []byte) error
func (*NullableTool) Unset ¶
func (v *NullableTool) Unset()
type NullableToolKBLink ¶
type NullableToolKBLink struct {
// contains filtered or unexported fields
}
func NewNullableToolKBLink ¶
func NewNullableToolKBLink(val *ToolKBLink) *NullableToolKBLink
func (NullableToolKBLink) Get ¶
func (v NullableToolKBLink) Get() *ToolKBLink
func (NullableToolKBLink) IsSet ¶
func (v NullableToolKBLink) IsSet() bool
func (NullableToolKBLink) MarshalJSON ¶
func (v NullableToolKBLink) MarshalJSON() ([]byte, error)
func (*NullableToolKBLink) Set ¶
func (v *NullableToolKBLink) Set(val *ToolKBLink)
func (*NullableToolKBLink) UnmarshalJSON ¶
func (v *NullableToolKBLink) UnmarshalJSON(src []byte) error
func (*NullableToolKBLink) Unset ¶
func (v *NullableToolKBLink) Unset()
type NullableToolRequest ¶
type NullableToolRequest struct {
// contains filtered or unexported fields
}
func NewNullableToolRequest ¶
func NewNullableToolRequest(val *ToolRequest) *NullableToolRequest
func (NullableToolRequest) Get ¶
func (v NullableToolRequest) Get() *ToolRequest
func (NullableToolRequest) IsSet ¶
func (v NullableToolRequest) IsSet() bool
func (NullableToolRequest) MarshalJSON ¶
func (v NullableToolRequest) MarshalJSON() ([]byte, error)
func (*NullableToolRequest) Set ¶
func (v *NullableToolRequest) Set(val *ToolRequest)
func (*NullableToolRequest) UnmarshalJSON ¶
func (v *NullableToolRequest) UnmarshalJSON(src []byte) error
func (*NullableToolRequest) Unset ¶
func (v *NullableToolRequest) Unset()
type PaginatedChatThreadList ¶
type PaginatedChatThreadList struct {
Count *int64 `json:"count,omitempty"`
Results []ChatThread `json:"results,omitempty"`
}
PaginatedChatThreadList struct for PaginatedChatThreadList
func NewPaginatedChatThreadList ¶
func NewPaginatedChatThreadList() *PaginatedChatThreadList
NewPaginatedChatThreadList instantiates a new PaginatedChatThreadList 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
func NewPaginatedChatThreadListWithDefaults ¶
func NewPaginatedChatThreadListWithDefaults() *PaginatedChatThreadList
NewPaginatedChatThreadListWithDefaults instantiates a new PaginatedChatThreadList 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
func (*PaginatedChatThreadList) GetCount ¶
func (o *PaginatedChatThreadList) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PaginatedChatThreadList) GetCountOk ¶
func (o *PaginatedChatThreadList) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedChatThreadList) GetResults ¶
func (o *PaginatedChatThreadList) GetResults() []ChatThread
GetResults returns the Results field value if set, zero value otherwise.
func (*PaginatedChatThreadList) GetResultsOk ¶
func (o *PaginatedChatThreadList) GetResultsOk() ([]ChatThread, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedChatThreadList) HasCount ¶
func (o *PaginatedChatThreadList) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaginatedChatThreadList) HasResults ¶
func (o *PaginatedChatThreadList) HasResults() bool
HasResults returns a boolean if a field has been set.
func (PaginatedChatThreadList) MarshalJSON ¶
func (o PaginatedChatThreadList) MarshalJSON() ([]byte, error)
func (*PaginatedChatThreadList) SetCount ¶
func (o *PaginatedChatThreadList) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PaginatedChatThreadList) SetResults ¶
func (o *PaginatedChatThreadList) SetResults(v []ChatThread)
SetResults gets a reference to the given []ChatThread and assigns it to the Results field.
func (PaginatedChatThreadList) ToMap ¶
func (o PaginatedChatThreadList) ToMap() (map[string]interface{}, error)
type PaginatedChunkList ¶
type PaginatedChunkList struct {
Count *int64 `json:"count,omitempty"`
Results []Chunk `json:"results,omitempty"`
}
PaginatedChunkList struct for PaginatedChunkList
func NewPaginatedChunkList ¶
func NewPaginatedChunkList() *PaginatedChunkList
NewPaginatedChunkList instantiates a new PaginatedChunkList 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
func NewPaginatedChunkListWithDefaults ¶
func NewPaginatedChunkListWithDefaults() *PaginatedChunkList
NewPaginatedChunkListWithDefaults instantiates a new PaginatedChunkList 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
func (*PaginatedChunkList) GetCount ¶
func (o *PaginatedChunkList) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PaginatedChunkList) GetCountOk ¶
func (o *PaginatedChunkList) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedChunkList) GetResults ¶
func (o *PaginatedChunkList) GetResults() []Chunk
GetResults returns the Results field value if set, zero value otherwise.
func (*PaginatedChunkList) GetResultsOk ¶
func (o *PaginatedChunkList) GetResultsOk() ([]Chunk, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedChunkList) HasCount ¶
func (o *PaginatedChunkList) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaginatedChunkList) HasResults ¶
func (o *PaginatedChunkList) HasResults() bool
HasResults returns a boolean if a field has been set.
func (PaginatedChunkList) MarshalJSON ¶
func (o PaginatedChunkList) MarshalJSON() ([]byte, error)
func (*PaginatedChunkList) SetCount ¶
func (o *PaginatedChunkList) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PaginatedChunkList) SetResults ¶
func (o *PaginatedChunkList) SetResults(v []Chunk)
SetResults gets a reference to the given []Chunk and assigns it to the Results field.
func (PaginatedChunkList) ToMap ¶
func (o PaginatedChunkList) ToMap() (map[string]interface{}, error)
type PaginatedDocumentList ¶
type PaginatedDocumentList struct {
Count *int64 `json:"count,omitempty"`
Results []Document `json:"results,omitempty"`
}
PaginatedDocumentList struct for PaginatedDocumentList
func NewPaginatedDocumentList ¶
func NewPaginatedDocumentList() *PaginatedDocumentList
NewPaginatedDocumentList instantiates a new PaginatedDocumentList 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
func NewPaginatedDocumentListWithDefaults ¶
func NewPaginatedDocumentListWithDefaults() *PaginatedDocumentList
NewPaginatedDocumentListWithDefaults instantiates a new PaginatedDocumentList 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
func (*PaginatedDocumentList) GetCount ¶
func (o *PaginatedDocumentList) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PaginatedDocumentList) GetCountOk ¶
func (o *PaginatedDocumentList) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedDocumentList) GetResults ¶
func (o *PaginatedDocumentList) GetResults() []Document
GetResults returns the Results field value if set, zero value otherwise.
func (*PaginatedDocumentList) GetResultsOk ¶
func (o *PaginatedDocumentList) GetResultsOk() ([]Document, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedDocumentList) HasCount ¶
func (o *PaginatedDocumentList) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaginatedDocumentList) HasResults ¶
func (o *PaginatedDocumentList) HasResults() bool
HasResults returns a boolean if a field has been set.
func (PaginatedDocumentList) MarshalJSON ¶
func (o PaginatedDocumentList) MarshalJSON() ([]byte, error)
func (*PaginatedDocumentList) SetCount ¶
func (o *PaginatedDocumentList) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PaginatedDocumentList) SetResults ¶
func (o *PaginatedDocumentList) SetResults(v []Document)
SetResults gets a reference to the given []Document and assigns it to the Results field.
func (PaginatedDocumentList) ToMap ¶
func (o PaginatedDocumentList) ToMap() (map[string]interface{}, error)
type PaginatedKnowledgeBaseList ¶
type PaginatedKnowledgeBaseList struct {
Count *int64 `json:"count,omitempty"`
Results []KnowledgeBase `json:"results,omitempty"`
}
PaginatedKnowledgeBaseList struct for PaginatedKnowledgeBaseList
func NewPaginatedKnowledgeBaseList ¶
func NewPaginatedKnowledgeBaseList() *PaginatedKnowledgeBaseList
NewPaginatedKnowledgeBaseList instantiates a new PaginatedKnowledgeBaseList 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
func NewPaginatedKnowledgeBaseListWithDefaults ¶
func NewPaginatedKnowledgeBaseListWithDefaults() *PaginatedKnowledgeBaseList
NewPaginatedKnowledgeBaseListWithDefaults instantiates a new PaginatedKnowledgeBaseList 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
func (*PaginatedKnowledgeBaseList) GetCount ¶
func (o *PaginatedKnowledgeBaseList) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PaginatedKnowledgeBaseList) GetCountOk ¶
func (o *PaginatedKnowledgeBaseList) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedKnowledgeBaseList) GetResults ¶
func (o *PaginatedKnowledgeBaseList) GetResults() []KnowledgeBase
GetResults returns the Results field value if set, zero value otherwise.
func (*PaginatedKnowledgeBaseList) GetResultsOk ¶
func (o *PaginatedKnowledgeBaseList) GetResultsOk() ([]KnowledgeBase, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedKnowledgeBaseList) HasCount ¶
func (o *PaginatedKnowledgeBaseList) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaginatedKnowledgeBaseList) HasResults ¶
func (o *PaginatedKnowledgeBaseList) HasResults() bool
HasResults returns a boolean if a field has been set.
func (PaginatedKnowledgeBaseList) MarshalJSON ¶
func (o PaginatedKnowledgeBaseList) MarshalJSON() ([]byte, error)
func (*PaginatedKnowledgeBaseList) SetCount ¶
func (o *PaginatedKnowledgeBaseList) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PaginatedKnowledgeBaseList) SetResults ¶
func (o *PaginatedKnowledgeBaseList) SetResults(v []KnowledgeBase)
SetResults gets a reference to the given []KnowledgeBase and assigns it to the Results field.
func (PaginatedKnowledgeBaseList) ToMap ¶
func (o PaginatedKnowledgeBaseList) ToMap() (map[string]interface{}, error)
type PaginatedMessageList ¶
type PaginatedMessageList struct {
Count *int64 `json:"count,omitempty"`
Results []Message `json:"results,omitempty"`
}
PaginatedMessageList struct for PaginatedMessageList
func NewPaginatedMessageList ¶
func NewPaginatedMessageList() *PaginatedMessageList
NewPaginatedMessageList instantiates a new PaginatedMessageList 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
func NewPaginatedMessageListWithDefaults ¶
func NewPaginatedMessageListWithDefaults() *PaginatedMessageList
NewPaginatedMessageListWithDefaults instantiates a new PaginatedMessageList 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
func (*PaginatedMessageList) GetCount ¶
func (o *PaginatedMessageList) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PaginatedMessageList) GetCountOk ¶
func (o *PaginatedMessageList) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedMessageList) GetResults ¶
func (o *PaginatedMessageList) GetResults() []Message
GetResults returns the Results field value if set, zero value otherwise.
func (*PaginatedMessageList) GetResultsOk ¶
func (o *PaginatedMessageList) GetResultsOk() ([]Message, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedMessageList) HasCount ¶
func (o *PaginatedMessageList) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaginatedMessageList) HasResults ¶
func (o *PaginatedMessageList) HasResults() bool
HasResults returns a boolean if a field has been set.
func (PaginatedMessageList) MarshalJSON ¶
func (o PaginatedMessageList) MarshalJSON() ([]byte, error)
func (*PaginatedMessageList) SetCount ¶
func (o *PaginatedMessageList) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PaginatedMessageList) SetResults ¶
func (o *PaginatedMessageList) SetResults(v []Message)
SetResults gets a reference to the given []Message and assigns it to the Results field.
func (PaginatedMessageList) ToMap ¶
func (o PaginatedMessageList) ToMap() (map[string]interface{}, error)
type PaginatedToolList ¶
type PaginatedToolList struct {
Count *int64 `json:"count,omitempty"`
Results []Tool `json:"results,omitempty"`
}
PaginatedToolList struct for PaginatedToolList
func NewPaginatedToolList ¶
func NewPaginatedToolList() *PaginatedToolList
NewPaginatedToolList instantiates a new PaginatedToolList 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
func NewPaginatedToolListWithDefaults ¶
func NewPaginatedToolListWithDefaults() *PaginatedToolList
NewPaginatedToolListWithDefaults instantiates a new PaginatedToolList 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
func (*PaginatedToolList) GetCount ¶
func (o *PaginatedToolList) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PaginatedToolList) GetCountOk ¶
func (o *PaginatedToolList) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedToolList) GetResults ¶
func (o *PaginatedToolList) GetResults() []Tool
GetResults returns the Results field value if set, zero value otherwise.
func (*PaginatedToolList) GetResultsOk ¶
func (o *PaginatedToolList) GetResultsOk() ([]Tool, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedToolList) HasCount ¶
func (o *PaginatedToolList) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaginatedToolList) HasResults ¶
func (o *PaginatedToolList) HasResults() bool
HasResults returns a boolean if a field has been set.
func (PaginatedToolList) MarshalJSON ¶
func (o PaginatedToolList) MarshalJSON() ([]byte, error)
func (*PaginatedToolList) SetCount ¶
func (o *PaginatedToolList) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PaginatedToolList) SetResults ¶
func (o *PaginatedToolList) SetResults(v []Tool)
SetResults gets a reference to the given []Tool and assigns it to the Results field.
func (PaginatedToolList) ToMap ¶
func (o PaginatedToolList) ToMap() (map[string]interface{}, error)
type PatchedChatThreadRequest ¶
type PatchedChatThreadRequest struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
}
PatchedChatThreadRequest struct for PatchedChatThreadRequest
func NewPatchedChatThreadRequest ¶
func NewPatchedChatThreadRequest() *PatchedChatThreadRequest
NewPatchedChatThreadRequest instantiates a new PatchedChatThreadRequest 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
func NewPatchedChatThreadRequestWithDefaults ¶
func NewPatchedChatThreadRequestWithDefaults() *PatchedChatThreadRequest
NewPatchedChatThreadRequestWithDefaults instantiates a new PatchedChatThreadRequest 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
func (*PatchedChatThreadRequest) GetDescription ¶
func (o *PatchedChatThreadRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PatchedChatThreadRequest) GetDescriptionOk ¶
func (o *PatchedChatThreadRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedChatThreadRequest) GetName ¶
func (o *PatchedChatThreadRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PatchedChatThreadRequest) GetNameOk ¶
func (o *PatchedChatThreadRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedChatThreadRequest) HasDescription ¶
func (o *PatchedChatThreadRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PatchedChatThreadRequest) HasName ¶
func (o *PatchedChatThreadRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (PatchedChatThreadRequest) MarshalJSON ¶
func (o PatchedChatThreadRequest) MarshalJSON() ([]byte, error)
func (*PatchedChatThreadRequest) SetDescription ¶
func (o *PatchedChatThreadRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PatchedChatThreadRequest) SetName ¶
func (o *PatchedChatThreadRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PatchedChatThreadRequest) ToMap ¶
func (o PatchedChatThreadRequest) ToMap() (map[string]interface{}, error)
type PatchedKnowledgeBaseRequest ¶
type PatchedKnowledgeBaseRequest struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
// * `text-embedding-3-small` - text-embedding-3-small
EmbeddingModel *string `json:"embedding_model,omitempty"`
}
PatchedKnowledgeBaseRequest struct for PatchedKnowledgeBaseRequest
func NewPatchedKnowledgeBaseRequest ¶
func NewPatchedKnowledgeBaseRequest() *PatchedKnowledgeBaseRequest
NewPatchedKnowledgeBaseRequest instantiates a new PatchedKnowledgeBaseRequest 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
func NewPatchedKnowledgeBaseRequestWithDefaults ¶
func NewPatchedKnowledgeBaseRequestWithDefaults() *PatchedKnowledgeBaseRequest
NewPatchedKnowledgeBaseRequestWithDefaults instantiates a new PatchedKnowledgeBaseRequest 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
func (*PatchedKnowledgeBaseRequest) GetDescription ¶
func (o *PatchedKnowledgeBaseRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PatchedKnowledgeBaseRequest) GetDescriptionOk ¶
func (o *PatchedKnowledgeBaseRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedKnowledgeBaseRequest) GetEmbeddingModel ¶
func (o *PatchedKnowledgeBaseRequest) GetEmbeddingModel() string
GetEmbeddingModel returns the EmbeddingModel field value if set, zero value otherwise.
func (*PatchedKnowledgeBaseRequest) GetEmbeddingModelOk ¶
func (o *PatchedKnowledgeBaseRequest) GetEmbeddingModelOk() (*string, bool)
GetEmbeddingModelOk returns a tuple with the EmbeddingModel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedKnowledgeBaseRequest) GetName ¶
func (o *PatchedKnowledgeBaseRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PatchedKnowledgeBaseRequest) GetNameOk ¶
func (o *PatchedKnowledgeBaseRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedKnowledgeBaseRequest) HasDescription ¶
func (o *PatchedKnowledgeBaseRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PatchedKnowledgeBaseRequest) HasEmbeddingModel ¶
func (o *PatchedKnowledgeBaseRequest) HasEmbeddingModel() bool
HasEmbeddingModel returns a boolean if a field has been set.
func (*PatchedKnowledgeBaseRequest) HasName ¶
func (o *PatchedKnowledgeBaseRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (PatchedKnowledgeBaseRequest) MarshalJSON ¶
func (o PatchedKnowledgeBaseRequest) MarshalJSON() ([]byte, error)
func (*PatchedKnowledgeBaseRequest) SetDescription ¶
func (o *PatchedKnowledgeBaseRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PatchedKnowledgeBaseRequest) SetEmbeddingModel ¶
func (o *PatchedKnowledgeBaseRequest) SetEmbeddingModel(v string)
SetEmbeddingModel gets a reference to the given string and assigns it to the EmbeddingModel field.
func (*PatchedKnowledgeBaseRequest) SetName ¶
func (o *PatchedKnowledgeBaseRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PatchedKnowledgeBaseRequest) ToMap ¶
func (o PatchedKnowledgeBaseRequest) ToMap() (map[string]interface{}, error)
type PatchedToolRequest ¶
type PatchedToolRequest struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Type *string `json:"type,omitempty"`
JsonSchema map[string]interface{} `json:"json_schema,omitempty"`
Active *bool `json:"active,omitempty"`
}
PatchedToolRequest struct for PatchedToolRequest
func NewPatchedToolRequest ¶
func NewPatchedToolRequest() *PatchedToolRequest
NewPatchedToolRequest instantiates a new PatchedToolRequest 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
func NewPatchedToolRequestWithDefaults ¶
func NewPatchedToolRequestWithDefaults() *PatchedToolRequest
NewPatchedToolRequestWithDefaults instantiates a new PatchedToolRequest 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
func (*PatchedToolRequest) GetActive ¶
func (o *PatchedToolRequest) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*PatchedToolRequest) GetActiveOk ¶
func (o *PatchedToolRequest) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedToolRequest) GetDescription ¶
func (o *PatchedToolRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PatchedToolRequest) GetDescriptionOk ¶
func (o *PatchedToolRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedToolRequest) GetJsonSchema ¶
func (o *PatchedToolRequest) GetJsonSchema() map[string]interface{}
GetJsonSchema returns the JsonSchema field value if set, zero value otherwise.
func (*PatchedToolRequest) GetJsonSchemaOk ¶
func (o *PatchedToolRequest) GetJsonSchemaOk() (map[string]interface{}, bool)
GetJsonSchemaOk returns a tuple with the JsonSchema field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedToolRequest) GetName ¶
func (o *PatchedToolRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PatchedToolRequest) GetNameOk ¶
func (o *PatchedToolRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedToolRequest) GetType ¶
func (o *PatchedToolRequest) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*PatchedToolRequest) GetTypeOk ¶
func (o *PatchedToolRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedToolRequest) HasActive ¶
func (o *PatchedToolRequest) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*PatchedToolRequest) HasDescription ¶
func (o *PatchedToolRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PatchedToolRequest) HasJsonSchema ¶
func (o *PatchedToolRequest) HasJsonSchema() bool
HasJsonSchema returns a boolean if a field has been set.
func (*PatchedToolRequest) HasName ¶
func (o *PatchedToolRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*PatchedToolRequest) HasType ¶
func (o *PatchedToolRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (PatchedToolRequest) MarshalJSON ¶
func (o PatchedToolRequest) MarshalJSON() ([]byte, error)
func (*PatchedToolRequest) SetActive ¶
func (o *PatchedToolRequest) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*PatchedToolRequest) SetDescription ¶
func (o *PatchedToolRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PatchedToolRequest) SetJsonSchema ¶
func (o *PatchedToolRequest) SetJsonSchema(v map[string]interface{})
SetJsonSchema gets a reference to the given map[string]interface{} and assigns it to the JsonSchema field.
func (*PatchedToolRequest) SetName ¶
func (o *PatchedToolRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PatchedToolRequest) SetType ¶
func (o *PatchedToolRequest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (PatchedToolRequest) ToMap ¶
func (o PatchedToolRequest) ToMap() (map[string]interface{}, error)
type ResponseAsyncChatThread ¶
type ResponseAsyncChatThread struct {
State *string `json:"state,omitempty"`
Data ChatThread `json:"data"`
}
ResponseAsyncChatThread struct for ResponseAsyncChatThread
func NewResponseAsyncChatThread ¶
func NewResponseAsyncChatThread(data ChatThread) *ResponseAsyncChatThread
NewResponseAsyncChatThread instantiates a new ResponseAsyncChatThread 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
func NewResponseAsyncChatThreadWithDefaults ¶
func NewResponseAsyncChatThreadWithDefaults() *ResponseAsyncChatThread
NewResponseAsyncChatThreadWithDefaults instantiates a new ResponseAsyncChatThread 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
func (*ResponseAsyncChatThread) GetData ¶
func (o *ResponseAsyncChatThread) GetData() ChatThread
GetData returns the Data field value
func (*ResponseAsyncChatThread) GetDataOk ¶
func (o *ResponseAsyncChatThread) GetDataOk() (*ChatThread, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseAsyncChatThread) GetState ¶
func (o *ResponseAsyncChatThread) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncChatThread) GetStateOk ¶
func (o *ResponseAsyncChatThread) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncChatThread) HasState ¶
func (o *ResponseAsyncChatThread) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncChatThread) MarshalJSON ¶
func (o ResponseAsyncChatThread) MarshalJSON() ([]byte, error)
func (*ResponseAsyncChatThread) SetData ¶
func (o *ResponseAsyncChatThread) SetData(v ChatThread)
SetData sets field value
func (*ResponseAsyncChatThread) SetState ¶
func (o *ResponseAsyncChatThread) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncChatThread) ToMap ¶
func (o ResponseAsyncChatThread) ToMap() (map[string]interface{}, error)
func (*ResponseAsyncChatThread) UnmarshalJSON ¶
func (o *ResponseAsyncChatThread) UnmarshalJSON(data []byte) (err error)
type ResponseAsyncDeleteChatThread ¶
type ResponseAsyncDeleteChatThread struct {
State *string `json:"state,omitempty"`
}
ResponseAsyncDeleteChatThread struct for ResponseAsyncDeleteChatThread
func NewResponseAsyncDeleteChatThread ¶
func NewResponseAsyncDeleteChatThread() *ResponseAsyncDeleteChatThread
NewResponseAsyncDeleteChatThread instantiates a new ResponseAsyncDeleteChatThread 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
func NewResponseAsyncDeleteChatThreadWithDefaults ¶
func NewResponseAsyncDeleteChatThreadWithDefaults() *ResponseAsyncDeleteChatThread
NewResponseAsyncDeleteChatThreadWithDefaults instantiates a new ResponseAsyncDeleteChatThread 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
func (*ResponseAsyncDeleteChatThread) GetState ¶
func (o *ResponseAsyncDeleteChatThread) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncDeleteChatThread) GetStateOk ¶
func (o *ResponseAsyncDeleteChatThread) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncDeleteChatThread) HasState ¶
func (o *ResponseAsyncDeleteChatThread) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncDeleteChatThread) MarshalJSON ¶
func (o ResponseAsyncDeleteChatThread) MarshalJSON() ([]byte, error)
func (*ResponseAsyncDeleteChatThread) SetState ¶
func (o *ResponseAsyncDeleteChatThread) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncDeleteChatThread) ToMap ¶
func (o ResponseAsyncDeleteChatThread) ToMap() (map[string]interface{}, error)
type ResponseAsyncDeleteDocument ¶
type ResponseAsyncDeleteDocument struct {
State *string `json:"state,omitempty"`
}
ResponseAsyncDeleteDocument struct for ResponseAsyncDeleteDocument
func NewResponseAsyncDeleteDocument ¶
func NewResponseAsyncDeleteDocument() *ResponseAsyncDeleteDocument
NewResponseAsyncDeleteDocument instantiates a new ResponseAsyncDeleteDocument 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
func NewResponseAsyncDeleteDocumentWithDefaults ¶
func NewResponseAsyncDeleteDocumentWithDefaults() *ResponseAsyncDeleteDocument
NewResponseAsyncDeleteDocumentWithDefaults instantiates a new ResponseAsyncDeleteDocument 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
func (*ResponseAsyncDeleteDocument) GetState ¶
func (o *ResponseAsyncDeleteDocument) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncDeleteDocument) GetStateOk ¶
func (o *ResponseAsyncDeleteDocument) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncDeleteDocument) HasState ¶
func (o *ResponseAsyncDeleteDocument) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncDeleteDocument) MarshalJSON ¶
func (o ResponseAsyncDeleteDocument) MarshalJSON() ([]byte, error)
func (*ResponseAsyncDeleteDocument) SetState ¶
func (o *ResponseAsyncDeleteDocument) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncDeleteDocument) ToMap ¶
func (o ResponseAsyncDeleteDocument) ToMap() (map[string]interface{}, error)
type ResponseAsyncDeleteKnowledgeBase ¶
type ResponseAsyncDeleteKnowledgeBase struct {
State *string `json:"state,omitempty"`
}
ResponseAsyncDeleteKnowledgeBase struct for ResponseAsyncDeleteKnowledgeBase
func NewResponseAsyncDeleteKnowledgeBase ¶
func NewResponseAsyncDeleteKnowledgeBase() *ResponseAsyncDeleteKnowledgeBase
NewResponseAsyncDeleteKnowledgeBase instantiates a new ResponseAsyncDeleteKnowledgeBase 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
func NewResponseAsyncDeleteKnowledgeBaseWithDefaults ¶
func NewResponseAsyncDeleteKnowledgeBaseWithDefaults() *ResponseAsyncDeleteKnowledgeBase
NewResponseAsyncDeleteKnowledgeBaseWithDefaults instantiates a new ResponseAsyncDeleteKnowledgeBase 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
func (*ResponseAsyncDeleteKnowledgeBase) GetState ¶
func (o *ResponseAsyncDeleteKnowledgeBase) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncDeleteKnowledgeBase) GetStateOk ¶
func (o *ResponseAsyncDeleteKnowledgeBase) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncDeleteKnowledgeBase) HasState ¶
func (o *ResponseAsyncDeleteKnowledgeBase) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncDeleteKnowledgeBase) MarshalJSON ¶
func (o ResponseAsyncDeleteKnowledgeBase) MarshalJSON() ([]byte, error)
func (*ResponseAsyncDeleteKnowledgeBase) SetState ¶
func (o *ResponseAsyncDeleteKnowledgeBase) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncDeleteKnowledgeBase) ToMap ¶
func (o ResponseAsyncDeleteKnowledgeBase) ToMap() (map[string]interface{}, error)
type ResponseAsyncDeleteMessage ¶
type ResponseAsyncDeleteMessage struct {
State *string `json:"state,omitempty"`
}
ResponseAsyncDeleteMessage struct for ResponseAsyncDeleteMessage
func NewResponseAsyncDeleteMessage ¶
func NewResponseAsyncDeleteMessage() *ResponseAsyncDeleteMessage
NewResponseAsyncDeleteMessage instantiates a new ResponseAsyncDeleteMessage 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
func NewResponseAsyncDeleteMessageWithDefaults ¶
func NewResponseAsyncDeleteMessageWithDefaults() *ResponseAsyncDeleteMessage
NewResponseAsyncDeleteMessageWithDefaults instantiates a new ResponseAsyncDeleteMessage 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
func (*ResponseAsyncDeleteMessage) GetState ¶
func (o *ResponseAsyncDeleteMessage) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncDeleteMessage) GetStateOk ¶
func (o *ResponseAsyncDeleteMessage) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncDeleteMessage) HasState ¶
func (o *ResponseAsyncDeleteMessage) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncDeleteMessage) MarshalJSON ¶
func (o ResponseAsyncDeleteMessage) MarshalJSON() ([]byte, error)
func (*ResponseAsyncDeleteMessage) SetState ¶
func (o *ResponseAsyncDeleteMessage) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncDeleteMessage) ToMap ¶
func (o ResponseAsyncDeleteMessage) ToMap() (map[string]interface{}, error)
type ResponseAsyncDeleteTool ¶
type ResponseAsyncDeleteTool struct {
State *string `json:"state,omitempty"`
}
ResponseAsyncDeleteTool struct for ResponseAsyncDeleteTool
func NewResponseAsyncDeleteTool ¶
func NewResponseAsyncDeleteTool() *ResponseAsyncDeleteTool
NewResponseAsyncDeleteTool instantiates a new ResponseAsyncDeleteTool 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
func NewResponseAsyncDeleteToolWithDefaults ¶
func NewResponseAsyncDeleteToolWithDefaults() *ResponseAsyncDeleteTool
NewResponseAsyncDeleteToolWithDefaults instantiates a new ResponseAsyncDeleteTool 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
func (*ResponseAsyncDeleteTool) GetState ¶
func (o *ResponseAsyncDeleteTool) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncDeleteTool) GetStateOk ¶
func (o *ResponseAsyncDeleteTool) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncDeleteTool) HasState ¶
func (o *ResponseAsyncDeleteTool) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncDeleteTool) MarshalJSON ¶
func (o ResponseAsyncDeleteTool) MarshalJSON() ([]byte, error)
func (*ResponseAsyncDeleteTool) SetState ¶
func (o *ResponseAsyncDeleteTool) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncDeleteTool) ToMap ¶
func (o ResponseAsyncDeleteTool) ToMap() (map[string]interface{}, error)
type ResponseAsyncDocument ¶
type ResponseAsyncDocument struct {
State *string `json:"state,omitempty"`
Data Document `json:"data"`
}
ResponseAsyncDocument struct for ResponseAsyncDocument
func NewResponseAsyncDocument ¶
func NewResponseAsyncDocument(data Document) *ResponseAsyncDocument
NewResponseAsyncDocument instantiates a new ResponseAsyncDocument 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
func NewResponseAsyncDocumentWithDefaults ¶
func NewResponseAsyncDocumentWithDefaults() *ResponseAsyncDocument
NewResponseAsyncDocumentWithDefaults instantiates a new ResponseAsyncDocument 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
func (*ResponseAsyncDocument) GetData ¶
func (o *ResponseAsyncDocument) GetData() Document
GetData returns the Data field value
func (*ResponseAsyncDocument) GetDataOk ¶
func (o *ResponseAsyncDocument) GetDataOk() (*Document, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseAsyncDocument) GetState ¶
func (o *ResponseAsyncDocument) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncDocument) GetStateOk ¶
func (o *ResponseAsyncDocument) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncDocument) HasState ¶
func (o *ResponseAsyncDocument) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncDocument) MarshalJSON ¶
func (o ResponseAsyncDocument) MarshalJSON() ([]byte, error)
func (*ResponseAsyncDocument) SetData ¶
func (o *ResponseAsyncDocument) SetData(v Document)
SetData sets field value
func (*ResponseAsyncDocument) SetState ¶
func (o *ResponseAsyncDocument) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncDocument) ToMap ¶
func (o ResponseAsyncDocument) ToMap() (map[string]interface{}, error)
func (*ResponseAsyncDocument) UnmarshalJSON ¶
func (o *ResponseAsyncDocument) UnmarshalJSON(data []byte) (err error)
type ResponseAsyncKnowledgeBase ¶
type ResponseAsyncKnowledgeBase struct {
State *string `json:"state,omitempty"`
Data KnowledgeBase `json:"data"`
}
ResponseAsyncKnowledgeBase struct for ResponseAsyncKnowledgeBase
func NewResponseAsyncKnowledgeBase ¶
func NewResponseAsyncKnowledgeBase(data KnowledgeBase) *ResponseAsyncKnowledgeBase
NewResponseAsyncKnowledgeBase instantiates a new ResponseAsyncKnowledgeBase 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
func NewResponseAsyncKnowledgeBaseWithDefaults ¶
func NewResponseAsyncKnowledgeBaseWithDefaults() *ResponseAsyncKnowledgeBase
NewResponseAsyncKnowledgeBaseWithDefaults instantiates a new ResponseAsyncKnowledgeBase 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
func (*ResponseAsyncKnowledgeBase) GetData ¶
func (o *ResponseAsyncKnowledgeBase) GetData() KnowledgeBase
GetData returns the Data field value
func (*ResponseAsyncKnowledgeBase) GetDataOk ¶
func (o *ResponseAsyncKnowledgeBase) GetDataOk() (*KnowledgeBase, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseAsyncKnowledgeBase) GetState ¶
func (o *ResponseAsyncKnowledgeBase) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncKnowledgeBase) GetStateOk ¶
func (o *ResponseAsyncKnowledgeBase) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncKnowledgeBase) HasState ¶
func (o *ResponseAsyncKnowledgeBase) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncKnowledgeBase) MarshalJSON ¶
func (o ResponseAsyncKnowledgeBase) MarshalJSON() ([]byte, error)
func (*ResponseAsyncKnowledgeBase) SetData ¶
func (o *ResponseAsyncKnowledgeBase) SetData(v KnowledgeBase)
SetData sets field value
func (*ResponseAsyncKnowledgeBase) SetState ¶
func (o *ResponseAsyncKnowledgeBase) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncKnowledgeBase) ToMap ¶
func (o ResponseAsyncKnowledgeBase) ToMap() (map[string]interface{}, error)
func (*ResponseAsyncKnowledgeBase) UnmarshalJSON ¶
func (o *ResponseAsyncKnowledgeBase) UnmarshalJSON(data []byte) (err error)
type ResponseAsyncMessage ¶
type ResponseAsyncMessage struct {
State *string `json:"state,omitempty"`
Data Message `json:"data"`
}
ResponseAsyncMessage struct for ResponseAsyncMessage
func NewResponseAsyncMessage ¶
func NewResponseAsyncMessage(data Message) *ResponseAsyncMessage
NewResponseAsyncMessage instantiates a new ResponseAsyncMessage 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
func NewResponseAsyncMessageWithDefaults ¶
func NewResponseAsyncMessageWithDefaults() *ResponseAsyncMessage
NewResponseAsyncMessageWithDefaults instantiates a new ResponseAsyncMessage 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
func (*ResponseAsyncMessage) GetData ¶
func (o *ResponseAsyncMessage) GetData() Message
GetData returns the Data field value
func (*ResponseAsyncMessage) GetDataOk ¶
func (o *ResponseAsyncMessage) GetDataOk() (*Message, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseAsyncMessage) GetState ¶
func (o *ResponseAsyncMessage) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncMessage) GetStateOk ¶
func (o *ResponseAsyncMessage) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncMessage) HasState ¶
func (o *ResponseAsyncMessage) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncMessage) MarshalJSON ¶
func (o ResponseAsyncMessage) MarshalJSON() ([]byte, error)
func (*ResponseAsyncMessage) SetData ¶
func (o *ResponseAsyncMessage) SetData(v Message)
SetData sets field value
func (*ResponseAsyncMessage) SetState ¶
func (o *ResponseAsyncMessage) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncMessage) ToMap ¶
func (o ResponseAsyncMessage) ToMap() (map[string]interface{}, error)
func (*ResponseAsyncMessage) UnmarshalJSON ¶
func (o *ResponseAsyncMessage) UnmarshalJSON(data []byte) (err error)
type ResponseAsyncTool ¶
ResponseAsyncTool struct for ResponseAsyncTool
func NewResponseAsyncTool ¶
func NewResponseAsyncTool(data Tool) *ResponseAsyncTool
NewResponseAsyncTool instantiates a new ResponseAsyncTool 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
func NewResponseAsyncToolWithDefaults ¶
func NewResponseAsyncToolWithDefaults() *ResponseAsyncTool
NewResponseAsyncToolWithDefaults instantiates a new ResponseAsyncTool 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
func (*ResponseAsyncTool) GetData ¶
func (o *ResponseAsyncTool) GetData() Tool
GetData returns the Data field value
func (*ResponseAsyncTool) GetDataOk ¶
func (o *ResponseAsyncTool) GetDataOk() (*Tool, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseAsyncTool) GetState ¶
func (o *ResponseAsyncTool) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseAsyncTool) GetStateOk ¶
func (o *ResponseAsyncTool) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseAsyncTool) HasState ¶
func (o *ResponseAsyncTool) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseAsyncTool) MarshalJSON ¶
func (o ResponseAsyncTool) MarshalJSON() ([]byte, error)
func (*ResponseAsyncTool) SetData ¶
func (o *ResponseAsyncTool) SetData(v Tool)
SetData sets field value
func (*ResponseAsyncTool) SetState ¶
func (o *ResponseAsyncTool) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseAsyncTool) ToMap ¶
func (o ResponseAsyncTool) ToMap() (map[string]interface{}, error)
func (*ResponseAsyncTool) UnmarshalJSON ¶
func (o *ResponseAsyncTool) UnmarshalJSON(data []byte) (err error)
type ResponseChatThread ¶
type ResponseChatThread struct {
State *string `json:"state,omitempty"`
Data ChatThread `json:"data"`
}
ResponseChatThread struct for ResponseChatThread
func NewResponseChatThread ¶
func NewResponseChatThread(data ChatThread) *ResponseChatThread
NewResponseChatThread instantiates a new ResponseChatThread 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
func NewResponseChatThreadWithDefaults ¶
func NewResponseChatThreadWithDefaults() *ResponseChatThread
NewResponseChatThreadWithDefaults instantiates a new ResponseChatThread 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
func (*ResponseChatThread) GetData ¶
func (o *ResponseChatThread) GetData() ChatThread
GetData returns the Data field value
func (*ResponseChatThread) GetDataOk ¶
func (o *ResponseChatThread) GetDataOk() (*ChatThread, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseChatThread) GetState ¶
func (o *ResponseChatThread) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseChatThread) GetStateOk ¶
func (o *ResponseChatThread) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseChatThread) HasState ¶
func (o *ResponseChatThread) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseChatThread) MarshalJSON ¶
func (o ResponseChatThread) MarshalJSON() ([]byte, error)
func (*ResponseChatThread) SetData ¶
func (o *ResponseChatThread) SetData(v ChatThread)
SetData sets field value
func (*ResponseChatThread) SetState ¶
func (o *ResponseChatThread) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseChatThread) ToMap ¶
func (o ResponseChatThread) ToMap() (map[string]interface{}, error)
func (*ResponseChatThread) UnmarshalJSON ¶
func (o *ResponseChatThread) UnmarshalJSON(data []byte) (err error)
type ResponseDeleteChatThread ¶
type ResponseDeleteChatThread struct {
State *string `json:"state,omitempty"`
}
ResponseDeleteChatThread struct for ResponseDeleteChatThread
func NewResponseDeleteChatThread ¶
func NewResponseDeleteChatThread() *ResponseDeleteChatThread
NewResponseDeleteChatThread instantiates a new ResponseDeleteChatThread 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
func NewResponseDeleteChatThreadWithDefaults ¶
func NewResponseDeleteChatThreadWithDefaults() *ResponseDeleteChatThread
NewResponseDeleteChatThreadWithDefaults instantiates a new ResponseDeleteChatThread 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
func (*ResponseDeleteChatThread) GetState ¶
func (o *ResponseDeleteChatThread) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseDeleteChatThread) GetStateOk ¶
func (o *ResponseDeleteChatThread) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseDeleteChatThread) HasState ¶
func (o *ResponseDeleteChatThread) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseDeleteChatThread) MarshalJSON ¶
func (o ResponseDeleteChatThread) MarshalJSON() ([]byte, error)
func (*ResponseDeleteChatThread) SetState ¶
func (o *ResponseDeleteChatThread) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseDeleteChatThread) ToMap ¶
func (o ResponseDeleteChatThread) ToMap() (map[string]interface{}, error)
type ResponseDeleteDocument ¶
type ResponseDeleteDocument struct {
State *string `json:"state,omitempty"`
}
ResponseDeleteDocument struct for ResponseDeleteDocument
func NewResponseDeleteDocument ¶
func NewResponseDeleteDocument() *ResponseDeleteDocument
NewResponseDeleteDocument instantiates a new ResponseDeleteDocument 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
func NewResponseDeleteDocumentWithDefaults ¶
func NewResponseDeleteDocumentWithDefaults() *ResponseDeleteDocument
NewResponseDeleteDocumentWithDefaults instantiates a new ResponseDeleteDocument 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
func (*ResponseDeleteDocument) GetState ¶
func (o *ResponseDeleteDocument) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseDeleteDocument) GetStateOk ¶
func (o *ResponseDeleteDocument) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseDeleteDocument) HasState ¶
func (o *ResponseDeleteDocument) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseDeleteDocument) MarshalJSON ¶
func (o ResponseDeleteDocument) MarshalJSON() ([]byte, error)
func (*ResponseDeleteDocument) SetState ¶
func (o *ResponseDeleteDocument) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseDeleteDocument) ToMap ¶
func (o ResponseDeleteDocument) ToMap() (map[string]interface{}, error)
type ResponseDeleteKnowledgeBase ¶
type ResponseDeleteKnowledgeBase struct {
State *string `json:"state,omitempty"`
}
ResponseDeleteKnowledgeBase struct for ResponseDeleteKnowledgeBase
func NewResponseDeleteKnowledgeBase ¶
func NewResponseDeleteKnowledgeBase() *ResponseDeleteKnowledgeBase
NewResponseDeleteKnowledgeBase instantiates a new ResponseDeleteKnowledgeBase 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
func NewResponseDeleteKnowledgeBaseWithDefaults ¶
func NewResponseDeleteKnowledgeBaseWithDefaults() *ResponseDeleteKnowledgeBase
NewResponseDeleteKnowledgeBaseWithDefaults instantiates a new ResponseDeleteKnowledgeBase 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
func (*ResponseDeleteKnowledgeBase) GetState ¶
func (o *ResponseDeleteKnowledgeBase) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseDeleteKnowledgeBase) GetStateOk ¶
func (o *ResponseDeleteKnowledgeBase) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseDeleteKnowledgeBase) HasState ¶
func (o *ResponseDeleteKnowledgeBase) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseDeleteKnowledgeBase) MarshalJSON ¶
func (o ResponseDeleteKnowledgeBase) MarshalJSON() ([]byte, error)
func (*ResponseDeleteKnowledgeBase) SetState ¶
func (o *ResponseDeleteKnowledgeBase) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseDeleteKnowledgeBase) ToMap ¶
func (o ResponseDeleteKnowledgeBase) ToMap() (map[string]interface{}, error)
type ResponseDeleteMessage ¶
type ResponseDeleteMessage struct {
State *string `json:"state,omitempty"`
}
ResponseDeleteMessage struct for ResponseDeleteMessage
func NewResponseDeleteMessage ¶
func NewResponseDeleteMessage() *ResponseDeleteMessage
NewResponseDeleteMessage instantiates a new ResponseDeleteMessage 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
func NewResponseDeleteMessageWithDefaults ¶
func NewResponseDeleteMessageWithDefaults() *ResponseDeleteMessage
NewResponseDeleteMessageWithDefaults instantiates a new ResponseDeleteMessage 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
func (*ResponseDeleteMessage) GetState ¶
func (o *ResponseDeleteMessage) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseDeleteMessage) GetStateOk ¶
func (o *ResponseDeleteMessage) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseDeleteMessage) HasState ¶
func (o *ResponseDeleteMessage) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseDeleteMessage) MarshalJSON ¶
func (o ResponseDeleteMessage) MarshalJSON() ([]byte, error)
func (*ResponseDeleteMessage) SetState ¶
func (o *ResponseDeleteMessage) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseDeleteMessage) ToMap ¶
func (o ResponseDeleteMessage) ToMap() (map[string]interface{}, error)
type ResponseDeleteTool ¶
type ResponseDeleteTool struct {
State *string `json:"state,omitempty"`
}
ResponseDeleteTool struct for ResponseDeleteTool
func NewResponseDeleteTool ¶
func NewResponseDeleteTool() *ResponseDeleteTool
NewResponseDeleteTool instantiates a new ResponseDeleteTool 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
func NewResponseDeleteToolWithDefaults ¶
func NewResponseDeleteToolWithDefaults() *ResponseDeleteTool
NewResponseDeleteToolWithDefaults instantiates a new ResponseDeleteTool 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
func (*ResponseDeleteTool) GetState ¶
func (o *ResponseDeleteTool) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseDeleteTool) GetStateOk ¶
func (o *ResponseDeleteTool) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseDeleteTool) HasState ¶
func (o *ResponseDeleteTool) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseDeleteTool) MarshalJSON ¶
func (o ResponseDeleteTool) MarshalJSON() ([]byte, error)
func (*ResponseDeleteTool) SetState ¶
func (o *ResponseDeleteTool) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseDeleteTool) ToMap ¶
func (o ResponseDeleteTool) ToMap() (map[string]interface{}, error)
type ResponseDocument ¶
ResponseDocument struct for ResponseDocument
func NewResponseDocument ¶
func NewResponseDocument(data Document) *ResponseDocument
NewResponseDocument instantiates a new ResponseDocument 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
func NewResponseDocumentWithDefaults ¶
func NewResponseDocumentWithDefaults() *ResponseDocument
NewResponseDocumentWithDefaults instantiates a new ResponseDocument 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
func (*ResponseDocument) GetData ¶
func (o *ResponseDocument) GetData() Document
GetData returns the Data field value
func (*ResponseDocument) GetDataOk ¶
func (o *ResponseDocument) GetDataOk() (*Document, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseDocument) GetState ¶
func (o *ResponseDocument) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseDocument) GetStateOk ¶
func (o *ResponseDocument) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseDocument) HasState ¶
func (o *ResponseDocument) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseDocument) MarshalJSON ¶
func (o ResponseDocument) MarshalJSON() ([]byte, error)
func (*ResponseDocument) SetData ¶
func (o *ResponseDocument) SetData(v Document)
SetData sets field value
func (*ResponseDocument) SetState ¶
func (o *ResponseDocument) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseDocument) ToMap ¶
func (o ResponseDocument) ToMap() (map[string]interface{}, error)
func (*ResponseDocument) UnmarshalJSON ¶
func (o *ResponseDocument) UnmarshalJSON(data []byte) (err error)
type ResponseKnowledgeBase ¶
type ResponseKnowledgeBase struct {
State *string `json:"state,omitempty"`
Data KnowledgeBase `json:"data"`
}
ResponseKnowledgeBase struct for ResponseKnowledgeBase
func NewResponseKnowledgeBase ¶
func NewResponseKnowledgeBase(data KnowledgeBase) *ResponseKnowledgeBase
NewResponseKnowledgeBase instantiates a new ResponseKnowledgeBase 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
func NewResponseKnowledgeBaseWithDefaults ¶
func NewResponseKnowledgeBaseWithDefaults() *ResponseKnowledgeBase
NewResponseKnowledgeBaseWithDefaults instantiates a new ResponseKnowledgeBase 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
func (*ResponseKnowledgeBase) GetData ¶
func (o *ResponseKnowledgeBase) GetData() KnowledgeBase
GetData returns the Data field value
func (*ResponseKnowledgeBase) GetDataOk ¶
func (o *ResponseKnowledgeBase) GetDataOk() (*KnowledgeBase, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseKnowledgeBase) GetState ¶
func (o *ResponseKnowledgeBase) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseKnowledgeBase) GetStateOk ¶
func (o *ResponseKnowledgeBase) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseKnowledgeBase) HasState ¶
func (o *ResponseKnowledgeBase) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseKnowledgeBase) MarshalJSON ¶
func (o ResponseKnowledgeBase) MarshalJSON() ([]byte, error)
func (*ResponseKnowledgeBase) SetData ¶
func (o *ResponseKnowledgeBase) SetData(v KnowledgeBase)
SetData sets field value
func (*ResponseKnowledgeBase) SetState ¶
func (o *ResponseKnowledgeBase) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseKnowledgeBase) ToMap ¶
func (o ResponseKnowledgeBase) ToMap() (map[string]interface{}, error)
func (*ResponseKnowledgeBase) UnmarshalJSON ¶
func (o *ResponseKnowledgeBase) UnmarshalJSON(data []byte) (err error)
type ResponseMessage ¶
ResponseMessage struct for ResponseMessage
func NewResponseMessage ¶
func NewResponseMessage(data Message) *ResponseMessage
NewResponseMessage instantiates a new ResponseMessage 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
func NewResponseMessageWithDefaults ¶
func NewResponseMessageWithDefaults() *ResponseMessage
NewResponseMessageWithDefaults instantiates a new ResponseMessage 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
func (*ResponseMessage) GetData ¶
func (o *ResponseMessage) GetData() Message
GetData returns the Data field value
func (*ResponseMessage) GetDataOk ¶
func (o *ResponseMessage) GetDataOk() (*Message, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseMessage) GetState ¶
func (o *ResponseMessage) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseMessage) GetStateOk ¶
func (o *ResponseMessage) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseMessage) HasState ¶
func (o *ResponseMessage) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseMessage) MarshalJSON ¶
func (o ResponseMessage) MarshalJSON() ([]byte, error)
func (*ResponseMessage) SetData ¶
func (o *ResponseMessage) SetData(v Message)
SetData sets field value
func (*ResponseMessage) SetState ¶
func (o *ResponseMessage) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseMessage) ToMap ¶
func (o ResponseMessage) ToMap() (map[string]interface{}, error)
func (*ResponseMessage) UnmarshalJSON ¶
func (o *ResponseMessage) UnmarshalJSON(data []byte) (err error)
type ResponseRetrieveChatThread ¶
type ResponseRetrieveChatThread struct {
Data ChatThread `json:"data"`
}
ResponseRetrieveChatThread struct for ResponseRetrieveChatThread
func NewResponseRetrieveChatThread ¶
func NewResponseRetrieveChatThread(data ChatThread) *ResponseRetrieveChatThread
NewResponseRetrieveChatThread instantiates a new ResponseRetrieveChatThread 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
func NewResponseRetrieveChatThreadWithDefaults ¶
func NewResponseRetrieveChatThreadWithDefaults() *ResponseRetrieveChatThread
NewResponseRetrieveChatThreadWithDefaults instantiates a new ResponseRetrieveChatThread 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
func (*ResponseRetrieveChatThread) GetData ¶
func (o *ResponseRetrieveChatThread) GetData() ChatThread
GetData returns the Data field value
func (*ResponseRetrieveChatThread) GetDataOk ¶
func (o *ResponseRetrieveChatThread) GetDataOk() (*ChatThread, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ResponseRetrieveChatThread) MarshalJSON ¶
func (o ResponseRetrieveChatThread) MarshalJSON() ([]byte, error)
func (*ResponseRetrieveChatThread) SetData ¶
func (o *ResponseRetrieveChatThread) SetData(v ChatThread)
SetData sets field value
func (ResponseRetrieveChatThread) ToMap ¶
func (o ResponseRetrieveChatThread) ToMap() (map[string]interface{}, error)
func (*ResponseRetrieveChatThread) UnmarshalJSON ¶
func (o *ResponseRetrieveChatThread) UnmarshalJSON(data []byte) (err error)
type ResponseRetrieveDocument ¶
type ResponseRetrieveDocument struct {
Data Document `json:"data"`
}
ResponseRetrieveDocument struct for ResponseRetrieveDocument
func NewResponseRetrieveDocument ¶
func NewResponseRetrieveDocument(data Document) *ResponseRetrieveDocument
NewResponseRetrieveDocument instantiates a new ResponseRetrieveDocument 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
func NewResponseRetrieveDocumentWithDefaults ¶
func NewResponseRetrieveDocumentWithDefaults() *ResponseRetrieveDocument
NewResponseRetrieveDocumentWithDefaults instantiates a new ResponseRetrieveDocument 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
func (*ResponseRetrieveDocument) GetData ¶
func (o *ResponseRetrieveDocument) GetData() Document
GetData returns the Data field value
func (*ResponseRetrieveDocument) GetDataOk ¶
func (o *ResponseRetrieveDocument) GetDataOk() (*Document, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ResponseRetrieveDocument) MarshalJSON ¶
func (o ResponseRetrieveDocument) MarshalJSON() ([]byte, error)
func (*ResponseRetrieveDocument) SetData ¶
func (o *ResponseRetrieveDocument) SetData(v Document)
SetData sets field value
func (ResponseRetrieveDocument) ToMap ¶
func (o ResponseRetrieveDocument) ToMap() (map[string]interface{}, error)
func (*ResponseRetrieveDocument) UnmarshalJSON ¶
func (o *ResponseRetrieveDocument) UnmarshalJSON(data []byte) (err error)
type ResponseRetrieveKnowledgeBase ¶
type ResponseRetrieveKnowledgeBase struct {
Data KnowledgeBase `json:"data"`
}
ResponseRetrieveKnowledgeBase struct for ResponseRetrieveKnowledgeBase
func NewResponseRetrieveKnowledgeBase ¶
func NewResponseRetrieveKnowledgeBase(data KnowledgeBase) *ResponseRetrieveKnowledgeBase
NewResponseRetrieveKnowledgeBase instantiates a new ResponseRetrieveKnowledgeBase 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
func NewResponseRetrieveKnowledgeBaseWithDefaults ¶
func NewResponseRetrieveKnowledgeBaseWithDefaults() *ResponseRetrieveKnowledgeBase
NewResponseRetrieveKnowledgeBaseWithDefaults instantiates a new ResponseRetrieveKnowledgeBase 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
func (*ResponseRetrieveKnowledgeBase) GetData ¶
func (o *ResponseRetrieveKnowledgeBase) GetData() KnowledgeBase
GetData returns the Data field value
func (*ResponseRetrieveKnowledgeBase) GetDataOk ¶
func (o *ResponseRetrieveKnowledgeBase) GetDataOk() (*KnowledgeBase, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ResponseRetrieveKnowledgeBase) MarshalJSON ¶
func (o ResponseRetrieveKnowledgeBase) MarshalJSON() ([]byte, error)
func (*ResponseRetrieveKnowledgeBase) SetData ¶
func (o *ResponseRetrieveKnowledgeBase) SetData(v KnowledgeBase)
SetData sets field value
func (ResponseRetrieveKnowledgeBase) ToMap ¶
func (o ResponseRetrieveKnowledgeBase) ToMap() (map[string]interface{}, error)
func (*ResponseRetrieveKnowledgeBase) UnmarshalJSON ¶
func (o *ResponseRetrieveKnowledgeBase) UnmarshalJSON(data []byte) (err error)
type ResponseRetrieveMessage ¶
type ResponseRetrieveMessage struct {
Data Message `json:"data"`
}
ResponseRetrieveMessage struct for ResponseRetrieveMessage
func NewResponseRetrieveMessage ¶
func NewResponseRetrieveMessage(data Message) *ResponseRetrieveMessage
NewResponseRetrieveMessage instantiates a new ResponseRetrieveMessage 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
func NewResponseRetrieveMessageWithDefaults ¶
func NewResponseRetrieveMessageWithDefaults() *ResponseRetrieveMessage
NewResponseRetrieveMessageWithDefaults instantiates a new ResponseRetrieveMessage 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
func (*ResponseRetrieveMessage) GetData ¶
func (o *ResponseRetrieveMessage) GetData() Message
GetData returns the Data field value
func (*ResponseRetrieveMessage) GetDataOk ¶
func (o *ResponseRetrieveMessage) GetDataOk() (*Message, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ResponseRetrieveMessage) MarshalJSON ¶
func (o ResponseRetrieveMessage) MarshalJSON() ([]byte, error)
func (*ResponseRetrieveMessage) SetData ¶
func (o *ResponseRetrieveMessage) SetData(v Message)
SetData sets field value
func (ResponseRetrieveMessage) ToMap ¶
func (o ResponseRetrieveMessage) ToMap() (map[string]interface{}, error)
func (*ResponseRetrieveMessage) UnmarshalJSON ¶
func (o *ResponseRetrieveMessage) UnmarshalJSON(data []byte) (err error)
type ResponseRetrieveTool ¶
type ResponseRetrieveTool struct {
Data Tool `json:"data"`
}
ResponseRetrieveTool struct for ResponseRetrieveTool
func NewResponseRetrieveTool ¶
func NewResponseRetrieveTool(data Tool) *ResponseRetrieveTool
NewResponseRetrieveTool instantiates a new ResponseRetrieveTool 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
func NewResponseRetrieveToolWithDefaults ¶
func NewResponseRetrieveToolWithDefaults() *ResponseRetrieveTool
NewResponseRetrieveToolWithDefaults instantiates a new ResponseRetrieveTool 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
func (*ResponseRetrieveTool) GetData ¶
func (o *ResponseRetrieveTool) GetData() Tool
GetData returns the Data field value
func (*ResponseRetrieveTool) GetDataOk ¶
func (o *ResponseRetrieveTool) GetDataOk() (*Tool, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ResponseRetrieveTool) MarshalJSON ¶
func (o ResponseRetrieveTool) MarshalJSON() ([]byte, error)
func (*ResponseRetrieveTool) SetData ¶
func (o *ResponseRetrieveTool) SetData(v Tool)
SetData sets field value
func (ResponseRetrieveTool) ToMap ¶
func (o ResponseRetrieveTool) ToMap() (map[string]interface{}, error)
func (*ResponseRetrieveTool) UnmarshalJSON ¶
func (o *ResponseRetrieveTool) UnmarshalJSON(data []byte) (err error)
type ResponseTool ¶
ResponseTool struct for ResponseTool
func NewResponseTool ¶
func NewResponseTool(data Tool) *ResponseTool
NewResponseTool instantiates a new ResponseTool 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
func NewResponseToolWithDefaults ¶
func NewResponseToolWithDefaults() *ResponseTool
NewResponseToolWithDefaults instantiates a new ResponseTool 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
func (*ResponseTool) GetData ¶
func (o *ResponseTool) GetData() Tool
GetData returns the Data field value
func (*ResponseTool) GetDataOk ¶
func (o *ResponseTool) GetDataOk() (*Tool, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseTool) GetState ¶
func (o *ResponseTool) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*ResponseTool) GetStateOk ¶
func (o *ResponseTool) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseTool) HasState ¶
func (o *ResponseTool) HasState() bool
HasState returns a boolean if a field has been set.
func (ResponseTool) MarshalJSON ¶
func (o ResponseTool) MarshalJSON() ([]byte, error)
func (*ResponseTool) SetState ¶
func (o *ResponseTool) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (ResponseTool) ToMap ¶
func (o ResponseTool) ToMap() (map[string]interface{}, error)
func (*ResponseTool) UnmarshalJSON ¶
func (o *ResponseTool) UnmarshalJSON(data []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ThreadsAPIService ¶
type ThreadsAPIService service
ThreadsAPIService ThreadsAPI service
func (*ThreadsAPIService) ThreadsCreate ¶
func (a *ThreadsAPIService) ThreadsCreate(ctx context.Context) ApiThreadsCreateRequest
ThreadsCreate Method for ThreadsCreate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiThreadsCreateRequest
func (*ThreadsAPIService) ThreadsCreateExecute ¶
func (a *ThreadsAPIService) ThreadsCreateExecute(r ApiThreadsCreateRequest) (*ResponseChatThread, *http.Response, error)
Execute executes the request
@return ResponseChatThread
func (*ThreadsAPIService) ThreadsDestroy ¶
func (a *ThreadsAPIService) ThreadsDestroy(ctx context.Context, threadId string) ApiThreadsDestroyRequest
ThreadsDestroy Method for ThreadsDestroy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiThreadsDestroyRequest
func (*ThreadsAPIService) ThreadsDestroyExecute ¶
func (a *ThreadsAPIService) ThreadsDestroyExecute(r ApiThreadsDestroyRequest) (*ResponseDeleteChatThread, *http.Response, error)
Execute executes the request
@return ResponseDeleteChatThread
func (*ThreadsAPIService) ThreadsList ¶
func (a *ThreadsAPIService) ThreadsList(ctx context.Context) ApiThreadsListRequest
ThreadsList Method for ThreadsList
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiThreadsListRequest
func (*ThreadsAPIService) ThreadsListExecute ¶
func (a *ThreadsAPIService) ThreadsListExecute(r ApiThreadsListRequest) (*PaginatedChatThreadList, *http.Response, error)
Execute executes the request
@return PaginatedChatThreadList
func (*ThreadsAPIService) ThreadsMessagesCreate ¶
func (a *ThreadsAPIService) ThreadsMessagesCreate(ctx context.Context, threadId string) ApiThreadsMessagesCreateRequest
ThreadsMessagesCreate Method for ThreadsMessagesCreate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiThreadsMessagesCreateRequest
func (*ThreadsAPIService) ThreadsMessagesCreateExecute ¶
func (a *ThreadsAPIService) ThreadsMessagesCreateExecute(r ApiThreadsMessagesCreateRequest) (*ResponseMessage, *http.Response, error)
Execute executes the request
@return ResponseMessage
func (*ThreadsAPIService) ThreadsMessagesDestroy ¶
func (a *ThreadsAPIService) ThreadsMessagesDestroy(ctx context.Context, messageId string, threadId string) ApiThreadsMessagesDestroyRequest
ThreadsMessagesDestroy Method for ThreadsMessagesDestroy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param messageId @param threadId @return ApiThreadsMessagesDestroyRequest
func (*ThreadsAPIService) ThreadsMessagesDestroyExecute ¶
func (a *ThreadsAPIService) ThreadsMessagesDestroyExecute(r ApiThreadsMessagesDestroyRequest) (*ResponseDeleteMessage, *http.Response, error)
Execute executes the request
@return ResponseDeleteMessage
func (*ThreadsAPIService) ThreadsMessagesList ¶
func (a *ThreadsAPIService) ThreadsMessagesList(ctx context.Context, threadId string) ApiThreadsMessagesListRequest
ThreadsMessagesList Method for ThreadsMessagesList
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiThreadsMessagesListRequest
func (*ThreadsAPIService) ThreadsMessagesListExecute ¶
func (a *ThreadsAPIService) ThreadsMessagesListExecute(r ApiThreadsMessagesListRequest) (*PaginatedMessageList, *http.Response, error)
Execute executes the request
@return PaginatedMessageList
func (*ThreadsAPIService) ThreadsMessagesRetrieve ¶
func (a *ThreadsAPIService) ThreadsMessagesRetrieve(ctx context.Context, messageId string, threadId string) ApiThreadsMessagesRetrieveRequest
ThreadsMessagesRetrieve Method for ThreadsMessagesRetrieve
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param messageId @param threadId @return ApiThreadsMessagesRetrieveRequest
func (*ThreadsAPIService) ThreadsMessagesRetrieveExecute ¶
func (a *ThreadsAPIService) ThreadsMessagesRetrieveExecute(r ApiThreadsMessagesRetrieveRequest) (*ResponseRetrieveMessage, *http.Response, error)
Execute executes the request
@return ResponseRetrieveMessage
func (*ThreadsAPIService) ThreadsMessagesUpdate ¶
func (a *ThreadsAPIService) ThreadsMessagesUpdate(ctx context.Context, messageId string, threadId string) ApiThreadsMessagesUpdateRequest
ThreadsMessagesUpdate Method for ThreadsMessagesUpdate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param messageId @param threadId @return ApiThreadsMessagesUpdateRequest
func (*ThreadsAPIService) ThreadsMessagesUpdateExecute ¶
func (a *ThreadsAPIService) ThreadsMessagesUpdateExecute(r ApiThreadsMessagesUpdateRequest) (*ResponseMessage, *http.Response, error)
Execute executes the request
@return ResponseMessage
func (*ThreadsAPIService) ThreadsPartialUpdate ¶
func (a *ThreadsAPIService) ThreadsPartialUpdate(ctx context.Context, threadId string) ApiThreadsPartialUpdateRequest
ThreadsPartialUpdate Method for ThreadsPartialUpdate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiThreadsPartialUpdateRequest
func (*ThreadsAPIService) ThreadsPartialUpdateExecute ¶
func (a *ThreadsAPIService) ThreadsPartialUpdateExecute(r ApiThreadsPartialUpdateRequest) (*ResponseChatThread, *http.Response, error)
Execute executes the request
@return ResponseChatThread
func (*ThreadsAPIService) ThreadsRetrieve ¶
func (a *ThreadsAPIService) ThreadsRetrieve(ctx context.Context, threadId string) ApiThreadsRetrieveRequest
ThreadsRetrieve Method for ThreadsRetrieve
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiThreadsRetrieveRequest
func (*ThreadsAPIService) ThreadsRetrieveExecute ¶
func (a *ThreadsAPIService) ThreadsRetrieveExecute(r ApiThreadsRetrieveRequest) (*ResponseRetrieveChatThread, *http.Response, error)
Execute executes the request
@return ResponseRetrieveChatThread
func (*ThreadsAPIService) ThreadsUpdate ¶
func (a *ThreadsAPIService) ThreadsUpdate(ctx context.Context, threadId string) ApiThreadsUpdateRequest
ThreadsUpdate Method for ThreadsUpdate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param threadId @return ApiThreadsUpdateRequest
func (*ThreadsAPIService) ThreadsUpdateExecute ¶
func (a *ThreadsAPIService) ThreadsUpdateExecute(r ApiThreadsUpdateRequest) (*ResponseChatThread, *http.Response, error)
Execute executes the request
@return ResponseChatThread
type Tool ¶
type Tool struct {
ToolId int64 `json:"tool_id"`
Name string `json:"name"`
Description *string `json:"description,omitempty"`
Type string `json:"type"`
JsonSchema map[string]interface{} `json:"json_schema,omitempty"`
Active *bool `json:"active,omitempty"`
Kbs string `json:"kbs"`
LastModified time.Time `json:"last_modified"`
LastEditor string `json:"last_editor"`
}
Tool struct for Tool
func NewTool ¶
func NewTool(toolId int64, name string, type_ string, kbs string, lastModified time.Time, lastEditor string) *Tool
NewTool instantiates a new Tool 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
func NewToolWithDefaults ¶
func NewToolWithDefaults() *Tool
NewToolWithDefaults instantiates a new Tool 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
func (*Tool) GetActiveOk ¶
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tool) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Tool) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tool) GetJsonSchema ¶
GetJsonSchema returns the JsonSchema field value if set, zero value otherwise.
func (*Tool) GetJsonSchemaOk ¶
GetJsonSchemaOk returns a tuple with the JsonSchema field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tool) GetKbsOk ¶
GetKbsOk returns a tuple with the Kbs field value and a boolean to check if the value has been set.
func (*Tool) GetLastEditor ¶
GetLastEditor returns the LastEditor field value
func (*Tool) GetLastEditorOk ¶
GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.
func (*Tool) GetLastModified ¶
GetLastModified returns the LastModified field value
func (*Tool) GetLastModifiedOk ¶
GetLastModifiedOk returns a tuple with the LastModified field value and a boolean to check if the value has been set.
func (*Tool) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Tool) GetToolIdOk ¶
GetToolIdOk returns a tuple with the ToolId field value and a boolean to check if the value has been set.
func (*Tool) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Tool) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Tool) HasJsonSchema ¶
HasJsonSchema returns a boolean if a field has been set.
func (Tool) MarshalJSON ¶
func (*Tool) SetActive ¶
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*Tool) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Tool) SetJsonSchema ¶
SetJsonSchema gets a reference to the given map[string]interface{} and assigns it to the JsonSchema field.
func (*Tool) SetLastModified ¶
SetLastModified sets field value
func (*Tool) UnmarshalJSON ¶
type ToolKBLink ¶
ToolKBLink struct for ToolKBLink
func NewToolKBLink ¶
func NewToolKBLink(toolKbId int64, kbId int64) *ToolKBLink
NewToolKBLink instantiates a new ToolKBLink 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
func NewToolKBLinkWithDefaults ¶
func NewToolKBLinkWithDefaults() *ToolKBLink
NewToolKBLinkWithDefaults instantiates a new ToolKBLink 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
func (*ToolKBLink) GetKbId ¶
func (o *ToolKBLink) GetKbId() int64
GetKbId returns the KbId field value
func (*ToolKBLink) GetKbIdOk ¶
func (o *ToolKBLink) GetKbIdOk() (*int64, bool)
GetKbIdOk returns a tuple with the KbId field value and a boolean to check if the value has been set.
func (*ToolKBLink) GetToolKbId ¶
func (o *ToolKBLink) GetToolKbId() int64
GetToolKbId returns the ToolKbId field value
func (*ToolKBLink) GetToolKbIdOk ¶
func (o *ToolKBLink) GetToolKbIdOk() (*int64, bool)
GetToolKbIdOk returns a tuple with the ToolKbId field value and a boolean to check if the value has been set.
func (ToolKBLink) MarshalJSON ¶
func (o ToolKBLink) MarshalJSON() ([]byte, error)
func (*ToolKBLink) SetToolKbId ¶
func (o *ToolKBLink) SetToolKbId(v int64)
SetToolKbId sets field value
func (ToolKBLink) ToMap ¶
func (o ToolKBLink) ToMap() (map[string]interface{}, error)
func (*ToolKBLink) UnmarshalJSON ¶
func (o *ToolKBLink) UnmarshalJSON(data []byte) (err error)
type ToolRequest ¶
type ToolRequest struct {
Name string `json:"name"`
Description *string `json:"description,omitempty"`
Type string `json:"type"`
JsonSchema map[string]interface{} `json:"json_schema,omitempty"`
Active *bool `json:"active,omitempty"`
}
ToolRequest struct for ToolRequest
func NewToolRequest ¶
func NewToolRequest(name string, type_ string) *ToolRequest
NewToolRequest instantiates a new ToolRequest 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
func NewToolRequestWithDefaults ¶
func NewToolRequestWithDefaults() *ToolRequest
NewToolRequestWithDefaults instantiates a new ToolRequest 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
func (*ToolRequest) GetActive ¶
func (o *ToolRequest) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*ToolRequest) GetActiveOk ¶
func (o *ToolRequest) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolRequest) GetDescription ¶
func (o *ToolRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ToolRequest) GetDescriptionOk ¶
func (o *ToolRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolRequest) GetJsonSchema ¶
func (o *ToolRequest) GetJsonSchema() map[string]interface{}
GetJsonSchema returns the JsonSchema field value if set, zero value otherwise.
func (*ToolRequest) GetJsonSchemaOk ¶
func (o *ToolRequest) GetJsonSchemaOk() (map[string]interface{}, bool)
GetJsonSchemaOk returns a tuple with the JsonSchema field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolRequest) GetName ¶
func (o *ToolRequest) GetName() string
GetName returns the Name field value
func (*ToolRequest) GetNameOk ¶
func (o *ToolRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ToolRequest) GetType ¶
func (o *ToolRequest) GetType() string
GetType returns the Type field value
func (*ToolRequest) GetTypeOk ¶
func (o *ToolRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ToolRequest) HasActive ¶
func (o *ToolRequest) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*ToolRequest) HasDescription ¶
func (o *ToolRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ToolRequest) HasJsonSchema ¶
func (o *ToolRequest) HasJsonSchema() bool
HasJsonSchema returns a boolean if a field has been set.
func (ToolRequest) MarshalJSON ¶
func (o ToolRequest) MarshalJSON() ([]byte, error)
func (*ToolRequest) SetActive ¶
func (o *ToolRequest) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*ToolRequest) SetDescription ¶
func (o *ToolRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ToolRequest) SetJsonSchema ¶
func (o *ToolRequest) SetJsonSchema(v map[string]interface{})
SetJsonSchema gets a reference to the given map[string]interface{} and assigns it to the JsonSchema field.
func (ToolRequest) ToMap ¶
func (o ToolRequest) ToMap() (map[string]interface{}, error)
func (*ToolRequest) UnmarshalJSON ¶
func (o *ToolRequest) UnmarshalJSON(data []byte) (err error)
type ToolsAPIService ¶
type ToolsAPIService service
ToolsAPIService ToolsAPI service
func (*ToolsAPIService) ToolsCreate ¶
func (a *ToolsAPIService) ToolsCreate(ctx context.Context) ApiToolsCreateRequest
ToolsCreate Method for ToolsCreate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiToolsCreateRequest
func (*ToolsAPIService) ToolsCreateExecute ¶
func (a *ToolsAPIService) ToolsCreateExecute(r ApiToolsCreateRequest) (*ResponseTool, *http.Response, error)
Execute executes the request
@return ResponseTool
func (*ToolsAPIService) ToolsDestroy ¶
func (a *ToolsAPIService) ToolsDestroy(ctx context.Context, toolId string) ApiToolsDestroyRequest
ToolsDestroy Method for ToolsDestroy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId A UUID string identifying this tool. @return ApiToolsDestroyRequest
func (*ToolsAPIService) ToolsDestroyExecute ¶
func (a *ToolsAPIService) ToolsDestroyExecute(r ApiToolsDestroyRequest) (*ResponseDeleteTool, *http.Response, error)
Execute executes the request
@return ResponseDeleteTool
func (*ToolsAPIService) ToolsKbCreate ¶
func (a *ToolsAPIService) ToolsKbCreate(ctx context.Context, toolId string) ApiToolsKbCreateRequest
ToolsKbCreate Method for ToolsKbCreate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId A UUID string identifying this tool. @return ApiToolsKbCreateRequest
func (*ToolsAPIService) ToolsKbCreateExecute ¶
func (a *ToolsAPIService) ToolsKbCreateExecute(r ApiToolsKbCreateRequest) (*ToolKBLink, *http.Response, error)
Execute executes the request
@return ToolKBLink
func (*ToolsAPIService) ToolsKbDestroy ¶
func (a *ToolsAPIService) ToolsKbDestroy(ctx context.Context, kbId string, toolId string) ApiToolsKbDestroyRequest
ToolsKbDestroy Method for ToolsKbDestroy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param kbId @param toolId A UUID string identifying this tool. @return ApiToolsKbDestroyRequest
func (*ToolsAPIService) ToolsKbDestroyExecute ¶
func (a *ToolsAPIService) ToolsKbDestroyExecute(r ApiToolsKbDestroyRequest) (*http.Response, error)
Execute executes the request
func (*ToolsAPIService) ToolsKbList ¶
func (a *ToolsAPIService) ToolsKbList(ctx context.Context, toolId string) ApiToolsKbListRequest
ToolsKbList Method for ToolsKbList
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId A UUID string identifying this tool. @return ApiToolsKbListRequest
func (*ToolsAPIService) ToolsKbListExecute ¶
func (a *ToolsAPIService) ToolsKbListExecute(r ApiToolsKbListRequest) (*PaginatedKnowledgeBaseList, *http.Response, error)
Execute executes the request
@return PaginatedKnowledgeBaseList
func (*ToolsAPIService) ToolsList ¶
func (a *ToolsAPIService) ToolsList(ctx context.Context) ApiToolsListRequest
ToolsList Method for ToolsList
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiToolsListRequest
func (*ToolsAPIService) ToolsListExecute ¶
func (a *ToolsAPIService) ToolsListExecute(r ApiToolsListRequest) (*PaginatedToolList, *http.Response, error)
Execute executes the request
@return PaginatedToolList
func (*ToolsAPIService) ToolsPartialUpdate ¶
func (a *ToolsAPIService) ToolsPartialUpdate(ctx context.Context, toolId string) ApiToolsPartialUpdateRequest
ToolsPartialUpdate Method for ToolsPartialUpdate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId A UUID string identifying this tool. @return ApiToolsPartialUpdateRequest
func (*ToolsAPIService) ToolsPartialUpdateExecute ¶
func (a *ToolsAPIService) ToolsPartialUpdateExecute(r ApiToolsPartialUpdateRequest) (*ResponseTool, *http.Response, error)
Execute executes the request
@return ResponseTool
func (*ToolsAPIService) ToolsRetrieve ¶
func (a *ToolsAPIService) ToolsRetrieve(ctx context.Context, toolId string) ApiToolsRetrieveRequest
ToolsRetrieve Method for ToolsRetrieve
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId A UUID string identifying this tool. @return ApiToolsRetrieveRequest
func (*ToolsAPIService) ToolsRetrieveExecute ¶
func (a *ToolsAPIService) ToolsRetrieveExecute(r ApiToolsRetrieveRequest) (*ResponseRetrieveTool, *http.Response, error)
Execute executes the request
@return ResponseRetrieveTool
func (*ToolsAPIService) ToolsUpdate ¶
func (a *ToolsAPIService) ToolsUpdate(ctx context.Context, toolId string) ApiToolsUpdateRequest
ToolsUpdate Method for ToolsUpdate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param toolId A UUID string identifying this tool. @return ApiToolsUpdateRequest
func (*ToolsAPIService) ToolsUpdateExecute ¶
func (a *ToolsAPIService) ToolsUpdateExecute(r ApiToolsUpdateRequest) (*ResponseTool, *http.Response, error)
Execute executes the request
@return ResponseTool
Source Files
¶
- api_ai_studio_chat_threads.go
- api_ai_studio_chunks.go
- api_ai_studio_documents.go
- api_ai_studio_knowledge_bases.go
- api_ai_studio_messages.go
- api_ai_studio_tools.go
- api_kb.go
- api_threads.go
- api_tools.go
- client.go
- configuration.go
- model_chat_thread.go
- model_chat_thread_request.go
- model_chunk.go
- model_document.go
- model_document_request.go
- model_jsonapi_error_object.go
- model_jsonapi_error_response.go
- model_jsonapi_error_source.go
- model_kb_ask_request_request.go
- model_kb_ask_response.go
- model_kb_query_request_request.go
- model_kb_query_response.go
- model_kb_query_result.go
- model_knowledge_base.go
- model_knowledge_base_request.go
- model_message.go
- model_message_request.go
- model_paginated_chat_thread_list.go
- model_paginated_chunk_list.go
- model_paginated_document_list.go
- model_paginated_knowledge_base_list.go
- model_paginated_message_list.go
- model_paginated_tool_list.go
- model_patched_chat_thread_request.go
- model_patched_knowledge_base_request.go
- model_patched_tool_request.go
- model_response_async_chat_thread.go
- model_response_async_delete_chat_thread.go
- model_response_async_delete_document.go
- model_response_async_delete_knowledge_base.go
- model_response_async_delete_message.go
- model_response_async_delete_tool.go
- model_response_async_document.go
- model_response_async_knowledge_base.go
- model_response_async_message.go
- model_response_async_tool.go
- model_response_chat_thread.go
- model_response_delete_chat_thread.go
- model_response_delete_document.go
- model_response_delete_knowledge_base.go
- model_response_delete_message.go
- model_response_delete_tool.go
- model_response_document.go
- model_response_knowledge_base.go
- model_response_message.go
- model_response_retrieve_chat_thread.go
- model_response_retrieve_document.go
- model_response_retrieve_knowledge_base.go
- model_response_retrieve_message.go
- model_response_retrieve_tool.go
- model_response_tool.go
- model_tool.go
- model_tool_kb_link.go
- model_tool_request.go
- response.go
- utils.go