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/eb25343aee50d39fe489bc00cafc4146 to your computer and use it in GitHub Desktop.
Save HelloElisaRose/eb25343aee50d39fe489bc00cafc4146 to your computer and use it in GitHub Desktop.
langchain-article-1
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>
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}}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment