#Help Writing Semantic Search Plugin for Godot Docs with Chatbot Interface

15 messages · Page 1 of 1 (latest)

south mantle
#

I'm trying to write a plugin for Godot that is essentially an OpenAI-powered semantic search with a chatbot on the front. I've made Chatbots using OpenAI's API in Python before. Problem being, I'm very new to Godot/GDScript, and I can't find any sort of existing GDScript wrapper for the OpenAI API, and I don't know how to create/package a plugin in Godot.

If someone would like to collaborate, I'd certainly be open to that as well!

rocky badger
#

@south mantle I made a search site using the data from the steam database and embedding search engine marqo

#

since I'm great at research and development and bad at production. want me to send you the github repo?

#

how does this relate?

#

So imagine instead of a csv of the game descriptions, each document is one page in the godot engine docs.

#

chatgpt is not involved

south mantle
#

I looks like that could be used instead of OpenAI's text embeddings, so the relevant doc look-up is covered, but I think I'd get more use from a chat interface that gets prompted with the relevant docs and parses the user's query in relation to said docs

rocky badger
#

you’ll need large memory gpus somewhere

#

in scale you’ll probably lose money running the bot with openai

south mantle
rocky badger
#

it's like 2 pennies per query

#

do the math

south mantle
#

It's $0.002 / 1k tokens, which translates to roughly 3750 words / 1¢, but LLaMA just dropped, so now it looks like the chat could be free!

#

Also I looked into mendable.ai, which says it's free for open-source projects