lightshifted / JobHive

🐝 An agent-actor system for job search assistance.
MIT License
4 stars 2 forks source link

fixed typo in Check class #6

Closed lightshifted closed 1 year ago

lightshifted commented 1 year ago
class Check(LLMChain):
    @classmethod
    def from_llm(cls, **kwargs) -> LLMChain:
        return cls(
            **kwargs,
            prompt=PromptTemplate.from_template(
                dedent(
                    """\
                    You are evaluating the result of an AI agent against its task to verify its accurate completion. # <=

                    Here is the relevant context: {context}

                    Here is the result: {learning}

                    If the result accomplishes its task, return "Complete".
                    Otherwise, return new task for the agent to complete.

                    Do not embellish.

                    Task: \
                    """
                ),
            ),
        )