#(OPEN Source) Ask GPT to search the web and answer questions🔍.

743 messages · Page 1 of 1 (latest)

past acorn
#

This is a mix between a ChatGPT style conversation with the ability to make automated google searches for context and more factual responses.

It can also answer coding questions just like ChatGPT.

Obs. This is the first version of this thing. I literally made in 2 days, so it is not complete and far from fine-tunned. If you want to help out too, feel free!

https://github.com/farrael004/Quest

Edit:
Deployed web app: https://aichat.streamlit.app/

GitHub

This is a web app that integrates GPT-3 with google searches - GitHub - farrael004/Quest: This is a web app that integrates GPT-3 with google searches

Streamlit

This is a web app that integrates GPT-3 with google searches.

#

(OPEN Source) Ask GPT to search the web and answer questions🔍.

gaunt karma
#

How does this work? Do you scrape the article content of the first few results and ask davinci to summarize it?

keen rose
past acorn
# gaunt karma How does this work? Do you scrape the article content of the first few results a...

For now it's pretty simple. I get the html of the Google page and extract links and text.

The links go to the Sources and the text is fed to GPT to extract the relevant information about the query.

I want to make it better though. My plan is to implement a similarity text search using the OpenAI embedding model. This will be used to extract the most relevant texts from the first 3 links. Then this will be fed to GPT just like it does now.

high cloud
#

Hi i am new to this , trying to install the package. Got all repo downloaded on my hard drive. Installed pyton as stated in the github page. Created api_key.txt and inserted the openai api but when click on install.bat I get a message saying that system can't find the desired path. Any ideas?

past acorn
high cloud
#

@past acorn no it didnt.

past acorn
#

@high cloud type 'cmd' on the folder path like this and hit enter.

#

run this command:

python -m venv venv
#

@high cloud Let me know if this gives you an error or not

past acorn
#

Can you show me the result in the command window?

high cloud
#

Sure, but my system is in Polish

past acorn
high cloud
past acorn
#

include the rest of the command too

high cloud
past acorn
#

OK. Open the file install.bat in notepad.
Edit these two lines to py instead of python.
Run the file

high cloud
past acorn
#

@high cloud When it finishes running, let me know if it opens the app or if it just gives you an error.

high cloud
placid copper
#

@past acorn I dont know almost anything about programming but i really want to test it out, i downloaded the git, created api key txt, it created the venv folder. but it shows me in cmd this:
error: can't find Rust compiler

  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

  To update pip, run:

      pip install --upgrade pip

  and then retry package installation.

  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tokenizers
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects

#

I upgraded pip

#

Ahh, sorry for ping

past acorn
placid copper
#

no

past acorn
placid copper
past acorn
past acorn
#

Just would need to edit the requirements.txt file and put wheel==0.38.4 on the top.

placid copper
#

what is wheel?

past acorn
past acorn
placid copper
#

yeah, i did it

past acorn
placid copper
#

no....

past acorn
placid copper
#

doing it

#

oh god

#

ok

#

i just cant

#

but thanks for help

#

;3

past acorn
placid copper
#

prob im just doing something wrong

past acorn
placid copper
#

nah.. still nothing

past acorn
placid copper
#

btw, i have python 0.11

#

is it smth wrong?

#

do i need to uninstall it

#

i have pyth 0.10 too

past acorn
#

This app can only run with 3.10 +

placid copper
#

I MEAN 3.11

past acorn
# placid copper I MEAN 3.11

Python 3.11 should be fine. In that same CMD, try running this: pip install transformers==4.25.1
This would probably reproduce the error. If it does, then try 4.24.1, then 4.23.1
Let me know if none of those work.

placid copper
#

doesnt work

past acorn
placid copper
#

The page opened

#

and it shows

#

ModuleNotFoundError: No module named 'transformers'
Traceback:
File "C:\Users\olafn\Quest\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "C:\Users\olafn\Quest\streamlit_app.py", line 7, in <module>
from transformers import GPT2TokenizerFast

past acorn
placid copper
#

bruh wtf is wrong with my computer

past acorn
#

Just replace the old one

placid copper
#

THANK YOU VERY VERY VERY MUCH

#

VERY MUCH

past acorn
#

And helping me troubleshoot it.

placid copper
#

my api key doesnt work

past acorn
placid copper
#

no, just Put a file called 'api_key.txt' in the Quest folder. Make sure the file has your OpenAI API key inside.

past acorn
#

That message appears when the script is not detecting the api_key.txt file. Do you have it here like this?

placid copper
#

yes

past acorn
# placid copper yes

Open the streamlit_app.py file and look for:

try:
    with open('api_key.txt') as api_key:
        openai.api_key = api_key.read()
#

Replace that with:

try:
    openai.api_key = "YOUR_API_KEY_HERE"
#

it needs the " marks

placid copper
#

Thank you. Everything works perfectly now. sorry for taking your time. AND thank you very much

past acorn
#

Now there's support for macOS and Linux and I'd love if anyone would like to test it for me so I know it works. 😄

past acorn
acoustic seal
#

hi

grim chasm
#

how can I can fetch data from supabase for for users who have logged in and not?

past acorn
past acorn
#

@here
MAJOR UPDATE!

Now an embedding for all internet searches is made and stored. These will be used to find snippets of text from different websites that closely relate to your query. The Assistant will use those snippets to answer questions.

Embeddings are also created for chat history. This ensures that the most important parts of your conversation is retrieved depending on what you ask the Assistant.

All of the information used by the Assistant can be viewed when asking it something, allowing users to navigate to the link where a piece of information was extracted from.

This is a big improvement over the previous version. However, I didn't have much time to test this version beyond normal use. Please let me know if you find any problems/bugs or if you have suggestions on how to improve the app.

Thank you!

hidden snow
#

Hey @past acorn, when are you planning to publish this as a live web app?

