#Add knowledge base content to assistant API

1 messages · Page 1 of 1 (latest)

celest siren
#
How are you?
I would like to add the knowledge base content(based on website url, not file) to add assistant api. How can i achieve this? Is that possible?```
kind hazel
celest siren
kind hazel
celest siren
#

But there are many sub pages, so it will be difficult to download the html of the all pages., so just want to use website url only
But gpt builder is answering based on the website url, I need this feature on the assistance api

kind hazel
#

What you could do is when the user asks for a url, you can download the html of that url, extract the text and return that to ChatGPT,.

#

This can be achieved by creating a function like download_html_from_url

celest siren
#

Not sure what can user ask. but I need like that.
Need to anaylyse the website

#

User can ask with variety questions. They will not be same template.
For example questions:
What is the SterlingEdmonton?
How many homes are there?
How many models are there?
or Could you describe about Sansa model?
....

kind hazel
#

I suggest you bundle all this information into a document and use knowledge retrieval

#

This is the best way

#

ChatGPT will search in this document and answer the user's question

#

Based on the information found

celest siren
#

Someone suggested the using the vector store. do you know how to use the vector store?

kind hazel
#

You could also use vectors but I suggest using knowledge retrieval

#

Since it's not third party

celest siren
#

Ok, thanks

#

Should I add knowledge file here?

kind hazel
#

Yeah