Nikita Kumari
Nikita Kumari

Reputation: 1

extract name and email from conversation by installing ollama and mistral locally

Title: Spring Boot POST Request Not Extracting Name and Email from Input

Problem:

I’ve created a Spring Boot application with a service and controller class to extract the name and email from a conversation string sent in a POST request. The endpoint returns 200 OK in Postman, but the response does not contain the extracted name and email as expected.

Input Example:

json

{
    "conversation": "My name is John Doe and my email is [email protected] contact at 9865421464"
}

Expected Output:

json

{
    "name": "John Doe",
    "email": "[email protected]"
}

Actual Output:

json

{
    "message": "No relevant information found."
}

Upvotes: -1

Views: 22

Answers (0)

Related Questions