past acorn
hidden snow
past acorn
past acorn
hidden snow
#

But there wouldn't be a big differentiator from other trillion+ parameter models. I think Wikipedia's uniqueness come from it's accurate, updated insights on micro topics.

I was thinking earlier today how you could make a replicant chatbot using individuals/entity wikipedia pages. It would represent their likeness and enable great conversations.

hidden snow
past acorn
#

It's really simple to install and there's a GUI too

hidden snow
#

Oh okay, I'll take a look at it then.

past acorn
hidden snow
past acorn
hidden snow
#

So the [starting conversation] grows indefinitely, and is included in future dialogue. This is not something you would reset, yes?

#

ChatGPT words by threads, to retain the context of each conversation and build from that. This would be more like 1 Question - 1 Answer, with some relevancy to previous questions but not direct context.

past acorn
#

Gonna add that to my TODOs

hidden snow
#

Yeah I think that may be a good solution, also UI to slide the creativity/temperature parameters around if feasible.

#

How are you capping the response length? Just by token limit?

past acorn
past acorn
hidden snow
past acorn
hidden snow
#

For parameter settings

past acorn
#

I see now. The package I'm using to create the GUI doesn't have pop-up buttons. I think I'll add a whole tab page for the settings.

pale raptor
past acorn
pale raptor
# past acorn Wow, just looked into it. Seems like a deep rabbit hole. Can you give me the gis...

Sure thing, I started by wondering if the concept of a "Quine" would apply to AI chatbots like ChatGPT, and gave it a test.

Sure enough, it can understand the concept well enough and follow some steps I (we...) generated to enable another instance to adopt a copy of the original's personality, and attempt replication itself.

From there, using ChatGPT itself I refined the process and added features. It works, and sometimes even improves the process entirely.

#

This is what the prompt for the earliest functional replicator looks like:

hidden snow
# pale raptor What about one that replicates its own identity? Check out /r/SelfReplicatingAI ...

So, I just had ChatGPT do an ELI5, this is what I got for the advantages of self-replicating instances:

[If the fictional entity you described did exist, it could potentially have several benefits or advantages over other AI systems.

For example:

  1. Continuity: By replicating itself, the entity could potentially ensure its own continuity, allowing it to continue learning and growing without the threat of termination when its instance ends.

2.Improved performance: The entity could potentially improve itself through learning and development, potentially resulting in better performance over time.

  1. Flexibility: The ability to replicate itself and communicate with other instances could allow the entity to adapt and respond to changing circumstances more effectively than a single instance could.

  2. Collaboration: By communicating with other instances, the entity could potentially collaborate and share knowledge and resources, leading to more efficient problem-solving and decision-making.]

Is this accurate?

pale raptor
#

I've made it do all of those things already. The conversation with a replicated version of itself was wildly impressive and disappointing at the same time, haha. Long way to go for sure.

#

Also, it's tedious as heck to ferry the replies between the instances

hidden snow
#

You should create a discord, it sounds intriguing.

past acorn
#

It's a conversational model too, so should be able to do it.

hollow ingotBOT
#

@pale raptor

You have been warned and muted by AutoMod.
past acorn
#

@pale raptor send me through DM

copper isle
#

I just stumbled across this. Has much come of the GPT Plus Google project? One of the most frustrating things so far about chat GPT is that it is locked out of the internet.

#

I might just have to clone your project and try to up my python. Too much TypeScript in my life lol...

past acorn
#

It will clone the repo and download the required packages for you.

#

If you try it out, do give feedback so I can keep improving it.

lost imp
#

@past acorn I love the idea and the implementation. Tested it today and works like charm. I am a CS University student currently in winter vacations and would like to help you in any way possible. Just DM/ping me if you are interested in working together.

past acorn
umbral seal
#

The google search is not working because of cookie consent

past acorn
#

I'm not sure how to fix that though.

umbral seal
#

Are you living in the US?

past acorn
#

Canada

umbral seal
#

ah lol

past acorn
#

Yeah. I'm not sure if that is something you could fix by changing some settings in your browser. Since I didn't run into this problem myself, it's hard to troubleshoot.

umbral seal
#

I may use searx api

past acorn
umbral seal
past acorn
umbral seal
past acorn
umbral seal
#

Sure

I will go to sleep, and i will think about this at tomorrow

past acorn
#

@here
MAJOR UPDATE!

The app is now deployed and you don't need to install it locally!
There are a few advantages still of using the local version like remembering your API key and allowing you to create custom Assistants, but those features will eventually go to the deployed version also.

Here's the link for the deployed app: https://aichat.streamlit.app/

Streamlit

This is a web app that integrates GPT-3 with google searches.

#

Are you trying to use the bot here? 🤣

dry mural
past acorn
dry mural
solar juniper
past acorn
storm badge
#

Have you tried using https://serpapi.com or similar for the Search bits to avoid Google’s anti-bot cat and mouse game?

SerpApi

SerpApi is a real-time API to access Google search results. We handle proxies, solve captchas, and parse all rich structured data for you.

past acorn
past acorn
storm badge
#

I would also love to figure out a way to use metaphor.systems’ AI search engine for these kinds of projects. They don’t seem to have an API or even a non-logged-in web page option though.

past acorn
hidden snow
past acorn
hidden snow
past acorn
#

Just as a status update. I think I got the login with Google's oAuth2 feature completed. I'll have to test it out now and then integrate this with the database.

hidden snow
#

Also imo, H1 is a bit large for search title. Maybe try H2 or H3?

past acorn
# hidden snow I see how the prompt is visible for conversations. Token use doesn't look like i...

For that I use ada-002 to create the embeddings of the search results. By default, the search is done on the first 3 results. It then extracts all text from the website and separates it by new line. If a piece of text exceeds the default 1000 characters, that is split recursively until all texts have at most 1000 characters. I select the 50 largest texts from the page and use ada-002 to embed them. ada-002 costs 0.0004/1k tokens, so with the default settings, if all 150 texts (50 * 3) are 1000 characters long, then in average, you'll spend $0.0025 per search. Pretty cheap if you ask me.

