コード例 #1
0
ファイル: matrix_tests.py プロジェクト: shapelets/al-juarismi
    def setUp(self):
        set_backend(KHIVABackend.KHIVA_BACKEND_CPU)
        self.project_id = "aljuaritmo"
        self.language_code = "en"
        self.session_client = dialogflow.SessionsClient()
        self.session = self.session_client.session_path(self.project_id, self.session_id)

        self.workspace = al.Workspace()
        self.workspace.init_current()
コード例 #2
0
    def setUp(self):
        set_backend(KHIVABackend.KHIVA_BACKEND_CPU)
        os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "/home/franco.gonzalez/Desktop/Credentials/" \
                                                       "Aljuaritmo-3ac32e58ff41.json"
        self.project_id = "aljuaritmo"
        self.language_code = "en"
        self.session_client = dialogflow.SessionsClient()
        self.session = self.session_client.session_path(
            self.project_id, self.session_id)

        self.workspace = al.Workspace()
        self.workspace.init_current()
コード例 #3
0
 def setUp(self):
     set_backend(KHIVABackend.KHIVA_BACKEND_CPU)