- Create a new directory with these three files (requirements.txt, main.py, README.md)
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py
- Update
main()
to run the example prompt chains
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git remote rm origin | |
$ git remote add origin [email protected]:aplikacjainfo/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope.loadOtherEntities = function(searchQuery) { | |
if (searchQuery){ | |
OtherEntitySearch.query({query: '*' + searchQuery + '*'}, function(result) { | |
$scope.otherEntities = result; | |
}, function(response) { | |
if(response.status === 404) { | |
$scope.otherEntities = OtherEntity.query({isActive: true}); | |
} | |
}); | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"total":5, | |
"records":5, | |
"page":1, | |
"rows":[{ | |
"id":"1", | |
"cell":[ | |
"a", | |
"AAA", | |
0,"",false,true,true |