Discussions

Ask a Question

Conversational/Multi-turn Decoherence on llama-3-sonar-large-32k-online

Hi Aarash, 2 months ago you kindly fixed a bug I flagged about multi-turn conversations losing coherence. It seems the bug is back - noticed it about 3 weeks ago: (via playground, and API) Example: Human: Are there camels at ZSL? LLM: Yes, there are camels at ZSL (Zoological Society of London). Specifically, London Zoo is home to two domestic Bactrian camels named Genghis and Noemie, which can be found in the Orange Zone of the zoo. Human: What are their names? LLM: The song "What Are Their Names" is by David Crosby, and it is part of his album "If I Could Only Remember My Name" released on February 22, 1971. The song features vocals from several notable artists, including David Crosby, Graham Nash, David Freiberg, Phil Lesh, Jerry Garcia, Grace Slick, Joni Mitchell, and Paul Kantner. Thanks, Mike

Fast changing data

Hi, I have lots of fast-moving and changing data on <https://patientgroups.ai> but it is not being updated on perplexity. It's kind of hallucinating the data and not giving the correct answers if the site changes. It's obviously quite important data for patients searching for patient groups if they have a newly discovered medical condition so it would be good to be updated often. I did a search but cannot find a submission mechanism for sitemaps, is one coming soon?

Inconsistency in responses for the same query

I get pretty wildly different results for this prompt: "Flight prices to Portugal from SFO in July on Google Flights" Example responses: - To find flight prices to Portugal from SFO in July on Google Flights, follow these steps:\\n\\n1. Go to Google Flights.\\n2. Enter San Francisco (SFO) as your departure city and Lisbon (LIS) or Porto (OPO) as your destination.\\n3. Select your ticket type: one-way, round trip, or multi-city.\\n4. Select the number of passengers and cabin class.\\n5. Click the calendar to select your flight dates in July.\\n6. You will find the lowest total price to fly for each day.\\n7. Optional: Filter your results by stops, airlines, times, or more.\\n8.Choose a flight for each part of your trip.\\n9. Choose how you’ll book the flight: usually, you will be taken to the airline’s website or online travel agency to complete the transaction.\\n\\nFor example, flights from San Francisco to Lisbon in July can start from $510.00[2]. - Starting from $510.00[3]. - I have read the sources carefully. Please provide the query you would like me to answer. The citations it returns are also always different. This is using temperature=0 and llama-3-sonar-large-32k-online model. In our system prompt, we include "Try to be consistent. The user expects to get the same answer for the same question, except for things that change frequently like stocks and the weather.", but I also see from the API docs "Note that the search subsystem of the Online LLMs do not attend to the system prompt.". Flights is one example but this happens for other queries as well. Any advice on how to get better consistency?
ANSWERED

How do I access past threads to resuse and expand

I cant access past threads or requests.. is that normal?

Perplexity not visiting URL - Only halluzinating (make.com)

Hello Community, I noticed today that the Perplexity “Create a Chat Completion” module at make.com only responds with a generic text. Its job was to visit a URL and highlight the main points. The output I received has nothing to do with the visited article from my given URL. I tested various models and had the same result. When I enter the same prompt with the URL at perplexity.ai, I got a result which confirms that the URL was actually visited and researched. However, this is not the case with the make.com module. What’s going on with the API? Regards, Markus
ANSWERED

Unable to receive Citations

Hi Everybody, could you help me with this request? I'm not able to recieve Citations, I'm using the next request: ``` url = "https://api.perplexity.ai/chat/completions" payload = { "return_citations": True, "model": "llama-3-sonar-large-32k-online", "messages": [ { "role": "system", "content": "you are a personal assistant be precise" }, { "role": "user", "content": "what are the news on LatinAmerica?" } ] } headers = { "accept": "application/json", "content-type": "application/json", "authorization": f"Bearer {api_key}", } response = requests.post(url, json=payload, headers=headers) response.json() ``` the Response is: ``` {'id': '244dd1ce-88d0-43a6-af27-d291471ab157', 'model': 'llama-3-sonar-large-32k-online', 'created': 1720706266, 'usage': {'prompt_tokens': 89, 'completion_tokens': 381, 'total_tokens': 470}, 'object': 'chat.completion', 'choices': [{'index': 0, 'finish_reason': 'stop', 'message': {'role': 'assistant', 'content': 'En América Latina, hay varias noticias importantes:\n\n1. **Huracán Beryl**: El huracán categoría 3 se dirige hacia México después de causar destrucción en el Caribe. Se han reportado muertes y daños significativos en Jamaica, Barbados, St. Vincent, y Grenada.\n\n2. **Política en Brasil**: El expresidente Jair Bolsonaro enfrenta acusaciones de lavado de dinero relacionadas con diamantes no declarados de Arabia Saudita, lo que agrega a sus problemas legales.\n\n3. **Elecciones en Venezuela**: El presidente Nicolás Maduro enfrenta una elección difícil después de una década en el poder, lo que plantea un desafío para su liderazgo.\n\n4. **Incertidumbre en Bolivia**: Después de un intento de golpe de estado, prevalece la incertidumbre y las teorías de la conspiración, destacando la inestabilidad política en la región.\n\n5. **Rescate en Ecuador**: Las autoridades ecuatorianas rescataron a 49 personas secuestradas por una banda criminal en una región minera.\n\n6. **Captura de líder de pandilla en Venezuela**: La policía capturó a Larry Changa, fundador de la temida pandilla Tren de Aragua, en una ciudad colombiana.\n\n7. **Problemas de seguridad en México**: Un enfrentamiento entre pandillas rivales en Chiapas resultó en 19 muertes, destacando los desafíos de la delincuencia organizada en la región.\n\nEstas son solo algunas de las noticias destacadas en América Latina en este momento.'}, 'delta': {'role': 'assistant', 'content': ''}}]} ``` <br /> Thanks in advance
ANSWERED

I am not able to generate API Key.

I see API key "Generate" button is disabled and I can't create any API key. I am pro user.

what is considered as a token?

for rate limits, what is considered as a token? Please explain with example
ANSWERED

Model Availability

7B models are listed in the pricing page, but do not appear in the supported models. Does Perplexity support or plan to support 7B Mistral or variants?
ANSWERED

API data retention on enterprise plans

Is API data retention for enterprise plans 7 days? <https://www.perplexity.ai/hub/faq/pro-enterprise-faq> . Or does this just apply for queries using the UI? Data retention Your queries stay private and are deleted after 7 days.