Use the Kodesage Chat API to embed AI-powered chats in your app, enriched with your codebase and project data for smart assistance.
The Kodesage Chat API provides an OpenAI like endpoint for AI-powered conversations enriched with your project's knowledge base. This allows you to integrate intelligent code assistance into your own applications.
Getting your project ID
You can find your Project ID in the Kodesage web interface URL when viewing a project.
Example:
When you navigate to your project's chat page, the URL will look like:
{
"messages": [
{
"role": "user",
"content": "How does authentication work in this project?"
},
{
"role": "assistant",
"content": "The project uses Spring Security with..."
},
{
"role": "user",
"content": "Can you show me the code for that?"
}
]
}