# Genie C API

## Class Hierarchy

- - Enum [Genie_DataType_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieCommon_8h_1ac7dbe4c4a15127494fde0f7aaf120f98.html#exhale-enum-GenieCommon-8h-1ac7dbe4c4a15127494fde0f7aaf120f98)
    - Enum [Genie_PerformancePolicy_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieCommon_8h_1a63ece6f547336c5f6a31ce5f9e57aa6e.html#exhale-enum-GenieCommon-8h-1a63ece6f547336c5f6a31ce5f9e57aa6e)
    - Enum [GenieDialog_Action_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieDialog_8h_1a30a6e2b6a6f674a1d995567de6c724b8.html#exhale-enum-GenieDialog-8h-1a30a6e2b6a6f674a1d995567de6c724b8)
    - Enum [GenieDialog_Param_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieDialog_8h_1aa27b4b3fc182340225f5fd607b52b682.html#exhale-enum-GenieDialog-8h-1aa27b4b3fc182340225f5fd607b52b682)
    - Enum [GenieDialog_Priority_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieDialog_8h_1a437ae7691ac7cacd38bf18f2f0840f05.html#exhale-enum-GenieDialog-8h-1a437ae7691ac7cacd38bf18f2f0840f05)
    - Enum [GenieDialog_SentenceCode_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieDialog_8h_1a60d9c773028eddac789d15409995b539.html#exhale-enum-GenieDialog-8h-1a60d9c773028eddac789d15409995b539)
    - Enum [GenieLog_Level_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieLog_8h_1a76fa6c13d3733ede113f78d082033912.html#exhale-enum-GenieLog-8h-1a76fa6c13d3733ede113f78d082033912)
    - Enum [GenieNode_IOName_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieNode_8h_1a8c31e6344f35d3b77d6169f68e9c544f.html#exhale-enum-GenieNode-8h-1a8c31e6344f35d3b77d6169f68e9c544f)
    - Enum [GenieNode_TextOutput_SentenceCode_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieNode_8h_1a83cb72a74ba29d73dae6b7a91b952584.html#exhale-enum-GenieNode-8h-1a83cb72a74ba29d73dae6b7a91b952584)
    - Enum [GeniePipeline_Priority_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GeniePipeline_8h_1a71927438c90c2977f4bc074332d6a866.html#exhale-enum-GeniePipeline-8h-1a71927438c90c2977f4bc074332d6a866)
    - Union [Genie_Value_t](https://docs.qualcomm.com/doc/80-63442-10/topic/unionGenie__Value__t.html#exhale-union-unionGenie-Value-t)
<!-- only tree view element -->
<!-- /treeView class-treeView -->

## File Hierarchy

- - Directory [include](https://docs.qualcomm.com/doc/80-63442-10/topic/dir_include.html#dir-include)
        - Directory [Genie](https://docs.qualcomm.com/doc/80-63442-10/topic/dir_include_Genie.html#dir-include-Genie)
            - File [GenieAccuracy.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieAccuracy_h.html#file-include-Genie-GenieAccuracy.h)
            - File [GenieCommon.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieCommon_h.html#file-include-Genie-GenieCommon.h)
            - File [GenieDialog.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieDialog_h.html#file-include-Genie-GenieDialog.h)
            - File [GenieDlc.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieDlc_h.html#file-include-Genie-GenieDlc.h)
            - File [GenieEmbedding.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieEmbedding_h.html#file-include-Genie-GenieEmbedding.h)
            - File [GenieEngine.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieEngine_h.html#file-include-Genie-GenieEngine.h)
            - File [GenieLog.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieLog_h.html#file-include-Genie-GenieLog.h)
            - File [GenieNode.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieNode_h.html#file-include-Genie-GenieNode.h)
            - File [GeniePipeline.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GeniePipeline_h.html#file-include-Genie-GeniePipeline.h)
            - File [GenieProfile.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieProfile_h.html#file-include-Genie-GenieProfile.h)
            - File [GenieSampler.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieSampler_h.html#file-include-Genie-GenieSampler.h)
            - File [GenieTokenizer.h](https://docs.qualcomm.com/doc/80-63442-10/topic/api-rst_file_include_Genie_GenieTokenizer_h.html#file-include-Genie-GenieTokenizer.h)
<!-- only tree view element -->
<!-- /treeView file-treeView -->

## Full API

### Enums

- [Enum Genie_DataType_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieCommon_8h_1ac7dbe4c4a15127494fde0f7aaf120f98.html)

- [Enum Genie_PerformancePolicy_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieCommon_8h_1a63ece6f547336c5f6a31ce5f9e57aa6e.html)

- [Enum GenieDialog_Action_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieDialog_8h_1a30a6e2b6a6f674a1d995567de6c724b8.html)

- [Enum GenieDialog_Param_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieDialog_8h_1aa27b4b3fc182340225f5fd607b52b682.html)

- [Enum GenieDialog_Priority_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieDialog_8h_1a437ae7691ac7cacd38bf18f2f0840f05.html)

- [Enum GenieDialog_SentenceCode_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieDialog_8h_1a60d9c773028eddac789d15409995b539.html)

- [Enum GenieLog_Level_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieLog_8h_1a76fa6c13d3733ede113f78d082033912.html)

- [Enum GenieNode_IOName_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieNode_8h_1a8c31e6344f35d3b77d6169f68e9c544f.html)

- [Enum GenieNode_TextOutput_SentenceCode_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GenieNode_8h_1a83cb72a74ba29d73dae6b7a91b952584.html)

- [Enum GeniePipeline_Priority_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_GeniePipeline_8h_1a71927438c90c2977f4bc074332d6a866.html)

### Unions

- [Union Genie_Value_t](https://docs.qualcomm.com/doc/80-63442-10/topic/unionGenie__Value__t.html)

### Functions

- [Function Genie_getApiMajorVersion](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieCommon_8h_1aa728c0da14fe36e15a85f31837357ff8.html)

- [Function Genie_getApiMinorVersion](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieCommon_8h_1a88cb2c2e754e10c15f69e0d244c8a0eb.html)

- [Function Genie_getApiPatchVersion](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieCommon_8h_1a3a619e02e24d1dcbd51b24d53d3b63e5.html)

- [Function GenieAccuracy_compute](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieAccuracy_8h_1a691683c949d730d06593d53423422d85.html)

- [Function GenieAccuracy_createFromDialog](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieAccuracy_8h_1a67ed98eec0ba08be79623c4cb96b9c26.html)

- [Function GenieAccuracy_createFromNode](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieAccuracy_8h_1a89af8b4c4d354fbc787b47bd7001ea65.html)

- [Function GenieAccuracy_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieAccuracy_8h_1a6f30a3be3209ef79aec5c55f17ce6f30.html)

- [Function GenieAccuracyConfig_createFromJson](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieAccuracy_8h_1a5992783f95a32247d7c9ced4b7379ce1.html)

- [Function GenieAccuracyConfig_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieAccuracy_8h_1a75113f69237d0cc6ad9b702e35b475f3.html)

- [Function GenieDialog_applyLora](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1acc98f3fcd54d970ac84b17c4da3a25c6.html)

- [Function GenieDialog_batchQuery](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1ac64be234d5f48ab8bea9158fd097bb2e.html)

- [Function GenieDialog_bindEngine](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a6822387aee5c2b6af6f5088e61131f27.html)

- [Function GenieDialog_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a7ed8b75b55a1d483cf9d5e5bf9027d24.html)

- [Function GenieDialog_embeddingQuery](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1af3958d9748026304886d367e1726dd79.html)

- [Function GenieDialog_embeddingTokenQuery](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a058c388ffeea103835a44f7a78075522.html)

- [Function GenieDialog_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a1493e65680af274eea84347f88d90899.html)

- [Function GenieDialog_getEngine](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a5eaaa249aa573c29613d51a512fb1b15.html)

- [Function GenieDialog_getPerformancePolicy](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1af08acf9fc2fa96367a8908b959c24acd.html)

- [Function GenieDialog_getSampler](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a0e4b39749e037211d0c00bf5b1f71afe.html)

- [Function GenieDialog_getTokenizer](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a2c779262cd3539c815ed66a48335c53a.html)

- [Function GenieDialog_getValue](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1ae9fd3d2263e0b8f616b35ca8811eabc9.html)

- [Function GenieDialog_query](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a7b2d4bf78e184fe81e81d089719f3733.html)

- [Function GenieDialog_releaseLoraMemory](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a779b898442ed25cb632d6b1ccd81383e.html)

- [Function GenieDialog_reset](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a4547984d74b50386a3d1f90d7389933c.html)

- [Function GenieDialog_restore](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a2bb4dbeddd258e63162b8e5a219b3e3c.html)

- [Function GenieDialog_save](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1af80e3d66851c0ab1ebab0771455a8590.html)

- [Function GenieDialog_setLoraStrength](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1ad2604075973d7f9911df4387c7a37148.html)

- [Function GenieDialog_setMaxNumTokens](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1aa4f3c843de2abdc513e73f2db3c8df36.html)

- [Function GenieDialog_setOemKey](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a5e7d4807de5ea5406bd1f9a0fc6d05d8.html)

- [Function GenieDialog_setPerformancePolicy](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a788b23dde09d0526dce5d6d32040d119.html)

- [Function GenieDialog_setPriority](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a08c1b79524f2e67a0416525a1ae2c40d.html)

- [Function GenieDialog_setStopSequence](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1aa03534e4394558e02fd2ab65d59767d3.html)

- [Function GenieDialog_signal](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a24737fa908e20c0877f972d39f67e48c.html)

- [Function GenieDialog_tokenQuery](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a1a6b960cdbf972832662d87190657326.html)

- [Function GenieDialogConfig_bindLogger](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a5e98a421e7f997eba72fdd5610398587.html)

- [Function GenieDialogConfig_bindProfiler](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1acd04d699356e5bc83dd2acc6e0ea18f0.html)

- [Function GenieDialogConfig_createFromDlc](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a773239f59823410dd7f3191a7a137f11.html)

- [Function GenieDialogConfig_createFromJson](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a3c66d3491d44d1f93c98eb7af294b140.html)

- [Function GenieDialogConfig_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDialog_8h_1a12f0f8a9498298b77c1d251372e8d525.html)

- [Function GenieDlc_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDlc_8h_1aa396437da594e0f6fadb3afd503b6672.html)

- [Function GenieDlc_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDlc_8h_1af610a0cf74b448f8b1a5fd218f5b37f6.html)

- [Function GenieDlc_getUseCases](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDlc_8h_1a62a14e3be4d6f01d631d5187dfc102c2.html)

- [Function GenieDlcConfig_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDlc_8h_1a12e22dc123fa316c362499f7f1db2ed9.html)

- [Function GenieDlcConfig_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieDlc_8h_1a0ecbc9ec71d9f0b4e90a9f2f80218fa8.html)

- [Function GenieEmbedding_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1a48f60dcc012c75d19c950824a00ba40c.html)

- [Function GenieEmbedding_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1a8d37516400c2b5b0f00d859170c748a7.html)

- [Function GenieEmbedding_generate](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1a1bdaa2c863abca12b8b6f445f56dd985.html)

- [Function GenieEmbedding_getPerformancePolicy](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1a08e93e403e944180a926af6a1e323375.html)

- [Function GenieEmbedding_setPerformancePolicy](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1ad436b0efa397319fe0757623bb183377.html)

- [Function GenieEmbeddingConfig_bindLogger](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1aa4485392f121c4d91a75b36e723d4cb8.html)

- [Function GenieEmbeddingConfig_bindProfiler](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1a9f2cb87a9c6e80039b9dafaf147c8bc3.html)

- [Function GenieEmbeddingConfig_createFromDlc](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1af09c14ed0137887b89abc326bc8745a9.html)

- [Function GenieEmbeddingConfig_createFromJson](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1a3d4da392995015a54825196b20318a26.html)

- [Function GenieEmbeddingConfig_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEmbedding_8h_1ae5a91c61cd91d23c0b26825cad3afc06.html)

- [Function GenieEngine_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEngine_8h_1aacd3447905f6a27158df64e486689b36.html)

- [Function GenieEngine_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEngine_8h_1ae9ab63152287841de8ac4fa93509e19c.html)

- [Function GenieEngineConfig_bindLogger](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEngine_8h_1a718a9458fe6c00f72e463c054a749053.html)

- [Function GenieEngineConfig_bindProfiler](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEngine_8h_1a452d357460bbee566f1ae18706a0c41c.html)

- [Function GenieEngineConfig_createFromJson](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEngine_8h_1a14bb1c0eba84e32550d5031244ef0432.html)

- [Function GenieEngineConfig_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieEngine_8h_1a9630c292063a983414ff342ad9adf480.html)

- [Function GenieLog_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieLog_8h_1afcf4417c1026fd4657092cbac9d1cd01.html)

- [Function GenieLog_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieLog_8h_1a6539606b0ded59dccde5204d1c85d325.html)

- [Function GenieNode_applyLora](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a7816a2b9da5d947efd895e958a815924.html)

- [Function GenieNode_bindEngine](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a6587226e60aaf6e6d711d4fdc7e8e22d.html)

- [Function GenieNode_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a67b4122c281f82cc01a814d5dc075c14.html)

- [Function GenieNode_execute](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a84fe4e289f2aef022129fc3f2b323e6a.html)

- [Function GenieNode_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a2d497783a5360b22dcf3dee7f978b06d.html)

- [Function GenieNode_getData](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1ac293b9a602355c52e97b8d3a88f9df48.html)

- [Function GenieNode_getEngine](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1ad0cc5704b2539b1728f6b488c3440fa5.html)

- [Function GenieNode_getSampler](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a4964027b18520f0981b54442ab72cc39.html)

- [Function GenieNode_getTokenizer](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a639445c2fd7c57d768faf960d947021f.html)

- [Function GenieNode_reset](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1ad8b60d45ba181d2b7d0ea0de4a62a53b.html)

- [Function GenieNode_saveLora](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a31f2e09554abbfefaba857e4d50df8b8.html)

- [Function GenieNode_setData](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a7a0a965290ea5a8208b67d9e5c35a3d4.html)

- [Function GenieNode_setEmbeddingCallback](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a134378aa01d6c5fdfc30632841f531af.html)

- [Function GenieNode_setLoraStrength](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a56de1f9fc21d9c0f0beea26cce541628.html)

- [Function GenieNode_setTextCallback](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1af8f0d565296cbad72a4f896f6e2c16f8.html)

- [Function GenieNode_train](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1ac76e5ecabbfc637d7ff1b4f763a20113.html)

- [Function GenieNodeConfig_bindLogger](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1ad744d5c3dbb87c33edf452bc5b8672f8.html)

- [Function GenieNodeConfig_bindProfiler](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a2cc127e8199cecc6c1e4d6bba2df4895.html)

- [Function GenieNodeConfig_createFromDlc](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1acbf7dd516f8f4970de5175bf571f1538.html)

- [Function GenieNodeConfig_createFromJson](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a16fbd1acc54ebfaf18dbef41bc56483c.html)

- [Function GenieNodeConfig_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieNode_8h_1a2c64ec143da2dbbd2241854833e86c41.html)

- [Function GeniePipeline_addNode](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1af386f926e4b13c5989fab6fc299fc851.html)

- [Function GeniePipeline_connect](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1a0fbe83759a3b8a89f19a6be86c1162ff.html)

- [Function GeniePipeline_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1a554b5fa1d6fb5b909203948bd23c925c.html)

- [Function GeniePipeline_execute](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1aee7b965e566b9821c521f15b4b360f91.html)

- [Function GeniePipeline_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1abe14ba3191aafd7a22bb16dc49bc04b7.html)

- [Function GeniePipeline_reset](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1a6f7cdbafba8125265975db618a01b797.html)

- [Function GeniePipeline_restore](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1ac988a3584d2ca06617fd15005bf9d9b5.html)

- [Function GeniePipeline_save](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1ad2d26087c33b4087324c3d24423b3fbf.html)

- [Function GeniePipeline_setOemKey](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1abe06c97e76b47932bd0dfa7c7f6482dd.html)

- [Function GeniePipeline_setPriority](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1aeba8a956b7a5037ba7a69570ead2ee14.html)

- [Function GeniePipelineConfig_bindLogger](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1a9f002fdaf20b3749a3811e9381d376ee.html)

- [Function GeniePipelineConfig_bindProfiler](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1a5b7a49cd794f84c4a4826f36f8cfa9f2.html)

- [Function GeniePipelineConfig_createFromJson](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1a04f86679b871ab65e1250168af937019.html)

- [Function GeniePipelineConfig_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GeniePipeline_8h_1a3ced9bca8da96551f1c539f95aa1efb2.html)

- [Function GenieProfile_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieProfile_8h_1aaf95ae962651f7fd045335886ed38a66.html)

- [Function GenieProfile_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieProfile_8h_1a25c13e097323d87caa0fbeb61c973db1.html)

- [Function GenieProfile_getJsonData](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieProfile_8h_1af16af81be1483300a7a121cfaebaab09.html)

- [Function GenieProfileConfig_createFromJson](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieProfile_8h_1a70e275bd2c70b9f0f0567f079c4f2056.html)

- [Function GenieProfileConfig_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieProfile_8h_1a271345aca2161efa7db492213b22bde5.html)

- [Function GenieSampler_applyConfig](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieSampler_8h_1a32113d7ff630e244c328b4c023247c51.html)

- [Function GenieSampler_create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieSampler_8h_1a8f92f9527fe1a3724ed11f0deb2994ba.html)

- [Function GenieSampler_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieSampler_8h_1a3530af15b325dbe2edcfce5bc1698869.html)

- [Function GenieSampler_registerCallback](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieSampler_8h_1aa296b2e9369df4131fe1afa41e620098.html)

- [Function GenieSampler_registerUserDataCallback](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieSampler_8h_1ab4aa47a685f7499bfe16cc19ee07061e.html)

- [Function GenieSampler_sampleData](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieSampler_8h_1a1e528d7c49258c0eaa16c765127ce93c.html)

- [Function GenieSamplerConfig_createFromJson](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieSampler_8h_1a2ace87fa3f10b77e38c701b357af07fa.html)

- [Function GenieSamplerConfig_free](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieSampler_8h_1af22e7696884a30247a226ccbfabe3a16.html)

- [Function GenieSamplerConfig_setParam](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieSampler_8h_1aaff7bb2ad2731bed8d52b57961156b52.html)

- [Function GenieTokenizer_decode](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieTokenizer_8h_1a78df4f45c5196dd88ec7d42e9fef80a5.html)

- [Function GenieTokenizer_encode](https://docs.qualcomm.com/doc/80-63442-10/topic/function_GenieTokenizer_8h_1a0ae23b699b098076f18b7c27011c8a65.html)

### Defines

- [Define GENIE_API](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a5783993c82bd1fb94ebfd93797c9a081.html)

- [Define GENIE_API_VERSION_MAJOR](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1afa1b13ba3e37f49627261458ed11a77d.html)

- [Define GENIE_API_VERSION_MINOR](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a07b6469728391251f2e6fd49b9bdd6fc.html)

- [Define GENIE_API_VERSION_PATCH](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1abfda5ed8dd82019de9880f3dd5661fb9.html)

- [Define GENIE_STATUS_ERROR_APPLY_CONFIG_FAILED](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1affdc5b87379a98f55b4d50a5ce189d17.html)

- [Define GENIE_STATUS_ERROR_BOUND_HANDLE](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1ab7a2c58afb85c7a52cd6e09aa773952f.html)

- [Define GENIE_STATUS_ERROR_GENERAL](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1ab6ba307bfc1b244abee97db952898ef0.html)

- [Define GENIE_STATUS_ERROR_GENERATE_FAILED](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a93cdecf806a8e46037e37e808b9fe0df.html)

- [Define GENIE_STATUS_ERROR_GET_HANDLE_FAILED](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a5d8334a8cabd05dc7a3b4f7581f748f3.html)

- [Define GENIE_STATUS_ERROR_INVALID_ARGUMENT](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1adfb13627865eb16726aaab755d1d70e8.html)

- [Define GENIE_STATUS_ERROR_INVALID_CONFIG](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a19c8e9ab16fa37f96e618460b8e06f47.html)

- [Define GENIE_STATUS_ERROR_INVALID_HANDLE](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a19aaea4658b76a429b49e61c47c91ac7.html)

- [Define GENIE_STATUS_ERROR_JSON_FORMAT](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a3fc3ee3d34e6f152c7dc2d71500bfc19.html)

- [Define GENIE_STATUS_ERROR_JSON_SCHEMA](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1ab15ad7d40d4afbae0bfa0a5d1172e576.html)

- [Define GENIE_STATUS_ERROR_JSON_VALUE](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a7853c97b02bbe63eac9f70ac5fc05b3d.html)

- [Define GENIE_STATUS_ERROR_MEM_ALLOC](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1ac1c28f9adb7ffc804dc2d0bf2acba005.html)

- [Define GENIE_STATUS_ERROR_QUERY_FAILED](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1ab3408abeb7416d70a6855df5b49d226b.html)

- [Define GENIE_STATUS_ERROR_SET_PARAMS_FAILED](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a66f90eb14da4d7066f5975ffd708e64e.html)

- [Define GENIE_STATUS_SUCCESS](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1adf4d4a1642ee5ce7a570029373941fd0.html)

- [Define GENIE_STATUS_WARNING_ABORTED](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a6d4cebd0824eebfd797357dbf7167492.html)

- [Define GENIE_STATUS_WARNING_BOUND_HANDLE](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1ac75fb30d7ecc6ec1bba35941efdb2148.html)

- [Define GENIE_STATUS_WARNING_CONTEXT_EXCEEDED](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1a29665d54a8422d5d08a97ee25f63e8d6.html)

- [Define GENIE_STATUS_WARNING_PAUSED](https://docs.qualcomm.com/doc/80-63442-10/topic/define_GenieCommon_8h_1aa6a3bc743582e2ab80caa15b1e1d94ce.html)

### Typedefs

- [Typedef Genie_AllocCallback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieCommon_8h_1a831058ac2742f7cb0057d9c2260d978c.html)

- [Typedef Genie_Status_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieCommon_8h_1a3c72aa3470859cd811d86c07d70d672b.html)

- [Typedef GenieAccuracy_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieAccuracy_8h_1acf86710240f8719284abad2401173fdc.html)

- [Typedef GenieAccuracyConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieAccuracy_8h_1ad74dcdcd65f8e174f78b7c4c53ff7040.html)

- [Typedef GenieDialog_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieDialog_8h_1a97c022bbadfb48b6114dda2b90aa20dc.html)

- [Typedef GenieDialog_QueryCallback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieDialog_8h_1ab1af80932798e035a376ba2e0782b75a.html)

- [Typedef GenieDialog_TokenQueryCallback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieDialog_8h_1a13e3ccd98c334b17d6c5ba94bd729f4d.html)

- [Typedef GenieDialog_TokenToEmbeddingCallback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieDialog_8h_1a05336e9db9b50bf98f1e3f22b0354f2a.html)

- [Typedef GenieDialogConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieDialog_8h_1a008305c5d79c18e4acb768815607489b.html)

- [Typedef GenieDlc_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieDlc_8h_1a015151dc7eecaedcdaab64fba4c5ac52.html)

- [Typedef GenieDlcConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieDlc_8h_1a228b3f867a01665118abdd7e3827f5d0.html)

- [Typedef GenieEmbedding_GenerateCallback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieEmbedding_8h_1a688c8ad446cac72fe1cde94f1acd363a.html)

- [Typedef GenieEmbedding_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieEmbedding_8h_1a858431ae0b114430633e7fecc6266e59.html)

- [Typedef GenieEmbeddingConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieEmbedding_8h_1adc58f41aa265bb8ab7ee4788c8f7148a.html)

- [Typedef GenieEngine_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieEngine_8h_1ab7240535a051d13d4286aae53a3cd96d.html)

- [Typedef GenieEngineConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieEngine_8h_1a722f2713bf47358b0d28b6982857d85d.html)

- [Typedef GenieLog_Callback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieLog_8h_1a5a607ea30172b05e23afc3911082cb81.html)

- [Typedef GenieLog_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieLog_8h_1ac5a4054a1e5ff746212543305a5f4ab7.html)

- [Typedef GenieLogConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieLog_8h_1a5abc9af0bc2fced9fd41ac45110e3d5b.html)

- [Typedef GenieNode_EmbeddingOutputCallback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieNode_8h_1a66492d38bb5c81ea8098ce6260d74b39.html)

- [Typedef GenieNode_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieNode_8h_1a8a4a050a672cb2e9b5e640cceac79052.html)

- [Typedef GenieNode_IOCallback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieNode_8h_1abd617814a2777f9b08f04f30f58805fb.html)

- [Typedef GenieNode_TextOutput_Callback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieNode_8h_1a54430c23b9611b3771aa4eaba7b8805c.html)

- [Typedef GenieNodeConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieNode_8h_1ab77f586d59718362531e4d23d589406b.html)

- [Typedef GeniePipeline_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GeniePipeline_8h_1aaa3394b6e69a05d334ee8de3d9c876e9.html)

- [Typedef GeniePipelineConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GeniePipeline_8h_1acd12af4326b0acaf7134ef7bc9ac49e6.html)

- [Typedef GenieProfile_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieProfile_8h_1a80f48b55ecd7ab7b30ad28df5f20c9e6.html)

- [Typedef GenieProfileConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieProfile_8h_1af5e00af7d8bfd901001ef7b149d06e68.html)

- [Typedef GenieSampler_Callback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieSampler_8h_1ae11ae542301a52ffd9f754985702a17c.html)

- [Typedef GenieSampler_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieSampler_8h_1ac24ac96cdfe106b35873f2eb6d9f2369.html)

- [Typedef GenieSampler_ProcessCallback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieSampler_8h_1a0049cda66cae1918372d75316d8d2add.html)

- [Typedef GenieSampler_UserDataCallback_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieSampler_8h_1a455bcbb0d3230e18be69b69ae7a30c5f.html)

- [Typedef GenieSamplerConfig_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieSampler_8h_1a70f5aa843e182ae70f5163df5af0609f.html)

- [Typedef GenieTokenizer_Handle_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_GenieTokenizer_8h_1acc835931dfe1cf44fdcd8b4c4b5314b6.html)

Last Published: Jun 04, 2026

[Previous Topic
Library](https://docs.qualcomm.com/bundle/publicresource/80-63442-10/topics/library.md) [Next Topic
GeniePipeline](https://docs.qualcomm.com/bundle/publicresource/80-63442-10/topics/pipeline.md)