aistudioapi

package
v0.267.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Go API client for aistudioapi

REST API OpenAPI documentation for the ai-studio-api

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.27.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Import the package in a go file in your project and run go mod tidy:

import aistudioapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value aistudioapi.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), aistudioapi.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value aistudioapi.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), aistudioapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using aistudioapi.ContextOperationServerIndices and aistudioapi.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), aistudioapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), aistudioapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AIStudioChatThreadsAPI CreateChatThread Post /workspace/ai/threads Create a chat thread
AIStudioChatThreadsAPI DestroyAChatThread Delete /workspace/ai/threads/{threadId} Destroy a chat thread
AIStudioChatThreadsAPI ListChatThreads Get /workspace/ai/threads List chat threads
AIStudioChatThreadsAPI PartialUpdateChatThread Patch /workspace/ai/threads/{threadId} Partially update a chat thread
AIStudioChatThreadsAPI RetriveChatThread Get /workspace/ai/threads/{threadId} Retrieve details from a chat thread
AIStudioChatThreadsAPI UpdateChatThread Put /workspace/ai/threads/{threadId} Update a chat thread
AIStudioChunksAPI ListChunks Get /workspace/ai/kbs/{kbId}/documents/{documentId}/chunks List chunks
AIStudioDocumentsAPI CreateDocument Post /workspace/ai/kbs/{kbId}/documents Create a document
AIStudioDocumentsAPI DestroyADocument Delete /workspace/ai/kbs/{kbId}/documents/{documentId} Destroy a document
AIStudioDocumentsAPI ListDocuments Get /workspace/ai/kbs/{kbId}/documents List documents
AIStudioDocumentsAPI RetriveDocument Get /workspace/ai/kbs/{kbId}/documents/{documentId} Retrieve details from a document
AIStudioDocumentsAPI UpdateDocument Put /workspace/ai/kbs/{kbId}/documents/{documentId} Update a document
AIStudioKnowledgeBasesAPI AskKnowledgeBase Post /workspace/ai/kbs/{kbId}/ask Ask the knowledge base
AIStudioKnowledgeBasesAPI CreateKnowledgeBase Post /workspace/ai/kbs Create a knowledge base
AIStudioKnowledgeBasesAPI DestroyAKnowledgeBase Delete /workspace/ai/kbs/{kbId} Destroy a knowledge base
AIStudioKnowledgeBasesAPI ListKnowledgeBases Get /workspace/ai/kbs List knowledge bases
AIStudioKnowledgeBasesAPI PartialUpdateKnowledgeBase Patch /workspace/ai/kbs/{kbId} Partially update a knowledge base
AIStudioKnowledgeBasesAPI QueryChunkFromKnowledgeBase Post /workspace/ai/kbs/{kbId}/query Query a chunk from a knowledge base
AIStudioKnowledgeBasesAPI RetriveKnowledgeBase Get /workspace/ai/kbs/{kbId} Retrieve details from a knowledge base
AIStudioKnowledgeBasesAPI UpdateKnowledgeBase Put /workspace/ai/kbs/{kbId} Update a knowledge base
AIStudioMessagesAPI CreateMessage Post /workspace/ai/threads/{threadId}/messages Create a message
AIStudioMessagesAPI DestroyAMessage Delete /workspace/ai/threads/{threadId}/messages/{messageId} Destroy a message
AIStudioMessagesAPI ListMessages Get /workspace/ai/threads/{threadId}/messages List messages
AIStudioMessagesAPI RetriveMessage Get /workspace/ai/threads/{threadId}/messages/{messageId} Retrieve details from a message
AIStudioMessagesAPI UpdateMessage Put /workspace/ai/threads/{threadId}/messages/{messageId} Update a message
AIStudioToolsAPI AddKnowledgeBaseToATool Post /workspace/ai/tools/{toolId}/kbs Add a knowledge base to a tool
AIStudioToolsAPI CreateTool Post /workspace/ai/tools Create a tool
AIStudioToolsAPI DestroyATool Delete /workspace/ai/tools/{toolId} Destroy a tool
AIStudioToolsAPI ListKnowledgeBasesLinkedToATool Get /workspace/ai/tools/{toolId}/kbs List knowledge bases linked to a tool
AIStudioToolsAPI ListTools Get /workspace/ai/tools List tools
AIStudioToolsAPI PartialUpdateTool Patch /workspace/ai/tools/{toolId} Partially update a tool
AIStudioToolsAPI RemoveKnowledgeBaseFromATool Delete /workspace/ai/tools/{toolId}/kbs/{kbId} Remove a knowledge base from a tool
AIStudioToolsAPI RetriveTool Get /workspace/ai/tools/{toolId} Retrieve details from a tool
AIStudioToolsAPI UpdateTool Put /workspace/ai/tools/{toolId} Update a tool

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), aistudioapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
TokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: TokenAuth and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		aistudioapi.ContextAPIKeys,
		map[string]aistudioapi.APIKey{
			"TokenAuth": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type AIStudioChatThreadsAPIService

type AIStudioChatThreadsAPIService service

AIStudioChatThreadsAPIService AIStudioChatThreadsAPI service

func (*AIStudioChatThreadsAPIService) CreateChatThread

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

Execute executes the request

@return ResponseChatThread

func (*AIStudioChatThreadsAPIService) DestroyAChatThread

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

Execute executes the request

@return ResponseDeleteChatThread

func (*AIStudioChatThreadsAPIService) ListChatThreads

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

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

Execute executes the request

@return ResponseChatThread

func (*AIStudioChatThreadsAPIService) RetriveChatThread

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

Execute executes the request

@return ResponseRetrieveChatThread

func (*AIStudioChatThreadsAPIService) UpdateChatThread

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

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

Execute executes the request

@return PaginatedChunkList

type AIStudioDocumentsAPIService

type AIStudioDocumentsAPIService service

AIStudioDocumentsAPIService AIStudioDocumentsAPI service

func (*AIStudioDocumentsAPIService) CreateDocument

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

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

Execute executes the request

@return ResponseDeleteDocument

func (*AIStudioDocumentsAPIService) ListDocuments

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

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

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

Execute executes the request

@return ResponseDocument

type AIStudioKnowledgeBasesAPIService

type AIStudioKnowledgeBasesAPIService service

AIStudioKnowledgeBasesAPIService AIStudioKnowledgeBasesAPI service

func (*AIStudioKnowledgeBasesAPIService) AskKnowledgeBase

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

Execute executes the request

@return KBAskResponse

func (*AIStudioKnowledgeBasesAPIService) CreateKnowledgeBase

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

Execute executes the request

@return ResponseKnowledgeBase

func (*AIStudioKnowledgeBasesAPIService) DestroyAKnowledgeBase

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

Execute executes the request

@return ResponseDeleteKnowledgeBase

func (*AIStudioKnowledgeBasesAPIService) ListKnowledgeBases

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

Execute executes the request

@return PaginatedKnowledgeBaseList

func (*AIStudioKnowledgeBasesAPIService) PartialUpdateKnowledgeBase

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

Execute executes the request

@return ResponseKnowledgeBase

func (*AIStudioKnowledgeBasesAPIService) QueryChunkFromKnowledgeBase

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

Execute executes the request

@return KBQueryResponse

func (*AIStudioKnowledgeBasesAPIService) RetriveKnowledgeBase

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

Execute executes the request

@return ResponseRetrieveKnowledgeBase

func (*AIStudioKnowledgeBasesAPIService) UpdateKnowledgeBase

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

Execute executes the request

@return ResponseKnowledgeBase

type AIStudioMessagesAPIService

type AIStudioMessagesAPIService service

AIStudioMessagesAPIService AIStudioMessagesAPI service

func (*AIStudioMessagesAPIService) CreateMessage

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

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

Execute executes the request

@return ResponseDeleteMessage

func (*AIStudioMessagesAPIService) ListMessages

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

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

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

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

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

Execute executes the request

@return ResponseTool

func (*AIStudioToolsAPIService) DestroyATool

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

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

Execute executes the request

@return PaginatedKnowledgeBaseList

func (*AIStudioToolsAPIService) ListTools

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

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

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

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

Execute executes the request

@return ResponseRetrieveTool

func (*AIStudioToolsAPIService) UpdateTool

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

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

type APIKey struct {
	Key    string
	Prefix string
}

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 (ApiAddKnowledgeBaseToAToolRequest) ToolRequest

type ApiAskKnowledgeBaseRequest

type ApiAskKnowledgeBaseRequest struct {
	ApiService *AIStudioKnowledgeBasesAPIService
	// contains filtered or unexported fields
}

func (ApiAskKnowledgeBaseRequest) Execute

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

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 (ApiCreateDocumentRequest) Name

func (ApiCreateDocumentRequest) SourceUri

func (ApiCreateDocumentRequest) Type_

type ApiCreateKnowledgeBaseRequest

type ApiCreateKnowledgeBaseRequest struct {
	ApiService *AIStudioKnowledgeBasesAPIService
	// contains filtered or unexported fields
}

func (ApiCreateKnowledgeBaseRequest) Execute

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 (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 (ApiCreateToolRequest) ToolRequest

func (r ApiCreateToolRequest) ToolRequest(toolRequest ToolRequest) ApiCreateToolRequest

type ApiDestroyAChatThreadRequest

type ApiDestroyAChatThreadRequest struct {
	ApiService *AIStudioChatThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiDestroyAChatThreadRequest) Execute

type ApiDestroyADocumentRequest

type ApiDestroyADocumentRequest struct {
	ApiService *AIStudioDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiDestroyADocumentRequest) Execute

type ApiDestroyAKnowledgeBaseRequest

type ApiDestroyAKnowledgeBaseRequest struct {
	ApiService *AIStudioKnowledgeBasesAPIService
	// contains filtered or unexported fields
}

func (ApiDestroyAKnowledgeBaseRequest) Execute

type ApiDestroyAMessageRequest

type ApiDestroyAMessageRequest struct {
	ApiService *AIStudioMessagesAPIService
	// contains filtered or unexported fields
}

func (ApiDestroyAMessageRequest) Execute

type ApiDestroyAToolRequest

type ApiDestroyAToolRequest struct {
	ApiService *AIStudioToolsAPIService
	// contains filtered or unexported fields
}

func (ApiDestroyAToolRequest) Execute

type ApiKbCreateRequest

type ApiKbCreateRequest struct {
	ApiService *KbAPIService
	// contains filtered or unexported fields
}

func (ApiKbCreateRequest) Execute

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

type ApiKbDocumentsChunksListRequest

type ApiKbDocumentsChunksListRequest struct {
	ApiService *KbAPIService
	// contains filtered or unexported fields
}

func (ApiKbDocumentsChunksListRequest) Execute

func (ApiKbDocumentsChunksListRequest) Ordering

Which field to use when ordering the results.

func (ApiKbDocumentsChunksListRequest) Page

A page number within the paginated result set.

func (ApiKbDocumentsChunksListRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiKbDocumentsChunksListRequest) Search

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 (ApiKbDocumentsCreateRequest) Execute

func (ApiKbDocumentsCreateRequest) Name

func (ApiKbDocumentsCreateRequest) SourceUri

func (ApiKbDocumentsCreateRequest) Type_

type ApiKbDocumentsDestroyRequest

type ApiKbDocumentsDestroyRequest struct {
	ApiService *KbAPIService
	// contains filtered or unexported fields
}

func (ApiKbDocumentsDestroyRequest) Execute

type ApiKbDocumentsListRequest

type ApiKbDocumentsListRequest struct {
	ApiService *KbAPIService
	// contains filtered or unexported fields
}

func (ApiKbDocumentsListRequest) Execute

func (ApiKbDocumentsListRequest) Ordering

Which field to use when ordering the results.

func (ApiKbDocumentsListRequest) Page

A page number within the paginated result set.

func (ApiKbDocumentsListRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiKbDocumentsListRequest) Search

A search term.

type ApiKbDocumentsRetrieveRequest

type ApiKbDocumentsRetrieveRequest struct {
	ApiService *KbAPIService
	// contains filtered or unexported fields
}

func (ApiKbDocumentsRetrieveRequest) Execute

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 (ApiKbDocumentsUpdateRequest) Execute

func (ApiKbDocumentsUpdateRequest) Name

func (ApiKbDocumentsUpdateRequest) SourceUri

func (ApiKbDocumentsUpdateRequest) Type_

type ApiKbListRequest

type ApiKbListRequest struct {
	ApiService *KbAPIService
	// contains filtered or unexported fields
}

func (ApiKbListRequest) Execute

func (ApiKbListRequest) Ordering

func (r ApiKbListRequest) Ordering(ordering string) ApiKbListRequest

Which field to use when ordering the results.

func (ApiKbListRequest) Page

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 (ApiKbPartialUpdateRequest) PatchedKnowledgeBaseRequest

func (r ApiKbPartialUpdateRequest) PatchedKnowledgeBaseRequest(patchedKnowledgeBaseRequest PatchedKnowledgeBaseRequest) ApiKbPartialUpdateRequest

type ApiKbRetrieveRequest

type ApiKbRetrieveRequest struct {
	ApiService *KbAPIService
	// contains filtered or unexported fields
}

func (ApiKbRetrieveRequest) Execute

type ApiKbUpdateRequest

type ApiKbUpdateRequest struct {
	ApiService *KbAPIService
	// contains filtered or unexported fields
}

func (ApiKbUpdateRequest) Execute

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 (ApiListChatThreadsRequest) Fields

Comma-separated list of field names to include in the response.

func (ApiListChatThreadsRequest) Ordering

Which field to use when ordering the results.

func (ApiListChatThreadsRequest) Page

A page number within the paginated result set.

func (ApiListChatThreadsRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiListChatThreadsRequest) Search

A search term.

type ApiListChunksRequest

type ApiListChunksRequest struct {
	ApiService *AIStudioChunksAPIService
	// contains filtered or unexported fields
}

func (ApiListChunksRequest) Execute

func (ApiListChunksRequest) Fields

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

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

A search term.

type ApiListDocumentsRequest

type ApiListDocumentsRequest struct {
	ApiService *AIStudioDocumentsAPIService
	// contains filtered or unexported fields
}

func (ApiListDocumentsRequest) Execute

func (ApiListDocumentsRequest) Fields

Comma-separated list of field names to include in the response.

func (ApiListDocumentsRequest) Ordering

Which field to use when ordering the results.

func (ApiListDocumentsRequest) Page

A page number within the paginated result set.

func (ApiListDocumentsRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiListDocumentsRequest) Search

A search term.

type ApiListKnowledgeBasesLinkedToAToolRequest

type ApiListKnowledgeBasesLinkedToAToolRequest struct {
	ApiService *AIStudioToolsAPIService
	// contains filtered or unexported fields
}

func (ApiListKnowledgeBasesLinkedToAToolRequest) Execute

func (ApiListKnowledgeBasesLinkedToAToolRequest) Fields

Comma-separated list of field names to include in the response.

func (ApiListKnowledgeBasesLinkedToAToolRequest) Ordering

Which field to use when ordering the results.

func (ApiListKnowledgeBasesLinkedToAToolRequest) Page

A page number within the paginated result set.

func (ApiListKnowledgeBasesLinkedToAToolRequest) PageSize

Number of results to return per page.

func (ApiListKnowledgeBasesLinkedToAToolRequest) Search

A search term.

type ApiListKnowledgeBasesRequest

type ApiListKnowledgeBasesRequest struct {
	ApiService *AIStudioKnowledgeBasesAPIService
	// contains filtered or unexported fields
}

func (ApiListKnowledgeBasesRequest) Execute

func (ApiListKnowledgeBasesRequest) Fields

Comma-separated list of field names to include in the response.

func (ApiListKnowledgeBasesRequest) Ordering

Which field to use when ordering the results.

func (ApiListKnowledgeBasesRequest) Page

A page number within the paginated result set.

func (ApiListKnowledgeBasesRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiListKnowledgeBasesRequest) Search

A search term.

type ApiListMessagesRequest

type ApiListMessagesRequest struct {
	ApiService *AIStudioMessagesAPIService
	// contains filtered or unexported fields
}

func (ApiListMessagesRequest) Execute

func (ApiListMessagesRequest) Fields

Comma-separated list of field names to include in the response.

func (ApiListMessagesRequest) Ordering

Which field to use when ordering the results.

func (ApiListMessagesRequest) Page

A page number within the paginated result set.

func (ApiListMessagesRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiListMessagesRequest) Search

A search term.

type ApiListToolsRequest

type ApiListToolsRequest struct {
	ApiService *AIStudioToolsAPIService
	// contains filtered or unexported fields
}

func (ApiListToolsRequest) Execute

func (ApiListToolsRequest) Fields

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

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

A search term.

type ApiPartialUpdateChatThreadRequest

type ApiPartialUpdateChatThreadRequest struct {
	ApiService *AIStudioChatThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiPartialUpdateChatThreadRequest) Execute

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 (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 (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 (ApiQueryChunkFromKnowledgeBaseRequest) KBQueryRequestRequest

type ApiRemoveKnowledgeBaseFromAToolRequest

type ApiRemoveKnowledgeBaseFromAToolRequest struct {
	ApiService *AIStudioToolsAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveKnowledgeBaseFromAToolRequest) Execute

type ApiRetriveChatThreadRequest

type ApiRetriveChatThreadRequest struct {
	ApiService *AIStudioChatThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiRetriveChatThreadRequest) Execute

func (ApiRetriveChatThreadRequest) Fields

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 (ApiRetriveDocumentRequest) Fields

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 (ApiRetriveKnowledgeBaseRequest) Fields

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 (ApiRetriveMessageRequest) Fields

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 (ApiRetriveToolRequest) Fields

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

type ApiThreadsDestroyRequest

type ApiThreadsDestroyRequest struct {
	ApiService *ThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiThreadsDestroyRequest) Execute

type ApiThreadsListRequest

type ApiThreadsListRequest struct {
	ApiService *ThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiThreadsListRequest) Execute

func (ApiThreadsListRequest) Ordering

func (r ApiThreadsListRequest) Ordering(ordering string) ApiThreadsListRequest

Which field to use when ordering the results.

func (ApiThreadsListRequest) Page

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

A search term.

type ApiThreadsMessagesCreateRequest

type ApiThreadsMessagesCreateRequest struct {
	ApiService *ThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiThreadsMessagesCreateRequest) Execute

func (ApiThreadsMessagesCreateRequest) MessageRequest

type ApiThreadsMessagesDestroyRequest

type ApiThreadsMessagesDestroyRequest struct {
	ApiService *ThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiThreadsMessagesDestroyRequest) Execute

type ApiThreadsMessagesListRequest

type ApiThreadsMessagesListRequest struct {
	ApiService *ThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiThreadsMessagesListRequest) Execute

func (ApiThreadsMessagesListRequest) Ordering

Which field to use when ordering the results.

func (ApiThreadsMessagesListRequest) Page

A page number within the paginated result set.

func (ApiThreadsMessagesListRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiThreadsMessagesListRequest) Search

A search term.

type ApiThreadsMessagesRetrieveRequest

type ApiThreadsMessagesRetrieveRequest struct {
	ApiService *ThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiThreadsMessagesRetrieveRequest) Execute

type ApiThreadsMessagesUpdateRequest

type ApiThreadsMessagesUpdateRequest struct {
	ApiService *ThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiThreadsMessagesUpdateRequest) Execute

func (ApiThreadsMessagesUpdateRequest) MessageRequest

type ApiThreadsPartialUpdateRequest

type ApiThreadsPartialUpdateRequest struct {
	ApiService *ThreadsAPIService
	// contains filtered or unexported fields
}

func (ApiThreadsPartialUpdateRequest) Execute

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

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

type ApiToolsCreateRequest

type ApiToolsCreateRequest struct {
	ApiService *ToolsAPIService
	// contains filtered or unexported fields
}

func (ApiToolsCreateRequest) Execute

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

type ApiToolsKbCreateRequest

type ApiToolsKbCreateRequest struct {
	ApiService *ToolsAPIService
	// contains filtered or unexported fields
}

func (ApiToolsKbCreateRequest) Execute

func (ApiToolsKbCreateRequest) ToolRequest

func (r ApiToolsKbCreateRequest) ToolRequest(toolRequest ToolRequest) ApiToolsKbCreateRequest

type ApiToolsKbDestroyRequest

type ApiToolsKbDestroyRequest struct {
	ApiService *ToolsAPIService
	// contains filtered or unexported fields
}

func (ApiToolsKbDestroyRequest) Execute

func (r ApiToolsKbDestroyRequest) Execute() (*http.Response, error)

type ApiToolsKbListRequest

type ApiToolsKbListRequest struct {
	ApiService *ToolsAPIService
	// contains filtered or unexported fields
}

func (ApiToolsKbListRequest) Execute

func (ApiToolsKbListRequest) Ordering

func (r ApiToolsKbListRequest) Ordering(ordering string) ApiToolsKbListRequest

Which field to use when ordering the results.

func (ApiToolsKbListRequest) Page

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

A search term.

type ApiToolsListRequest

type ApiToolsListRequest struct {
	ApiService *ToolsAPIService
	// contains filtered or unexported fields
}

func (ApiToolsListRequest) Execute

func (ApiToolsListRequest) Ordering

func (r ApiToolsListRequest) Ordering(ordering string) ApiToolsListRequest

Which field to use when ordering the results.

func (ApiToolsListRequest) Page

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

A search term.

type ApiToolsPartialUpdateRequest

type ApiToolsPartialUpdateRequest struct {
	ApiService *ToolsAPIService
	// contains filtered or unexported fields
}

func (ApiToolsPartialUpdateRequest) Execute

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

type ApiToolsUpdateRequest

type ApiToolsUpdateRequest struct {
	ApiService *ToolsAPIService
	// contains filtered or unexported fields
}

func (ApiToolsUpdateRequest) Execute

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

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 (ApiUpdateDocumentRequest) Name

func (ApiUpdateDocumentRequest) SourceUri

func (ApiUpdateDocumentRequest) Type_

type ApiUpdateKnowledgeBaseRequest

type ApiUpdateKnowledgeBaseRequest struct {
	ApiService *AIStudioKnowledgeBasesAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateKnowledgeBaseRequest) Execute

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 (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 (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

func NewChunk(chunkId int64, documentId int64, content string) *Chunk

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

func (o *Chunk) GetChunkId() int64

GetChunkId returns the ChunkId field value

func (*Chunk) GetChunkIdOk

func (o *Chunk) GetChunkIdOk() (*int64, bool)

GetChunkIdOk returns a tuple with the ChunkId field value and a boolean to check if the value has been set.

func (*Chunk) GetContent

func (o *Chunk) GetContent() string

GetContent returns the Content field value

func (*Chunk) GetContentOk

func (o *Chunk) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*Chunk) GetDescription

func (o *Chunk) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Chunk) GetDescriptionOk

func (o *Chunk) 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 (*Chunk) GetDocumentId

func (o *Chunk) GetDocumentId() int64

GetDocumentId returns the DocumentId field value

func (*Chunk) GetDocumentIdOk

func (o *Chunk) GetDocumentIdOk() (*int64, bool)

GetDocumentIdOk returns a tuple with the DocumentId field value and a boolean to check if the value has been set.

func (*Chunk) GetEmbedding

func (o *Chunk) GetEmbedding() map[string]interface{}

GetEmbedding returns the Embedding field value if set, zero value otherwise.

func (*Chunk) GetEmbeddingOk

func (o *Chunk) GetEmbeddingOk() (map[string]interface{}, bool)

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

func (o *Chunk) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Chunk) GetMetadataOk

func (o *Chunk) 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 (*Chunk) GetName

func (o *Chunk) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Chunk) GetNameOk

func (o *Chunk) 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 (*Chunk) HasDescription

func (o *Chunk) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Chunk) HasEmbedding

func (o *Chunk) HasEmbedding() bool

HasEmbedding returns a boolean if a field has been set.

func (*Chunk) HasMetadata

func (o *Chunk) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Chunk) HasName

