#Add knowledge base content to assistant API
1 messages · Page 1 of 1 (latest)
You can either use knowledge retrieval or function calling to access API's or data
Hi @kind hazel , thanks for your message
Sorry could you give me details?
So basically, knowledge retrieval is based on a file, if you want to specifically use a website, you could download the html of the url and scrape the text from it
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
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
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?
....
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
Someone suggested the using the vector store. do you know how to use the vector store?
You could also use vectors but I suggest using knowledge retrieval
Since it's not third party
Yeah