Skip to content

lptl/AnotherAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Execution commands

  1. create environment:
poetry install
  1. start server:
poetry run python server.py
  1. create a test directory that contains the files to be tested.
mkdir test_directory
touch a.txt
touch b.txt
touch c.txt
touch d_log.txt
  1. make requests to the server:
curl -X POST "http://localhost:8000/agent" \
     -H "Content-Type: application/json" \
     -d '{"msg": "I want to find all files in directory `test_directory` with `.txt` extension. Then for those of these files which contain at least 1 word `log` inside their filename, change their extension to `.log`"}'

Notice

The code is only focusing on functionality. The Google AI sometimes would not be able to successfully finish the requirements. But the pipeline of accepting requirements and finishing commands is functional.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages