diff options
author | Heiner Lohaus <heiner@lohaus.eu> | 2023-09-26 10:03:37 +0200 |
---|---|---|
committer | Heiner Lohaus <heiner@lohaus.eu> | 2023-09-26 10:03:37 +0200 |
commit | 3c2755bc72efa0d8e5d8b2883443530ba67ecad4 (patch) | |
tree | 778a3c87768574ecd5f9a4927fbb58fc4137c32b /g4f/Provider/PerplexityAi.py | |
parent | AItianhuSpace Provider with GPT 4 added (diff) | |
download | gpt4free-3c2755bc72efa0d8e5d8b2883443530ba67ecad4.tar gpt4free-3c2755bc72efa0d8e5d8b2883443530ba67ecad4.tar.gz gpt4free-3c2755bc72efa0d8e5d8b2883443530ba67ecad4.tar.bz2 gpt4free-3c2755bc72efa0d8e5d8b2883443530ba67ecad4.tar.lz gpt4free-3c2755bc72efa0d8e5d8b2883443530ba67ecad4.tar.xz gpt4free-3c2755bc72efa0d8e5d8b2883443530ba67ecad4.tar.zst gpt4free-3c2755bc72efa0d8e5d8b2883443530ba67ecad4.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/PerplexityAi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/PerplexityAi.py b/g4f/Provider/PerplexityAi.py index 269cdafd..fc0fd48c 100644 --- a/g4f/Provider/PerplexityAi.py +++ b/g4f/Provider/PerplexityAi.py @@ -58,7 +58,7 @@ class PerplexityAi(AsyncProvider): result = json.loads(json.loads(line[3:])[0]["text"]) cls._sources = [{ - "name": source["name"], + "title": source["name"], "url": source["url"], "snippet": source["snippet"] } for source in result["web_results"]] |