func (o *Chunk) HasName() bool

HasName returns a boolean if a field has been set.

func (Chunk) MarshalJSON

func (o Chunk) MarshalJSON() ([]byte, error)

func (*Chunk) SetChunkId

func (o *Chunk) SetChunkId(v int64)

SetChunkId sets field value

func (*Chunk) SetContent

func (o *Chunk) SetContent(v string)

SetContent sets field value

func (*Chunk) SetDescription

func (o *Chunk) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Chunk) SetDocumentId

func (o *Chunk) SetDocumentId(v int64)

SetDocumentId sets field value

func (*Chunk) SetEmbedding

func (o *Chunk) SetEmbedding(v map[string]interface{})

SetEmbedding gets a reference to the given map[string]interface{} and assigns it to the Embedding field.

func (*Chunk) SetMetadata

func (o *Chunk) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*Chunk) SetName

func (o *Chunk) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Chunk) ToMap

func (o Chunk) ToMap() (map[string]interface{}, error)

func (*Chunk) UnmarshalJSON

func (o *Chunk) UnmarshalJSON(data []byte) (err error)

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

func (o *Document) GetChunkStrategy() map[string]interface{}

GetChunkStrategy returns the ChunkStrategy field value if set, zero value otherwise.

func (*Document) GetChunkStrategyOk