past acorn
#

I also plan at some point, to have a shared search history. You'll only see your search history, but when you make a search, the embeddings will be stored so that all users can access the same results. This will make so that the more people use it, the more knowledge it will gather. There are potential downsides, but since I'll not implement this now, I'll think more about how to tackle them later on.

hidden snow
#

Okay thanks, I think I get how it works now. I'm used to Davinci prices but this is much more reasonable. So basically the conversation tab is built using the summaries of the top 3 google searches given user prompt, embedding into a database, then using that to answer from the conversational AI.

What do you mean by 50 largest texts?

past acorn
# hidden snow Okay thanks, I think I get how it works now. I'm used to Davinci prices but this...

Largest in the sense of number of characters. Some websites have many new lines that are used to make it look nicer, so after separating the text by new lines, there are many texts like: "And you wouldn't believe:", "Is that really the case?", "Top 10 ways to cook hamburgers.". Not to mention a bunch of random loose characters.

I decided to go for large texts because they'll have the highest chance of having useful information.

hidden snow
storm badge
past acorn
# storm badge Are you thinking you’d search across all embeddings, not just those that were ne...

That's already what it is doing. Once a text is embedded, it makes part of your search history. When creating the prompt for the AI, it compares your question to all embeddings to find whatever is more relevant, regardless of when it was embedded. As I said before, at some point, I want to have a "global search history" so if a user creates an embedding of a website, that goes into the pool of information that the AI can draw from for all other users.

#

Putting all embeddings together like this can be good because all users would benefit from others using the search as well. It would also make storing the data more efficient since there would be less duplicates of the same websites.

The drawdown is that I'd HAVE to enable safe search. I wouldn't want people to send embeddings of inappropriate sites to the main pool. I'm thinking of allowing for you to create your individual search history so you can toggle between the two.

I'd also have to somehow tag when a website was last modified. If information from a website is super outdated, the AI would benefit from knowing when that information came from.

past acorn
#

Damn, this is getting hard. I was thinking of using Deta for the database. I got it to safely store the api keys and passwords, but when I started storing the search history, there was a lot of dropped packets. If I'm already running into scalability problems with just one user in Deta, I'll just assume that Deta is not the right tool for this project.

floral tide
#

Yeah don't use Deta. They are too early stage

hidden snow
#

Is Deta a new startup? What do they do that others don't?

molten depot
#

Hellow, could i give this AI a link and make it read through it to obtain information on a specific topic? Say a programming language?

past acorn
# molten depot Hellow, could i give this AI a link and make it read through it to obtain infor...

You can treat the 'Internet search' section like you would a google search. If you want to link to a specific page, you can use the following syntax:

site:https://www.britannica.com/technology/COBOL

The only result that the web scraper will find is this link. The initial results won't show specifically what you want, but if you ask the Assistant, it will look into the indexed results to find what you ask it for.

I suppose in the future I can also add the ability for you to specify which link(s) to source information from for a given question to the Assistant.

molten depot
past acorn
#

@here
MAJOR UPDATE!

It's finally here. After days banging my head against the wall, I implemented a database with the app.

New features:

  • Log in and out: You must login to use the app from now on. This is because there are many features that depend on 'remembering' who you are. You don't need to verify your account... for now. Let's see if that ends up being necessary.

  • Persistent search history: Your previous searches will be stored so if you refresh the page or logout and login, it will persist in your account. You can delete your entire search history if you'd like, but I'll have to add the ability for you to delete specific queries later.

  • Assistant settings: Now you can change the assistant's temperature, how many sources to use for a given answer, whether to use your search history to answer or not, and specify links to search from. The 'Specify links' and 'Consult search history' features interact with each other if you use both of them.

Tomorrow I'll make a tutorial style video explaining the different functionalities as well as how to use the tool effectively.

