Image output from nextjs-openai-doc-search-starter ??
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
I'm trying to implement the above nextjs-openai-doc-search-starter kit, it's pretty awesome, and works as expected.
However I'm trying to get it to be able to display images (thinking along the lines of my markdown documentation containing <img> tags and getting that rendered in the HTML output of this chat bot. (and prompting it to include them where possible)
I can get the chatbot to include these tags, however they are not rendering images.. I've tried markdown and HTML
 Embeddings are pre-trained language models used for natural language processing tasks. They are built using deep learning algorithms and can be fine-tuned for specific tasks. OpenAI provides several pre-trained embeddings, including GPT-2, GPT-3, and BERT. These models have different numbers of parameters and can be used for different tasks. OpenAI embeddings are trained on large amounts of text data and are designed to capture the meaning of words and phrases in a way that is useful for downstream NLP tasks. They can be used for tasks such as text classification, sentiment analysis, and language translation. Embeddings can be stored in a Postgres database using the pgvector extension, which allows for vector operations like similarity search and nearest neighbor search. <img src="https://www.w3schools.com/images/w3schools_green.jpg" alt="W3Schools.com">
That is direct output (it was first changing the #Unknown Channel symbols to HTML entities > and < however I got it to explicitly write #Unknown Channel symbols, however it's still not displaying images...
The purpose is for a training bot to help users with training material where screenshots would be very useful along side text steps.
Anyone got any idea how to modify the nextjs-openai-doc-search-starter or how to prompt the a.i to somehow get images..
However I'm trying to get it to be able to display images (thinking along the lines of my markdown documentation containing <img> tags and getting that rendered in the HTML output of this chat bot. (and prompting it to include them where possible)
I can get the chatbot to include these tags, however they are not rendering images.. I've tried markdown and HTML
 Embeddings are pre-trained language models used for natural language processing tasks. They are built using deep learning algorithms and can be fine-tuned for specific tasks. OpenAI provides several pre-trained embeddings, including GPT-2, GPT-3, and BERT. These models have different numbers of parameters and can be used for different tasks. OpenAI embeddings are trained on large amounts of text data and are designed to capture the meaning of words and phrases in a way that is useful for downstream NLP tasks. They can be used for tasks such as text classification, sentiment analysis, and language translation. Embeddings can be stored in a Postgres database using the pgvector extension, which allows for vector operations like similarity search and nearest neighbor search. <img src="https://www.w3schools.com/images/w3schools_green.jpg" alt="W3Schools.com">
That is direct output (it was first changing the #Unknown Channel symbols to HTML entities > and < however I got it to explicitly write #Unknown Channel symbols, however it's still not displaying images...
The purpose is for a training bot to help users with training material where screenshots would be very useful along side text steps.
Anyone got any idea how to modify the nextjs-openai-doc-search-starter or how to prompt the a.i to somehow get images..