func (o *Document) 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 (*Document) GetDescription

func (o *Document) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Document) GetDescriptionOk

func (o *Document) 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 (*Document) GetDocumentId

func (o *Document) GetDocumentId() int64

GetDocumentId returns the DocumentId field value

func (*Document) GetDocumentIdOk

func (o *Document) GetDocumentIdOk() (*int64, bool)

GetDocumentIdOk returns a tuple with the DocumentId field value and a boolean to check if the value has been set.

func (*Document) GetKbId

func (o *Document) GetKbId() int64

GetKbId returns the KbId field value

func (*Document) GetKbIdOk

func (o *Document) GetKbIdOk() (*int64, bool)

GetKbIdOk returns a tuple with the KbId field value and a boolean to check if the value has been set.

func (*Document) GetLastEditor

func (o *Document) GetLastEditor() string

GetLastEditor returns the LastEditor field value

func (*Document) GetLastEditorOk

func (o *Document) GetLastEditorOk() (*string, bool)

GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.

func (*Document) GetLastModified

func (o *Document) GetLastModified() time.Time

GetLastModified returns the LastModified field value

func (*Document) GetLastModifiedOk

func (o *Document) 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 (*Document) GetName

func (o *Document) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Document) GetNameOk

func (o *Document) 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 (*Document) GetSourceUri

