package
0.0.0-20241230084113-15e72af14fc1
Repository: https://github.com/ansys/allie-sharedtypes.git
Documentation: pkg.go.dev

# Functions

SetSessionContext sets the SessionContext struct from the JSON payload Parameters: - msg: the JSON payload Returns: - SessionContext: the SessionContext struct.

# Structs

ACSSearchResponse represents the response from the ACS search.
AnsysGPTCitation represents the citation from the AnsysGPT.
DefaultFields represents the default fields for the user query.
DataExtractionDocumentData represents the data extracted from a document.
DbAddDataInput represents the input for adding data to the database.
DbAddDataOutput represents the output of adding data to the database.
DbArrayFilter represents the filter for an array field in the database.
DbCreateCollectionInput represents the input for creating a collection in the database.
DbCreateCollectionOutput represents the output of creating a collection in the database.
DbData represents the data stored in the database.
DbFilters represents the filters for the database.
DbJsonFilter represents the filter for a JSON field in the database.
DBListCollectionsOutput represents the output of listing collections in the database.
DbResponse represents the response from the database.
ErrorResponse represents the error response sent to the client when something fails during the processing of the request.
ExecRequest represents the requests that can be sent to allie-exec.
ExecResponse represents the response that allie-exec sends back.
ExecutionDetails represents the details of the execution.
ExecutionInstruction contain an array of strings that represent the code to be executed in allie-exec.
FileDetails contain parts of a file that is being sent.
FilledInputOutput is a struct that contains the name, go type and value of a filled input/output.
FlowKitPythonFunction is a struct that contains the name, path, description, inputs, outputs and definitions of a FlowKit-Python function.
FunctionDefinition is a struct that contains the id, name, description, package, inputs and outputs of a function.
FunctionDefinitionShort is a struct that contains the id, name and description of a function.
FunctionInput is a struct that contains the name, type, go type and options of a function input.
FunctionOutput is a struct that contains the name, type and go type of a function output.
GeneralNeo4jQueryInput represents the input for executing a Neo4j query.
GeneralNeo4jQueryOutput represents the output of executing a Neo4j query.
HandlerRequest represents the client request for a specific chat or embeddings operation.
HandlerResponse represents the LLM Handler response for a specific request.
HistoricMessage represents a past chat messages.
OpenAIOption represents an option for an OpenAI API call.
neo4jResponse represents the response from the Neo4j query.
Message represents the JSON message you are expecting.
TransferDetails holds communication channels for the websocket listener and writer.