examples/perplexity-completion-example/README.md
Hello there! 👋 This example demonstrates how to use the Perplexity API with LangChain Go to generate creative text completions. Let's break down what this exciting little program does!
Environment Setup:
.env file. This is where you'll store your Perplexity API key.Perplexity LLM Configuration:
Text Generation:
Streaming Output:
.env file as PERPLEXITY_API_KEY=your_api_key_here.You can read more about the perplexity API here: Perplexity API Documentation.
Enjoy exploring the creative possibilities with Perplexity and LangChain Go! 🚀🐹