latitude-dev / latitude-llm

Latitude is the open-source prompt engineering platform to build, evaluate, and refine your prompts with AI
https://latitude.so
GNU Lesser General Public License v3.0
880 stars 57 forks source link

Dataset generator doesn't work in certain cases #612

Open cesr opened 1 week ago

cesr commented 1 week ago

With the following text in the instructions it doesn't generate anything:

User:
diff --git a/src/CoreModelsAndServices/Services/LookupPersistence.cs b/src/CoreModelsAndServices/Services/LookupPersistence.cs
+++ b/src/CoreModelsAndServices/Services/LookupPersistence.cs

@@ -295,7 +295,7 @@ public class LookupPersistence
  295      {
  296          try
  297          {
  298 +            var eaimlResults = await _amazonDynamoDb.QueryAsync(DynamoHelper.CreateQuery(Table.Lookup, $"{EmailPrefix}#{email?.ToLower()}")).ToDocumentString();
  299              var emailRows = emailResults.DeserializeList(DeserializeMemberAccountDetails).ToImmutableList();