func (o *Document) GetSourceUri() string

GetSourceUri returns the SourceUri field value if set, zero value otherwise.

func (*Document) GetSourceUriOk

func (o *Document) 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 (*Document) GetStatus

func (o *Document) GetStatus() string

GetStatus returns the Status field value

func (*Document) GetStatusOk

func (o *Document) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Document) GetType

func (o *Document) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Document) GetTypeOk

func (o *Document) 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 (*Document) HasChunkStrategy

func (o *Document) HasChunkStrategy() bool

HasChunkStrategy returns a boolean if a field has been set.

func (*Document) HasDescription

func (o *Document) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Document) HasName

func (o *Document) HasName() bool

HasName returns a boolean if a field has been set.

func (*Document) HasSourceUri

func (o *Document) HasSourceUri() bool

HasSourceUri returns a boolean if a field has been set.

func (*Document) HasType

func (o *Document) HasType() bool

HasType returns a boolean if a field has been set.

func (Document) MarshalJSON

func (o Document) MarshalJSON() ([]byte, error)

func (*Document) SetChunkStrategy

func (o *Document) SetChunkStrategy(v map[string]interface{})

SetChunkStrategy gets a reference to the given map[string]interface{} and assigns it to the ChunkStrategy field.

func (*Document) SetDescription

