-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
users with commercial subscription can now pass their Gurunudi AI API key to the AI class constructor.
- Loading branch information
1 parent
99245e8
commit 8d41837
Showing
2 changed files
with
17 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/usr/bin/env python | ||
|
||
"""Generic URI of the Gurunudi AI API""" | ||
API_URL = "https://www.gurunudi.com/api/{}/{}/" | ||
API_URL = "https://api.gurunudi.com/{}/{}/" | ||
|
||
"""Gurunudi AI API accepts and sents JSON content only""" | ||
HEADERS = {'Content-type': 'application/json; charset=utf-8', 'Accept': 'application/json','User-Agent':'Gurunudi Client'} | ||
HEADERS = {'Content-type': 'application/json; charset=utf-8', 'Accept': 'application/json','User-Agent':'Gurunudi Python Client 1.4.0','GNAPI':'demo'} | ||
|
||
DEBUG = False |