First, have a look at this simple example. Now, read on for more details:
- Find/create a docker-compose file for the app you're interested in.
- Add
captainVersion: 4
to the very top of the yaml file. - Add this section to the end of the yaml file:
First, have a look at this simple example. Now, read on for more details:
captainVersion: 4
to the very top of the yaml file.{ | |
"tools": [ | |
{ | |
"type": "function", | |
"function": { | |
"name": "codebase_search", | |
"description": "Find snippets of code from the codebase most relevant to the search query.\nThis is a semantic search tool, so the query should ask for something semantically matching what is needed.\nIf it makes sense to only search in particular directories, please specify them in the target_directories field.\nUnless there is a clear reason to use your own search query, please just reuse the user's exact query with their wording.\nTheir exact wording/phrasing can often be helpful for the semantic search query. Keeping the same exact question format can also be helpful.", | |
"parameters": { | |
"type": "object", | |
"properties": { |