Skip to content

Instantly share code, notes, and snippets.

@HelloElisaRose
Last active March 10, 2023 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HelloElisaRose/329dccd836bf9cf9c8ad04d600c90fea to your computer and use it in GitHub Desktop.
Save HelloElisaRose/329dccd836bf9cf9c8ad04d600c90fea to your computer and use it in GitHub Desktop.
langchain-article-1
17:45:19.782 | INFO | prefect.engine - Created flow run 'scarlet-chital' for flow 'Execute LLM Call'
17:45:21.319 | INFO | Flow run 'Calling langchain.llms.openai' - Sending 'What would be a good company name for a company that makes colorful socks?' to langchain.llms.openai via <function BaseLLM.generate at 0x11e567a30>
17:45:22.211 | INFO | Flow run 'Calling langchain.llms.openai' - Recieved: NotAnArtifact(name='LLM Result', description='The result of the LLM invocation.', content=LLMResult(generations=[[Generation(text='\n\nHappy Feet Socks.', generation_info={'finish_reason': 'stop', 'logprobs': None})]], llm_output={'token_usage': {'completion_tokens': 7, 'total_tokens': 22, 'prompt_tokens': 15}}))
17:45:22.336 | INFO | Flow run 'scarlet-chital' - Finished in state Completed()
Happy Feet Socks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment