Technoculture / echoes

For collaboration between R&D teams and AI agents
https://www.echoes.team/
MIT License
6 stars 1 forks source link

trying out openai function calling with agent #39

Closed PrinceBaghel258025 closed 7 months ago

PrinceBaghel258025 commented 8 months ago
vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
echoes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2023 0:46am
PrinceBaghel258025 commented 8 months ago
sutyum commented 7 months ago

Add thumbnail images to each chat's card.

Prompt:

Task: Create a cover photo thumbnail for the scientific topic "...the chat title..."

Instructions:
1. The image should visually represent the scientific question in detail.
2. Ensure scientific accuracy is paramount; this is critical.
3. The image should be in a landscape format with a 3:2 aspect ratio.
4. Use a color scheme of dark tones, compatible with a UI featuring black, dark navy blue, slate white, and vibrant lime green accents. No other colors are permitted. Aim for a low-key image with deep blacks.
5. The visual style should be without text, resembling scientific illustrations. Aim for an ultra-realistic 4K quality, akin to visuals in the Nature Journal.
6. Including a human figure is optional. If included, depict scientists, specifically Indian scientists - either women in their early 20s or men in their late 40s. Avoid depicting doctors.

Always find out what the terms mentioned in the title mean before drawing them.

Image Size: 300x200px

const response = await openai.createImage({
  model: "dall-e-3",
  prompt: "...prompt...",
  n: 1,
  size: "300x200",
});
image_url = response.data.data[0].url;

Component: https://ui.shadcn.com/docs/components/aspect-ratio

@PrinceBaghel258025