gkamradt/LLMTest_NeedleInAHaystack

Remove passing of API keys as parameters and read them from environment variables

Closed this issue · 1 comments

New Environment Variables:

  • NIAH_MODEL_API_KEY - API key for interacting with the model. Depending on the provider, this gets used appropriately with the correct sdk.
  • NIAH_EVALUATOR_API_KEY - API key to use if openai evaluation strategy is used.

Solved by #33