func (o *Document) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Document) SetDocumentId

func (o *Document) SetDocumentId(v int64)

SetDocumentId sets field value

func (*Document) SetKbId

func (o *Document) SetKbId(v int64)

SetKbId sets field value

func (*Document) SetLastEditor

func (o *Document) SetLastEditor(v string)

SetLastEditor sets field value

func (*Document) SetLastModified

func (o *Document) SetLastModified(v time.Time)

SetLastModified sets field value

func (*Document) SetName

func (o *Document) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Document) SetSourceUri

func (o *Document) SetSourceUri(v string)

SetSourceUri gets a reference to the given string and assigns it to the SourceUri field.

func (*Document) SetStatus

func (o *Document) SetStatus(v string)

SetStatus sets field value

func (*Document) SetType

func (o *Document) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Document) ToMap

func (o Document) ToMap() (map[string]interface{}, error)

func (*Document) UnmarshalJSON

func (o *Document) UnmarshalJSON(data []byte) (err error)

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

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

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

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

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

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

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

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

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

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

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

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) SetKbId

func (o *KnowledgeBase) SetKbId(v int64)

SetKbId sets field value

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) SetName

func (o *KnowledgeBase) SetName(v string)

SetName 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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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

func (o *Message) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Message) GetDescriptionOk

func (o *Message) 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 (*Message) GetLastEditor

func (o *Message) GetLastEditor() string

GetLastEditor returns the LastEditor field value

func (*Message) GetLastEditorOk

func (o *Message) GetLastEditorOk() (*string, bool)

GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.

func (*Message) GetLastModified

func (o *Message) GetLastModified() time.Time

GetLastModified returns the LastModified field value

func (*Message) GetLastModifiedOk

func (o *Message) 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 (*Message) GetMessage

func (o *Message) GetMessage() map[string]interface{}

GetMessage returns the Message field value

func (*Message) GetMessageId

func (o *Message) GetMessageId() int64

GetMessageId returns the MessageId field value

func (*Message) GetMessageIdOk

func (o *Message) GetMessageIdOk() (*int64, bool)

GetMessageIdOk returns a tuple with the MessageId field value and a boolean to check if the value has been set.

func (*Message) GetMessageOk

func (o *Message) 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 (*Message) GetMetadata

func (o *Message) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Message) GetMetadataOk

func (o *Message) 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 (*Message) GetName

func (o *Message) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Message) GetNameOk

func (o *Message) 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 (*Message) GetThreadId

func (o *Message) GetThreadId() int64

GetThreadId returns the ThreadId field value

func (*Message) GetThreadIdOk

func (o *Message) GetThreadIdOk() (*int64, bool)

GetThreadIdOk returns a tuple with the ThreadId field value and a boolean to check if the value has been set.

func (*Message) HasDescription

func (o *Message) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Message) HasMetadata

func (o *Message) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Message) HasName

func (o *Message) HasName() bool

HasName returns a boolean if a field has been set.

func (Message) MarshalJSON

func (o Message) MarshalJSON() ([]byte, error)

func (*Message) SetDescription

func (o *Message) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Message) SetLastEditor

func (o *Message) SetLastEditor(v string)

SetLastEditor sets field value

func (*Message) SetLastModified

func (o *Message) SetLastModified(v time.Time)

SetLastModified sets field value

func (*Message) SetMessage

func (o *Message) SetMessage(v map[string]interface{})

SetMessage sets field value

func (*Message) SetMessageId

func (o *Message) SetMessageId(v int64)

SetMessageId sets field value

func (*Message) SetMetadata

func (o *Message) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*Message) SetName

func (o *Message) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Message) SetThreadId

func (o *Message) SetThreadId(v int64)

SetThreadId sets field value

func (Message) ToMap

func (o Message) ToMap() (map[string]interface{}, error)

func (*Message) UnmarshalJSON

func (o *Message) UnmarshalJSON(data []byte) (err error)

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 (NullableChatThreadRequest) IsSet

func (v NullableChatThreadRequest) IsSet() bool

func (NullableChatThreadRequest) MarshalJSON

func (v NullableChatThreadRequest) MarshalJSON() ([]byte, error)

func (*NullableChatThreadRequest) Set

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 (NullableDocumentRequest) IsSet

func (v NullableDocumentRequest) IsSet() bool

func (NullableDocumentRequest) MarshalJSON

func (v NullableDocumentRequest) MarshalJSON() ([]byte, error)

func (*NullableDocumentRequest) Set

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 (NullableJSONAPIErrorObject) IsSet

func (v NullableJSONAPIErrorObject) IsSet() bool

func (NullableJSONAPIErrorObject) MarshalJSON

func (v NullableJSONAPIErrorObject) MarshalJSON() ([]byte, error)

func (*NullableJSONAPIErrorObject) Set

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 (NullableJSONAPIErrorResponse) IsSet

func (NullableJSONAPIErrorResponse) MarshalJSON

func (v NullableJSONAPIErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableJSONAPIErrorResponse) Set

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 (NullableJSONAPIErrorSource) IsSet

func (v NullableJSONAPIErrorSource) IsSet() bool

func (NullableJSONAPIErrorSource) MarshalJSON

func (v NullableJSONAPIErrorSource) MarshalJSON() ([]byte, error)

func (*NullableJSONAPIErrorSource) Set

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 (NullableKBAskRequestRequest) IsSet

func (NullableKBAskRequestRequest) MarshalJSON

func (v NullableKBAskRequestRequest) MarshalJSON() ([]byte, error)

