config.ts 420 B

1234567891011121314151617181920
  1. import { COMMON_PROVIDER_CONFIG } from "../common/config";
  2. export const OpenAIConfig = {
  3. model: {
  4. model: "gpt-3.5-turbo" as string,
  5. summarizeModel: "gpt-3.5-turbo",
  6. temperature: 0.5,
  7. top_p: 1,
  8. max_tokens: 2000,
  9. presence_penalty: 0,
  10. frequency_penalty: 0,
  11. },
  12. provider: {
  13. name: "OpenAI",
  14. endpoint: "https://api.openai.com",
  15. apiKey: "",
  16. ...COMMON_PROVIDER_CONFIG,
  17. },
  18. };