araa-search
araa-search copied to clipboard
Feature Request
Hi, I have a feature request for Tailsx. Is there anyway that you develop so that it has an AI chat function that uses gpt-3.5-turbo. Also is there any possibility to make the design similar to you.com or bing.com? AI Inspiration: You.com Chat and Bing Chat. Design Inspiration: You.com, Bing.com and Neeva.com
i am looking into adding chatgpt soon
I don't have a working API key for openai and it cost money so I can't develop it sorry.
You can use brave's summarizer.
This is the URL for its api:
https://search.brave.com/api/summarizer?key=query:us:en
It's quite good, since it gives references to what it's saying, and if it knows something's wrong, it wont give any result.
Also, its terms of use seem okay too. This is all I could find that could be somewhat related to API use, but Tailsx doesn't have a lot of users, so its load wont be 'unreasonable.'
Further, you shall not (directly or indirectly):
(i) take any action that imposes or may impose an unreasonable or disproportionately large load on Brave’s (or its third party providers’) infrastructure; or
(ii) interfere or attempt to interfere with the proper working of the Service or any activities conducted on the Service;
(iii) bypass any measures Brave may use to prevent or restrict access to the Service (or parts thereof).
You can use brave's summarizer. This is the URL for its api:
https://search.brave.com/api/summarizer?key=query:us:en
It's quite good, since it gives references to what it's saying, and if it knows something's wrong, it wont give any result.
Also, its terms of use seem okay too. This is all I could find that could be somewhat related to API use, but Tailsx doesn't have a lot of users, so its load wont be 'unreasonable.'
Further, you shall not (directly or indirectly): (i) take any action that imposes or may impose an unreasonable or disproportionately large load on Brave’s (or its third party providers’) infrastructure; or (ii) interfere or attempt to interfere with the proper working of the Service or any activities conducted on the Service; (iii) bypass any measures Brave may use to prevent or restrict access to the Service (or parts thereof).
i will use this instead
The requests can take a lot of time though, so it's probably best to implement it as a javascript fetch, rather than preloaded on every page.
do you have revolt.chat or something amogusussy
I don't right now, but I can make one tomorrow (I'm about to go to sleep) if you want.
i made a key but i dont know how to use it https://search.brave.com/api/summarizer?key=mykey&query=firefox
{"type":"summarizer","status":"failed","results":[]}
@Extravi try setting key
to the search query
It only allows certain types of queries.
Try searching "what is the periodic table". That query gives a response for me.
Also, I don't think you need a key. Not including a key would make self hosting a lot easier.
https://search.brave.com/api/summarizer?key=what%20is%20the%20periodic%20table:us:en
{"type":"summarizer","status":"failed","results":[]}
Try setting the user agent header.
Also, you could try searching it normally in search.brave.com, and see if any box that says summariser shows up. It might only be allowed in certain countries, due to new ai regulations.
I think I will scrap this idea. The API isn't reliable when I could focus on other things.
It works sometimes and sometimes it won't.
I am not sure about it because how they get the API keys does not seem right and could be breaking OpenAI's TOS.
like i dont want to get this project taken down by openai
so i likely wont be using that
i might use something else
it's something that will happen at some point
I'm working on adding asynchronous support using httpx first