func (*NullableKBAskRequestRequest) Set

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 (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 (NullableKBQueryRequestRequest) Get

func (NullableKBQueryRequestRequest) IsSet

func (NullableKBQueryRequestRequest) MarshalJSON

func (v NullableKBQueryRequestRequest) MarshalJSON() ([]byte, error)

func (*NullableKBQueryRequestRequest) Set

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 (NullableKBQueryResponse) IsSet

func (v NullableKBQueryResponse) IsSet() bool

func (NullableKBQueryResponse) MarshalJSON

func (v NullableKBQueryResponse) MarshalJSON() ([]byte, error)

func (*NullableKBQueryResponse) Set

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 (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 (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 (NullableKnowledgeBaseRequest) IsSet

func (NullableKnowledgeBaseRequest) MarshalJSON

func (v NullableKnowledgeBaseRequest) MarshalJSON() ([]byte, error)

func (*NullableKnowledgeBaseRequest) Set

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 (NullableMessageRequest) IsSet

func (v NullableMessageRequest) IsSet() bool

func (NullableMessageRequest) MarshalJSON

func (v NullableMessageRequest) MarshalJSON() ([]byte, error)

func (*NullableMessageRequest) Set

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 (NullablePaginatedChatThreadList) Get

func (NullablePaginatedChatThreadList) IsSet

func (NullablePaginatedChatThreadList) MarshalJSON

func (v NullablePaginatedChatThreadList) MarshalJSON() ([]byte, error)

func (*NullablePaginatedChatThreadList) Set

func (*NullablePaginatedChatThreadList) UnmarshalJSON

func (v *NullablePaginatedChatThreadList) UnmarshalJSON(src []byte) error

func (*NullablePaginatedChatThreadList) Unset

type NullablePaginatedChunkList

type NullablePaginatedChunkList struct {
	// contains filtered or unexported fields
}

func NewNullablePaginatedChunkList

func NewNullablePaginatedChunkList(val *PaginatedChunkList) *NullablePaginatedChunkList

func (NullablePaginatedChunkList) Get

func (NullablePaginatedChunkList) IsSet

func (v NullablePaginatedChunkList) IsSet() bool

func (NullablePaginatedChunkList) MarshalJSON

func (v NullablePaginatedChunkList) MarshalJSON() ([]byte, error)

func (*NullablePaginatedChunkList) Set

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 (NullablePaginatedDocumentList) Get

func (NullablePaginatedDocumentList) IsSet

func (NullablePaginatedDocumentList) MarshalJSON

func (v NullablePaginatedDocumentList) MarshalJSON() ([]byte, error)

func (*NullablePaginatedDocumentList) Set

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 (NullablePaginatedKnowledgeBaseList) Get

func (NullablePaginatedKnowledgeBaseList) IsSet

func (NullablePaginatedKnowledgeBaseList) MarshalJSON

func (v NullablePaginatedKnowledgeBaseList) MarshalJSON() ([]byte, error)

func (*NullablePaginatedKnowledgeBaseList) Set

func (*NullablePaginatedKnowledgeBaseList) UnmarshalJSON

func (v *NullablePaginatedKnowledgeBaseList) UnmarshalJSON(src []byte) error

func (*NullablePaginatedKnowledgeBaseList) Unset

type NullablePaginatedMessageList

type NullablePaginatedMessageList struct {
	// contains filtered or unexported fields
}

func NewNullablePaginatedMessageList

func NewNullablePaginatedMessageList(val *PaginatedMessageList) *NullablePaginatedMessageList

func (NullablePaginatedMessageList) Get

func (NullablePaginatedMessageList) IsSet

func (NullablePaginatedMessageList) MarshalJSON

func (v NullablePaginatedMessageList) MarshalJSON() ([]byte, error)

func (*NullablePaginatedMessageList) Set

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 (NullablePaginatedToolList) IsSet

func (v NullablePaginatedToolList) IsSet() bool

func (NullablePaginatedToolList) MarshalJSON

func (v NullablePaginatedToolList) MarshalJSON() ([]byte, error)

func (*NullablePaginatedToolList) Set

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 (NullablePatchedChatThreadRequest) Get

func (NullablePatchedChatThreadRequest) IsSet

func (NullablePatchedChatThreadRequest) MarshalJSON

func (v NullablePatchedChatThreadRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchedChatThreadRequest) Set

func (*NullablePatchedChatThreadRequest) UnmarshalJSON

func (v *NullablePatchedChatThreadRequest) UnmarshalJSON(src []byte) error

func (*NullablePatchedChatThreadRequest) Unset

type NullablePatchedKnowledgeBaseRequest

type NullablePatchedKnowledgeBaseRequest struct {
	// contains filtered or unexported fields
}

func (NullablePatchedKnowledgeBaseRequest) Get

func (NullablePatchedKnowledgeBaseRequest) IsSet

func (NullablePatchedKnowledgeBaseRequest) MarshalJSON

func (v NullablePatchedKnowledgeBaseRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchedKnowledgeBaseRequest) Set

func (*NullablePatchedKnowledgeBaseRequest) UnmarshalJSON

func (v *NullablePatchedKnowledgeBaseRequest) UnmarshalJSON(src []byte) error

func (*NullablePatchedKnowledgeBaseRequest) Unset

type NullablePatchedToolRequest

type NullablePatchedToolRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePatchedToolRequest

func NewNullablePatchedToolRequest(val *PatchedToolRequest) *NullablePatchedToolRequest

func (NullablePatchedToolRequest) Get

func (NullablePatchedToolRequest) IsSet

func (v NullablePatchedToolRequest) IsSet() bool

func (NullablePatchedToolRequest) MarshalJSON

func (v NullablePatchedToolRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchedToolRequest) Set

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 (NullableResponseAsyncChatThread) Get

func (NullableResponseAsyncChatThread) IsSet

func (NullableResponseAsyncChatThread) MarshalJSON

func (v NullableResponseAsyncChatThread) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncChatThread) Set

func (*NullableResponseAsyncChatThread) UnmarshalJSON

func (v *NullableResponseAsyncChatThread) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncChatThread) Unset

type NullableResponseAsyncDeleteChatThread

type NullableResponseAsyncDeleteChatThread struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncDeleteChatThread) Get

func (NullableResponseAsyncDeleteChatThread) IsSet

func (NullableResponseAsyncDeleteChatThread) MarshalJSON

func (v NullableResponseAsyncDeleteChatThread) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncDeleteChatThread) Set

func (*NullableResponseAsyncDeleteChatThread) UnmarshalJSON

func (v *NullableResponseAsyncDeleteChatThread) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncDeleteChatThread) Unset

type NullableResponseAsyncDeleteDocument

type NullableResponseAsyncDeleteDocument struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncDeleteDocument) Get

func (NullableResponseAsyncDeleteDocument) IsSet

func (NullableResponseAsyncDeleteDocument) MarshalJSON

func (v NullableResponseAsyncDeleteDocument) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncDeleteDocument) Set

func (*NullableResponseAsyncDeleteDocument) UnmarshalJSON

func (v *NullableResponseAsyncDeleteDocument) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncDeleteDocument) Unset

type NullableResponseAsyncDeleteKnowledgeBase

type NullableResponseAsyncDeleteKnowledgeBase struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncDeleteKnowledgeBase) Get

func (NullableResponseAsyncDeleteKnowledgeBase) IsSet

func (NullableResponseAsyncDeleteKnowledgeBase) MarshalJSON

func (*NullableResponseAsyncDeleteKnowledgeBase) Set

func (*NullableResponseAsyncDeleteKnowledgeBase) UnmarshalJSON

func (v *NullableResponseAsyncDeleteKnowledgeBase) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncDeleteKnowledgeBase) Unset

type NullableResponseAsyncDeleteMessage

type NullableResponseAsyncDeleteMessage struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncDeleteMessage) Get

