Kwrix is an example script on how to connect OpenAI to a local docker container interface via function calling.
- Create a file
secrets.yml
in the root directory with your OpenAI API key
open_ai_access_token: 'sk-proj-your-token'
Examples:
rake clean && cp runtime/fixtures/flight.jpg runtime/volume && rake "run[Can you convert the flight.jpg to a PNG image?]"
rake "run[I recently visited https://makandra.de/en/our-team-20. Can you help me to name all employees of this company?]"
rake "run[Can you tell me the weather for Augsburg?]"
rake "run[Can you send an email to [email protected] with the subject hello word and the content it works?]"