2 ms·
It's pretty simple to build a chatbot using OpenAI
- kvaranasi_ 3y agoThis is insane. You can use OpenAI's API to tokenise a large text, do a vector search and generate a formal answer using it's chat completion API. It's in the following 2 links on the OpenAI website: - https://cookbook.openai.com/examples/question_answering_using_embeddings https://cookbook.openai.com/examples/question_answering_usin... - https://cookbook.openai.com/examples/embedding_wikipedia_articles_for_search#1-collect-documents https://cookbook.openai.com/examples/embedding_wikipedia_art... I trained a chatbot on the Godfather script for example and asked Open AI to give the exact response to a dialogue in the film. I'll open-source that too pretty soon if you guys are interested.
- gnabgib 3y agoArticle title: "Embedding Wikipedia articles for search". HN guidelines[0] prefer the original title: "Otherwise please use the original title, unless it is misleading or linkbait; don't editorialize." [0]: https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- kvaranasi_ 3y agoYes, follow the next article to see how to use those embeddings to query the model and generate a human friendly answer.
- deleted 3y ago[deleted]