Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.

Commit 554657b

Browse files
author
Stefan Selent
committed
Fix new domain name & change author
1 parent 80b8b76 commit 554657b

File tree

4 files changed

+11
-16
lines changed

4 files changed

+11
-16
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 [SAP Conversational AI](https://cai.tool.sap)
3+
Copyright (c) 2019 [SAP Conversational AI](https://cai.tools.sap)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[logo]: https://cdn.cai.tool.sap/brand/sapcai/sap-cai-black.svg "SAP Conversational AI"
1+
[logo]: https://cdn.cai.tools.sap/brand/sapcai/sap-cai-black.svg "SAP Conversational AI"
22

33
![alt text][logo]
44

@@ -7,7 +7,7 @@ SAP Conversational AI official SDK in PHP
77

88
## Synospis
99

10-
This module is a wrapper around the [SAP Conversational AI](https://cai.tool.sap) API, and allows you to:
10+
This module is a wrapper around the [SAP Conversational AI](https://cai.tools.sap) API, and allows you to:
1111
* [Analyse your text](https://github.com/SAPConversationalAI/SDK-PHP/wiki/Analyse-text)
1212
* [Manage your conversation](https://github.com/SAPConversationalAI/SDK-PHP/wiki/Manage-conversation)
1313
* [Receive and send messages](https://github.com/SAPConversationalAI/SDK-PHP/wiki/Receive-and-send-messages)
@@ -45,17 +45,13 @@ $connect = Client::Connect('YOUR_TOKEN');
4545

4646
## More
4747

48-
You can view the whole API reference at [cai.tool.sap/docs/api-reference](https://cai.tool.sap/docs/api-reference).
49-
50-
## Author
51-
52-
Marian André, marian.andre@sap.com
48+
You can view the whole API reference at [cai.tools.sap/docs/api-reference](https://cai.tools.sap/docs/api-reference).
5349

5450
You can follow us on Twitter at [@sapcai](https://twitter.com/sapcai) for updates and releases.
5551

5652
## License
5753

58-
Copyright (c) [2019] [SAP Conversational AI](https://cai.tool.sap)
54+
Copyright (c) [2019] [SAP Conversational AI](https://cai.tools.sap)
5955

6056
Permission is hereby granted, free of charge, to any person obtaining a copy
6157
of this software and associated documentation files (the "Software"), to deal

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
"description": "The official PHP SDK of SAP Conversational AI",
44
"version": "4.0.0",
55
"license": "MIT",
6-
"homepage": "https://cai.tool.sap",
6+
"homepage": "https://cai.tools.sap",
77
"authors": [
88
{
9-
"name": "Marian André",
10-
"email": "marian.andre@sap.com"
9+
"name": "SAP CAI team"
1110
}
1211
],
1312
"minimum-stability": "dev",

src/Constants.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
class Constants
66
{
7-
const REQUEST_ENDPOINT = "https://api.cai.tool.sap/v2/request";
8-
const CONVERSE_ENDPOINT = "https://api.cai.tool.sap/v2/converse";
9-
const CONVERSATION_ENDPOINT = "https://api.cai.tool.sap/connect/v1/messages";
10-
const MESSAGE_ENDPOINT = "https://api.cai.tool.sap/connect/v1/conversations/:conversation_id/messages";
7+
const REQUEST_ENDPOINT = "https://api.cai.tools.sap/v2/request";
8+
const CONVERSE_ENDPOINT = "https://api.cai.tools.sap/v2/converse";
9+
const CONVERSATION_ENDPOINT = "https://api.cai.tools.sap/connect/v1/messages";
10+
const MESSAGE_ENDPOINT = "https://api.cai.tools.sap/connect/v1/conversations/:conversation_id/messages";
1111

1212
const ACT_ASSERT = "assert";
1313
const ACT_COMMAND = "command";

0 commit comments

Comments
 (0)