{"action":"created","comment":{"url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/comments/208626915","pull_request_review_id":144475264,"id":208626915,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODYyNjkxNQ==","diff_hunk":"@@ -13,43 +13,54 @@ export default class Build {\n     this.language = language\n   }\n \n-  dialog = (message, options = {}) => {\n+  dialog = (message, options = {}, memory = null, log_level = 'info') => {\n     const token = options.token || this.token\n+    const proxy = options.proxy\n     const data = {\n       message,\n       conversation_id: options.conversationId,\n       language: options.language || this.language,\n+      memory: memory,","path":"src/apis/build/index.js","position":12,"original_position":12,"commit_id":"dfe77e1c359415c9b484ddeb68ea5f86200d6c58","original_commit_id":"dfe77e1c359415c9b484ddeb68ea5f86200d6c58","user":{"login":"dbousque","id":16238354,"node_id":"MDQ6VXNlcjE2MjM4MzU0","avatar_url":"https://avatars3.githubusercontent.com/u/16238354?v=4","gravatar_id":"","url":"https://api.github.com/users/dbousque","html_url":"https://github.com/dbousque","followers_url":"https://api.github.com/users/dbousque/followers","following_url":"https://api.github.com/users/dbousque/following{/other_user}","gists_url":"https://api.github.com/users/dbousque/gists{/gist_id}","starred_url":"https://api.github.com/users/dbousque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbousque/subscriptions","organizations_url":"https://api.github.com/users/dbousque/orgs","repos_url":"https://api.github.com/users/dbousque/repos","events_url":"https://api.github.com/users/dbousque/events{/privacy}","received_events_url":"https://api.github.com/users/dbousque/received_events","type":"User","site_admin":false},"body":"Could you please only set the `memory` field when given as argument ? It may replace the existing memory with an empty one otherwise.","created_at":"2018-08-08T15:27:13Z","updated_at":"2018-08-08T15:27:14Z","html_url":"https://github.com/RecastAI/SDK-NodeJS/pull/40#discussion_r208626915","pull_request_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/40","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/comments/208626915"},"html":{"href":"https://github.com/RecastAI/SDK-NodeJS/pull/40#discussion_r208626915"},"pull_request":{"href":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/40","id":205102988,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MTAyOTg4","html_url":"https://github.com/RecastAI/SDK-NodeJS/pull/40","diff_url":"https://github.com/RecastAI/SDK-NodeJS/pull/40.diff","patch_url":"https://github.com/RecastAI/SDK-NodeJS/pull/40.patch","issue_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/issues/40","number":40,"state":"open","locked":false,"title":"Update sdk","user":{"login":"Millasdur","id":33953790,"node_id":"MDQ6VXNlcjMzOTUzNzkw","avatar_url":"https://avatars1.githubusercontent.com/u/33953790?v=4","gravatar_id":"","url":"https://api.github.com/users/Millasdur","html_url":"https://github.com/Millasdur","followers_url":"https://api.github.com/users/Millasdur/followers","following_url":"https://api.github.com/users/Millasdur/following{/other_user}","gists_url":"https://api.github.com/users/Millasdur/gists{/gist_id}","starred_url":"https://api.github.com/users/Millasdur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Millasdur/subscriptions","organizations_url":"https://api.github.com/users/Millasdur/orgs","repos_url":"https://api.github.com/users/Millasdur/repos","events_url":"https://api.github.com/users/Millasdur/events{/privacy}","received_events_url":"https://api.github.com/users/Millasdur/received_events","type":"User","site_admin":false},"body":"Added optional parameters : memory and log_level, to the dialog endpoint\r\nAdded a proxy option\r\nRemoved audio endpoint","created_at":"2018-07-31T12:56:04Z","updated_at":"2018-08-08T15:27:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad4c03a20f4427c5abcbac0d95b17eb9ad35bd2f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/40/commits","review_comments_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/40/comments","review_comment_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/issues/40/comments","statuses_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/statuses/dfe77e1c359415c9b484ddeb68ea5f86200d6c58","head":{"label":"Millasdur:update/dialog","ref":"update/dialog","sha":"dfe77e1c359415c9b484ddeb68ea5f86200d6c58","user":{"login":"Millasdur","id":33953790,"node_id":"MDQ6VXNlcjMzOTUzNzkw","avatar_url":"https://avatars1.githubusercontent.com/u/33953790?v=4","gravatar_id":"","url":"https://api.github.com/users/Millasdur","html_url":"https://github.com/Millasdur","followers_url":"https://api.github.com/users/Millasdur/followers","following_url":"https://api.github.com/users/Millasdur/following{/other_user}","gists_url":"https://api.github.com/users/Millasdur/gists{/gist_id}","starred_url":"https://api.github.com/users/Millasdur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Millasdur/subscriptions","organizations_url":"https://api.github.com/users/Millasdur/orgs","repos_url":"https://api.github.com/users/Millasdur/repos","events_url":"https://api.github.com/users/Millasdur/events{/privacy}","received_events_url":"https://api.github.com/users/Millasdur/received_events","type":"User","site_admin":false},"repo":{"id":142857038,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI4NTcwMzg=","name":"SDK-NodeJS","full_name":"Millasdur/SDK-NodeJS","owner":{"login":"Millasdur","id":33953790,"node_id":"MDQ6VXNlcjMzOTUzNzkw","avatar_url":"https://avatars1.githubusercontent.com/u/33953790?v=4","gravatar_id":"","url":"https://api.github.com/users/Millasdur","html_url":"https://github.com/Millasdur","followers_url":"https://api.github.com/users/Millasdur/followers","following_url":"https://api.github.com/users/Millasdur/following{/other_user}","gists_url":"https://api.github.com/users/Millasdur/gists{/gist_id}","starred_url":"https://api.github.com/users/Millasdur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Millasdur/subscriptions","organizations_url":"https://api.github.com/users/Millasdur/orgs","repos_url":"https://api.github.com/users/Millasdur/repos","events_url":"https://api.github.com/users/Millasdur/events{/privacy}","received_events_url":"https://api.github.com/users/Millasdur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Millasdur/SDK-NodeJS","description":"Recast.AI official SDK for Node.js","fork":true,"url":"https://api.github.com/repos/Millasdur/SDK-NodeJS","forks_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/forks","keys_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/teams","hooks_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/hooks","issue_events_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/issues/events{/number}","events_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/events","assignees_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/assignees{/user}","branches_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/branches{/branch}","tags_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/tags","blobs_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/statuses/{sha}","languages_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/languages","stargazers_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/stargazers","contributors_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/contributors","subscribers_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/subscribers","subscription_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/subscription","commits_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/contents/{+path}","compare_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/merges","archive_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/downloads","issues_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/issues{/number}","pulls_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/pulls{/number}","milestones_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/milestones{/number}","notifications_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/labels{/name}","releases_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/releases{/id}","deployments_url":"https://api.github.com/repos/Millasdur/SDK-NodeJS/deployments","created_at":"2018-07-30T09:51:30Z","updated_at":"2018-07-30T09:51:32Z","pushed_at":"2018-08-08T14:41:24Z","git_url":"git://github.com/Millasdur/SDK-NodeJS.git","ssh_url":"git@github.com:Millasdur/SDK-NodeJS.git","clone_url":"https://github.com/Millasdur/SDK-NodeJS.git","svn_url":"https://github.com/Millasdur/SDK-NodeJS","homepage":"","size":579,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RecastAI:master","ref":"master","sha":"22929654c5a916bbe053a72b77e5021d9a3d0a5c","user":{"login":"RecastAI","id":14937725,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTM3NzI1","avatar_url":"https://avatars2.githubusercontent.com/u/14937725?v=4","gravatar_id":"","url":"https://api.github.com/users/RecastAI","html_url":"https://github.com/RecastAI","followers_url":"https://api.github.com/users/RecastAI/followers","following_url":"https://api.github.com/users/RecastAI/following{/other_user}","gists_url":"https://api.github.com/users/RecastAI/gists{/gist_id}","starred_url":"https://api.github.com/users/RecastAI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RecastAI/subscriptions","organizations_url":"https://api.github.com/users/RecastAI/orgs","repos_url":"https://api.github.com/users/RecastAI/repos","events_url":"https://api.github.com/users/RecastAI/events{/privacy}","received_events_url":"https://api.github.com/users/RecastAI/received_events","type":"Organization","site_admin":false},"repo":{"id":58465406,"node_id":"MDEwOlJlcG9zaXRvcnk1ODQ2NTQwNg==","name":"SDK-NodeJS","full_name":"RecastAI/SDK-NodeJS","owner":{"login":"RecastAI","id":14937725,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTM3NzI1","avatar_url":"https://avatars2.githubusercontent.com/u/14937725?v=4","gravatar_id":"","url":"https://api.github.com/users/RecastAI","html_url":"https://github.com/RecastAI","followers_url":"https://api.github.com/users/RecastAI/followers","following_url":"https://api.github.com/users/RecastAI/following{/other_user}","gists_url":"https://api.github.com/users/RecastAI/gists{/gist_id}","starred_url":"https://api.github.com/users/RecastAI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RecastAI/subscriptions","organizations_url":"https://api.github.com/users/RecastAI/orgs","repos_url":"https://api.github.com/users/RecastAI/repos","events_url":"https://api.github.com/users/RecastAI/events{/privacy}","received_events_url":"https://api.github.com/users/RecastAI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RecastAI/SDK-NodeJS","description":"Recast.AI official SDK for Node.js","fork":false,"url":"https://api.github.com/repos/RecastAI/SDK-NodeJS","forks_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/forks","keys_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/teams","hooks_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/hooks","issue_events_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/issues/events{/number}","events_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/events","assignees_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/assignees{/user}","branches_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/branches{/branch}","tags_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/tags","blobs_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/statuses/{sha}","languages_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/languages","stargazers_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/stargazers","contributors_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/contributors","subscribers_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/subscribers","subscription_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/subscription","commits_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/contents/{+path}","compare_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/merges","archive_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/downloads","issues_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/issues{/number}","pulls_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls{/number}","milestones_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/milestones{/number}","notifications_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/labels{/name}","releases_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/releases{/id}","deployments_url":"https://api.github.com/repos/RecastAI/SDK-NodeJS/deployments","created_at":"2016-05-10T13:51:58Z","updated_at":"2018-08-03T11:49:20Z","pushed_at":"2018-08-08T14:41:25Z","git_url":"git://github.com/RecastAI/SDK-NodeJS.git","ssh_url":"git@github.com:RecastAI/SDK-NodeJS.git","clone_url":"https://github.com/RecastAI/SDK-NodeJS.git","svn_url":"https://github.com/RecastAI/SDK-NodeJS","homepage":"","size":577,"stargazers_count":62,"watchers_count":62,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":19,"open_issues":7,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/40"},"html":{"href":"https://github.com/RecastAI/SDK-NodeJS/pull/40"},"issue":{"href":"https://api.github.com/repos/RecastAI/SDK-NodeJS/issues/40"},"comments":{"href":"https://api.github.com/repos/RecastAI/SDK-NodeJS/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RecastAI/SDK-NodeJS/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/RecastAI/SDK-NodeJS/statuses/dfe77e1c359415c9b484ddeb68ea5f86200d6c58"}},"author_association":"NONE"}}
{"actor":{"display_login":"dbousque"}}