JedWalton / lucidify

File Q&A with Vector Databases along with a ChatUI and bespoke datasets. Golang, Nodejs, Python, Weaviate, OpenAI, Postgresql, Automated testing, Docker.
1 stars 0 forks source link

Upgrade System Prompt To Product Ideas #20

Open JedWalton opened 1 year ago

JedWalton commented 1 year ago

Excellent resources from openai cookbook.

JedWalton commented 1 year ago

Vector databases can return the nearest text on sentiment. Another field in the vector database class that return nearest neighbour could have a string such as 'myFunctionName()'. This string can be parsed and execute the function in the code base.

This could be in the form of the current messages[], and a desired goal state. Vector sim search current messages[] for a goal state. If COS_SIM_SCORE > THRESOLD execute 'myFunctionName'