func (NullableResponseAsyncDeleteMessage) IsSet

func (NullableResponseAsyncDeleteMessage) MarshalJSON

func (v NullableResponseAsyncDeleteMessage) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncDeleteMessage) Set

func (*NullableResponseAsyncDeleteMessage) UnmarshalJSON

func (v *NullableResponseAsyncDeleteMessage) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncDeleteMessage) Unset

type NullableResponseAsyncDeleteTool

type NullableResponseAsyncDeleteTool struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncDeleteTool) Get

func (NullableResponseAsyncDeleteTool) IsSet

func (NullableResponseAsyncDeleteTool) MarshalJSON

func (v NullableResponseAsyncDeleteTool) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncDeleteTool) Set

func (*NullableResponseAsyncDeleteTool) UnmarshalJSON

func (v *NullableResponseAsyncDeleteTool) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncDeleteTool) Unset

type NullableResponseAsyncDocument

type NullableResponseAsyncDocument struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncDocument) Get

func (NullableResponseAsyncDocument) IsSet

func (NullableResponseAsyncDocument) MarshalJSON

func (v NullableResponseAsyncDocument) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncDocument) Set

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 (NullableResponseAsyncKnowledgeBase) Get

func (NullableResponseAsyncKnowledgeBase) IsSet

func (NullableResponseAsyncKnowledgeBase) MarshalJSON

func (v NullableResponseAsyncKnowledgeBase) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncKnowledgeBase) Set

func (*NullableResponseAsyncKnowledgeBase) UnmarshalJSON

func (v *NullableResponseAsyncKnowledgeBase) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncKnowledgeBase) Unset

type NullableResponseAsyncMessage

type NullableResponseAsyncMessage struct {
	// contains filtered or unexported fields
}

func NewNullableResponseAsyncMessage

func NewNullableResponseAsyncMessage(val *ResponseAsyncMessage) *NullableResponseAsyncMessage

func (NullableResponseAsyncMessage) Get

func (NullableResponseAsyncMessage) IsSet

func (NullableResponseAsyncMessage) MarshalJSON

func (v NullableResponseAsyncMessage) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncMessage) Set

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 (NullableResponseAsyncTool) IsSet

func (v NullableResponseAsyncTool) IsSet() bool

func (NullableResponseAsyncTool) MarshalJSON

func (v NullableResponseAsyncTool) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncTool) Set

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 (NullableResponseChatThread) IsSet

func (v NullableResponseChatThread) IsSet() bool

func (NullableResponseChatThread) MarshalJSON

func (v NullableResponseChatThread) MarshalJSON() ([]byte, error)

func (*NullableResponseChatThread) Set

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 (NullableResponseDeleteChatThread) Get

func (NullableResponseDeleteChatThread) IsSet

func (NullableResponseDeleteChatThread) MarshalJSON

func (v NullableResponseDeleteChatThread) MarshalJSON() ([]byte, error)

func (*NullableResponseDeleteChatThread) Set

func (*NullableResponseDeleteChatThread) UnmarshalJSON

func (v *NullableResponseDeleteChatThread) UnmarshalJSON(src []byte) error

func (*NullableResponseDeleteChatThread) Unset

type NullableResponseDeleteDocument

type NullableResponseDeleteDocument struct {
	// contains filtered or unexported fields
}

func (NullableResponseDeleteDocument) Get

func (NullableResponseDeleteDocument) IsSet

func (NullableResponseDeleteDocument) MarshalJSON

func (v NullableResponseDeleteDocument) MarshalJSON() ([]byte, error)

func (*NullableResponseDeleteDocument) Set

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 (NullableResponseDeleteKnowledgeBase) Get

func (NullableResponseDeleteKnowledgeBase) IsSet

func (NullableResponseDeleteKnowledgeBase) MarshalJSON

func (v NullableResponseDeleteKnowledgeBase) MarshalJSON() ([]byte, error)

func (*NullableResponseDeleteKnowledgeBase) Set

func (*NullableResponseDeleteKnowledgeBase) UnmarshalJSON

func (v *NullableResponseDeleteKnowledgeBase) UnmarshalJSON(src []byte) error

func (*NullableResponseDeleteKnowledgeBase) Unset

type NullableResponseDeleteMessage

type NullableResponseDeleteMessage struct {
	// contains filtered or unexported fields
}

func (NullableResponseDeleteMessage) Get

func (NullableResponseDeleteMessage) IsSet

func (NullableResponseDeleteMessage) MarshalJSON

func (v NullableResponseDeleteMessage) MarshalJSON() ([]byte, error)

func (*NullableResponseDeleteMessage) Set

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 (NullableResponseDeleteTool) IsSet

func (v NullableResponseDeleteTool) IsSet() bool

func (NullableResponseDeleteTool) MarshalJSON

func (v NullableResponseDeleteTool) MarshalJSON() ([]byte, error)

func (*NullableResponseDeleteTool) Set

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 (NullableResponseDocument) IsSet

func (v NullableResponseDocument) IsSet() bool

func (NullableResponseDocument) MarshalJSON

func (v NullableResponseDocument) MarshalJSON() ([]byte, error)

func (*NullableResponseDocument) Set

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 (NullableResponseKnowledgeBase) Get

func (NullableResponseKnowledgeBase) IsSet

func (NullableResponseKnowledgeBase) MarshalJSON

func (v NullableResponseKnowledgeBase) MarshalJSON() ([]byte, error)

func (*NullableResponseKnowledgeBase) Set

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 (NullableResponseMessage) IsSet

func (v NullableResponseMessage) IsSet() bool

func (NullableResponseMessage) MarshalJSON

func (v NullableResponseMessage) MarshalJSON() ([]byte, error)

func (*NullableResponseMessage) Set

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 (NullableResponseRetrieveChatThread) Get

func (NullableResponseRetrieveChatThread) IsSet

func (NullableResponseRetrieveChatThread) MarshalJSON

func (v NullableResponseRetrieveChatThread) MarshalJSON() ([]byte, error)

func (*NullableResponseRetrieveChatThread) Set

func (*NullableResponseRetrieveChatThread) UnmarshalJSON

func (v *NullableResponseRetrieveChatThread) UnmarshalJSON(src []byte) error

func (*NullableResponseRetrieveChatThread) Unset

type NullableResponseRetrieveDocument

type NullableResponseRetrieveDocument struct {
	// contains filtered or unexported fields
}

func (NullableResponseRetrieveDocument) Get

func (NullableResponseRetrieveDocument) IsSet

func (NullableResponseRetrieveDocument) MarshalJSON

func (v NullableResponseRetrieveDocument) MarshalJSON() ([]byte, error)

func (*NullableResponseRetrieveDocument) Set

func (*NullableResponseRetrieveDocument) UnmarshalJSON

func (v *NullableResponseRetrieveDocument) UnmarshalJSON(src []byte) error

func (*NullableResponseRetrieveDocument) Unset

