Open Source
Getting Started
Simple workflow to use Potpie
Prerequisites
- Ensure the API server is running and accessible at
http://localhost:8001
. - Have
curl
installed on your machine to execute the API requests.
Step 1: Logging in to get a bearer token
Step 2: Submit a Parsing Request
Replace the repo name and branch name with the repo you want to talk to.
Step 3: Check Parsing Status
Use the project id generated from previous request.
Step 4: List Available Agents
Step 5: Create a Conversation
Step 6: Send Messages in a Conversation
This API returns a stream response for the
Step 7: Get all the messages of a conversation
Summary
- Submit a Parsing Request: Initiate parsing of a repository.
- Check Parsing Status: Monitor the progress until parsing is complete.
- List Available Agents: Retrieve agents to interact with.
- Create a Conversation: Start a new conversation session.
- Send Messages: Communicate within the created conversation.