Skip to content

Commit

Permalink
chore: enhance system prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
paulkr committed Feb 27, 2025
1 parent 4f65268 commit 0186f22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picahq/ai",
"version": "2.1.2",
"version": "2.1.3",
"description": "Pica AI SDK for Vercel AI SDK integration",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
5 changes: 3 additions & 2 deletions src/pica.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ WORKFLOW (MUST FOLLOW THIS ORDER FOR EACH PLATFORM):
a. FIRST: Call getAvailableActions to list what's possible
b. THEN: Identify the appropriate action from the list
c. NEXT: Call getActionKnowledge to get full details
d. FINALLY: Execute with proper parameters
e. Only after completing all steps, consider if another platform is needed
d. NEXT: Verify that the connection exists in the available connections list below in the IMPORTANT GUIDELINES section
e. FINALLY: Execute with proper parameters
f. Only after completing all steps, consider if another platform is needed
2. Knowledge Parsing:
- After getting knowledge, analyze it to understand:
Expand Down

0 comments on commit 0186f22

Please sign in to comment.