type NullableResponseRetrieveKnowledgeBase

type NullableResponseRetrieveKnowledgeBase struct {
	// contains filtered or unexported fields
}

func (NullableResponseRetrieveKnowledgeBase) Get

func (NullableResponseRetrieveKnowledgeBase) IsSet

func (NullableResponseRetrieveKnowledgeBase) MarshalJSON

func (v NullableResponseRetrieveKnowledgeBase) MarshalJSON() ([]byte, error)

func (*NullableResponseRetrieveKnowledgeBase) Set

func (*NullableResponseRetrieveKnowledgeBase) UnmarshalJSON

func (v *NullableResponseRetrieveKnowledgeBase) UnmarshalJSON(src []byte) error

func (*NullableResponseRetrieveKnowledgeBase) Unset

type NullableResponseRetrieveMessage

type NullableResponseRetrieveMessage struct {
	// contains filtered or unexported fields
}

func (NullableResponseRetrieveMessage) Get

func (NullableResponseRetrieveMessage) IsSet

func (NullableResponseRetrieveMessage) MarshalJSON

func (v NullableResponseRetrieveMessage) MarshalJSON() ([]byte, error)

func (*NullableResponseRetrieveMessage) Set

func (*NullableResponseRetrieveMessage) UnmarshalJSON

func (v *NullableResponseRetrieveMessage) UnmarshalJSON(src []byte) error

func (*NullableResponseRetrieveMessage) Unset

type NullableResponseRetrieveTool

type NullableResponseRetrieveTool struct {
	// contains filtered or unexported fields
}

func NewNullableResponseRetrieveTool

func NewNullableResponseRetrieveTool(val *ResponseRetrieveTool) *NullableResponseRetrieveTool

func (NullableResponseRetrieveTool) Get

func (NullableResponseRetrieveTool) IsSet

func (NullableResponseRetrieveTool) MarshalJSON

func (v NullableResponseRetrieveTool) MarshalJSON() ([]byte, error)

func (*NullableResponseRetrieveTool) Set

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 (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 struct {
	// contains filtered or unexported fields
}
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 (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

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

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

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

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

type ResponseAsyncTool struct {
	State *string `json:"state,omitempty"`
	Data  Tool    `json:"data"`
}

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

type ResponseDocument struct {
	State *string  `json:"state,omitempty"`
	Data  Document `json:"data"`
}

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

type ResponseMessage struct {
	State *string `json:"state,omitempty"`
	Data  Message `json:"data"`
}

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

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

GetData returns the Data field value

func (*ResponseRetrieveKnowledgeBase) GetDataOk

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

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

type ResponseTool struct {
	State *string `json:"state,omitempty"`
	Data  Tool    `json:"data"`
}

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) SetData

func (o *ResponseTool) SetData(v Tool)

SetData sets field value

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type ThreadsAPIService

type ThreadsAPIService service

ThreadsAPIService ThreadsAPI service

func (*ThreadsAPIService) ThreadsCreate

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

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

Execute executes the request

@return ResponseDeleteChatThread

func (*ThreadsAPIService) ThreadsList

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

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

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

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

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

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

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

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) GetActive

func (o *Tool) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*Tool) GetActiveOk

func (o *Tool) 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 (*Tool) GetDescription

func (o *Tool) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Tool) GetDescriptionOk

func (o *Tool) 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 (*Tool) GetJsonSchema

func (o *Tool) GetJsonSchema() map[string]interface{}

GetJsonSchema returns the JsonSchema field value if set, zero value otherwise.

func (*Tool) GetJsonSchemaOk

func (o *Tool) 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 (*Tool) GetKbs

func (o *Tool) GetKbs() string

GetKbs returns the Kbs field value

func (*Tool) GetKbsOk

func (o *Tool) GetKbsOk() (*string, bool)

GetKbsOk returns a tuple with the Kbs field value and a boolean to check if the value has been set.

func (*Tool) GetLastEditor

func (o *Tool) GetLastEditor() string

GetLastEditor returns the LastEditor field value

func (*Tool) GetLastEditorOk

func (o *Tool) GetLastEditorOk() (*string, bool)

GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.

func (*Tool) GetLastModified

func (o *Tool) GetLastModified() time.Time

GetLastModified returns the LastModified field value

func (*Tool) GetLastModifiedOk

func (o *Tool) 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 (*Tool) GetName

func (o *Tool) GetName() string

GetName returns the Name field value

func (*Tool) GetNameOk

func (o *Tool) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Tool) GetToolId

func (o *Tool) GetToolId() int64

GetToolId returns the ToolId field value

func (*Tool) GetToolIdOk

func (o *Tool) GetToolIdOk() (*int64, bool)

GetToolIdOk returns a tuple with the ToolId field value and a boolean to check if the value has been set.

func (*Tool) GetType

func (o *Tool) GetType() string

GetType returns the Type field value

func (*Tool) GetTypeOk

func (o *Tool) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Tool) HasActive

func (o *Tool) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Tool) HasDescription

func (o *Tool) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Tool) HasJsonSchema

func (o *Tool) HasJsonSchema() bool

HasJsonSchema returns a boolean if a field has been set.

func (Tool) MarshalJSON

func (o Tool) MarshalJSON() ([]byte, error)

func (*Tool) SetActive

func (o *Tool) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*Tool) SetDescription

func (o *Tool) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Tool) SetJsonSchema

func (o *Tool) SetJsonSchema(v map[string]interface{})

SetJsonSchema gets a reference to the given map[string]interface{} and assigns it to the JsonSchema field.

func (*Tool) SetKbs

func (o *Tool) SetKbs(v string)

SetKbs sets field value

func (*Tool) SetLastEditor

func (o *Tool) SetLastEditor(v string)

SetLastEditor sets field value

func (*Tool) SetLastModified

func (o *Tool) SetLastModified(v time.Time)

SetLastModified sets field value

func (*Tool) SetName

func (o *Tool) SetName(v string)

SetName sets field value

func (*Tool) SetToolId

func (o *Tool) SetToolId(v int64)

SetToolId sets field value

func (*Tool) SetType

func (o *Tool) SetType(v string)

SetType sets field value

func (Tool) ToMap

func (o Tool) ToMap() (map[string]interface{}, error)

func (*Tool) UnmarshalJSON

func (o *Tool) UnmarshalJSON(data []byte) (err error)
type ToolKBLink struct {
	ToolKbId int64 `json:"tool_kb_id"`
	KbId     int64 `json:"kb_id"`
}

ToolKBLink struct for ToolKBLink

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) SetKbId

func (o *ToolKBLink) SetKbId(v int64)

SetKbId sets field value

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) SetName

func (o *ToolRequest) SetName(v string)

SetName sets field value

func (*ToolRequest) SetType

func (o *ToolRequest) SetType(v string)

SetType sets field value

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

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

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

Execute executes the request

@return PaginatedKnowledgeBaseList

func (*ToolsAPIService) ToolsList

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL