Commit graph

10 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
94d598b59c 🔧 fix(test_endpoints.py): fix import statement for TimeTravelGuideChainNode
🔧 fix(test_endpoints.py): update test_get_all to assert "PromptTemplate" instead of "ZeroShotPrompt"
🔧 fix(test_endpoints.py): update test_valid_prompt and test_invalid_prompt to use PROMPT_REQUEST variable
🔧 fix(test_endpoints.py): update test_various_prompts to use PROMPT_REQUEST variable
🔧 fix(test_prompts_template.py): remove test_zero_shot_prompt as it is no longer needed
The import statement for TimeTravelGuideChainNode is fixed to ensure the correct module is imported. The test_get_all function is updated to assert the presence of "PromptTemplate" instead of "ZeroShotPrompt" in the response. The test_valid_prompt, test_invalid_prompt, and test_various_prompts functions are updated to use the PROMPT_REQUEST variable for the request payload. The test_zero_shot_prompt function is removed as it is no longer needed.
2023-07-07 18:25:57 -03:00
Gabriel Luiz Freitas Almeida
6b5539232f 🚀 chore(server, tests): update API endpoint URLs to include version number
The API endpoint URLs have been updated to include the version number to improve the API's versioning and maintainability. The changes were made to the server.ts file and the tests that use the API endpoints.

🐛 fix(tests): update API endpoint paths in test files
The API endpoint paths in the test files were outdated and have been updated to reflect the current API version. This ensures that the tests are running against the correct endpoints and that the tests are up-to-date with the current API version.
2023-06-06 10:06:40 -03:00
Gabriel Almeida
41f05b2e85 fix: update to validate prompt endpoint 2023-04-04 22:07:40 -03:00
Gabriel Almeida
c41957c67e feat: adding validate/prompt endpoint 2023-04-04 20:43:41 -03:00
Ibis Prevedello
53c9812819 refac: fix merge and format 2023-04-01 17:42:43 -03:00
Gabriel Almeida
18b3fa6c34 refac: listing and signature for tools moved 2023-03-30 18:13:35 -03:00
Gabriel Almeida
7ec6847ae4 style: formatting and linting 2023-03-28 21:44:41 -03:00
Gabriel Almeida
b8a41037ec feat: code validation, endpoint and tests 2023-03-28 19:17:26 -03:00
Gabriel Almeida
c2d4d3e9c0 refactor: separating modules to fix circular import 2023-03-28 15:28:08 -03:00
Gabriel Almeida
287ef0d4e4 feat: new tests for endpoints 2023-03-26 21:02:45 -03:00