Move FormatProvider from the package prompt to parser

Fixes #147
This commit is contained in:
Mark Pollack
2024-01-11 10:18:50 -05:00
parent a48a6d9611
commit 4dc92f0cb7
2 changed files with 1 additions and 5 deletions

View File

@@ -14,9 +14,7 @@
* limitations under the License.
*/
package org.springframework.ai.prompt;
//TODO: Shouldn't the FormatProvider be inside the parser package?
package org.springframework.ai.parser;
/**
* Implementations of this interface provides instructions for how the output of a

View File

@@ -16,8 +16,6 @@
package org.springframework.ai.parser;
import org.springframework.ai.prompt.FormatProvider;
/**
* Converts the (raw) LLM output into a structured responses of type. The
* {@link FormatProvider#getFormat()} method should provide the LLM prompt description of