Skip to content

Commit

Permalink
added general vector db image
Browse files Browse the repository at this point in the history
  • Loading branch information
zainhas authored Apr 28, 2023
1 parent d95910b commit e27b65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The script works by running an infinite loop that does the following steps:
4. Creates new tasks and reprioritizes the task list based on the objective and the result of the previous task.
</br>

![image](https://user-images.githubusercontent.com/6764957/232961802-e4c4c17d-b520-4db1-827c-a218a1647c73.png)
![image](https://user-images.githubusercontent.com/21254008/235015461-543a897f-70cc-4b63-941a-2ae3c9172b11.png)

The `execution_agent()` function is where the OpenAI API is used. It takes two parameters: the objective and the task. It then sends a prompt to OpenAI's API, which returns the result of the task. The prompt consists of a description of the AI system's task, the objective, and the task itself. The result is then returned as a string.

Expand Down

0 comments on commit e27b65a

Please sign in to comment.