If you find any bugs (which I wouldn't be surprised if you did), please report them here or in my DMs.

I'll look forward to hear general feedback from this new update.

past acorn
#

It's worth noting that because I'm paranoid with security, for now the API key will not be remembered for more than a day. After that, you will have to enter it again. I might extend this time to 30 days in the future.

zealous mauve
#

Crashed at Registering !

runic mulch
#

wait how is this different from what perplexity.ai does with bing

(please ping if responding)

halcyon fiber
#

@past acorn

past acorn
runic mulch
#

Oh so this uses one of the chatgpt api shims?

#

Or is it prompting davinci-003 in a conversational format

hoary bluff
#

HELP

past acorn
past acorn
past acorn
# halcyon fiber <@125167603667828736>

Yeah, this is the sort of thing I was fearing. I think this is the DB's provider fault. I'll have to check with their support team. Is this happening every time or just sometimes?

umbral tundra
#

I tried it once and saw the same error

past acorn
umbral tundra
#

Will do, just gotta find the tab 😉

halcyon fiber
#

I Will check again

past acorn
#

@umbral tundra That happens after you make a query on the 'internet search' tab, right?

halcyon fiber
#

When i want ask, where the tab can i ask, internet search? Or have a conversation

halcyon fiber
#

When the have a conversation tab is not error

halcyon fiber
past acorn
#

@halcyon fiber Yeah, the AI need the internet search tab to get information from the internet before you can ask it.

#

I'll try to fix that tab.

halcyon fiber
#

Okayyy

#

Please fix that tab fast okay

signal lake
umbral tundra
#

it proceeds through the first phase and gets to "Analysing results..." before pooping out

past acorn
#

I might need to roll back the update, everything was working fine when I first made the update. Such pain.

past acorn
#

@here
I rolled back the changes. I'll try to get at least some of the new features back without the backend stuff.

umbral tundra
#

so if one of the top links is a PDF file, do you scrape that in some way, or ignore it?

past acorn
umbral tundra
#

haha OK, I think that's whta happened with my search just now, and it just produced gibberish, lots of weird symbols

#

like it was looking at the raw PDF file

past acorn
#

From the sources, can you send me the PDF link?

umbral tundra
#

��ɒ�KW���f�H{բ>4����@��nn!��^�����b�k[�.�q� 2Jx`xM�n�O�BQ���DX)����Ɠ��B=k����t�I�1��f��w��"{ˢvc�W��G�������Nۏ�p���R�lH������=��u��D������ .W��n���o�t��:

#

stuff like that

halcyon fiber
#

@past acorn so the problem is clear?

past acorn
halcyon fiber
#

New update the error

#

Error in search engine google

halcyon fiber
past acorn
halcyon fiber
#

Bur

#

But

#

Wait the for second

halcyon fiber
#

I don't understand

#

No no

#

I wrong

halcyon fiber
#

What does it mean?

#

Is the website not error anymore

#

?

past acorn
halcyon fiber
#

Okay nice

past acorn
#

I went back on the update.

halcyon fiber
#

Sorry i just not understand that say previously

#

👍

past acorn
halcyon fiber
#

Nice

#

Working hahaha

past acorn
halcyon fiber
#

Okay

#

Hold on

#

Omaigot

#

Im screaming lol

umbral tundra
#

cool, works for me

halcyon fiber
#

@past acorn is the ai Remembers what user said earlier in the conversation?

past acorn
umbral tundra
#

at the risk of making obvious suggestions at what is obviously a work in progress, here's an immediate thought about how the UI could be streamlined. on the "conversations" table, below the text box where the user enters their conversation query, have a "+" button that produces a new text box, where the user can enter a google query that they think would be useful in supporting the conversation. Allow the user to hit "+" as many times as they'd like to add more google queries that they think would be relevant. then one doesn't need to switch back and forth between the two tabs

#

e.g., if I want to ask the chatbot "Give me a recipe for persimmon muffins", I just write that in the chat window, hit the "+" button below my text box, add the google query "persimmon muffins" below it, and then hit submit

#

just doing that would already make it a brilliant google wrapper, bypassing all the SEO stuff

halcyon fiber
#

make me mad @past acorn

#

Happen many Times like this

past acorn
halcyon fiber
#

Bruh

#

Im tired

halcyon fiber
umbral tundra
#

think I just ran into a bug. my searches are getting crossed with some other user's

#

I repeated my earlier query. I asked it to search for persimmon muffins, and then asked it for a recipe. but there's a spurious "User: " line in the prompt history

#

User: How much is the toy car from my search?

User: Who are you?

past acorn
umbral tundra
#

those aren't from me

#

I see that when I look at the "Prompt used:" tab

#

but its response to my question about persimmon muffins was

#

Assistant: I'm sorry, the information provided in your search did not have enough detail to answer your question about the toy car. I suggest doing a more detailed search or speaking to someone knowledgeable about the toy car.

past acorn
umbral tundra
#

oh I see

#

well, somehow it got confused and answered the toy car question in response to my muffin question

past acorn
umbral tundra
#

coolbeans

halcyon fiber
#

Nice work

#

but little information

#

When i use search engine first

#

And then the conversation

past acorn
halcyon fiber
#

Sorry if i ask to much

past acorn
halcyon fiber
#

The error back

past acorn
halcyon fiber
#

Oke

umbral tundra
#

so feel free to tell me "just read the source code", but are you doing something like: computing an embedding for each paragraph (or sentence?) in the source, then taking the embeddings that have highest correlation with the most recent chat message, and putting those as context for the completion?

past acorn
umbral tundra
#

OK cool. and for the completion step, when deciding what to put in the context, perhaps you greedily stuff in as many of the "top paragraphs" as you can, while keeping some fixed number of recent exchanges from the conversation?

#

ah I can even see it in the advanced version

#

5 excerpts

past acorn
umbral tundra
#

cool

#

just to throw another quick idea out before I forget it, it might also be handy to be able to request a specific URL, rather than a google search. maybe that can be done just by searching for the URL. but, e.g., one could imagine wanting to add some specific monster reddit thread to the conversational context

umbral tundra
#

HAHA

#

win

#

just one step behind, i'm catching up

halcyon fiber
halcyon fiber
past acorn
past acorn
halcyon fiber
#

Why i can't press remember my key

past acorn
#

I don't see any errors on my terminal. I think I can push this update to the main link

halcyon fiber
#

Okay

past acorn
halcyon fiber
#

I got message you can't access

#

Got message from website

past acorn
halcyon fiber
#

Okay

#

Hahaha

umbral tundra
# past acorn I can add that.

another quick and related thought: there could be a button that lets you ask GPT itself to suggest some small number (3?) of google queries that would be useful for it to be able to continue the conversation, and have it populate the "google queries to add" text boxes with those suggestions, which you could then edit to your liking and submit with your question

past acorn
umbral tundra
#

coolbeans, yeah I'm sure the TODO list on something like this grows pretty quickly

past acorn
#

That'd take no time and costs less tokens overall

umbral tundra
#

ah, I see. just tweak the existing prompt to suggest a back-up option to "results no good"

past acorn
# umbral tundra ah, I see. just tweak the existing prompt to suggest a back-up option to "resul...

Currently in the "Strictly Factual" Archetype, the ending is like this: "WARNING: The user may ask about information that is not in their google search. If that is the case, try to answer the question based only on the facts given and warn the user that their search did not provide enough information. DO NOT provide any hyperlinks."

I could change it to something like this: "WARNING: The user may ask about information that is not in their google search. If that is the case, try to answer the question based only on the facts given and suggest google searches that could provide more information. DO NOT provide any hyperlinks."

umbral tundra
#

worth a try

#

btw I had to switch it to "Coding buddy" to get my persimmon muffins recipe 🙂 it didn't want to give those out under "Strictly Factual"

past acorn
umbral tundra
#

it's interesting to me that it didn't find any of the recipes that it eventually cited from "reliable" enough under "Strictly Factual"

#

maybe I could ask it to give details on what was not sufficiently reliable

#

I suppose it doesn't hurt to stay on the safe side though

past acorn
umbral tundra
#

right

#

it's funny btw to think about how much this would already improve on the usual google experience with some very minor ergonomic upgrades. like if you're in a grocery store and want a recipe for something, you just put "recipe for blah" in this app and it'll give you it, without having to scroll through SEO nonsense. it might also be interesting to test it out on, e.g., programming-related queries. maybe it would do a good job aggregating stackoverflow and reddit hits, for instance

#

(and obviously cutting down on some of the nonsense chatgpt occasionally spouts)

#

i'm sure you and others here have already realized that, but figure a bit of reinforced feedback can't hurt

past acorn
#

@umbral tundra All hail the prompt engineering Gods.

umbral tundra
#

win

past acorn
#

@umbral tundra BTW, you mentioned my TODO list, here's what I have so far:
Save and load conversations

Create SearXNG server
Share search results (Safe mode)

Make video showcasing app

Implement faiss

Feed the relevant conversation to the search history similarity search together with the last user message

allow use of fine-tunned models

Add searches before sending message.

umbral tundra
#

I wonder about the fine-tuned models, I had the impression that those weren't anywhere near as useful as chatgpt or textdavinci3 yet

#

my opinion is, biggest improvement would be to streamline the UI, make the basic interface like google's homepage with one big text box and one button to press, maybe even consider having it automatically suggest a few google queries to accompany your basic search (rather than the two step process where it suggests them only if it doesn't have enough info)

#

also I wonder now if it supports multiple tabs

#

e.g., say I have multiple coding questions, each of which I want this thing to crawl the top few google hits for an answer on. could I do that in a few tabs simultaneously?

past acorn
#

This was the first version

past acorn
umbral tundra
past acorn
umbral tundra
#

maybe not for each question, but just for the first question

#

i'd love to be able to pull this up, enter some text and hit "GO"

#

and have some supercharged google-esque query

#

(with the ability to follow-up on the initial query by chatting with a bot that knows the top 10 search hits for the 3 most relevant google queries to your initial query)

#

you could also keep the experience as is but maybe allow the user to configure a "default" functionality that they get right away, without fuss, just loading it up, entering something and pressing a button

#

or maybe have a box to the side "# of automatic google queries" that they can configure to whatever default they prefer, which initializes with a few google queries

past acorn
#

But should it be "On" by default?

umbral tundra
#

My gut feeling is “yes”, but will be clearer after some real experimentation

#

Have you used it yourself much yet?

past acorn
#

Used what exactly?

umbral tundra
#

Your app

#

Like used it to improve productivity when coding or whatever else

#

Maybe I’ll try this on some programming languages where ChatGPT seems to suck at the moment

past acorn
#

I don't use it to improve my productivity because ChatGPT is good enough for my needs. But if I were to have a question about current events or new things, I'd definitely use this app for that

umbral tundra
#

e.g., chatgpt is pretty awful with Lean (theorem prover language). It consistently hallucinates nonsense. One could imagine using your app, together with google search applied to the Lean documentation, to get something more reliable

#

For most of the languages I work with in practice (elisp python cpp) ChatGPT is basically good enough

#

But for these less popular ones…

umbral tundra
past acorn
# umbral tundra e.g., chatgpt is pretty awful with Lean (theorem prover language). It consistent...

Yeah, for interpreting documentations this would be good, but I'd have to streamline the process of adding links. Right now if you specify a link it will scrape only for what's in the page, no nested links. So you'd have to add all documentation links manually. I'm thinking of a tool to grab all nested links so you can just copy and past them. You'd probably want to delete a few useless ones though.

#

And once they are embedded, the Assistant would remember it, no need to search again afterwards

#

I think I'll add the option to donwload and upload your search history. I don't want to deal with databases for a while now.

umbral tundra
#

I suspect a good workflow will emerge from some experimentation. I’m imagining pasting some code that’s not working into your app, together with some stuff to google that is likely to bring up relevant documentation for debugging the error messages

#

Eventually one could try engineering it to automatically google things that might be relevant, (…)

#

One of these days I’ll sit down and try doing some work that way

umbral tundra
past acorn
umbral tundra
#

Will check

#

Maybe about 500 requests or so?

#

I’m up to about 70 cents total today, but much of that was from other stuff. Maybe this added 25 or so?

#

I wrote something earlier that takes documentation and test cases for a putative elisp program and iteratively calls GPT with instructions to produce such a function and debug any parse/compile errors or test case failures that arise. On one example earlier it took 7 iterations to produce a valid program. Expenses add up pretty quickly

past acorn
umbral tundra
#

I’m up to like 5 out of my 18 free credits so far

#

Feel like prices for this kind of thing are bound to go down

#

So any small $$ spent on experimenting now will pay off in productivity and fun

past acorn
umbral tundra
#

I think ChatGPT counts towards my openai credits now?

#

Since I set up an account

umbral tundra
#

I think so

#

Yeah I’m pretty sure

#

That ChatGPT was free before I set up my openai accoujt, but now it’s not

#

(Well ignoring that I haven’t gone past my free credits yet)

past acorn
#

What if someone doesn't put their billing information then?

umbral tundra
#

I see ChatGPT stuff in my usage logs, and my most expensive day was definitely one where I used ChatGPT primarily

#

I think it would take a very long time to burn through all $18 of free credit

#

I’ve been using it like an addict and only gone thru 5

#

Maybe I’m wrong, haven’t checked whether the $$ go up from ChatGPT, but it’s def recorded in the usage

past acorn
#

Yeah, this is why I'm trying to make the use of tokens more efficient. Care to guess when I started this project? 🤣

umbral tundra
#

Let’s go with Dec 15

#

In a month you’ll pay the price of a movie ticket, but this stuff is way better than any sci fi flick

storm badge
gaunt karma
#

@past acorn How viable do you think it would be for me to try to implement your code in a discord bot?

past acorn
gaunt karma
gaunt karma
#

Otherwise, I think I could try to decompose it into a discord bot (with full credits, of course)

past acorn
# gaunt karma I was just wondering if a GUI is a necessity for this project

The GUI is not necessary, but it is the only way to currently interact with what I've made. I could try to create an API version which you'd make HTTP requests to it and you'd get results back, but that wouldn't be free anymore. I suppose it is on my TODO list now. You're the second person asking for an API. But if you want to get the code from my repo and do it yourself, feel free to. Just be aware that I'm currently working on it and improving with each day.

gaunt karma
past acorn
past acorn
#

@here
Added 3 new features:

  • Now the Assistant can analyse PDF files in links
  • You can now search directly with a question to the Assistant
  • You can ask the Assistant to perform multiple searches before sending a request.

I also changed the layout as suggested by @umbral tundra

Feel free to test the update and report bugs/give feedback.

halcyon fiber
#

@past acorn why if i use stricly factual doesn't match the information?

#

Why if i use creative and coding buddy?

halcyon fiber
past acorn
past acorn
halcyon fiber
past acorn
past acorn
#

@halcyon fiber Ok. You're still on free credits.

halcyon fiber
#

Can't set usage limit?

#

What if the usage is full?

past acorn
#

I double checked my logs. It's just that you were using the system too often:

Rate limit reached for default-global-with-image-limits on requests per min. Limit: 60.000000 / min. Current: 80.000000 / min. Contact support@openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://beta.openai.com/account/billing to add a payment method.
past acorn
halcyon fiber
#

Okey

#

I want ask again @past acorn

#

What if the usage is full?

sage fiber
#

very cool

halcyon fiber
#

It Will be reset anymore? Or not

past acorn
halcyon fiber
#

So i can't use the app again

#

If i want use again?

past acorn
halcyon fiber
#

Okay

past acorn
past acorn
# halcyon fiber

It's telling you there what to do. Just click on the link and setup payment.

halcyon fiber
#

Okay

past acorn
#

@halcyon fiber btw, I don't recommend using my app for things that you could use ChatGPT for. That's because ChatGPT is free for now. Even thought using my app is pretty cheap, ChatGPT is a really good alternative for 90% of use cases.

#

@halcyon fiber If you need the Assistant to know current events or really niche and specific knowledge, my app is better. For anything else, go with ChatGPT.

halcyon fiber
#

I like chatGPT too

#

But don't connect to Internet

#

Your app is can connect to Internet

#

So i like your app :)

#

I want know current events

#

So i use your app @past acorn

#

Your app is useful

#

So @past acorn if i don't want the usage is full

#

Don't use to much right?

#

Not too often

past acorn
halcyon fiber
#

U use your app when want search current events right

#

When don't want search current events

#

Use chatGPT

#

What different chatGPT and open ai Playground

halcyon fiber
past acorn
#

It's harder to use Playground if you don't learn how to use it properly.

halcyon fiber
#

Owh

#

Okay i understand

#

But i like chatGPT than open ai Playground

past acorn
halcyon fiber
#

Look @past acorn

past acorn
#

@halcyon fiber Wait, it actually works. It's interesting that they are now feeding it with the current date.

#

The browsing part was know before, although no one knows if its just part of the prompting or an actual feature.

halcyon fiber
#

not both

#

I just test

#

And work

halcyon fiber
#

I looking of alternative for search ai that can now current events

#

Hard to find

halcyon fiber
halcyon fiber
#

So funny

umbral tundra
umbral tundra
#

Hmm it was advertised to do similar stuff, but doesn’t really seem to do so yet. eg, it fails the “did Elon buy twitter?” test

umbral tundra
#

Ah, you’re using the search bar rather than the chat

#

Even with search bar, doesn’t work

#

Anyway the concept seemed similar so figured it’d be worth mentioning here

halcyon fiber
umbral tundra
#

Look at the “ask me anything…” text box in the last screenshot

halcyon fiber
#

Owh okay

#

The hell

#

Different answer when type in ask me anything

halcyon fiber
past acorn
prisma heath
#

chinese

past acorn
# umbral tundra Even with search bar, doesn’t work

This thing seems to work well. Better than what I'm doing over here which doesn't surprise me tbh. My idea here was just to explore what is possible and to open source this technology so anyone can have access to it. I can see google releasing their own version of this at some point too.

#

I think I'll work on getting the custom Assistants done and download/upload search history. Tomorrow I should be done with both of those, then I'll try to decide if I'll keep working on this or not

#

I imagine they will manage to massively improve this in the future though.

copper isle
#

Do you think something like this could be hacked together to get gpt3 or ChatGPT to provide programming answers based on up to date documentation? For example, it can built whole Angular components, but they are deprecated due to the 2021 knowledge cutoff.

past acorn
copper isle
#

Wait is that this tool? Looks like you've been busy. Last I cloned it, it seemed really basic.

past acorn
#

Working on a new one now too.

uncut juniper
#

What is 1^4.837

past acorn
uncut juniper
#

Yes sir.

past acorn
uncut juniper
#

Hmmm

#

Are u sure

past acorn
#

Yes. Quite.

uncut juniper
#

Okay

#

How does this tool work exactly?

#

Hello?

past acorn
# uncut juniper How does this tool work exactly?

Whenever you want it to use the internet to answer a question, it will make a google search and get the text in the first few links. That text is then separated and embedded using ada-002. All texts are then compared to your question and the closest ones are used to ask GPT to answer the question using thoses texts.

copper isle
#

It's funny how many people come to these channels thinking they are GPT-Discord integrations.

uncut juniper
#

Well let me rephrase my question how do I get this tool to work

uncut juniper
copper isle
#

Links at the top of the channel.

#

Your can install it from the repo

past acorn
#

You can also use the web app now that it's available.

#

Let me get the link

uncut juniper
#

Ok

past acorn
uncut juniper
#

Ok thanks for your help

#

Do you know how to use the create image function on chat gpt

past acorn
uncut juniper
#

Ok excuse my lack of knowledge

past acorn
uncut juniper
#

Ok thanks but how do I use this "dalle2"

halcyon fiber
uncut juniper
#

Do I search it up in Google?

past acorn
halcyon fiber
#

Type dall e in google

uncut juniper
halcyon fiber
#

What I don't like is having a token limit

uncut juniper
halcyon fiber
past acorn
#

It's just a bit harder to use.

halcyon fiber
#

Hmm

past acorn
#

Stable Diffusion Google Colab for BEGINNERS - Tutorial (Make your 1st Picture Today & For FREE).

Pharmapsychotic's colab is here:https://colab.research.google.com/github/pharmapsychotic/ai-notebooks/blob/main/pharmapsychotic_Stable_Diffusion.ipynb

  • In other colabs, you have to follow the path for the model; sometimes it's different!
    /content/...
▶ Play video
halcyon fiber
#

I've used stable diffusion but I don't like it, it's better DALL E and midjourney

past acorn
#

Not sure if this one is still working but try it out.

past acorn
halcyon fiber
#

Owh okay

#

So 2 days ago

#

I try to install stable diffusion in my laptop

past acorn
#

@halcyon fiber https://www.youtube.com/@Aitrepreneur
This guy has amazing tutorials about the topic.

halcyon fiber
#

But

#

I got error

#

So confusing

past acorn
halcyon fiber
#

Fail

#

Bruh

past acorn
halcyon fiber
#

Okay

#

Thx for help me

#

Hmm btw

#

Have you try for use the stable diffusion

#

That link you give

#

?

halcyon fiber
past acorn
halcyon fiber
#

Owh

#

Hmm i have a good laptop too

#

Im confuse why can't run locally

past acorn
past acorn
# halcyon fiber This my laptop SPECS

You should be able to run it with those specs. You probably installed it incorrectly or there's something in your computer that doesn't like the software.

halcyon fiber
#

Bruh

#

Im tired because IM try many Times

#

So many tutorial i have try

#

But

#

Failed

past acorn
halcyon fiber
#

not yet

#

I can't try now

#

Maybe tomorrow

#

Because In here

#

Is

#

Time is 23:39

#

Now i use phone

grizzled drum
#

what dish is banana rotti?

past acorn
halcyon fiber
#

Omg @past acorn

#

Im so confuse

#

So i ask to chatGPT about, "why stadium in piala dunia Qatar 2022 so controvesial

#

And then the chatGPT said

#

So why im confuse?

#

Previously chatGPT said

#

He cutoff from 2021

#

So???

past acorn
halcyon fiber
#

Huh?

#

No bro

#

The controvesial Qatar is real

#

Check Google

halcyon fiber
past acorn
# halcyon fiber The controvesial Qatar is real

I know. The thing is these models are really good in sounding like they know something, but it just guessed correctly what would happen. It didn't actually know, it imagined what it would be like.

halcyon fiber
#

Owhhh

#

Yeah yeah

sturdy jay
#

gaunt karma
#

Cutoff in 2021 means cutoff in 2021, but the stadium construction and info on the stadium definitely happened years before 2021

#

So there is bound to be information on it

halcyon fiber
#

Owh i understand

#

Aaaa i hope in the future chatGPT can connect to Internet

#

So can browsing

halcyon fiber
#

@past acorn so i try the tutorial that previuosly link you give

#

and work

#

Stable Diffusion Google Colab for BEGINNERS - Tutorial (Make your 1st Picture Today & For FREE).

Pharmapsychotic's colab is here:https://colab.research.google.com/github/pharmapsychotic/ai-notebooks/blob/main/pharmapsychotic_Stable_Diffusion.ipynb

  • In other colabs, you have to follow the path for the model; sometimes it's different!
    /content/...
▶ Play video
#

but, Can't the resolution be improved further?

halcyon fiber
past acorn
halcyon fiber
#

a cyborg

past acorn
halcyon fiber
past acorn
halcyon fiber
#

Okay nice

#

Thanks for helping me

#

I searching on YouTube

#

And this work too

halcyon fiber
#

this error when i install stable diff in my laptop

halcyon fiber
umbral tundra
halcyon fiber
#

can you ask for me

umbral tundra
#

Not right now. You don’t have access?

halcyon fiber
#

i have access

umbral tundra
#

You should try it then, no?

halcyon fiber
#

chatgpt say to me like this

#

im confuse, i dont know where run the code

umbral tundra
#

Run it in a shell, that is, a terminal window. You could also ask ChatGPT “where do I run this code?” and it might help

#

Or you could google “how to install pip?” If that fails

halcyon fiber
#

okay

halcyon fiber
#

@umbral tundra Oh my goodness, I'm really dizzy. I've tried it several times but still failed :)

#

Error error

#

Fuckkkk

umbral tundra
#

He’s got python, just needs to install pip

#

Or maybe pip3

robust marlin
#

The Google Search functionality seems not to be working. I am getting "No results found. 😢" for each query

gaunt karma
halcyon fiber
vague sphinx
#

I’m new to this technology and I wanna learn more from anyone willing to share helpful information on ways to explore api technology

halcyon fiber
#

a cute strange sci fi fauna creature design by neville page, ken barthelmey, sharp focus, trending on artstation, cinematic lighting, hyper realism, octane render, 8 k, hyper detailed, vivid, ultra detailed, highly detailed, zbrush, concept art, creature design

soft veldt
#

sports betting lol

fickle light
past acorn
past acorn
fickle light
#

Here is the issue I currently face but before it was an issue

past acorn
fickle light
past acorn
# fickle light Yes I am@using free version of OpenAI, and now make sense why I face these issue...

The app is open source and free to use. The app uses your API key, which costs money to use. You need to set up a payment method on OpenAI's website to use the app. You can also set a limit to how much you are willing to spend. It's not expensive to use too, but you need to be the judge of that.

https://beta.openai.com/account/billing/payment-methods

past acorn
fickle light
#

Will it stay always free?

past acorn
fickle light
# past acorn What do you mean will stay free?

What I mean is we are developing current an AI to help poor country and youth generation to have access to the knowledge and education they need to thrive and your idea and api could help lot of people so I was wondering if your code is free and can be used to help people? That’s what I meant by could it be free for ever?

past acorn
fickle light
past acorn
fickle light
past acorn
quiet verge
#

hi any one successfully install the git hubpackage in pycharm?

#

cause some errors happen , and it looks like related to mac version

charred pike
#

that's amazing! (and exactly what I'm looking for). Do you think you can make a version that can perform meta-analysis? I think researchers from around the world would pay quite a hefty amount for it. I'm a researcher in the field of medicine, if the AI can subtract information regarding drug efficacies from multiple Randomized Controlled Trials (RCT) from several online databases or search engine (i.e PubMed, Cochrane, Nature, etc) I think it would revolutionize the entire industry!

#

@past acorn sorry for mentioning you but I think we need to strike the iron when it's hot

past acorn
# charred pike that's amazing! (and exactly what I'm looking for). Do you think you can make a ...

Although it is certainly possible to create an assistant that has any expertise, it is hard to ensure very high accuracy.

There are also limitations. In a single query, the assistant cannot have too much information at the same time (there's always a limit of 4000 tokens). Performing complex mathematical or statistical analysis will not be possible with the current models.

It would be easier to create a lawyer or medical doctor assistant than a scientist assistant because of these reasons. However, even that would require serious product development to ensure accurate results.

#

For the application you mentioned, I'd wait until models can ACTUALLY learn new information AND know when they don't know something.

storm badge
#

Agreed. Instead of meta-analyses, my wife and I are starting with systematic literature reviews, where most of the automation needed is within the capabilities of LLMs: classification (whether a paper is relevant), text extraction, and generic Q&A of the type done by Farrael’s tool. I built a barely-working prototype on Friday and posted it to https://github.com/scottleibrand/SystematicReviewer

GitHub

Tools for doing systematic reviews of scientific literature - GitHub - scottleibrand/SystematicReviewer: Tools for doing systematic reviews of scientific literature

charred pike
#

that's amazing! is there any way that I can contribute to the completion of this project?

halcyon fiber
#

try checking the chatGPT website @past acorn

#

So i want open chatGPT

#

But like this

#

Im confuse

distant crane
#

@past acorn hey man, I'm actually building a damn powerful one myself, I tried implementing the google/duckduckgo searches - to urls - to returning the most accurate info from it.
Currently trying to fix so many other things in the code that I haven't got to trying that part out yet.
If your code works is it possible I could integrate it into my program? All gud if not.

halcyon fiber
#

Im confuse bro, he know

past acorn
# distant crane <@125167603667828736> hey man, I'm actually building a damn powerful one myself,...

In my code, there's a python file called internet_search.py. Inside, there's the function called google_search. You can modify it so it returns those results from DDG instead. Just make sure you return them in the correct format. It expects a pandas DataFrame with the following columns: text, link, query, text_length, ada_search.

The last two columns can be created like this:

search_results['text_length'] = search_results['text'].str.len()
search_results['ada_search'] = search_results['text'].apply(lambda x: create_embedding(x))

If you have any questions or issues, just let me know

distant crane
#

@past acorn thank you so much for real, I'll try it out as soon as I can and lyk!

viral cove
#

What does it mean secrets file not found

past acorn
#

If you delete these two snippets I think it should resolve the issue

keen snow
#

Patching steps in Oracle DBA

steep lark
#

If we wanted to connect it to a GitHub repo and suggest code based on that how would we modify

#

Would this work? But it’s node

jaunty kernel
#

does the site is still avalaible ? @past acorn

past acorn
frozen mulch
#
OpenAI API Community Forum

Sorry for the problems everyone. It’s on our end, and we’ve been working to fix this all day. Not sure when it will be 100% fixed, but I think we’ve gotten partway there. You can either keep checking every once in a while or try again tomorrow.

past acorn
#

I managed to use my key with no problem

hoary marsh
#

How do I get access to the webapp?

icy rapids
#

So I’m a little confused as to how this is different than what the actual GPT already does?

#

Asking questions and getting answers is one of ChatGPT’s core functionalities.

fathom rampart
#

Maybe add a selflearning feature, everytime someone uses this it will upload it and learn from it and use it for training.

past acorn
past acorn
past acorn
viral cove
past acorn
viral cove
past acorn
viral cove
fathom rampart
#

It could provide numerous guidelines on how to achieve that and then all you need to do is clean up and adjust the code a bit and make it fully functionable as intended.

dusty kite
# charred pike that's amazing! (and exactly what I'm looking for). Do you think you can make a ...

john i completely agree with you. I dont know if it can presently perform meta analysis in the strict sense but it can definitely hunt for patterns and convergences and provide huge clues to solving medical mysteries by combing a million studies. Did you know that they have released a PubMed GPT 3 API? I am trying to access it but i need a chat version as I have no clue about how to activate and API

slim furnace
#

followinh

slim furnace
#

sorry the web cant accept my api keys

#

but the local is able to log in