Tag

token cost

0 views collected around this technical thread.

Ximalaya Technology Team
Ximalaya Technology Team
Aug 22, 2023 · Artificial Intelligence

Guidelines and Best Practices for Prompt Engineering with Large Language Models

The guide outlines prompt‑engineering best practices for large language models, distinguishing base and instruction‑tuned LLMs, emphasizing clear, structured, step‑by‑step prompts, handling hallucinations, iterating through idea‑code‑data cycles, applying techniques to summarization, reasoning and expansion, managing token costs, and providing concrete OpenAI API examples.

AIAPI usageLLM
0 likes · 14 min read
Guidelines and Best Practices for Prompt Engineering with Large Language Models